This has encouraged me to look at my own backup procedures, and share some crucial steps with you. While you may not run a registrar or a multi-million post forum, no one wants to loose their work. Use your discretion; judge based on the size and frequency of change of your site.
If you're on shared hosting, some of this may be your provider's responsibility. Nonetheless, never take a risk and rely completely on someone else to protect your data!
The basics:
- Never work directly on FTP. Keep at least one local copy and back it up.
- Backup your databases frequently (I've seen someone with a day old backup of their forum script, but a month old backup of its DB).
- Occasionally make a hard copy archive of your backups (CD, DVD, USB Drive, etc)
- Backups should not be stored on machines that can be easily accessed via the Internet
- Continuous Data Protection may be worthwhile to sites with rapidly changing content
- Tape Drives are a very reliable way to archive large amounts of data
- Use RAID 1 (drive mirroring) to protect against hard drive failures
Restoring your Backups
Now before you go ahead and start making backups of everything, make sure you know how to restore them. Is your DB too big to upload via phpMyAdmin? If so, do you have access to SSH to restore it, or will you need a script like BigDump? Are you backing up correctly? Do they contain all of the required data? If possible, try restoring your backups somewhere at least once. You don't want to find yourself with useless backups, if you ever need to use them.
Copyright 2009 Nathan LaPierre.


Help





Promote to Article























