Difference between revisions of "Clonezilla Backups"

From TinkerMill Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
= Procedure =
 
= Procedure =
# Boot from Clonezilla USB or disc (you may need to enable or select in BIOS/Boot screen)
+
# Boot from Clonezilla USB or disc; you may need to enable or select in BIOS/Boot screen
# At the boot screen, select the default "Clonezilla live (Default settings, VGA 800x600)" boot mode.
+
# At the boot screen, select the default <u>Clonezilla live (Default settings, VGA 800x600)</u> boot mode.
# At the "Choose language" screen, select the default "en_US.UTF-8 English" language.
+
# At the "Choose language" screen, select the default <u>en_US.UTF-8 English</u> language.
# At the "Configuring console-data" screen, select the default "Don't touch keymap" policy.
+
# At the "Configuring console-data" screen, select the default <u>Don't touch keymap</u> policy.
# At the "Start Clonezilla" screen, select the default "Start_Clonezilla" mode.
+
# At the "Start Clonezilla" screen, select the default <u>Start_Clonezilla</u> mode.
# At the first "Clonezilla - Opensource Clone System (OCS)" screen, select the default "device-image" mode.
+
# At the first "Clonezilla - Opensource Clone System (OCS)" screen, select the default <u>device-image</u> mode.
# '''At the "Mount Clonezilla image directory" screen, select the "nfs_server" mode.'''
+
# '''At the "Mount Clonezilla image directory" screen, select the <u>nfs_server</u> mode.'''
# At the "Network config" screen, select the default "dhcp" mode.
+
# If multiple network interfaces exist, you may need to select the active interface.
# '''At the "NFS version" screen, select the "nfs4 NFS v4" version.'''
+
# At the "Network config" screen, select the default <u>dhcp</u> mode.
# '''At the first "Mount NFS server" screen, enter "10.2.0.18" for the IP address.'''
+
# '''At the "NFS version" screen, select the <u>nfs4 NFS v4</u> version.'''
# At the second "Mount NFS server" screen, select the default "/partimag/" directory.
+
# '''At the first "Mount NFS server" screen, enter <u>10.2.0.18</u> for the IP address.'''
# At the Press "Enter" to continue prompt, press Enter.
+
# At the second "Mount NFS server" screen, select the default <u>/partimag/</u> directory.
# At the second "Clonezilla - Opensource Clone System (OCS)" screen, select the default "Beginner" mode.
+
# At the Press "Enter" to continue prompt, press <u>Enter</u>.
# At the "Clonezilla - Opensource Clone System (OCS): Select mode" screen, select the default "savedisk" mode.
+
# At the second "Clonezilla - Opensource Clone System (OCS)" screen, select the default <u>Beginner</u> mode.
# '''At the first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, append the hostname to the image name. Ex: -bigroompublicpc'''
+
# At the "Clonezilla - Opensource Clone System (OCS): Select mode" screen, select the default <u>savedisk</u> mode.
# '''At the second "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, select all disks.'''
+
# '''At the first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, <u>append the hostname to the image name</u>; ex: -bigroompublicpc'''
# At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default "-sfsck" option.
+
# '''At the second "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, <u>select any disks you want backed up</u>.'''
# At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default "Yes, check the saved image" option.
+
# At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default <u>-sfsck</u> option.
# At the third "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default "-senc" option.
+
# At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default <u>Yes, check the saved image</u> option.
# At the "Mode: savedisk" screen, select the default "-p choose" action.
+
# At the third "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default <u>-senc</u> option.
# At the Press "Enter" to continue prompt, press Enter.
+
# At the "Mode: savedisk" screen, select the default <u>-p choose</u> action.
# '''At the "Are you sure you want to continue (y/n)" prompt, select y.'''
+
# At the Press "Enter" to continue prompt, press <u>Enter</u>.
 +
# 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, then return to the original terminal with CTRL-ALT-F1 and restart the process.
 +
# '''At the "Are you sure you want to continue (y/n)" prompt, select <u>y</u>.'''
 
# 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 <u>Enter</u>.
# '''At the "Choose mode" screen, select the "reboot" mode.'''
+
# '''At the "Choose mode" screen, select the <u>reboot</u> 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, <u>remove the boot media and then press Enter</u>.'''
  
 
= Notes from experience =
 
= Notes from experience =
 
* Do a couple of test restores.   
 
* Do a couple of test restores.   
* On Windows boxes you may need to do a boot repair on after a clonezilla restore.  Not a big deal, but scary at first when the box doesn't boot after a restore.
+
* 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.   
 
* 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.
 
* YMMV, and test, test, test.
 +
 +
= Links =
 +
* [http://clonezilla.org/downloads.php Download Clonezilla]
 +
* [http://clonezilla.org/clonezilla-live.php#make How to create a bootable CD or USB]

Latest revision as of 22:53, 16 January 2018

Procedure[edit]

  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, then return to the original terminal with CTRL-ALT-F1 and restart the process.
  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[edit]

  • 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[edit]