[1] | 1 | <HTML>
|
---|
| 2 | <HEAD>
|
---|
| 3 | <!-- $MVD$:app("MicroVision WebExpress","769") -->
|
---|
| 4 | <!-- $MVD$:template("","0","0") -->
|
---|
| 5 | <!-- $MVD$:color("18","840084","Custom #1","0") -->
|
---|
| 6 | <!-- $MVD$:color("19","e0e0e0","Custom #2","0") -->
|
---|
| 7 | <!-- $MVD$:color("20","80ff","Orange","1") -->
|
---|
| 8 | <!-- $MVD$:color("21","ffd6ce","Lavender","1") -->
|
---|
| 9 | <!-- $MVD$:fontset("Courier","Courier New") -->
|
---|
| 10 | <TITLE>Restore-Related Tips </TITLE>
|
---|
| 11 | <META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
|
---|
| 12 | ">
|
---|
| 13 | <LINK REL="HOME" HREF="index.html" TITLE=" Mondo Rescue and Mindi Linux HOWTO "><LINK REL="UP" HREF="restore.html" TITLE=" Restore "><LINK REL="PREVIOUS" HREF="restoreoverview.html" TITLE=" Overview "><LINK REL="NEXT" HREF="faq.html" TITLE=" Troubleshooting/FAQ "></HEAD>
|
---|
| 14 | <BODY BGCOLOR="WHITE" TEXT="BLACK" LINK="BLUE" VLINK="#840084" ALINK="BLUE" CLASS="SECTION">
|
---|
| 15 | <DIV ALIGN=LEFT>
|
---|
| 16 | <P ALIGN=LEFT>
|
---|
| 17 | <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" SUMMARY="Header navigation table">
|
---|
| 18 | <TR>
|
---|
| 19 | <TD COLSPAN="3" VALIGN=CENTER>
|
---|
| 20 | <P ALIGN=CENTER>
|
---|
| 21 | Mondo Rescue and Mindi Linux HOWTO</TD>
|
---|
| 22 | </TR>
|
---|
| 23 | <TR>
|
---|
| 24 | <TD WIDTH="10%" VALIGN=BOTTOM>
|
---|
| 25 | <P ALIGN=LEFT>
|
---|
| 26 | <A HREF="restoreoverview.html" ACCESSKEY="P">Prev</A></TD>
|
---|
| 27 | <TD WIDTH="80%" VALIGN=BOTTOM>
|
---|
| 28 | <P ALIGN=CENTER>
|
---|
| 29 | Chapter 9. Restore</TD>
|
---|
| 30 | <TD WIDTH="10%" VALIGN=BOTTOM>
|
---|
| 31 | <P ALIGN=RIGHT>
|
---|
| 32 | <A HREF="faq.html" ACCESSKEY="N">Next</A></TD>
|
---|
| 33 | </TR>
|
---|
| 34 | </TABLE>
|
---|
| 35 | <HR ALIGN=LEFT WIDTH="100%" SIZE="2">
|
---|
| 36 | </P>
|
---|
| 37 | </DIV>
|
---|
| 38 | <H1 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 39 | <A NAME="RESTORETIPS"></A>9.2. Restore-Related Tips</H1>
|
---|
| 40 | <P ALIGN=LEFT>
|
---|
| 41 | Ideally, restore your system to a spare hard drive to test the
|
---|
| 42 | integrity and reliability of your disks. To do that, either edit your
|
---|
| 43 | mountlist to make the devices point to your spare hard drive, or swap
|
---|
| 44 | your hard drive cables between boots.</P>
|
---|
| 45 | <P ALIGN=LEFT>
|
---|
| 46 | At a bare minimum, compare your CD against your file system before
|
---|
| 47 | you decide whether to trust them.</P>
|
---|
| 48 | <P ALIGN=LEFT>
|
---|
| 49 | To test Mondo's ability to handle your LILO or GRUB boot loader and
|
---|
| 50 | accompanying configuration file:</P>
|
---|
| 51 | <UL>
|
---|
| 52 | <LI CLASS="mvd-P">
|
---|
| 53 | <P ALIGN=LEFT>
|
---|
| 54 | Boot from the backup CD into Expert Mode</P>
|
---|
| 55 | <LI CLASS="mvd-P">
|
---|
| 56 | <P ALIGN=LEFT>
|
---|
| 57 | Type:</P>
|
---|
| 58 | </UL>
|
---|
| 59 | <DIV ALIGN=LEFT>
|
---|
| 60 | <P ALIGN=LEFT>
|
---|
| 61 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 62 | <TR>
|
---|
| 63 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 64 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 65 | COLOR="BLACK">bash# mondorestore --mbr</FONT></TD></TR>
|
---|
| 66 | </TABLE></P>
|
---|
| 67 | </DIV>
|
---|
| 68 | <UL>
|
---|
| 69 | <LI CLASS="mvd-P">
|
---|
| 70 | <P ALIGN=LEFT>
|
---|
| 71 | To fix any mess it made (not that it should) type:</P>
|
---|
| 72 | </UL>
|
---|
| 73 | <DIV ALIGN=LEFT>
|
---|
| 74 | <P ALIGN=LEFT>
|
---|
| 75 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 76 | <TR>
|
---|
| 77 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 78 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 79 | COLOR="BLACK">bash# mount-me</FONT><BR><FONT
|
---|
| 80 | COLOR="BLACK">bash# chroot /mnt/RESTORING</FONT><BR><FONT
|
---|
| 81 | COLOR="BLACK">bash# lilo <B>OR </B>grub-install '(hd0)'</FONT><BR><FONT
|
---|
| 82 | COLOR="BLACK">bash# exit</FONT><BR><FONT
|
---|
| 83 | COLOR="BLACK">bash# unmount-me</FONT></TD></TR>
|
---|
| 84 | </TABLE></P>
|
---|
| 85 | </DIV>
|
---|
| 86 | <UL>
|
---|
| 87 | <LI CLASS="mvd-P">
|
---|
| 88 | <P ALIGN=LEFT>
|
---|
| 89 | If it did not work then please copy /tmp/mondo-restore.log to a
|
---|
| 90 | floppy (or to your hard disk), gzip it and e-mail it to the mailing list.</P>
|
---|
| 91 | </UL>
|
---|
| 92 | <H2 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 93 | <A NAME="AEN390"></A>9.2.1. Barebones (Nuke) Restore</H2>
|
---|
| 94 | <P ALIGN=LEFT>
|
---|
| 95 | Imagine that your hard drives happen to be wiped, deliberately or
|
---|
| 96 | accidentally. Or, imagine that you want to clone your existing
|
---|
| 97 | operating system. In either case, you want to run in Nuke Mode.</P>
|
---|
| 98 | <P ALIGN=LEFT>
|
---|
| 99 | If you want to wipe everything and restore your whole system from CD, please:</P>
|
---|
| 100 | <UL>
|
---|
| 101 | <LI CLASS="mvd-P">
|
---|
| 102 | <P ALIGN=LEFT>
|
---|
| 103 | Boot from the first Mondo CD</P>
|
---|
| 104 | <LI CLASS="mvd-P">
|
---|
| 105 | <P ALIGN=LEFT>
|
---|
| 106 | Press <enter></P>
|
---|
| 107 | <LI CLASS="mvd-P">
|
---|
| 108 | <P ALIGN=LEFT>
|
---|
| 109 | Insert the subsequent CD when asked</P>
|
---|
| 110 | <LI CLASS="mvd-P">
|
---|
| 111 | <P ALIGN=LEFT>
|
---|
| 112 | Watch the screen for errors</P>
|
---|
| 113 | </UL>
|
---|
| 114 | <P ALIGN=LEFT>
|
---|
| 115 | That's it. The restoration process for tape or NFS users is similarly
|
---|
| 116 | easy: just boot, answer the on-screen prompts, and wait.</P>
|
---|
| 117 | <P ALIGN=LEFT>
|
---|
| 118 | Now, should something go wrong, you will be able to examine
|
---|
| 119 | /tmp/mondo-restore.log to see what happened. All is not lost. You can
|
---|
| 120 | fdisk and format the partitions yourself, using the tools that come
|
---|
| 121 | with the CD. You can then run mondorestore in Interactive Mode and
|
---|
| 122 | say 'no' when asked if you want Mondo to partition/format your drives.</P>
|
---|
| 123 | <P ALIGN=LEFT>
|
---|
| 124 | If you want to see exactly what Mondo is doing while it is restoring,
|
---|
| 125 | press <Alt><left cursor> to view its logfile, in a
|
---|
| 126 | virtual console, scrolling past.</P>
|
---|
| 127 | <H2 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 128 | <A NAME="AEN406"></A>9.2.2. Interactive Restore</H2>
|
---|
| 129 | <P ALIGN=JUSTIFY>
|
---|
| 130 | Interactive Mode is for people who have lost a subset of data from
|
---|
| 131 | their live file system, or perhaps who have lost some data from their
|
---|
| 132 | latest backup and want to restore a subset of data from an earlier
|
---|
| 133 | backup. If you want to restore only some files or if you do not want
|
---|
| 134 | to prep/format your drives, then you should boot into Interactive
|
---|
| 135 | Mode. The interactive mode will provide an 'Editing mountlist screen'
|
---|
| 136 | that allows you to setup a different disk geometry.</P>
|
---|
| 137 | <P ALIGN=LEFT>
|
---|
| 138 | To move up and down between partitions in the 'Editing mountlist
|
---|
| 139 | screen', use the Up and Down arrows. To move between the main window
|
---|
| 140 | and the buttons at the bottom, use the Left and Right cursor keys.
|
---|
| 141 | TAB shifts focus from one screen item to the other in a haphazard
|
---|
| 142 | fashion, owing to the complexities of the Newt library.</P>
|
---|
| 143 | <P ALIGN=LEFT>
|
---|
| 144 | If you want to restore selectively, just press <enter> and
|
---|
| 145 | follow the on-screen instructions. You will be asked to say yes/no to
|
---|
| 146 | a range of questions.</P>
|
---|
| 147 | <P ALIGN=LEFT>
|
---|
| 148 | If you are planning to modify your partition table, you would do well
|
---|
| 149 | to read up on the partition layout and the use of fdisk, it gives you
|
---|
| 150 | some could pointers on how to best lay out partitions. You can find
|
---|
| 151 | good guide her. <A HREF="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html" TARGET="_top">http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html</A></P>
|
---|
| 152 | <P ALIGN=LEFT>
|
---|
| 153 | If you want to restore a subset of the backup then:</P>
|
---|
| 154 | <UL>
|
---|
| 155 | <LI CLASS="mvd-P">
|
---|
| 156 | <P ALIGN=LEFT>
|
---|
| 157 | Boot from the CD</P>
|
---|
| 158 | <LI CLASS="mvd-P">
|
---|
| 159 | <P ALIGN=LEFT>
|
---|
| 160 | Type:</P>
|
---|
| 161 | </UL>
|
---|
| 162 | <DIV ALIGN=LEFT>
|
---|
| 163 | <P ALIGN=LEFT>
|
---|
| 164 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 165 | <TR>
|
---|
| 166 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 167 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 168 | COLOR="BLACK">bash# interactive </FONT></TD></TR>
|
---|
| 169 | </TABLE></P>
|
---|
| 170 | </DIV>
|
---|
| 171 | <UL>
|
---|
| 172 | <LI CLASS="mvd-P">
|
---|
| 173 | <P ALIGN=LEFT>
|
---|
| 174 | Then, after booting, answer the questions as follows:</P>
|
---|
| 175 | </UL>
|
---|
| 176 | <DIV ALIGN=LEFT>
|
---|
| 177 | <P ALIGN=LEFT>
|
---|
| 178 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 179 | <TR>
|
---|
| 180 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 181 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 182 | COLOR="BLACK">Do you want to partition your devices? no</FONT><BR><FONT
|
---|
| 183 | COLOR="BLACK">Do you want to format them? no</FONT><BR><FONT
|
---|
| 184 | COLOR="BLACK">Do you want to restore everything? no</FONT><BR><FONT
|
---|
| 185 | COLOR="BLACK">Do you want to restore something? yes</FONT><BR><FONT
|
---|
| 186 | COLOR="BLACK">Which path do you want to restore? /home/hugo [e.g.]</FONT><BR><FONT
|
---|
| 187 | COLOR="BLACK">Do you want to run LILO to setup your boot sectors? Yes </FONT></TD></TR>
|
---|
| 188 | </TABLE></P>
|
---|
| 189 | </DIV>
|
---|
| 190 | <H2 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 191 | <A NAME="AEN424"></A>9.2.3. Expert Restore</H2>
|
---|
| 192 | <P ALIGN=LEFT>
|
---|
| 193 | If you are planning to modify your partition table, you would do well
|
---|
| 194 | to read up on the partition layout and the use of fdisk, it gives you
|
---|
| 195 | some could pointers on how to best lay out partitions. You can find
|
---|
| 196 | good guide her. <A HREF="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html" TARGET="_top">http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html</A></P>
|
---|
| 197 | <P ALIGN=LEFT>
|
---|
| 198 | To restore manually, please:</P>
|
---|
| 199 | <UL>
|
---|
| 200 | <LI CLASS="mvd-P">
|
---|
| 201 | <P ALIGN=LEFT>
|
---|
| 202 | Boot from the first CD, then type:</P>
|
---|
| 203 | </UL>
|
---|
| 204 | <DIV ALIGN=LEFT>
|
---|
| 205 | <P ALIGN=LEFT>
|
---|
| 206 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 207 | <TR>
|
---|
| 208 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 209 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 210 | COLOR="BLACK">bash# expert </FONT></TD></TR>
|
---|
| 211 | </TABLE></P>
|
---|
| 212 | </DIV>
|
---|
| 213 | <UL>
|
---|
| 214 | <LI CLASS="mvd-P">
|
---|
| 215 | <P ALIGN=JUSTIFY>
|
---|
| 216 | Then do whatever you like. :) You may type the following, of course:</P>
|
---|
| 217 | </UL>
|
---|
| 218 | <DIV ALIGN=LEFT>
|
---|
| 219 | <P ALIGN=LEFT>
|
---|
| 220 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 221 | <TR>
|
---|
| 222 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 223 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 224 | COLOR="BLACK">bash# mondorestore</FONT></TD></TR>
|
---|
| 225 | </TABLE></P>
|
---|
| 226 | </DIV>
|
---|
| 227 | <H2 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 228 | <A NAME="AEN441"></A>9.2.4. Modified partitions - Restore to a
|
---|
| 229 | different disk geometry</H2>
|
---|
| 230 | <P ALIGN=LEFT>
|
---|
| 231 | One of the nice things about Mondo is that it lets you wipe your
|
---|
| 232 | existing system and restore it in any layout you like (within
|
---|
| 233 | reason). You can move from non-RAID to RAID,install and utilize
|
---|
| 234 | additional drives, move from ext2 to ReiserFS, etc., all without
|
---|
| 235 | risking the loss of data.</P>
|
---|
| 236 | <P ALIGN=LEFT>
|
---|
| 237 | If the user excluded a particular partition from backup and
|
---|
| 238 | specifically excluded it from the mountlist itself using -E then
|
---|
| 239 | Mondo will insert a small (32MB) partition at restore-time, in order
|
---|
| 240 | to avoid having to re-jig fstab, the partition table, etc.</P>
|
---|
| 241 | <P ALIGN=LEFT>
|
---|
| 242 | To do this:</P>
|
---|
| 243 | <UL>
|
---|
| 244 | <LI CLASS="mvd-P">
|
---|
| 245 | <P ALIGN=LEFT>
|
---|
| 246 | Boot into Expert Mode, then type:</P>
|
---|
| 247 | </UL>
|
---|
| 248 | <DIV ALIGN=LEFT>
|
---|
| 249 | <P ALIGN=LEFT>
|
---|
| 250 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 251 | <TR>
|
---|
| 252 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 253 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 254 | COLOR="BLACK">bash# mondorestore</FONT></TD></TR>
|
---|
| 255 | </TABLE></P>
|
---|
| 256 | </DIV>
|
---|
| 257 | <UL>
|
---|
| 258 | <LI CLASS="mvd-P">
|
---|
| 259 | <P ALIGN=LEFT>
|
---|
| 260 | (edit the mountlist using the on-screen editor)</P>
|
---|
| 261 | </UL>
|
---|
| 262 | <P ALIGN=LEFT>
|
---|
| 263 | If you want to move from ext2 to ReiserFS, you can do it here (so
|
---|
| 264 | long as your kernel supports ReiserFS). Ditto for XFS, JFS or ext3.</P>
|
---|
| 265 | <P ALIGN=LEFT>
|
---|
| 266 | Mondorestore will try to modify your /etc/fstab to reflect changes
|
---|
| 267 | you have made to the mountlist. If you are not using LILO, you can
|
---|
| 268 | still create your own /mnt/RESTORING/etc/lilo.conf and run lilo -r
|
---|
| 269 | /mnt/RESTORING to configure your boot sectors and Master Boot Record.</P>
|
---|
| 270 | <P ALIGN=LEFT>
|
---|
| 271 | Mondo (technically, Mindi on behalf of Mondo) creates a file called a
|
---|
| 272 | mountlist. This can be found on the ramdisk at /tmp/mountlist.txt; it
|
---|
| 273 | looks something like this:</P>
|
---|
| 274 | <DIV ALIGN=LEFT>
|
---|
| 275 | <P ALIGN=LEFT>
|
---|
| 276 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 277 | <TR>
|
---|
| 278 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 279 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 280 | COLOR="BLACK">/dev/hda1/mnt/windows vfat 4096000</FONT><BR><FONT
|
---|
| 281 | COLOR="BLACK">/dev/hda5 / reiserfs 6023000></FONT><BR><FONT
|
---|
| 282 | COLOR="BLACK">/dev/hda6 /tmp xfs 955000</FONT><BR><FONT
|
---|
| 283 | COLOR="BLACK">/dev/hda7 /usr xfs 4096000 </FONT></TD></TR>
|
---|
| 284 | </TABLE></P>
|
---|
| 285 | </DIV>
|
---|
| 286 | <P ALIGN=LEFT>
|
---|
| 287 | It is fairly easy to understand the list. Each line refers to a
|
---|
| 288 | single device/partition. The line format is:</P>
|
---|
| 289 | <DIV ALIGN=LEFT>
|
---|
| 290 | <P ALIGN=LEFT>
|
---|
| 291 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 292 | <TR>
|
---|
| 293 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 294 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 295 | COLOR="BLACK"><device> <partition> <format> <Kilobytes> </FONT></TD></TR>
|
---|
| 296 | </TABLE></P>
|
---|
| 297 | </DIV>
|
---|
| 298 | <P ALIGN=LEFT>
|
---|
| 299 | If you have added a hard drive and want to take advantage of the
|
---|
| 300 | additional space, you could amend the above mountlist to read:</P>
|
---|
| 301 | <DIV ALIGN=LEFT>
|
---|
| 302 | <P ALIGN=LEFT>
|
---|
| 303 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 304 | <TR>
|
---|
| 305 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 306 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 307 | COLOR="BLACK">/dev/hda1/mnt/windows vfat 6096000</FONT><BR><FONT
|
---|
| 308 | COLOR="BLACK">/dev/hda5 / reiserfs 9123000</FONT><BR><FONT
|
---|
| 309 | COLOR="BLACK">/dev/hda6 /tmp xfs 955000</FONT><BR><FONT
|
---|
| 310 | COLOR="BLACK">/dev/hdb1 /usr xfs 8192000</FONT><BR><FONT
|
---|
| 311 | COLOR="BLACK">/dev/hdb2 /home xfs 8192000 </FONT></TD></TR>
|
---|
| 312 | </TABLE></P>
|
---|
| 313 | </DIV>
|
---|
| 314 | <P ALIGN=LEFT>
|
---|
| 315 | This assumes that your old hard drive is /dev/hda and the new hard
|
---|
| 316 | drive is /dev/hdb.</P>
|
---|
| 317 | <P ALIGN=LEFT>
|
---|
| 318 | Or, if you want to add RAID support, create a new /etc/raidtab on the
|
---|
| 319 | ramdisk (which is beyond the scope of this HOWTO) and then write a
|
---|
| 320 | mountlist like this:</P>
|
---|
| 321 | <DIV ALIGN=LEFT>
|
---|
| 322 | <P ALIGN=LEFT>
|
---|
| 323 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 324 | <TR>
|
---|
| 325 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 326 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 327 | COLOR="BLACK">/dev/hda1 /mnt/windows vfat 6096000</FONT><BR><FONT
|
---|
| 328 | COLOR="BLACK">/dev/md0 / reiserfs 9123000</FONT><BR><FONT
|
---|
| 329 | COLOR="BLACK">/dev/md1 /tmp xfs 955000</FONT><BR><FONT
|
---|
| 330 | COLOR="BLACK">/dev/md2 xfs 8192000</FONT><BR><FONT
|
---|
| 331 | COLOR="BLACK">/dev/md3 /home xfs 8192000 </FONT></TD></TR>
|
---|
| 332 | </TABLE></P>
|
---|
| 333 | </DIV>
|
---|
| 334 | <P ALIGN=LEFT>
|
---|
| 335 | So long as your /etc/raidtab file is sane, Mondo can automatically
|
---|
| 336 | partition and format your disks for you, including the RAID devices.</P>
|
---|
| 337 | <P ALIGN=LEFT>
|
---|
| 338 | Once you have finished editing /tmp/mountlist.txt using
|
---|
| 339 | mondorestore's built-in editor then you may choose 'OK'. Please note
|
---|
| 340 | that this will not write anything to your hard disk. You will only
|
---|
| 341 | reformat or repartition your disks if you say 'Yes' when <I>asked </I>if
|
---|
| 342 | you want to do those things.</P>
|
---|
| 343 | <H2 CLASS="SECTION" ALIGN=LEFT>
|
---|
| 344 | <A NAME="AEN471"></A>9.2.5. Advanced</H2>
|
---|
| 345 | <P ALIGN=LEFT>
|
---|
| 346 | It is now possible to restore to a live filesystem using Mondo. In
|
---|
| 347 | other words, you do not have to boot your PC from your CD/floppy in
|
---|
| 348 | order to restore files. Mondo was originally designed for disaster
|
---|
| 349 | recovery - situations in which you cannot boot your PC. If you can
|
---|
| 350 | boot your PC, it is not really a disaster, is it? :) Well, if you
|
---|
| 351 | have wiped out your priceless collection of "MTV's Bjork
|
---|
| 352 | Unplugged" MP3's, perhaps it is. Anyway, just type this as root</P>
|
---|
| 353 | <DIV ALIGN=LEFT>
|
---|
| 354 | <P ALIGN=LEFT>
|
---|
| 355 | <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
|
---|
| 356 | <TR>
|
---|
| 357 | <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
|
---|
| 358 | CLASS="PROGRAMLISTING"><FONT
|
---|
| 359 | COLOR="BLACK">bash# mondorestore</FONT></TD></TR>
|
---|
| 360 | </TABLE></P>
|
---|
| 361 | </DIV><DIV ALIGN=LEFT>
|
---|
| 362 | <P ALIGN=LEFT>
|
---|
| 363 | <TABLE WIDTH="100%" CELLPADDING="2" CELLSPACING="0" BORDER="0">
|
---|
| 364 | <TR>
|
---|
| 365 | <TD WIDTH="19%" VALIGN=TOP>
|
---|
| 366 | <P>
|
---|
| 367 | <A HREF="images/rest1.png"><IMG SRC="images/rest1-mini.png" WIDTH="160" HEIGHT="96" VSPACE="0" HSPACE="0" BORDER="0"></A></TD>
|
---|
| 368 | <TD WIDTH="81%" VALIGN=TOP>
|
---|
| 369 | <P>
|
---|
| 370 | Choose your type of backup media. The live restoration process is
|
---|
| 371 | very similar to what you'll experience if you type<FONT FACE="Courier New"><FONT SIZE="2">
|
---|
| 372 | mondorestore </FONT></FONT>with no parameters after booting from a
|
---|
| 373 | Mondo CD/floppy.</TD>
|
---|
| 374 | </TR>
|
---|
| 375 | <TR>
|
---|
| 376 | <TD WIDTH="19%" VALIGN=TOP>
|
---|
| 377 | <P>
|
---|
| 378 | <A HREF="images/rest2.png"><IMG SRC="images/rest2-mini.png" WIDTH="160" HEIGHT="96" VSPACE="0" HSPACE="0" BORDER="0"></A></TD>
|
---|
| 379 | <TD WIDTH="81%" VALIGN=TOP>
|
---|
| 380 | <P>
|
---|
| 381 | Hit 'OK' when you have inserted the tape/CD. If you generated a tape
|
---|
| 382 | backup, the tape itself should be enough. If you generated a CD
|
---|
| 383 | backup, the first CD should be enough. Otherwise, you may need the
|
---|
| 384 | boot floppy.</TD>
|
---|
| 385 | </TR>
|
---|
| 386 | <TR>
|
---|
| 387 | <TD WIDTH="19%" VALIGN=TOP>
|
---|
| 388 | <P>
|
---|
| 389 | <A HREF="images/rest3.png"><IMG SRC="images/rest3-mini.png" WIDTH="160" HEIGHT="96" VSPACE="0" HSPACE="0" BORDER="0"></A></TD>
|
---|
| 390 | <TD WIDTH="81%" VALIGN=TOP>
|
---|
| 391 | <P>
|
---|
| 392 | Flag the files and directories you wish to restore. Use the 'More'
|
---|
| 393 | and 'Less' buttons to open and close subdirectories.</TD>
|
---|
| 394 | </TR>
|
---|
| 395 | <TR>
|
---|
| 396 | <TD WIDTH="19%" VALIGN=TOP>
|
---|
| 397 | <P>
|
---|
| 398 | <A HREF="images/rest4.png"><IMG SRC="images/rest4-mini.png" WIDTH="160" HEIGHT="96" VSPACE="0" HSPACE="0" BORDER="0"></A></TD>
|
---|
| 399 | <TD WIDTH="81%" VALIGN=TOP>
|
---|
| 400 | <P>
|
---|
| 401 | Specify the location to restore the files to. In general, '/' is
|
---|
| 402 | appropriate. If you do not want to overwrite newer versions of the
|
---|
| 403 | files you are restoring then specify<FONT FACE="Courier New"><FONT SIZE="2">
|
---|
| 404 | /tmp/BKP </FONT></FONT>or similar as the restore path.</TD>
|
---|
| 405 | </TR>
|
---|
| 406 | <TR>
|
---|
| 407 | <TD WIDTH="19%" VALIGN=TOP>
|
---|
| 408 | <P>
|
---|
| 409 | <A HREF="images/rest5.png"><IMG SRC="images/rest5-mini.png" WIDTH="160" HEIGHT="96" VSPACE="0" HSPACE="0" BORDER="0"></A></TD>
|
---|
| 410 | <TD WIDTH="81%" VALIGN=TOP>
|
---|
| 411 | <P>
|
---|
| 412 | Mondorestore will retrieve configuration information from the media.
|
---|
| 413 | (The sample screen is for tape users. CD users will see something different.)</TD>
|
---|
| 414 | </TR>
|
---|
| 415 | <TR>
|
---|
| 416 | <TD WIDTH="19%" VALIGN=TOP>
|
---|
| 417 | <P>
|
---|
| 418 | <A HREF="images/rest6.png"><IMG SRC="images/rest6-mini.png" WIDTH="160" HEIGHT="96" VSPACE="0" HSPACE="0" BORDER="0"></A></TD>
|
---|
| 419 | <TD WIDTH="81%" VALIGN=TOP>
|
---|
| 420 | <P>
|
---|
| 421 | Data will be restored to the hard disk - first the regular files,
|
---|
| 422 | then any big (32MB or greater) files in the restore set.</TD>
|
---|
| 423 | </TR>
|
---|
| 424 | </TABLE></P>
|
---|
| 425 | </DIV>
|
---|
| 426 | <P ALIGN=LEFT>
|
---|
| 427 | I hope this manual is proving to be useful to you.</P>
|
---|
| 428 | <DIV ALIGN=LEFT>
|
---|
| 429 | <P ALIGN=LEFT>
|
---|
| 430 | <HR ALIGN=LEFT WIDTH="100%" SIZE="2">
|
---|
| 431 | <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" SUMMARY="Footer navigation table">
|
---|
| 432 | <TR>
|
---|
| 433 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 434 | <P ALIGN=LEFT>
|
---|
| 435 | <A HREF="restoreoverview.html" ACCESSKEY="P">Prev</A></TD>
|
---|
| 436 | <TD WIDTH="34%" VALIGN=TOP>
|
---|
| 437 | <P ALIGN=CENTER>
|
---|
| 438 | <A HREF="index.html" ACCESSKEY="H">Home</A></TD>
|
---|
| 439 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 440 | <P ALIGN=RIGHT>
|
---|
| 441 | <A HREF="faq.html" ACCESSKEY="N">Next</A></TD>
|
---|
| 442 | </TR>
|
---|
| 443 | <TR>
|
---|
| 444 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 445 | <P ALIGN=LEFT>
|
---|
| 446 | Overview</TD>
|
---|
| 447 | <TD WIDTH="34%" VALIGN=TOP>
|
---|
| 448 | <P ALIGN=CENTER>
|
---|
| 449 | <A HREF="restore.html" ACCESSKEY="U">Up</A></TD>
|
---|
| 450 | <TD WIDTH="33%" VALIGN=TOP>
|
---|
| 451 | <P ALIGN=RIGHT>
|
---|
| 452 | Troubleshooting/FAQ</TD>
|
---|
| 453 | </TR>
|
---|
| 454 | </TABLE>
|
---|
| 455 | </BODY>
|
---|
| 456 | </HTML>
|
---|