Using tar to prepare for an emergency


Article from Issue 70/2006

Use a tarball to restore your system in next to no time – without a complete re-install.

Linux has no end of options for backing up data, however, a one-to-one copy will always use the same amount of space as the hard disk partition. You can save space by bundling the backup data into a compressed archive. Swiss Army Knife tar is a die-hard tool from the early days of Unix, and a GNU variant of tar is included with any Linux distribution. The program, which was originally developed as a “tape archiver,” has been continually extended over the years. Its original task of storing data on tape is just one of many tasks tar handles today.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Data Rescue

    Armed with just standard Linux tools, users can recover files, resurrect partitions, and rescue damaged media.

  • Clonezilla

    Clonezilla Live backs up and clones complete partitions or hard disks. The popular live system comes with an easy-to-use interface.

  • Migrating to an SSD

    Replacing your hard drive with an SSD is a sure way to speed up your system; however, migrating to an SSD is a little more complicated than you might imagine. We'll help you find your way through the pitfalls.

  • Ask Klaus!

    Klaus Knopper is the creator of Knoppix and co-founder of the LinuxTag expo. He currently works as a teacher, programmer, and consultant. If you have a configuration problem, or if you just want to learn more about how Linux works, send your questions to:

  • Partition Rescue

    If your Linux or Windows system won’t boot, or if you’re worried that the hard disk is on its last legs, the first thing you need to do is rescue the partition data and copy it to a safe location.

comments powered by Disqus

Direct Download

Read full article as PDF:

System_Recovery_with_tar.pdf (155.10 kB)