Backing up and restoring partitions with partimage

As always, backing up is always one of those things that is to be frank, quite boring - right up until you have a hardware failure or something else bad happens and you suddenly need those backups you didn't do last time around!

One of the best ways to back up all your data, or a great big load of your data, is to backup the whole partition. A tool to help you do this efficiently and easily and restore as well is partimage.

Once you've installed the application, you launch it from the command line as root, as follows:

# partimage

partimage home screen

You enter a text-based, but interactive interface. You choose which partition you want to back up or restore to from the list at the top, and then you can press Tab and enter the filename of the image to back up or restore from.

In the case of backing up, you can now choose from different compression options, what to do after the backup completes and other advanced features as well.

Once you've set that running, the back up or restore will get going and you can let partimage get on with the work!

Using dd to manually copy whole partitions, then adding compression and restoring back again can be a troublesome and fiddly experience. partimage makes it extremely easy to do the same job, so for that reason, I highly recommend it as part of your backup solution!

Avatar for peter Peter Upfold -

Peter Upfold is a technology enthusiast from the UK. Peter’s interest in Linux stems back to 2003, when curiosity got the better of him and he began using SUSE 9.0. Now he runs Linux Mint 9 on the desktop, runs a CentOS-based web server from home for his personal website and dabbles in all sorts of technology things across the Windows, Mac and open source worlds.

Home » Articles »

Discussion: Backing up and restoring partitions with partimage

  1. # Posted on 22 December 2007 at 06:02 PM

    [...] Backing up whole partitions Filed under: Linux, Security — 0ddn1x @ 2007-12-23 01:02:11 +0000 [...]

  2. # Posted on 28 February 2008 at 06:52 PM

    [...] to you, as you’d expect, and an impressive array of tools you might need. I particularly find partimage to be useful, and use SysRecCD to do backups of my Linux system in this way. There are also lots of [...]

Home » Articles » Backing up and restoring partitions with partimage