Difference between revisions of "Clonezilla Backups"

From TinkerMill Wiki
Jump to navigation Jump to search
(Adjusted highlighting and added caveats.)
Line 15: Line 15:
 
# At the second "Clonezilla - Opensource Clone System (OCS)" screen, select the default '''Beginner''' mode.
 
# At the second "Clonezilla - Opensource Clone System (OCS)" screen, select the default '''Beginner''' mode.
 
# At the "Clonezilla - Opensource Clone System (OCS): Select mode" screen, select the default '''savedisk''' mode.
 
# At the "Clonezilla - Opensource Clone System (OCS): Select mode" screen, select the default '''savedisk''' mode.
# ''At the first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, '''append the hostname to the image name. Ex: -bigroompublicpc'''''
+
# ''At the first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, '''append the hostname to the image name'''; ex: -bigroompublicpc''
# ''At the second "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, '''select any disks you want backed up.'''''
+
# ''At the second "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, '''select any disks you want backed up'''.''
 
# At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''-sfsck''' option.
 
# At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''-sfsck''' option.
 
# At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''Yes, check the saved image''' option.
 
# At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''Yes, check the saved image''' option.
Line 23: Line 23:
 
# At the Press "Enter" to continue prompt, press '''Enter'''.
 
# At the Press "Enter" to continue prompt, press '''Enter'''.
 
# If prompted here to run "sudo sgdisk -z /dev/sdx" due to Windows placing MBR and GPT partition tables on the disk: switch to another terminal with CTRL-ALT-F2 and run "sudo sgdisk -z /dev/sda" if trying to back up the /dev/sda disk.
 
# If prompted here to run "sudo sgdisk -z /dev/sdx" due to Windows placing MBR and GPT partition tables on the disk: switch to another terminal with CTRL-ALT-F2 and run "sudo sgdisk -z /dev/sda" if trying to back up the /dev/sda disk.
# ''At the '''Are you sure you want to continue (y/n)''' prompt, select y.''
+
# ''At the "Are you sure you want to continue (y/n)" prompt, select '''y'''.''
 
# Monitor the "Partclone" process for each disk.
 
# Monitor the "Partclone" process for each disk.
 
# At the Press "Enter" to continue prompt, press '''Enter'''.
 
# At the Press "Enter" to continue prompt, press '''Enter'''.
 
# ''At the "Choose mode" screen, select the '''reboot''' mode.''
 
# ''At the "Choose mode" screen, select the '''reboot''' mode.''
# ''At the "Please remove the live-medium" prompt, '''remove the boot media and then press Enter.'''''
+
# ''At the "Please remove the live-medium" prompt, '''remove the boot media and then press Enter'''.''
  
 
= Notes from experience =
 
= Notes from experience =

Revision as of 22:25, 16 January 2018

Procedure

  1. Boot from Clonezilla USB or disc; you may need to enable or select in BIOS/Boot screen
  2. At the boot screen, select the default Clonezilla live (Default settings, VGA 800x600) boot mode.
  3. At the "Choose language" screen, select the default en_US.UTF-8 English language.
  4. At the "Configuring console-data" screen, select the default Don't touch keymap policy.
  5. At the "Start Clonezilla" screen, select the default Start_Clonezilla mode.
  6. At the first "Clonezilla - Opensource Clone System (OCS)" screen, select the default device-image mode.
  7. At the "Mount Clonezilla image directory" screen, select the nfs_server mode.
  8. If multiple network interfaces exist, you may need to select the active interface.
  9. At the "Network config" screen, select the default dhcp mode.
  10. At the "NFS version" screen, select the nfs4 NFS v4 version.
  11. At the first "Mount NFS server" screen, enter 10.2.0.18 for the IP address.
  12. At the second "Mount NFS server" screen, select the default /partimag/ directory.
  13. At the Press "Enter" to continue prompt, press Enter.
  14. At the second "Clonezilla - Opensource Clone System (OCS)" screen, select the default Beginner mode.
  15. At the "Clonezilla - Opensource Clone System (OCS): Select mode" screen, select the default savedisk mode.
  16. At the first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, append the hostname to the image name; ex: -bigroompublicpc
  17. At the second "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, select any disks you want backed up.
  18. At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default -sfsck option.
  19. At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default Yes, check the saved image option.
  20. At the third "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default -senc option.
  21. At the "Mode: savedisk" screen, select the default -p choose action.
  22. At the Press "Enter" to continue prompt, press Enter.
  23. If prompted here to run "sudo sgdisk -z /dev/sdx" due to Windows placing MBR and GPT partition tables on the disk: switch to another terminal with CTRL-ALT-F2 and run "sudo sgdisk -z /dev/sda" if trying to back up the /dev/sda disk.
  24. At the "Are you sure you want to continue (y/n)" prompt, select y.
  25. Monitor the "Partclone" process for each disk.
  26. At the Press "Enter" to continue prompt, press Enter.
  27. At the "Choose mode" screen, select the reboot mode.
  28. At the "Please remove the live-medium" prompt, remove the boot media and then press Enter.

Notes from experience

  • Do a couple of test restores.
  • On Windows boxes you may need to do a boot repair after a clonezilla restore. Not a big deal, but scary at first when the box doesn't boot after a restore.
  • When some RHEL/CentOS boxes restore to a different hard drive, it may end up horribly broken because the GUID/UUID of the HDD device changed, which required a rebuild instead of a restore.
  • YMMV, and test, test, test.

Links