0
Use PartImage to backup and restore Ubuntu system
This summary is based on this article.
- This tutorial assumes that you have a Ubuntu live CD and somewhere you can save the partition (an external hard drive or another partition).
- boot up Ubuntu with the live CD.
- List available partitions
$ sudo fdisk -l - Make sure the source partition (for example: /dev/sda1) is not mounted, and the destination partition (for example: /dev/sda5) is mounted.
- If necessary, can use software 'pysdm' to mount/unmount a partition.
$ sudo apt-get install pysdm
For example, with pysdm, we can mount '/dev/sda5' to '/media/sda5' - Install PartImage
$ sudo apt-get update
$ sudo apt-get install partimage - Run PartImage
Select '/dev/sda1' ==>partition to save/restore
Type '/media/sda5/foldername/filename' ==>Image file to create/use
Then follow the window to proceed until done.
Note: Keep in mind, though, that the backup will save only the used space on the partition
Note: 'F5' for next step, 'F6' for exit, 'Space' for changing value, 'Arrows' for navigation.
Post a Comment