Skip to content

Instantly share code, notes, and snippets.

@neuthral
Created November 11, 2018 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neuthral/c51f7fa3b372d5a74619d7c6445a85df to your computer and use it in GitHub Desktop.
Save neuthral/c51f7fa3b372d5a74619d7c6445a85df to your computer and use it in GitHub Desktop.
system backup script #cli #backup
#!/usr/bin/env bash
sudo nice tar czf /media/bender/STOREJET/system_backup.tar.gz --exclude=/home \
--exclude=/media --exclude=/dev \
--exclude=/mnt --exclude=/sys \
--exclude=/run --exclude=/proc /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment