Created
December 3, 2015 23:12
-
-
Save junquera/eb79823e61f5a8b71fb0 to your computer and use it in GitHub Desktop.
Backup all the system
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
| #!/bin/bash | |
| sudo tar czf /backup.tar.gz -u --exclude=/backup.tar.gz --exclude=/home --exclude=/media --exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/tmp /; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment