Hi Les, your second choise is not possible to do, because BackupPc policy for full backup and after incremental backup have different start time and finish time.
So I think DumpPostUserCmd with /etc/sudoers is the ONLY one solution! Thanks, Alessandro > Yes its possible. > > two ways. > > 1. DumpPostUserCmd (with a suitable script or command, but you'll likely > need sudo to help out) > > 2. run a cron job to shutdown backuppc at a specified time. > if you know how long a backup should take then you can schedule > accordingly. also you can use DumpPostUserCmd to say touch a file when its > finished. In turn you have a separate script which polls for that file, if > it finds it it issues the shutdwon command and removes the file. > > But then how do you know when to start it back up? > > WakeUp schedules and blackout periods should enable you to only do backups > at specified times and always have backuppc running. So i guess the real > question should be what do you want to achieve? > > As another example here's what i do in some cases..... > > backuppc is on a removable drive that gets rotated weekly. > i modified the init script to mount the drive before starting backuppc and > unmount after stopping backuppc. > i also stopped any automounting from occurring. > a cronjob runs at 7am to stop backuppc and unmount the drive. > a cronjob runs at 7pm to mount the drive and start backuppc > Why? because i only want backups to occur after hours. I know they will > only take at most a few hours. And it gives the ordinary end user an easy > way to remove the drives during the day when they want to swap them over > for rotation. they simply power off the drive, unplug it and put the new > one in and switch it on. At 7pm backuppc starts, mounting the new drive > and normally kicks off a backup at 8pm, or the next WakeUp schedule. > > Hope that helps, > > Regards, > > Les > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/