The premise is that there is already a backup of the backup compressed file, just need to restore the overwrite to the new system.
1. Make an Ubuntu startup disk, I use the UltraISO, the use of the method will be mentioned in another article.
2. After booting into the boot disk, click Try Ubuntu, that is, enter live mode.
3. Use the command line CD to the directory of compressed files, in general, should be backup external devices, such as hard disk. Note here how the external device CD past: first CD/, that is, switch to the root directory and then CD media, and then CD Ubuntu can see the external device.
4. Now in the directory where the backup files are placed, start the backup: GZIP-DC/part.img.gz | sudo dd of=/dev/sda1, yellow is required according to their own circumstances to modify the section,part.img.gz This is the backup compressed file name,sda1 This is the need to overwrite the partition, how to look at it, Check it out with Fdisk–l, that's mine.
Look at the rightmost column, the penultimate line has a Linux, corresponding to the sda8, so it should be covered in this area.
Now start the recovery command, don't get it wrong, check it several times, mine is this:
Next is waiting, do not look at the action, wait for the line, wait until the end will have a hint, copy how much content, I this got about 40 minutes of the appearance.
Recovery system backup under Ubuntu