I'm running Slackware 12.0 (soon to be 12.1
). I am planning my backup strategy for my new box. This is a single box, for home and business use. I am not using additional boxes as a backup server and am not interested in that option.
I have two internal hard drives: a 40GB IDE primary and a 320GB SATA secondary. I also have a 750GB SATA for full backups.
I configured my 320GB drive with a partition for archiving and quick backups. I use that partition for temporary backups, including snapshots of significant configuration files. The idea is to have immediate restoration access for when I inadvertently or incorrectly modify such files. Because the temporary backups are stored on my secondary drive, other than a complete hardware disaster I would be able to quickly restore files to my primary drive.
I would like those interim and temporary backups to be automatic and to run daily and hourly.
I want my 720GB drive to serve as my "off-site" backup device. I have a SATA mobile tray installed. The idea is to insert the 720GB drive, manually perform a full backup and then safely store the drive. I want weekly and monthly full backups. By full I mean everything in my root tree except obvious temp and cache files.
Rsnapshot seems ideal for this task. With rsnapshot and hard links I should be able to backup for several months on my 750GB drive. I am experimenting with rsnapshot but have additional questions.
The hourly and daily backups of configuration files seems straightforward with cron. Just follow the rsnapshot user manual. However, I'm unsure how to best configure rsnapshot for my manual weekly and monthly backups.
Do I need two different rsnapshot.conf files to support two different backups schemes? The primary conf file for my automated backups and a second conf file for my manual backups?
I need to manually mount the 720GB drive to a known mount point before I can manually run rsnapshot. Additionally, is there a way to automate whether my manual backup is a weekly or a monthly or do I need to do that manually too (with the commands: rsnapshot weekly
, rsnapshot monthly
)? Would a script be a better solution for the weekly and monthly backups?
Can I configure udev such that my 720GB drive is always recognized as the same device (sdb)? I might have mounted a USB stick mounted during a session before I perform a weekly or monthly backup. Writing a script to auto-mount would be a challenge if I don't know whether my drive is sdb, sdc, sdd, etc. I would like to force USB sticks to mount anywhere after sdb and reserve sdb for my 720GB drive.
I welcome any ideas or suggestions regarding rsnapshot.
As always, thank you.