I basically have the following, works for me :) dd_rescue is a version of dd that gracefully handles errors. YMMV, use at your own risk :)
/Christian Setup Details /dev/sda1 mounted on /export/backups/ (2TB volume) /dev/sdb1 mounted on /export/offsite/ (2TB volume) Everything that usually goes in /var/lib/BackupPC is symlinked to /export/backups, so both the backups and pool are on the big volume. Every Friday morning I run the following script: #!/bin/bash ################################################# # updateoffsite.sh # This script rsyncs the backups to the removable # volume in an image file # # 2007-06-27 [EMAIL PROTECTED] # Initial version # 2007-06-29 [EMAIL PROTECTED] # added logging for stderr and stdout # 2007-07-20 [EMAIL PROTECTED] # changed script to use dd_rescue ################################################# umount /export/backups mount /export/offsite #stop BackupPC service BackupPC stop echo "begin image" echo `date` #now dd to an image /usr/bin/dd_rescue -a -v /dev/sdb1 /export/offsite/backup.img echo "end image" echo `date` umount /export/offsite mount /export/backups mount /export/offsite service BackupPC start -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Utley Sent: Wednesday, November 07, 2007 8:48 AM To: [email protected] Subject: [BackupPC-users] Designing a BackupPC system to include off-sitebackups I have setup a couple BackupPC systems now, and they have been working great for me. Now I'm looking to install yet another, but with a twist. I'd like to setup an off-site backup, which would essentially be a carbon copy of everything BackupPC maintains locally. Is there a straightforward way to accomplish this? Thanks, Chris Utley -- Christopher J. Utley Director of Technology Market Intelligence Group PH: 513.333.0676 [EMAIL PROTECTED] ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ ************************************************************************ **** Checked by MailWasher server (www.Firetrust.com) WARNING. No FirstAlert account found. To reduce spam further activate FirstAlert. This message can be removed by purchasing a FirstAlert Account. ************************************************************************ **** ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
