Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 455 Bytes
#chmod 750 this script
#place this script within /server_backup/
#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:
sudo tar czf /server_backup.tar.gz --exclude=/server_backup.tar.gz --exclude=/home --exclude=/media --exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/tmp /.