[Eug-lug] rsync problems
Rob Hudson
rob at cogit8.org
Mon Mar 3 10:41:22 PST 2008
On 3/3/08, Ben Barrett <stircrazyben at gmail.com> wrote:
> Are you using the "--partial" option for rsync?
No, but I just read the man page on it.
> Sticking with rsync for now... do you have any reasons other that
> network timeouts to desire a different solution?
No... if it would work, this would be the solution we're looking for.
> The best approach I've seen using rsync for backups uses a wrapper to
> setup a lock-file of sorts,
> kicked off [repeatedly] by a cron job... the wrapper script will not
> try to do 2 rsyncs at once, in short.
Hmmm, with partial it seems I could set up an hourly cron job (or so)
rather than a big nightly. If things are pulled down little by
little, that might reduce the chance for a bad network disconnects.
And if it did disconnect, it would just pick up where it left off last
time.
My other idea was to use tar and do a big monthly tar, then do nightly
tars of the differences (archival tar?) and scp those down. I'm not
sure which might be preferred.
Thanks,
Rob
More information about the EUGLUG
mailing list