Rsync has a 'time-limit' patch with following options:
--stop-at=y-m-dTh:m Stop rsync at year-month-dayThour:minute
--time-limit=MINS Stop rsync after MINS minutes have elapsed
Tev
> Hi
>
> I'd like to rsync a large amount of data over a slow connection,
> but only during night hours.
At 15:14 17.09.2009 +0200, Paul Slootman wrote:
>On Thu 17 Sep 2009, Fabian Cenedese wrote:
>>
>> Has anybody already written a bash script that would do something
>> like that? Are there other ways? I don't want to kill all rsync
>> processes as there might be other syncs going on.
>
>There is fo
On Thu 17 Sep 2009, Fabian Cenedese wrote:
>
> Has anybody already written a bash script that would do something
> like that? Are there other ways? I don't want to kill all rsync
> processes as there might be other syncs going on.
There is for example a "timeout" package available in Debian:
Pac
Hi,
I have done this with a cron job, only the first time i had to
transfer 15GB, but did it first time in the weekend, afterwards, in my
situation is only a small amount of data that has to be transfered
every night, so every day at 02.00 the rsync starts and stops
automaticly within 1-3 hours.
Hi
I'd like to rsync a large amount of data over a slow connection,
but only during night hours. I couldn't find a parameter that limits
the time that rsync is running, only the timeout on idle time.
I guess the way to go would be to start rsync, get the process
ID and kill the process later on.