Created
June 9, 2016 08:29
-
-
Save Winiex/dc13d72a046bcdfc77809f728f09a8c3 to your computer and use it in GitHub Desktop.
Backup whole linux system using rsync
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 -apAXv --exclude=/dev/* --exclude=/proc/* \ | |
--exclude=/sys/* --exclude=/tmp/* \ | |
--exclude=/run/* --exclude=/mnt/* \ | |
--exclude=/media/* --exclude=/lost+found \ | |
--exclude=/backup / /backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment