Full-fidelity migration copy rsync
Preserve hardlinks, ACLs, xattrs, raw uid/gid for host migration; note: trailing slash matters
rsync -aHAXv --numeric-ids /src/ user@<host>:/dst/
more rsync
all 7 commands →
Itemized dry-run diff
rsync -ai --dry-run --delete /src/ /dst/
Throttled transfer
rsync -a --bwlimit=10M --info=progress2 /src/ user@<host>:/dst/
Hardlinked incremental snapshots
rsync -a --delete --link-dest=../prev /src/ ./$(date +%F)/
Resume large file transfer
rsync -a --partial --append-verify --info=progress2 big.img user@<host>:/dst/
Non-standard SSH port + excludes
rsync -a -e "ssh -p 2222" --exclude-from=excludes.txt /src/ user@<host>:/dst/