Last active
January 11, 2022 15:52
-
-
Save pcg92/27ab6482a116dbd56494453c2ddaceea to your computer and use it in GitHub Desktop.
Full backup ubuntu
This file contains hidden or 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
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys / | |
https://ubuntuforums.org/showthread.php?t=35087 | |
restore: | |
tar xvpfz backup.tgz -C / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment