Baremetal clonezilla » Historie » Version 2
Jeremias Keihsler, 12.01.2017 15:31
| 1 | 2 | Jeremias Keihsler | h1. CloneZilla Disaster Recovery |
|---|---|---|---|
| 2 | 1 | Jeremias Keihsler | |
| 3 | h2. Start CloneZilla |
||
| 4 | |||
| 5 | h3. Requirements |
||
| 6 | |||
| 7 | To install such a system you will need the following: |
||
| 8 | |||
| 9 | * The supplied clonezilla-live-1.2.8-23-i686 CD **or** |
||
| 10 | * Download this or a newer version of the clonezilla-live CD and burn it on an empty CDROM (the .iso can be found here: http://clonezilla.org/downloads/stable/iso-zip-files.php) |
||
| 11 | * a bootable CDROM-drive |
||
| 12 | |||
| 13 | h3. Preliminary Note |
||
| 14 | |||
| 15 | In this tutorial I use a virtual machine to backup and restore. It is assumed that the first harddrive (sda) is the system-drive and the second harddrive is the backup-drive (e.g. USB-HDD). These settings might differ for you, so you have to replace them where appropriate. |
||
| 16 | |||
| 17 | h3. Start CloneZilla |
||
| 18 | |||
| 19 | Boot from your CloneZille-Live CD. Press @<ENTER>@ at the boot prompt: |
||
| 20 | |||
| 21 | !{width: 500}clonezilla1.png! |
||
| 22 | |||
| 23 | Select the language you prefer, I stick with English |
||
| 24 | |||
| 25 | !{width: 500}clonezilla2.png! |
||
| 26 | |||
| 27 | Select the keymap for your keyboard, I stick with Standard-US, if you want to change the keyboard-layout select the first option @Select keymap from arch list@. |
||
| 28 | |||
| 29 | !{width: 500}clonezilla3.png! |
||
| 30 | |||
| 31 | @Start CloneZilla@ obviously |
||
| 32 | |||
| 33 | !{width: 500}clonezilla4.png! |
||
| 34 | |||
| 35 | Since we want to work with images -> @device image@ |
||
| 36 | |||
| 37 | !{width: 500}clonezilla5.png! |
||
| 38 | |||
| 39 | the fastest way is to use a local drive (e.g. USB-HDD) |
||
| 40 | |||
| 41 | !{width: 500}clonezilla6.png! |
||
| 42 | |||
| 43 | if your USB-device is not yet connected, connect it and wait a few seconds before you continue |
||
| 44 | |||
| 45 | !{width: 500}clonezilla7.png! |
||
| 46 | |||
| 47 | select the drive you want to backup to or to restore from. Don't get confused, CloneZilla want's to know the target before the source when saving an image! |
||
| 48 | |||
| 49 | !{width: 500}clonezilla8.png! |
||
| 50 | |||
| 51 | select the directory where the image should reside. Choosing the @root@ is always a safe decision. |
||
| 52 | |||
| 53 | !{width: 500}clonezilla09.png! |
||
| 54 | |||
| 55 | now we see the filesystem seen by CloneZilla. The image will reside always in @/home/partimag@. The drive to be saved or to be restored must not be part of the filesystem. |
||
| 56 | |||
| 57 | !{width: 500}clonezilla10.png! |
||
| 58 | |||
| 59 | by using @Beginner@ mode the safe default values are automatically chosen. If you have a big multi-core machine you might choose @Expert@ and leave everything default but set the compression method to @pigz@ |
||
| 60 | |||
| 61 | !{width: 500}clonezilla11.png! |
||
| 62 | |||
| 63 | h2. Backup (make image of system) |
||
| 64 | |||
| 65 | choose @savedisk@ |
||
| 66 | |||
| 67 | !{width: 500}clonezilla12save.png! |
||
| 68 | |||
| 69 | give the image a strong name, date and system-name are a good starting point |
||
| 70 | |||
| 71 | !{width: 500}clonezilla13save.png! |
||
| 72 | |||
| 73 | choose the drive to be imaged |
||
| 74 | |||
| 75 | !{width: 500}clonezilla14save.png! |
||
| 76 | |||
| 77 | if you want to be sure that your image is working, stick with @yes, check the saved image@ |
||
| 78 | |||
| 79 | !{width: 500}clonezilla15save.png! |
||
| 80 | |||
| 81 | if you want to know what command-sequence you would have had to enter manually, here it is. |
||
| 82 | |||
| 83 | !{width: 500}clonezilla16save.png! |
||
| 84 | |||
| 85 | now we get a list of all partitions found on the source-drive |
||
| 86 | |||
| 87 | !{width: 500}clonezilla17save.png! |
||
| 88 | |||
| 89 | let's watch the progress of the imageing process |
||
| 90 | |||
| 91 | !{width: 500}clonezilla18save.png! |
||
| 92 | |||
| 93 | let's watch the progress of the image check |
||
| 94 | |||
| 95 | !{width: 500}clonezilla19save.png! |
||
| 96 | |||
| 97 | check if the image could be read back successfully. |
||
| 98 | |||
| 99 | !{width: 500}clonezilla20save.png! |
||
| 100 | |||
| 101 | let's poweroff the machine gracefully |
||
| 102 | |||
| 103 | !{width: 500}clonezilla21save.png! |
||
| 104 | |||
| 105 | remove the CloneZilla-Live-CD from the drive |
||
| 106 | |||
| 107 | !{width: 500}clonezilla22save.png! |
||
| 108 | |||
| 109 | h2. Restore |
||
| 110 | |||
| 111 | choose @restoredisk@ |
||
| 112 | |||
| 113 | !{width: 500}clonezilla12rest.png! |
||
| 114 | |||
| 115 | choose the image to be restored |
||
| 116 | |||
| 117 | !{width: 500}clonezilla13rest.png! |
||
| 118 | |||
| 119 | choose the restore target drive |
||
| 120 | |||
| 121 | !{width: 500}clonezilla14rest.png! |
||
| 122 | |||
| 123 | if you want to know what command-sequence you would have had to enter manually, here it is. |
||
| 124 | |||
| 125 | !{width: 500}clonezilla15rest.png! |
||
| 126 | |||
| 127 | now we get a reminder, that all data on the target drive will be lost |
||
| 128 | |||
| 129 | !{width: 500}clonezilla16rest.png! |
||
| 130 | |||
| 131 | this is the last chance to change your mind |
||
| 132 | |||
| 133 | !{width: 500}clonezilla17rest.png! |
||
| 134 | |||
| 135 | let's watch the progress of the restore process |
||
| 136 | |||
| 137 | !{width: 500}clonezilla18rest.png! |
||
| 138 | |||
| 139 | check if the image could be read back successfully |
||
| 140 | |||
| 141 | !{width: 500}clonezilla19rest.png! |
||
| 142 | |||
| 143 | let's poweroff the machine gracefully |
||
| 144 | |||
| 145 | !{width: 500}clonezilla20rest.png! |
||
| 146 | |||
| 147 | remove the CloneZilla-Live-CD from the drive |
||
| 148 | |||
| 149 | !{width: 500}clonezilla21rest.png! |