> 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















-------------------------------------------------------------------------
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-devel mailing list
BackupPC-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-devel
http://backuppc.sourceforge.net/

Reply via email to