I am about to expand my Ubuntu partition, so I think I should make a backup of the current one in case something goes wrong.
Is there some software to make a bootable USB and recovery image?
I am about to expand my Ubuntu partition, so I think I should make a backup of the current one in case something goes wrong.
Is there some software to make a bootable USB and recovery image?
Remastersys is the tool to go for. It allows you to make an ISO image of your system including if you want your data. You can than create a bootable USB stick. My last experience was that the live usb/cd didnt work, but installation worked. In conclusion a perfect toll for your needs and or if you want to transfer a system to a friends computer.
This is rather basic, but it's guaranteed to work, provided you have an external hard drive with enough free space to hod your entire internal drive (including free space)
To Backup
/dev/sda
, but you should check somewhere to be absolutely sure. I use GParted for this purpose./media/external
in these instructions. Be sure that your internal drive is not mounted!Choose one of the following, depending on your situation. Both make use of
dd
to image your entire disk, not just individual partitions (you can also use this technique to migrate to an entirely different hard drive of the same size or larger):If your external drive's filesystem can handle a single file the size of your entire internal drive, you can use the simplest option:
If you need compression or need to split the image file into multiple smaller files, use this more complex command (see the
man
pages for any commands you don't understand):This will first compress the contents of your disk (
bzip2
), then split it into 2GB chunks.To Restore
Choose the option that corresponds to the choice you made above:
Just copy the image to your hard drive:
Make sure that there are no other files in your backup directory that have names beginning the same as your backup chunks. Then:
I made a small research; The only Backup tool with ext4 support seems to be "FSArchiver".
See more at http://en.wikibooks.org/wiki/How_To_Backup_Operating_Systems#Create_Partition_Backup_-_FSArchiver_Method