Last active
June 1, 2019 12:34
-
-
Save RolandWarburton/58734283b8bb024de0cbce97587e91d8 to your computer and use it in GitHub Desktop.
backup linux rsync
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
sudo rsync -aAXv --delete --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude="swapfile" --exclude="lost+found" --exclude=".cache" --exclude="Downloads" --exclude=".ecryptfs" /source /destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment