• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: rsync and backup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: rsync and backup
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Detecting a keypress
  • Next by Date: Re: rsync and backup
  • Previous by thread: Re: rsync and backup
  • Next by thread: Re: rsync and backup
  • Index(es):
    • Date
    • Thread