Created
July 1, 2022 04:33
-
-
Save TheBoroer/e2aac8aa6e54cf8528c792c4388092fc to your computer and use it in GitHub Desktop.
rsync commands to sync sparse files (vmware thin provisioned vmdk) via SSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update existing sparse files inplace (edit file instead of creating a new file). | |
rsync -v -z -r --existing --inplace --progress -e ssh /source/path user@host:/destination/path/ | |
# Then sync new sparse files (ignoring existing files we previously updated) | |
rsync -v -z -r --ignore-existing --sparse --progress -e ssh /source/path user@host:/destination/path/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment