Re: rsync and backup
Re: rsync and backup
- Subject: Re: rsync and backup
- From: John Cochrane <email@hidden>
- Date: Thu, 10 Aug 2006 00:14:29 +1000
I have done a few tests. As Matthew and Gnarlie mentioned rsync
naturally ran faster if syncing to the same disk. I haven't tried
firewire yet.
Using do shell script " rsync -Eavz 'sourcePosixPath'
'destinationPosixPath' --delete --progress"
The time got down to around two minutes and a few seconds less if there
was no deleting.
Removing the -E for extended attributes sped up the sync considerably
to about 20 seconds - about the same time as the backup command of
satimage.
Over the network removing the extended attributes option sped up the
rsync from about 50 mnutes to 13 minutes.
So preserving attributes and backing up to a mounted disk both seem to
be causes of slowing down the rsync command.
Pity. It seems that Gnarlie's advice of using the more recent build of
rsync will be necessary (discussed at http://lartmaker.nl/rsync/). I
may have to use SSH as well.
Unfortunately these both make the script less portable.
On 09/08/2006, at 6:23 PM, Matthew Smith wrote:
Does rsync seem to be copying every file each time you run your
script? Are
there files that haven't been changed that are being copied each time?
When there are files that need to be deleted at the destination there
is a message in terminal of : rsync error: some files could not be
transferred (code 23) at /SourceCache/rsync/rsync-24/rsync/main.c(717)
All seems to work OK though.
Thanks again
John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden