398 B
398 B
Backup and Restore Linux System
Backup
sudo tar cvpzf /run/media/ezio/Scopinok/bak/manjaro/snapshot-20190616.tgz / --exclude=/proc --exclude=/lost+found --exclude=/tmp --exclude=/sys --exclude=/media --exclude=/home --exclude=/mnt --warning=no-file-change
Restore
Be aware that files aleady exist in path /
will not be removed.
sudo tar xvpzf backup.tgz -C /