Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 02:05:15 +0100 (CET)
From:      Wojciech Puchar <wojtek@tensor.3miasto.net>
To:        user <user@dhp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how should I (best practice) set up permissions for rsync ?
Message-ID:  <20060111020418.U66079@chylonia.3miasto.net>
In-Reply-To: <Pine.LNX.4.21.0601101950091.8684-100000@shell.dhp.com>
References:  <Pine.LNX.4.21.0601101950091.8684-100000@shell.dhp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
>
> I want to rsync /usr/home from one machine to another, for purposes of
> backup.
>

i do:

rsync -e "rsh" -avzrlHpogDtS --delete --delete-excluded --force 
\ --exclude-from=../$1-exclude root@$1:/ .

where $1 is server name

you may of course change rsh to ssh, and / to /usr/home

:)

this does EXACT copy, while it is possible it can be done better



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060111020418.U66079>