[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Backupping on another server
- Subject: Re: [cobalt-users] Backupping on another server
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed Jul 18 01:43:31 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Jay, Could you sent me the script/command for doing the backup as you said
> raq to raq I have been looking at rsync for some time now and a wee bit ify
> about launching it. Seems good though. Still ploughing through the manual ??
Bryan,
I use rsync tunnelled through a SSH connection, and I set it up so that it
doesn't need a password. Now I can run it in the background as a cron job.
Here is the command that I send if I wanted to backup all the sites from one
raq to another.
This should all be one line:
rsync -azv -e "ssh -i /home/sites/home/users/username/.ssh/id_dsa -2"
--rsync-path=/home/rsync/bin/rsync /home/sites/
username@xxxxxxxxxxxxxxxx:/home/sites
It's pretty easy to set up. Just keep reading the manual and check the Rsync
website. They've got a great faq section that gives you plenty of examples.
http://rsync.samba.org/rsync/fom-serve/cache/1.html
HTH,
j