Monday, November 9, 2015

Linux : rsync

DRYRUN="--dry-run"
#DRYRUN=""

/usr/bin/rsync -v -e ssh $DRYRUN -a -H --exclude archive --exclude "lost+found" --exclude config --exclude log --rsync-path=/usr/bin/rsync --delete /source_DIR DESTINATION_SERVER:/DEST_DIR

No comments:

Post a Comment