Last active
December 12, 2015 07:58
-
-
Save ebinnion/4740019 to your computer and use it in GitHub Desktop.
Ubuntu Rsync Command. This command was used to backup computers in the MSU CS server room. Command will login to remote server, create a tar of the directory, then put the tar in the specified backup director (/backup in this case).
This file contains hidden or 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
sudo rsync -arv -e "ssh" --rsync-path="sudo rsync" user@host:/home /backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment