Created
November 11, 2018 14:13
-
-
Save neuthral/c51f7fa3b372d5a74619d7c6445a85df to your computer and use it in GitHub Desktop.
system backup script #cli #backup
This file contains 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 characters
#!/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