how should I (best practice) set up permissions for rsync ?
Wojciech Puchar
wojtek at tensor.3miasto.net
Tue Jan 10 17:05:59 PST 2006
> 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
More information about the freebsd-questions
mailing list