[LUAU] RSync help

Julian Yap julian_yap at yahoo.com
Fri Jan 28 11:23:15 PST 2011


If in doubt, explicitly specify using SSH:
rsync -avz -e ssh remoteuser at remotehost:/remote/dir /this/dir/ 



--- On Thu, 1/27/11, James Handsel <jhandsel at lava.net> wrote:

> From: James Handsel <jhandsel at lava.net>
> Subject: Re: [LUAU] RSync help
> To: luau at lists.freesoftwarehawaii.org
> Date: Thursday, January 27, 2011, 11:40 PM
> 
> > The errors are in your rsyncd.conf. Remove it and try
> to backup from only
> > the command line, then put that in your scripts.
> >
> > Here's an example that works with [recent versions] of
> rsync. It autodetects
> > that SSH is needed:
> >
> > rsync -a root at remoteserver:/opt/ /backup/opt/
> >
> > If you run that as root, then the UID/GID for the
> remote files will be
> > preserved. If you run as a non-root user, you still
> can read as root, but
> > you write out files as the local backup user.
> >
> > Should that fail, increase your verbosity:
> >
> > rsync -av --progress -e "ssh -v"
> root at remoteserver:/opt/ /backup/opt/
> >
> > -Vince
> >
> 
> Vince,
> 
> Got it, thanks.  I'll give it a try.  Any idea
> what the oldest version 
> of rsync is, that supports this format?
> 
> 
> Jim
> _______________________________________________
> LUAU at lists.freesoftwarehawaii.org
> mailing list
> http://lists.freesoftwarehawaii.org/listinfo.cgi/luau-freesoftwarehawaii.org
> 



More information about the LUAU mailing list