Last active
February 7, 2016 23:38
-
-
Save catacs/469c6bd04a31de588a1b to your computer and use it in GitHub Desktop.
Entire system backup
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
#!/bin/bash | |
cd / | |
tar cvpzf system-backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/system-backup.tgz --exclude=/mnt --exclude=/tmp --exclude=/sys / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment