Backing up home dir with tar Ubuntu
Hello, I have one question? This is how I am planning to use Tar.
cd /
sudo tar -cvzf 2019-08-10-backup.tar.gz /home/butch/
Then after its made I will move to USB drive for safe keeping.
Then if I have to extract or use it. I have command as follows:
cd / move file from USB to root
sudo tar -xvzf 2019-08-10-backup.tar.gz /home/butch/
My question is when I go to extract, after doing cd / (root) Do I move file from USB drive to root or do I run extract from USB drive?
|