CoolComputing Logo
Coupons/Deals  ·  New Promo Codes/Coupons  · February 25, 2018

Backup your files using tar and gzip

Posted on Wednesday, January 8, 2003 @ 01:12:44 AM CST by David Yee [] [read 2353 times]

 
Tips: Linux/Unix world

The following command backs up the foobar directory into a file called foobar.tgz:

tar cvf - /home/foobar | gzip > /home/backup/foobar.tgz

With the newer versions of the GNU tar the above can be shortened to:

tar cvfz /home/foobar /home/backup/foobar.tgz



Here is a video that demos how you would goes into more detail, as well as setting up the back-up task using cron.





Please rate this article or post a brief review of Backup your files using tar and gzip or comment on benchmark/performance, features, availability, price or anything else regarding Backup your files using tar and gzip. Thanks!

Backup Your Files Using Tar And Gzip Rating: 2.1/5 (7 votes cast)

Your Name:
I have read and agreed to the Review Posting Agreement.
Review Title:
Comment/Review: