How to backup files using tar

To create tar:

tar czvf backup.tar.gz foldername/
tar czvf everything.tar.gz *

To extract out:

tar -zxvf extractme.tar.gz

Leave a Comment

Your email address will not be published.