rsync: dry run before moving a directory

The command to run before the real copy, especially when --delete is involved.

--dry-run prevents surprises. For repeated moves, it is useful to log the change list.

rsync -aHAX --numeric-ids --dry-run --delete /srv/data/ /mnt/backup/data/
rsync -aHAX --numeric-ids --delete --info=stats2,progress2 /srv/data/ /mnt/backup/data/

Verify the result

Watch deleting lines in dry-run output. If they are unexpected, do not run the real command.