From: Joe Z. <jz...@us...> - 2003-04-21 22:31:23
|
Update of /cvsroot/bobs/bobs In directory sc8-pr-cvs1:/tmp/cvs-serv30308 Added Files: FAQ Log Message: Started a bobs FAQ. --- NEW FILE: FAQ --- bobs Frequently Asked Questions Q. How does bobs know when to run a "full" backup and when to run an "incremental" and so on? A. Bobs always maintains a full backup (See next question). Q. How does the bobs backup do? A. What happens when bobs backup runs is this: You get a "current" folder which is an rsync'ed copy of the original (with some files and folders excluded. eg. restore_files isn't backed up). While rsync'ing "current", the files that have changed, moved, been deleted or modified (compared to the files on the server they come from) are copied to a temporary "incoming" folder. After current backup has been rsync'ed, bobs tags the files in "incoming" with a date and moves them to the "incremental" folder. Bobs handles the database and some other stuff as well while doing this. The most complex part of bobs is the user interface. The backup routine is quite simple. Q. How do I change the time bobs' backup is run? The backup is run from the /etc/cron.daily directory. So by default, bobs backup is run as is specified in /etc/crontab for the cron.daily process. If you want to change the bobs backup time, but not the cron.daily time, you can move the file backup.php from /etc/cron.daily to a directory of your choice and either put a new line in /etc/crontab to run backup.php or use 'crontab' as root to add entry for backup.php. Just remember that bobs smallest increment value is a day. Which means that you can run bobs severel times a day, but you will only get one set of incremental files for that day anyway. Your "current" backup will however be closer in time to the real servers. |