Permalink
Browse files

Create server_backup.sh

This script is for maintaining your server's manual backups.  Note, this script is meant to operate with and was tested on Ubuntu 14.0.4 LTS.
  • Loading branch information...
whotooktwarden committed May 18, 2016
1 parent 2845f25 commit fae606cdc7c4b45f24851894a4d39a024e69f6d1
Showing with 6 additions and 0 deletions.
  1. +6 −0 server_backup.sh
@@ -0,0 +1,6 @@
#chmod 750 this script
#place this script within /server_backup/server_backup.sh
#Copy your backup to the root of your system's file tree
#Execute this command to restore your tarball: tar xvpfz backup.tgz -C /
#Documentation for this script: http://ubuntuforums.org/showthread.php?t=35087
sudo tar czf /server_backup.tar.gz --exclude=/server_backup.tar.gz --exclude=/home --exclude=/media --exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/tmp /.

0 comments on commit fae606c

Please sign in to comment.