Difference between revisions of "Clonezilla Backups"
Jump to navigation
Jump to search
(Adjusted highlighting and added caveats.) |
|||
Line 1: | Line 1: | ||
= Procedure = | = Procedure = | ||
− | # Boot from Clonezilla USB or disc | + | # Boot from Clonezilla USB or disc; you may need to enable or select in BIOS/Boot screen |
− | # At the boot screen, select the default | + | # At the boot screen, select the default '''Clonezilla live (Default settings, VGA 800x600)''' boot mode. |
− | # At the "Choose language" screen, select the default | + | # At the "Choose language" screen, select the default '''en_US.UTF-8 English''' language. |
− | # At the "Configuring console-data" screen, select the default | + | # At the "Configuring console-data" screen, select the default '''Don't touch keymap''' policy. |
− | # At the "Start Clonezilla" screen, select the default | + | # At the "Start Clonezilla" screen, select the default '''Start_Clonezilla''' mode. |
− | # At the first "Clonezilla - Opensource Clone System (OCS)" screen, select the default | + | # At the first "Clonezilla - Opensource Clone System (OCS)" screen, select the default '''device-image''' mode. |
− | # | + | # ''At the "Mount Clonezilla image directory" screen, select the '''nfs_server''' mode.'' |
− | # At the "Network config" screen, select the default | + | # If multiple network interfaces exist, you may need to select the active interface. |
− | # | + | # At the "Network config" screen, select the default '''dhcp''' mode. |
− | # | + | # ''At the "NFS version" screen, select the '''nfs4 NFS v4''' version.'' |
− | # At the second "Mount NFS server" screen, select the default | + | # ''At the first "Mount NFS server" screen, enter '''10.2.0.18''' for the IP address.'' |
− | # At the Press "Enter" to continue prompt, press Enter. | + | # At the second "Mount NFS server" screen, select the default '''/partimag/''' directory. |
− | # At the second "Clonezilla - Opensource Clone System (OCS)" screen, select the default | + | # At the Press "Enter" to continue prompt, press '''Enter'''. |
− | # At the "Clonezilla - Opensource Clone System (OCS): Select mode" screen, select the default | + | # 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 first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, '''append the hostname to the image name. Ex: -bigroompublicpc''''' |
− | # At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default | + | # ''At the second "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, '''select any disks you want backed up.''''' |
− | # At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default | + | # At the first "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''-sfsck''' option. |
− | # At the third "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default | + | # At the second "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''Yes, check the saved image''' option. |
− | # At the "Mode: savedisk" screen, select the default | + | # At the third "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default '''-senc''' option. |
− | # At the Press "Enter" to continue prompt, press Enter. | + | # At the "Mode: savedisk" screen, select the default '''-p choose''' action. |
− | # | + | # 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. | ||
+ | # ''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 "Please remove the live-medium" prompt, '''remove the boot media and then press Enter.''''' |
= 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 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. |
Revision as of 22:22, 16 January 2018
Procedure
- 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 "Choose language" screen, select the default en_US.UTF-8 English language.
- At the "Configuring console-data" screen, select the default Don't touch keymap policy.
- At the "Start Clonezilla" screen, select the default Start_Clonezilla mode.
- At the first "Clonezilla - Opensource Clone System (OCS)" screen, select the default device-image mode.
- At the "Mount Clonezilla image directory" screen, select the nfs_server mode.
- If multiple network interfaces exist, you may need to select the active interface.
- At the "Network config" screen, select the default dhcp mode.
- At the "NFS version" screen, select the nfs4 NFS v4 version.
- At the first "Mount NFS server" screen, enter 10.2.0.18 for the IP address.
- At the second "Mount NFS server" screen, select the default /partimag/ directory.
- At the Press "Enter" to continue prompt, press Enter.
- 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 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 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 third "Clonezilla advanced extra parameters | Mode: savedisk" screen, select the default -senc option.
- At the "Mode: savedisk" screen, select the default -p choose action.
- 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.
- At the Are you sure you want to continue (y/n) prompt, select y.
- Monitor the "Partclone" process for each disk.
- At the Press "Enter" to continue prompt, press Enter.
- 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.
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.