8.2.13.2. Přemístnění serveru na jiného hosta

rcsinfo="$Header: /home/radek/cvs/unix-book/unix.xml,v 1.7 2009-03-07 03:52:40 radek Exp $"

# rsync -vazPxle ssh --numeric-ids --delete \
       --exclude log --exclude nslog --bwlimit=100 --hard-links
       someserver.firma.net:/vservers/ /server/rs1

You can also replace all */*/*/*/log. by a simple */log

# rsync -vazPxle ssh --numeric-ids --delete \
 --exclude=*/log   \
 --exclude=*/proc \
 --exclude=*/dev   \
 --exclude=*/nslog \
 --bwlimit=100 --hard-links  ${SOURCE} ${DEST}