On Mon, Nov 04, 2002 at 07:53:34PM +1100, Matt Hyne wrote:
: rsync -acz -e ssh /usr/local backup:/backup/hostname
: rsync -acz -e ssh /local     backup:/backup/hostname
: 
: So I am attempting to rsync /usr/local and /local and clone these as 
: backup:/backup/hostname/usr/local and backup:/backup/hostname/local

That's not what you asked it to do.  Try

rsync -aczessh /usr/local/ backup:/backup/hostname/usr/local/
rsync -aczessh /local/     backup:/backup/hostname/local/

Note the full pathnames on the right side and all the extra '/'s.

Are you sure you need the 'c' option?

-- 
Christopher Vance
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to