Skip to content

Instantly share code, notes, and snippets.

@dogmatic69
Created April 21, 2011 23:31
Show Gist options
  • Save dogmatic69/935713 to your computer and use it in GitHub Desktop.
Save dogmatic69/935713 to your computer and use it in GitHub Desktop.
backing up an entire ubuntu / linux box
sudo su
tar -cvpzf backup.tar.gz --exclude=~/backup.tar.gz --exclude=/proc --exclude=/lost+found --exclude=/sys --exclude=/mnt --exclude=/media --exclude=/dev /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment