Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Create simple backups with SSH and Spotlight' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Create simple backups with SSH and Spotlight
Authored by: axafluff on Oct 26, '05 08:55:30AM

I use the line below for syncbackups to my MacMini miniserver over ssh. Rsync preserves resource forks as of Tiger with the -E option. Rsync also has lots of fine-tuning options, see man rsync. Additional directories can be added as needed and files can be excluded with various options. Perhaps the script solves some other problem that eluded me when I looked at it, but the below scripts serves my simple backup needs well and the rsync algorithm is old and proven. I also use exchanged public keys like above.

rsync -avuzE -e ssh ~/Documents/ username@$server_ip:Documents/

Hope it's useful for someone!



[ Reply to This | # ]