/[clonezilla-sysresccd]/trunk/www/2doc/doc/restoration.html
ViewVC logotype

Diff of /trunk/www/2doc/doc/restoration.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 75 by sng, Tue Jun 1 13:23:50 2010 UTC revision 112 by sng, Wed Sep 15 13:20:07 2010 UTC
# Line 77  Line 77 
77  <H2>Clonezilla-SysRescCD</H2>  <H2>Clonezilla-SysRescCD</H2>
78  <H3>Offline Documentation: Restoring data</H3>  <H3>Offline Documentation: Restoring data</H3>
79    <div style="margin:0; padding: 3px; width: 980; position relative;">    <div style="margin:0; padding: 3px; width: 980; position relative;">
80      <div style="position: absolute; left: 0px;"><H4>25/05/2010 - v 3.1.0</H4></div>      <div style="position: absolute; left: 0px;"><H4>15/09/2010 - v 3.1.0</H4></div>
81      <div style="position: absolute; right: 0px;"><H4>Last update: 31/05/2010</H4></div>      <div style="position: absolute; right: 0px;"><H4>Last update: 15/09/2010</H4></div>
82    </div>    </div>
83  </div>  </div>
84  <div id="linkline">  <div id="linkline">
# Line 86  Line 86 
86        
87  <!--  <a href="features.html">Features</a>-->  <!--  <a href="features.html">Features</a>-->
88    <a class="here" href="../README.html">Offline Documentation</a>    <a class="here" href="../README.html">Offline Documentation</a>
89      <a href="download.html">Download</a>
90    
91    
92    
# Line 96  Line 96 
96  </div>  </div>
97  <div id="contarea">  <div id="contarea">
98    <div id="content">    <div id="content">
99  <a name="restore-top"></a>  <a name="restore-top"></a>
100    
101  <!-- Intro -->  <!-- Intro -->
102    
103  <H2 style="margin-top: 0;"><a name="restore-intro"></a>Intro <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2>  <H2 style="margin-top: 0;"><a name="restore-intro"></a>Intro <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2>
104  <!-- empty line -->  <!-- empty line -->
105  <p>Image files are always created for one purpose: restoring the data they contain. Images can be, for example, a backup solution: as long as hardware works, the computer can be restored to the state it was when creating the image. Another usage scenario is changing the hard drive: files can be copy-pasted from the old drive to the new, but that method doesn't make the new drive bootable. Disk images do.</p>  <p>Image files are always created for one purpose: restoring the data they contain. Images can be, for example, a backup solution: as long as hardware works, the computer can be restored to the state it was when creating the image. Another usage scenario is changing the hard drive: files can be copy-pasted from the old drive to the new, but that method doesn't make the new drive bootable. Disk images do.</p>
106    
107  <p>This page contains a demonstration of the latter case. On the <a href="backup.html">Getting backups</a> page, a 500 MB virtual disk containing 160 megabytes of data was copied to a 2 GB virtual disk which was empty. Now the 500 MB disk is changed to an empty 2 GB disk (still virtual) and I'll restore the data to that disk.</p>  <p>This page contains a demonstration of the latter case. On the <a href="backup.html">Getting backups</a> page, a 500 MB virtual disk containing 160 megabytes of data was copied to a 2 GB virtual disk which was empty. Now the 500 MB disk is changed to an empty 2 GB disk (still virtual) and I'll restore the data to that disk.</p>
108    
109  <p>When creating a disk image, one needs to check that both the source and target partitions are error free. That's not required when the image is restored, because restoration process can't damage the disk image. Note, however, that restoring an image erases all the data in the target disk/partition.</p>  <p>When creating a disk image, one needs to check that both the source and target partitions are error free. That's not required when the image is restored, because restoration process can't damage the disk image. Note, however, that restoring an image erases all the data in the target disk/partition.</p>
110    
111  <p>You also need to check the BIOS settings to be able to boot from <b>Clonezilla-SysRescCD</b>. Some BIOSes contain a boot menu, others require editing settings pernamently. Details can be found on the manual of the motherboard or laptop.</p>  <p>You also need to check the BIOS settings to be able to boot from <b>Clonezilla-SysRescCD</b>. Some BIOSes contain a boot menu, others require editing settings pernamently. Details can be found on the manual of the motherboard or laptop.</p>
112    
113  <p>Now let's boot.</p>  <p>Now let's boot.</p>
114    
115  <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>  <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
116  Restore process erases all the data on the target disk/partition.<br><br>Before restoring make sure you have backup of all the data<br> on the target disk/partition, even if the filesystem is corrupted.  Restore process erases all the data on the target disk/partition.<br><br>Before restoring make sure you have backup of all the data<br> on the target disk/partition, even if the filesystem is corrupted.
117  </td></tr></table></div>  </td></tr></table></div>
118  <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>  <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/info.png"></td><td>
119  The following pressentation has been made using<br><b>Clonezilla Live v 1.2.3-27</b>  The following pressentation has been made using<br><b>Clonezilla Live v 1.2.5-35</b>
120  </td></tr></table></div>  </td></tr></table></div>
121    
122  <!-- Restoration -->  <!-- Restoration -->
123  <H2><a name="restore"></a>Restoring data <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2>  <H2><a name="restore"></a>Restoring data <span class="hideprint">[<a href="#restore-top" title="go to top of the page">^</a>]</span></H2>
124  <!--empty line-->  <!--empty line-->
125  <H3><a name="res-0"></a>Clonezilla-SysRescCD starting screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-0"></a>Clonezilla-SysRescCD starting screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
126  <!-- empty line -->  <!-- empty line -->
127  <p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from <a href="#res-4">this step</a>.</p>  <p>If you're fine with US keymap and English language (available languages are English, Spanish, French, Italian, Japanese and Chinese [both simplified and traditional]) or don't mind editing the boot parameters, just select <b>Clonezilla Live</b> at the starting screen and press ENTER. When the system comes up, it will load the program that will preform the backup. After that continue from <a href="#res-4">this step</a>.</p>
128    
129  <p>If you need to change these settings, select one of the available <b>Clonezilla Live</b> menu entries, and press <font color="Green"><b>TAB</b></font>. The current boot parameters will be displayed.</p>  <p>If you need to change these settings, select one of the available <b>Clonezilla Live</b> menu entries, and press <font color="Green"><b>TAB</b></font>. The current boot parameters will be displayed.</p>
130    
131  <p>The default parameters for booting <b>Clonezilla Live</b> on a 1024x768 screen, are the following:</p>  <p>The default parameters for booting <b>Clonezilla Live</b> on a 1024x768 screen, are the following:</p>
132    
133  <p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br>  <p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br>
134  &nbsp;&nbsp;ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br>  &nbsp;&nbsp;ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br>
135  &nbsp;&nbsp;ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br>  &nbsp;&nbsp;ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br>
136  &nbsp;&nbsp;ocs_lang="<font color="Red">en_US.UTF-8</font>" ocs_live_keymap="<font color="Red">NONE</font>" vga=791 nolocales</p>  &nbsp;&nbsp;ocs_lang="<font color="Red">en_US.UTF-8</font>" ocs_live_keymap="<font color="Red">NONE</font>" vga=791 nolocales</p>
137    
138  <p>By deleting the words in red, you instruct <b>Clonezilla Live</b> to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press <font color="Green"><b>ENTER</b></font> to boot.</p>  <p>By deleting the words in red, you instruct <b>Clonezilla Live</b> to ask you the values of these parameters. When the appropriate changes have been done (as shown bellow), just press <font color="Green"><b>ENTER</b></font> to boot.</p>
139    
140  <p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br>  <p class="newcode">append initrd=/live/initrd1.img boot=live union=aufs<br>
141  &nbsp;&nbsp;ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br>  &nbsp;&nbsp;ocs_live_run="ocs-live-general" ocs_live_extra_param=""<br>
142  &nbsp;&nbsp;ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br>  &nbsp;&nbsp;ocs_prerun="/live/image/restorecd/prerun.normal" ocs_live_batch="no"<br>
143  &nbsp;&nbsp;ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p>  &nbsp;&nbsp;ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p>
144  </p>  </p>
145  <!--empty line-->  <!--empty line-->
146  <H3><a name="res-1"></a>Screen "Choose Language" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-1"></a>Screen "Choose Language" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
147  <!--empty line-->  <!--empty line-->
148  <p><img src="images/backup-00.png"><br>  <p><img src="images/backup-00.png"><br>
149  I select "<font color="Red"><b>en_US.UTF-8 English</b></font>" and press ENTER.</p>  I select "<font color="Red"><b>en_US.UTF-8 English</b></font>" and press ENTER.</p>
150  <!--empty line-->  <!--empty line-->
151  <H3><a name="res-2"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-2"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
152  <!--empty line-->  <!--empty line-->
153  <p><img src="images/backup-01.png"><br>  <p><img src="images/backup-01.png"><br>
154  I select "<font color="Red"><b>Select keymap from full list</b></font>" and press ENTER. If you're using US keymap, the default option "<font color="Red"><b>Don't touch keymap</b></font>" is a better choice.</p>  I select "<font color="Red"><b>Select keymap from full list</b></font>" and press ENTER. If you're using US keymap, the default option "<font color="Red"><b>Don't touch keymap</b></font>" is a better choice.</p>
155  <!--empty line-->  <!--empty line-->
156  <H3><a name="res-3"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-3"></a>Screen "Configuring console-data" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
157  <!--empty line-->  <!--empty line-->
158  <p><img src="images/backup-02.png"><br>  <p><img src="images/backup-02.png"><br>
159  Because I haven't changed my keyboard, I select "<font color="Red"><b>pc / qwerty / Finnish / Standard / Standard</b></font>". Because you most likely use a different keyboard, choose the one you use.</p>  Because I haven't changed my keyboard, I select "<font color="Red"><b>pc / qwerty / Finnish / Standard / Standard</b></font>". Because you most likely use a different keyboard, choose the one you use.</p>
160  <!--empty line-->  <!--empty line-->
161  <H3><a name="res-4"></a>Screen "Start Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-4"></a>Screen "Start Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
162  <!--empty line-->  <!--empty line-->
163  <p><img src="images/backup-03.png"><br>  <p><img src="images/backup-03.png"><br>
164  I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.  I select "<font color="Red"><b>Start Clonezilla</b></font>" and press ENTER.
165  </p>  </p>
166  <!--empty line-->  <!--empty line-->
167  <H3><a name="res-5"></a>Screen "Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-5"></a>Screen "Clonezilla" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
168  <!--empty line-->  <!--empty line-->
169  <p><img src="images/backup-04.png"><br>  <p><img src="images/backup-04.png"><br>
170  I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br>  I select "<font color="Red"><b>device-image</b></font>" and press ENTER.<br> <br>
171  </p>  </p>
172  <!--empty line-->  <!--empty line-->
173  <H3><a name="res-6"></a>Screen "Mount clonezilla image directory" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-6"></a>Screen "Mount clonezilla image directory" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
174  <!--empty line-->  <!--empty line-->
175  <p>In this screen I can select the way the image file directory has been saved.  <p>In this screen I can select the way the image file directory has been saved.
176  Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and <b>skip</b>, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br>  Available options are local directory, remote directory through <b>ssh</b>, <b>samba</b> or <b>nfs</b> and <b>skip</b>, to use the previously used directory. More info about the image file can be found at section "<a href="clonezilla.html#about">About the Image file</a>".<br>
177  <br>  <br>
178  <img src="images/backup-05.png"><br>  <img src="images/backup-05.png"><br>
179  I select "<font color="Red"><b>local_dev</b></font>" and press ENTER.  I select "<font color="Red"><b>local_dev</b></font>" and press ENTER.
180  </p>  </p>
181  <!--empty line-->  <!--empty line-->
182  <H3><a name="res-7"></a>Next screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-7"></a>Next screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
183  <!--empty line-->  <!--empty line-->
184  <p>This is where I choose the location of the image file.<br><br>  <p>This is where I choose the location of the image file.<br><br>
185  <img src="images/restoration-06.png"><br>  <img src="images/restoration-06.png"><br>
186  I select partition <font color="Red"><b>hda1</b></font> and press ENTER.<br>  I select partition <font color="Red"><b>sda1</b></font> and press ENTER.<br>
187  <br>  <br>
188  <img src="images/backup-07.png"><br>and then ENTER again.</p>  <img src="images/backup-07.png"><br>and then ENTER again.</p>
189    
190  <p><img src="images/restoration-08.png"><br>  <p><img src="images/restoration-08.png"><br>
191  This screen displays the mounting result.<br>  This screen displays the mounting result.<br>
192  As we can see, <font color="Red"><b>/dev/hda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p>  As we can see, <font color="Red"><b>/dev/sda1</b></font> has been successfully mounted under <b>/tmp/local-dev</b>.</p>
193  <!--empty line-->  <!--empty line-->
194  <H3><a name="res-7a"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-7a"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
195  <!--empty line-->  <!--empty line-->
196  <p><img src="images/backup-09.png"><br>  <p><img src="images/backup-09.png"><br>
197  I select <font color="Red"><b>Beginer mode</b></font> to accept the default restore options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#restore-options" target="_blank">here</a>.</p>  I select <font color="Red"><b>Beginer mode</b></font> to accept the default restore options. If you select <font color="Red"><b>Expert mode</b></font>, you can choose the options yourself. More details can be found <a href="clonezilla.html#restore-options" target="_blank">here</a>.</p>
198  <!--empty line-->  <!--empty line-->
199  <H3><a name="res-8"></a>Screen "Select mode" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-8"></a>Screen "Select mode" [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
200  <!--empty line-->  <!--empty line-->
201  <p>Here I can select the desired operation.<br>  <p>Here I can select the desired operation.<br>
202  <br>  <br>
203  <img src="images/restoration-10.png"><br>  <img src="images/restoration-10.png"><br>
204  I select "<font color="Red"><b>restoredisk</b></font>" and press ENTER.<br> <br></p>  I select "<font color="Red"><b>restoredisk</b></font>" and press ENTER.<br> <br></p>
205  <!--empty-line-->  <!--empty-line-->
206  <H3><a name="res-9"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-9"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
207  <!--empty line-->  <!--empty line-->
208  <p><img src="images/restoration-11.png"><br>  <p><img src="images/restoration-11.png"><br>
209  In this screen I select the image folder. This partition contains only one image.</p>  In this screen I select the image folder. This partition contains only one image.</p>
210  <!--empty line-->  <!--empty line-->
211  <H3><a name="res-10"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-10"></a>Next Screen [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
212  <!--empty line-->  <!--empty line-->
213  <p><img src="images/restoration-12.png"><br>  <p><img src="images/restoration-12.png"><br>
214  Finally I am asked to select which partition the image will be restored to. After double-checking the disk doesn't contain anything important, I press ENTER.</p>  Finally I am asked to select which partition the image will be restored to. After double-checking the disk doesn't contain anything important, I press ENTER.</p>
215  <!--empty line-->  <!--empty line-->
216  <H3><a name="res-11"></a>Starting the restoration [<a href="#restore-top" title="go to top of the page">^</a>]</H3>  <H3><a name="res-11"></a>Starting the restoration [<a href="#restore-top" title="go to top of the page">^</a>]</H3>
217  <!--empty line-->  <!--empty line-->
218  <p><img src="images/restoration-13.png"><br>  <p><img src="images/restoration-13.png"><br>
219  Then the program will display the command that will be executed and will ask me to press ENTER. <br>  Then the program will display the command that will be executed and will ask me to press ENTER. <br>
220  Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER.<br>  Then I will be asked to confirm the operation by pressing <font color="Red"><b>y</b></font> and ENTER.<br>
221  <!--empty line-->  <!--empty line-->
222  <img src="images/restoration-14.png"><br>  <img src="images/restoration-14.png"><br>
223  <!--empty line-->  <!--empty line-->
224  <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>  <div align="center"><table class="note" border="0" cellpadding="20"><tr><td valign="top"><img src="images/important.png"></td><td>
225  <b>This is the last confirmation Clonezilla Live asks.<br>After this step there is no coming back.</b><br></td></tr></table></div>  <b>This is the last confirmation Clonezilla Live asks.<br>After this step there is no coming back.</b><br></td></tr></table></div>
226  Then my confirmation is asked one last time. After checking one more time the disk doesn't contain any important data, I press <font color="Red"><b>y</b></font> and ENTER.<br>  Then my confirmation is asked one last time. After checking one more time the disk doesn't contain any important data, I press <font color="Red"><b>y</b></font> and ENTER.<br>
227  <br>  <br>
228  <img src="images/restoration-15.png"><br>  <img src="images/restoration-15.png"><br>
229  After that, the restore process begins  After that, the restore process begins
230  <br>  <br>
231  <br>  <br>
232  <img src="images/restoration-16.png"><br>  <img src="images/restoration-16.png"><br>
233  and when it's successfully completed, I will be able to reboot the system by pressing <font color="Red"><b>1</b></font> and ENTER.  and when it's successfully completed, I press ENTER to get to the shell. Then, I execute the commands:</p>
234  </p>  <p class="newcode">sudo su -<br>
235    cd<br>
236    umount -a<br>
237    reboot<br><br></p>
238    
239    <p>to reboot the system.</p>
240    
241    
242    
243    
244  </div>  </div>

Legend:
Removed from v.75  
changed lines
  Added in v.112

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26