18

I am running Ubuntu 20.04 and I have my entire dev environment set up on this. I need to make some hardware upgrades and need to reinstall Ubuntu.

However I would like to take backup of my entire Ubuntu machine with my development environment intact. How do I create a backup as an ISO file and reinstall it. Is that possible?

Eliah Kagan
  • 119,640

1 Answers1

10

Ubuntu Operating System Reinstaller

Hopefully the following should suit your requirements even though it does not involve an ISO file.

Procedure.

enter image description here

Showing partitions created by mkusb persistent install.

  • Boot the mkusb drive in the computer who's OS you want to backup.

  • Open Gnome-Disks, (Disks), Select the disk you wish to backup on the left.

  • Select the icon that looks like a stack of pancakes upper right.

enter image description here

  • Click "Create Disk Image" and save the image to the usbdata partition of the persistent USB.

enter image description here

  • When it comes time to restore your OS, boot the USB in the Target computer and use the pancake icon to restore the image to the hard drive. The restore will overwrite everything on the target drive. Best to test the image before deleting the original OS.
C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125