[KLUG Members] help with rsync

Rinaldi J. Montessi members@kalamazoolinux.org
Mon, 09 Dec 2002 19:12:03 -0500


Adam Williams wrote:
> 
> >>I'm trying to setup rsync to backup the /warehouse directory on comA to a
> >>local /warehouse. I have tried the following command from the man page as
> >>root, but I get permission denied.  I believe I need to be root since the
> >>files are owned by multiple users, don't I? What is the best way to do
> >>this and not break security?
> >>rsync -avz --delete comA:/warehouse/ /warehouse
> >rsync -avz --delete [this runs as remote root@]comA:/warehouse/ /warehouse
> >Is root a valid remote user for your rsynch user?
> 
> A presentation on rsync would be nice.
> 
> Has anyone used this to sync between a laptop (/home/awilliam) and a
> workstation/server (/home/awilliam)?

I mount the remote drive using nfs and then 

rsync -alrux --delete / /mnt/remote

Rinaldi
-- 
By all means marry. If you get a good wife you will become happy, 
and if you get a bad one you will become a philosopher. --Socrates