Difference between revisions of "Clonezilla Backups"
Jump to navigation
Jump to search
(3 intermediate revisions by one other user not shown) | |||
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 <u>Clonezilla live (Default settings, VGA 800x600)</u> boot mode. |
− | # At the "Choose language" screen, select the default | + | # 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 | + | # At the "Configuring console-data" screen, select the default <u>Don't touch keymap</u> policy. |
− | # At the "Start Clonezilla" screen, select the default | + | # 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 | + | # 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 | + | # '''At the "Mount Clonezilla image directory" screen, select the <u>nfs_server</u> mode.''' |
− | # At the "Network config" screen, select the default | + | # If multiple network interfaces exist, you may need to select the active interface. |
− | # '''At the "NFS version" screen, select the | + | # At the "Network config" screen, select the default <u>dhcp</u> mode. |
− | # '''At the first "Mount NFS server" screen, enter | + | # '''At the "NFS version" screen, select the <u>nfs4 NFS v4</u> version.''' |
− | # At the second "Mount NFS server" screen, select the default | + | # '''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 | + | # At the Press "Enter" to continue prompt, press <u>Enter</u>. |
− | # 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 <u>Beginner</u> mode. |
− | # '''At the first "Clonezilla - Opensource Clone System (OCS) | Mode: savedisk" screen, append the hostname to the image name | + | # 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 | + | # '''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 | + | # '''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 | + | # 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 | + | # 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 | + | # 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 | + | # '''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 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. |
Latest revision as of 22:53, 16 January 2018
Procedure[edit]
- 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, 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 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[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.