>>> Hi all! :-)
>>>
>>> I have a small rsync script to sync my data to a usb-disk. It works
>>> fine, when I start it in console. I get 3 rsync processes (look in
>>> top) and the backup takes ~25 min. But, when I add the script in
>>> cron to start it at 1am at night it takes 7 - 9 hours and I se
I think others have answered your questions. You may want to implement some
sort of locking system in the script so that you can only run a single instance
of your script at. If you are looking for a backup tool which leverages rsync
you may want to take a look at LBackup : http://www.lbackup.or
In addition to the cron problems that others have pointed out there are
rsync problems...
#1 rsync's -c is almost always a bad idea and is extremely slow
#2 if rsync isn't networking then -z is a waste of time
On 7/12/19 4:56 AM, Hannes Hutmacher via rsync wrote:
> Hi all! :-)
>
> I have a sm
On 7/12/19 4:56 AM, Hannes Hutmacher via rsync wrote:
> Hi all! :-)
>
> I have a small rsync script to sync my data to a usb-disk. It works
> fine, when I start it in console. I get 3 rsync processes (look in
> top) and the backup takes ~25 min. But, when I add the script in
> cron to start it at
Hallo Hannes
"man 5 crontab" is your friend ;-)
Am 12.07.2019 um 10:56 schrieb Hannes Hutmacher via rsync:
But, when I add the script in cron to start it at 1am at night it
takes 7 - 9 hours and I see up to 180 processes. When I look in top I
see a hight load of 60 - 80 and 40 - 60 waits. Why?
At 10:56 12.07.2019, Hannes Hutmacher via rsync wrote:
>Hi all! :-)
>
>I have a small rsync script to sync my data to a usb-disk. It works fine, when
>I start it in console. I get 3 rsync processes (look in top) and the backup
>takes ~25 min. But, when I add the script in cron to start it at 1a
Hi all! :-)
I have a small rsync script to sync my data to a usb-disk. It works fine, when I start it in console. I get 3 rsync processes (look in top) and the backup takes ~25 min. But, when I add the script in cron to start it at 1am at night it takes 7 - 9 hours and I see up to 180 processes