Created
February 18, 2013 10:28
-
-
Save hmans/4976478 to your computer and use it in GitHub Desktop.
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
# create a /backups directory | |
mkdir /backups | |
# tar everything except system directories (and the backups directory itself) | |
tar -cvpf /backups/fullbackup.tar --directory=/ --exclude=proc --exclude=sys --exclude=dev/pts --exclude=backups . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment