Skip to content

Tools - Rsync

Commands

Migrate data to a remote server:

rsync -av /data/ server:/new_data/

Exclude file or directory:

rsync -av --exclude '.snapshot' /data/ /new_data/

Delete missing files on remote:

rsync -av --delete /data/ /new_data/
Back to top