I used a udev rule (Centos 5) to automatically mount (once) the USB drive, and then a script that runs via Cron to check and see if a USB drive is mounted. Then it uses rsync to sync /var/lib/BackuPC to the USB drive, runs a sync, then umounts the backup partition (thus preventing the script from running until the drive is removed and re-plugged). It also uses the command line mail command to email the person responsible for changing out the drives to know that the backup ran.
This way the client can take a USB drive off-site and into a fire-safe at their other locations (two locations, two servers, four USB drives to swap back and forth). On 10/30/2010 6:15 PM, Timothy Murphy wrote: > I'm not clear what exactly is archived if one chooses that option? > > Basically, I would like to save on an external hard drive, > every 3 months or so, whatever is necessary to restore the folders > specified in my BackupPC config file > if the BackupPC server failed completely for some reason, > eg because of a hard disk failure. > > > > ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ 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/
