A bloody good question... one which I'm interested in too.
For me... only a couple of things... the first is to cope with CPanel. It creates masses of files in the folder dcpumon... so I have those cleared out with a cron every day at 1am.
If you have cpanel, then you might want to consider doing this, you can check by running this:
cd /
du -h -k -c > diskusage.txt
Then you can look at the diskusage.txt files to see whether any folders are excessively large.
In Cpanel, a 'top' command is run every 5 minutes and dumped to disk... these are kept in one folder and never deleted. Over time your disk space is consumed... hence my nightly deletions.
I also run two cron jobs to make database dumps... they dump the key databases (vbulletin is the core one) and then gzip it. These run at midnight and midday. They're solely to enable me to have a backup every 12 hours, so if all hell breaks lose (db corruptions that are non-repairable or corrupt and cause data loss) then I know that I will never roll back to more than 12 hours ago.
I download some of the backups for off-server storage every day or two... but also have paid for extra storage at the host for a nightly off server copy.
And i'll try the thing with cPanel, I bought a 60gb drive (Extra) for my server which I plan to use to put backups on.
#If you have any other info about this subject , Please add it free.# |