From: Vincent F. <vi...@bi...> - 2007-10-05 08:36:04
|
> How do people for now force full > backups to occur only eg. Saturday evening? > Hi, I backup my server with BackupPC every night. I perform a full backup on monday and incremental backups the other days. I disable automatic backups for this specific host with the following directive in the host's config file (which overrides the global conf): $Conf{FullPeriod} = -1; This way, BackupPC will never automaticaly start a backup job. Then, I tell BackupPC to start a full backup via a simple bash script run from the crontab: --- #!/bin/bash DAY=`date +"%u"` if [ $DAY -eq 1 ] ; then BACKUP_MODE=1 else BACKUP_MODE=0 fi sudo -u backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup <server_IP> <server_name> backuppc $BACKUP_MODE --- I'm not a bash guru and I know that BackupPC has been designed for automatic backup scheduling, but this has been working perfectly for me for more than 2 years now. Give it a try! -- Vincent |