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

Diff of /trunk/www/restoration.html

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

revision 33 by sng, Sun Mar 21 20:37:49 2010 UTC revision 85 by sng, Fri Jul 16 15:38:22 2010 UTC
# Line 74  Line 74 
74    
75  <body>  <body>
76  <div id="header">  <div id="header">
77  <div id="lphp" style=""><a target="_blank" href="onepage.php"><img src="images/chain.png" border="0" /></a><a target="_blank" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>  <div id="lphp" style=""><a target="_blank" href="onepage.html"><img src="images/chain.png" border="0" /></a><a target="_blank" href="printable.php"><img src="images/print_it.png" border="0" /></a></div>
78  <H2>Clonezilla-SysRescCD</H2>  <H2>Clonezilla-SysRescCD</H2>
79  <H3>Documentation: Restoring data</H3>  <H3>Documentation: Restoring data</H3>
80    <div style="margin:0; padding: 3px; width: 980; position relative;">    <div style="margin:0; padding: 3px; width: 980; position relative;">
81      <div style="position: absolute; left: 0px;"><H4>25/02/2010 - v 3.1.0</H4></div>      <div style="position: absolute; left: 0px;"><H4>25/05/2010 - v 3.1.0</H4></div>
82      <div style="position: absolute; right: 0px;"><H4>Last update: 21/03/2010</H4></div>      <div style="position: absolute; right: 0px;"><H4>Last update: 16/07/2010</H4></div>
83    </div>    </div>
84  </div>  </div>
85  <div id="linkline">  <div id="linkline">
# Line 100  Line 100 
100  </div>  </div>
101  <div id="contarea">  <div id="contarea">
102    <div id="content">    <div id="content">
103  <a name="restore-top"></a>  <a name="restore-top"></a>
104    
105  <!-- Intro -->  <!-- Intro -->
106    
107  <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>
108  <!-- empty line -->  <!-- empty line -->
109  <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>
110    
111  <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>
112    
113  <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>
114    
115  <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>
116    
117  <p>Now let's boot.</p>  <p>Now let's boot.</p>
118    
119  <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>
120  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.
121  </td></tr></table></div>  </td></tr></table></div>
122  <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>
123  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-17</b>
124  </td></tr></table></div>  </td></tr></table></div>
125    
126  <!-- Restoration -->  <!-- Restoration -->
127  <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>
128  <!--empty line-->  <!--empty line-->
129  <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>
130  <!-- empty line -->  <!-- empty line -->
131  <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>
132    
133  <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>
134    
135  <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>
136    
137  <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>
138  &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>
139  &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>
140  &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>
141    
142  <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>
143    
144  <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>
145  &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>
146  &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>
147  &nbsp;&nbsp;ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p>  &nbsp;&nbsp;ocs_lang="" ocs_live_keymap="" vga=791 nolocales</p>
148  </p>  </p>
149  <!--empty line-->  <!--empty line-->
150  <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>
151  <!--empty line-->  <!--empty line-->
152  <p><img src="images/backup-00.png"><br>  <p><img src="images/backup-00.png"><br>
153  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>
154  <!--empty line-->  <!--empty line-->
155  <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>
156  <!--empty line-->  <!--empty line-->
157  <p><img src="images/backup-01.png"><br>  <p><img src="images/backup-01.png"><br>
158  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>
159  <!--empty line-->  <!--empty line-->
160  <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>
161  <!--empty line-->  <!--empty line-->
162  <p><img src="images/backup-02.png"><br>  <p><img src="images/backup-02.png"><br>
163  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>
164  <!--empty line-->  <!--empty line-->
165  <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>
166  <!--empty line-->  <!--empty line-->
167  <p><img src="images/backup-03.png"><br>  <p><img src="images/backup-03.png"><br>
168  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.
169  </p>  </p>
170  <!--empty line-->  <!--empty line-->
171  <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>
172  <!--empty line-->  <!--empty line-->
173  <p><img src="images/backup-04.png"><br>  <p><img src="images/backup-04.png"><br>
174  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>
175  </p>  </p>
176  <!--empty line-->  <!--empty line-->
177  <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>
178  <!--empty line-->  <!--empty line-->
179  <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.
180  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>
181  <br>  <br>
182  <img src="images/backup-05.png"><br>  <img src="images/backup-05.png"><br>
183  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.
184  </p>  </p>
185  <!--empty line-->  <!--empty line-->
186  <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>
187  <!--empty line-->  <!--empty line-->
188  <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>
189  <img src="images/restoration-06.png"><br>  <img src="images/restoration-06.png"><br>
190  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>
191  <br>  <br>
192  <img src="images/backup-07.png"><br>and then ENTER again.</p>  <img src="images/backup-07.png"><br>and then ENTER again.</p>
193    
194  <p><img src="images/restoration-08.png"><br>  <p><img src="images/restoration-08.png"><br>
195  This screen displays the mounting result.<br>  This screen displays the mounting result.<br>
196  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>
197  <!--empty line-->  <!--empty line-->
198  <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>
199  <!--empty line-->  <!--empty line-->
200  <p><img src="images/backup-09.png"><br>  <p><img src="images/backup-09.png"><br>
201  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>
202  <!--empty line-->  <!--empty line-->
203  <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>
204  <!--empty line-->  <!--empty line-->
205  <p>Here I can select the desired operation.<br>  <p>Here I can select the desired operation.<br>
206  <br>  <br>
207  <img src="images/restoration-10.png"><br>  <img src="images/restoration-10.png"><br>
208  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>
209  <!--empty-line-->  <!--empty-line-->
210  <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>
211  <!--empty line-->  <!--empty line-->
212  <p><img src="images/restoration-11.png"><br>  <p><img src="images/restoration-11.png"><br>
213  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>
214  <!--empty line-->  <!--empty line-->
215  <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>
216  <!--empty line-->  <!--empty line-->
217  <p><img src="images/restoration-12.png"><br>  <p><img src="images/restoration-12.png"><br>
218  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>
219  <!--empty line-->  <!--empty line-->
220  <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>
221  <!--empty line-->  <!--empty line-->
222  <p><img src="images/restoration-13.png"><br>  <p><img src="images/restoration-13.png"><br>
223  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>
224  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>
225  <!--empty line-->  <!--empty line-->
226  <img src="images/restoration-14.png"><br>  <img src="images/restoration-14.png"><br>
227  <!--empty line-->  <!--empty line-->
228  <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>
229  <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>
230  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>
231  <br>  <br>
232  <img src="images/restoration-15.png"><br>  <img src="images/restoration-15.png"><br>
233  After that, the restore process begins  After that, the restore process begins
234  <br>  <br>
235  <br>  <br>
236  <img src="images/restoration-16.png"><br>  <img src="images/restoration-16.png"><br>
237  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>
238  </p>  <p class="newcode">sudo su -<br>
239    cd<br>
240    umount -a<br>
241    reboot<br><br></p>
242    
243    <p>to reboot the system.</p>
244    
245    
246    
247    
248  </div>  </div>

Legend:
Removed from v.33  
changed lines
  Added in v.85

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26