From: dan <dan...@gm...> - 2007-11-10 15:53:42
|
yes, but this doesnt choose to backup on the last day of the month. i wish cron could do a: 0 13 * * lastday command instead i did a script 0 13 * * * if [ `date +%d -d tomorrow` = 01 ]; then /././BackupPC_dump -f host; fi that if is saying if tomorrow's date is the first, then today is the last day of the month so do a full backup. would it be better to use BackupPC_serverMesg rather than BackupPC_dump -f ? On Nov 9, 2007 5:23 PM, Carl Wilhelm Soderstrom <ch...@re...> wrote: > On 11/09 12:53 , dan wrote: > > also, what is the command to tell backuppc to run a full backup? > > incremental backup most weekdays: > 00 13 * * 1,2,3,4 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg > backup host.example.tld host.example.tld backuppc 0 > > full backup on fridays: > 00 13 * * 5 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup > host.example.tld host.example.tld backuppc 1 > > These particular examples are used for a laptop that is only plugged in and > turned on during the workday. > > -- > Carl Soderstrom > Systems Administrator > Real-Time Enterprises > www.real-time.com > > ------------------------------------------------------------------------- > 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 > Bac...@li... > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > |