Created
February 18, 2013 10:28
-
-
Save hmans/4976478 to your computer and use it in GitHub Desktop.
Revisions
-
hmans created this gist
Feb 18, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # 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 .