If in doubt, explicitly specify using SSH: rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/
--- On Thu, 1/27/11, James Handsel <jhand...@lava.net> wrote: > From: James Handsel <jhand...@lava.net> > Subject: Re: [LUAU] RSync help > To: luau@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@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@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@lists.freesoftwarehawaii.org > mailing list > http://lists.freesoftwarehawaii.org/listinfo.cgi/luau-freesoftwarehawaii.org > _______________________________________________ LUAU@lists.freesoftwarehawaii.org mailing list http://lists.freesoftwarehawaii.org/listinfo.cgi/luau-freesoftwarehawaii.org