4 ms·
A small shop, with a few custom web apps: - We have several virtual servers for hosting. Most of them from the same hosting provider (close geographically), bu
by radu_floricica 16y ago
A small shop, with a few custom web apps:
- We have several virtual servers for hosting. Most of them from the same hosting provider (close geographically), but also a small Slicehost server used mostly for backup and DNS.
- A cron script does mysqldump for each server, and targzips the applications themselves, including uploaded content (daily, at about 4 in the morning)
- An hour later another script makes copies of the backups to at least another server. In one instance, it encrypts the mysql dump before copying it.
- There's backup history for the sql dumps, but not for the application archives (too big). Backups older then 7 days are deleted.
- A script on my desktop computer (run on restart) downloads the last backups, and also synchronizes locally stuff to big to be copied (WinSCP)
- There's also at least one form of more "immediate" backup. In the application logic, most updates are stored in the database. More than once this has been useful, usually for finding and repairing user mistakes.