A linux cron script which uses mysqlhotcopy to generate a 14 day rollover database back up (sans indices), and another cron script that uses rsync to make a daily copy of the codebase, which also lives in a cvs repository, mostly because we run a heavily modded board with lots of extra php scripts.
Finally another script which rsyncs the whole lot to an off site backup every 2 days.
|