You could write a wrapper shell script around rdiff-backup like this to
start it:

#!/bin/bash

if [ -n pidof rdiff-backup ] ; then
    kill -CONT $(pidof rdiff-backup)
else
    rdiff-backup
fi

and then at 6 AM run a cron job with a script like this:

#!/bin/bash

if [ -n pidof rdiff-backup ] ; then
    kill -STOP $(pidof rdiff-backup)
fi

The first script sees if rdiff-backup is running, and if it is, it uses
kill to unpause it (if if is already unpaused, this has no effect/error),
otherwise it just fires up rdiff-backup. The second script just sees if
rdiff-backup is running, and if so, pauses it.

John Wesorick
IT Systems Engineer | Riders Discount
866.931.6644 x852 |
www.RidersDiscount.com<http://www.google.com/url?q=http%3A%2F%2Fwww.ridersdiscount.com%2F&sa=D&sntz=1&usg=AFrqEzeo6ElGug_XjM2ao9Nwo9ZXJLMc9g>

[image: 
image.png]<http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Fridersdiscount&sa=D&sntz=1&usg=AFrqEzeePs4sNbm1W3Jq5S44dTpvLtKQ7A>
 [image: 
image.png]<http://www.google.com/url?q=https%3A%2F%2Ftwitter.com%2F%23!%2Fridersdiscount&sa=D&sntz=1&usg=AFrqEzdXQ0j5SkLmQyjyHwvgL5SZjn9A4A>
Deal of the 
Day<http://www.google.com/url?q=http%3A%2F%2Fwww.twitter.com%2F%23!%2Frd_dealoftheday&sa=D&sntz=1&usg=AFrqEzcknX8kRmATu7z5a6swyClVqXeCqA>


On Thu, Aug 15, 2013 at 1:17 PM, Greg Troxel <g...@work.lexort.com> wrote:

> Eric Gendron <concep...@gmail.com> writes:
>
> > So how to limit backup working time ?
>
> Limit the area being backed up.
>
> > Or how to interrupt a working backup that will continue next night?
>
> rdiff-backup can't do this.
>
> So
>
>   rsync the entire remote system to shadow tree, incrementally when you
>   can, and run rdiff-backup locally
>
> or
>
>   go learn about bup (not obviously ok to use right now, but I find it
>   interesting)
>
>
>
> _______________________________________________
> rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> Wiki URL:
> http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
>

<<image.png>>

<<image.png>>

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to