source: MondoRescue/branches/2.06/documentation/mondorescue-howto.sgml@ 328

Last change on this file since 328 was 328, checked in by bcornec, 18 years ago

Documentation work goes on:

  • 20 new sgml chunks integrated
  • Makefile really working now for the first case
  • FDL now has ids
File size: 45.7 KB
Line 
1<!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2<!ENTITY curdate "DDD">
3<!ENTITY curver "VVV">
4
5<!ENTITY WWWB "http://www.mondorescue.org/">
6<!ENTITY WWW '<ulink url="http://www.mondorescue.org">MondoRescue</ulink>'>
7<!ENTITY gfdl SYSTEM "fdl.sgml">
8]>
9
10<book>
11
12<bookinfo>
13<title>MondoRescue HOWTO</title>
14<subtitle>
15Utilisation and Configuration of Mondo and Mindi under Linux (Version &curver;)
16</subtitle>
17<graphic fileref="images/protected-by-mondo.png" align="center">
18
19<pubdate>
20in its latest version the
21&curdate;
22</pubdate>
23
24<abstract>
25<para>
26This document describes the use of mondo and mindi tools to realize disaster recovery backup of your systems. It provides information on installation, backup and restore modes, hardware and software requirements, and answers to some frequently asked questions.
27The goals are to offer a general view of the functions and their best usages.
28Mondo Rescue is a Disaster Recovery Solution which allows you
29to effortlessly backup and interactively restore Linux, Windows and
30other supported filesystem partitions to/from CD/DVD-+R/RW media, tape,
31NFS, ... and Mindi Linux provides the bootable emergency restore
32CD/floppy set which Mondo uses at boot-time.
33</para>
34</abstract>
35
36<author>
37<firstname>Bruno</firstname>
38<surname>Cornec</surname>
39<affiliation>
40<orgname>MondoRescue Project</orgname>
41<address><email>bcornec@users.berlios.de</email></address>
42</affiliation>
43</author>
44<!--
45Hugo Rabson
46Mikael Hultgren
47Stan Benoit
48Randy Delfs
49Cafeole
50Bryan J. Smith
51-->
52
53<copyright>
54<year>2000-2006</year>
55<holder role="mailto:bcornec@users.berlios.de">Bruno Cornec</holder>
56</copyright>
57
58<legalnotice>
59<title>License</title>
60<para>
61</para>
62<para>
63This HOWTO is a free documentation. you may copy, redistribute and/or modify it under the terms of the
64<Link LinkEnd="gfdl">
65GNU Free Documentation License, Version 1.1
66</link>.</para>
67<para>
68or any later version published by the Free Software Foundation; with no Invarian
69t Sections, Front-Cover Texts or Back-Cover Texts. This document is distributed
70hoping it will be useful, but <emphasis>without any guaranty</emphasis>; you're
71completely responsible of its use, and coulnd't complain in case it doesn't work
72, or even if it breaks the hardware. All the software included in it, if not alr
73eady copyrighted is released under the GPL.
74</para>
75</legalnotice>
76
77<revhistory>
78<revision>
79 <revnumber>2.06</revnumber>
80 <date>2006-01-16</date>
81 <authorinitials>Bruno Cornec</authorinitials>
82 <revdescription>
83 <para>
84 First SGML version publically available, remade from the HTML docs of the project.
85 </para>
86 </revdescription>
87</revision>
88</revhistory>
89</bookinfo>
90
91<toc></toc>
92<lot></lot>
93
94
95<chapter id="about">
96<title>About this Guide</title>
97
98<sect1 id="purpose">
99<title>Purpose / Scope of this Guide</title>
100
101<para>
102This HOWTO serves to help people get started with using
103mondo/mindi as way to backup/restore their system. This is a work
104constantly evolving. It was started by Hugo Rabson and has
105since been worked upon by a number of people. See the
106'<ulink url="&WWWB;about.html#devteam">About</ulink>' web
107page for a list of members of the development team.</para>
108
109<para>There are many ways to contribute to the Linux movement
110without actually writing code. One of the most important is writing
111documentation, allowing each person to share their knowledge with
112thousands of others around the world. This HOWTO is designed to
113help you get familiar with how Mondo/Mindi works.</para>
114
115<para>
116Opinions expressed here are those of the authors.
117Informations are provided in the aim to be useful to the readers.
118However, there can't be, through this document, any warranty of any kind
119on the way it works on your systems, nor the author could be responsible for any problem caused by the use of these informations.
120However, software editors don't garantee you a lot either (re-read the contracts).
121</para>
122</sect1>
123
124<sect1 id="newversion"><title>New versions of this document</title>
125
126<para>The newest version of this document can always be found on
127MondoRescue's homepage &WWW;.</para>
128<para>
129If you make a translation of this document into another language, please let meknow so that I can include a reference to it here.
130</para>
131</sect1>
132
133<sect1><title>Suggestions / Feedback</title>
134<para>
135I rely on you, the reader, to make this HOWTO useful. THis HOWTO is probably incomplete even if it tries to be accurate to the best of our knowledge.
136If you have any suggestions, corrections, recommandations or congratulations :-) don't hesitate to send them to me
137<email>bcornec@users.berlios.de</email>,
138and I will try to incorporate them in a next revision or to the mondorescue mailling list at <ulink url="http://lists.sourceforge.net/lists/listinfo/mondo-devel">http://lists.sourceforge.net/lists
139/listinfo/mondo-devel</ulink>;
140e-mail the list at
141<ulink url="mailto:mondo-devel@lists.sourceforge.net">mondo-devel@lists.sourceforge.net</ulink>;
142tell us what is wrong and how it should be fixed.
143Include the section title and recommended changes. Whenever possible, include
144the exact, spell-checked, grammar-checked text that you think would
145improve the document.
146</para>
147<para>See Mondo's
148<ulink url="../../feedback/feedback.html">Feedback</ulink> page for
149more information.
150</para>
151<para>
152Please note that we do our best to help everyone but it is
153difficult for us to help you if you do not attach a log file to
154your e-mail. Let me say that again - attach your log file to your
155e-mail! Thank you. Without it we can't offer
156any tangible help because you aren't either. That's what the log
157file is for. It is located at <filename>/var/log/mondo-archive.log</filename>; and <filename>/var/log/miindi.log</filename> or at <filename>/var/log/mondo-restore.log</filename>
158</para>
159<para>
160This document was originaly written by native english speakers, but is maintained by a non-native english speaker so help me correct mistaques instead of rumbling that I've done one :-)
161</para>
162<para>
163I am also willing to answer general questions on MondoRescue, the best I can.
164Before doing so, please read all of the information in this HOWTO, and then send me detailed information about the problem, especially including the logs generated by the tools, or traces obtained (Did I say that already :-].
165</para>
166<para>
167If you publish this document on a CD-ROM or in hardcopy form, a complimentary copy would be appreciated; mail me for my postal address. Also consider making a donation to the Linux Documentation Project to help support free documentation for Linux. Contact the Linux HOWTO coordinator,
168Guylhem AZNAR <email>guylhem@rrremovethis.oeil.qc.ca</email>.
169</para>
170</sect1>
171
172<sect1 id=thanks><title>Aknowledgements</title>
173
174<para>Thanks goes to these people for helping and adding to this
175HOWTO.</para>
176
177<para>Document maintainer:</para>
178<itemizedlist mark="bullet" spacing="Compact">
179<listitem>
180<para>Bruno Cornec</para>
181</listitem>
182</itemizedlist>
183<para>Original Design Assistance by:</para>
184<itemizedlist>
185<listitem>
186<para>Xion Network.com</para>
187</listitem>
188</itemizedlist>
189<para>Original Document Assistance by:</para>
190<itemizedlist>
191<listitem>
192<para>Cafeole</para>
193</listitem>
194<listitem>
195<para>Troff</para>
196</listitem>
197<listitem>
198<para>Randy Delfs</para>
199</listitem>
200<listitem>
201<para>Mikael Hultgren</para>
202</listitem>
203</itemizedlist>
204<para>Original LinuxDoc and LaTeX Reformat by:</para>
205<itemizedlist>
206<listitem>
207<para>Bryan J. Smith</para>
208</listitem>
209</itemizedlist>
210<para>Original DocBook Reformat by:</para>
211<itemizedlist>
212<listitem>
213<para>Mikael Hultgren</para>
214</listitem>
215</itemizedlist>
216<para>Original author; 1.6x material:</para>
217<itemizedlist>
218<listitem>
219<para>Hugo Rabson</para>
220</listitem>
221</itemizedlist>
222
223</sect1>
224</chapter>
225
226<chapter id="quickstart"><title>QuickStart</title>
227<itemizedlist mark="bullet" spacing="Compact">
228<listitem>
229<para>We recommend that you read this complete
230HOWTO. However, if you are too busy or impatient, then
231please use this QuickStart guide to stay out of trouble.</para>
232</listitem>
233<listitem>
234<para>Install the tarball, RPM, or DEB mindi and mondo
235packages. (see <link linkend="installation">Installation</link>
236for more details)</para>
237</listitem>
238<listitem>
239<para>Execute as root (type 'su -' to become root if you are not
240logged in as root)</para>
241<para></para>
242
243<informaltable><tgroup cols="1"><tbody>
244<row>
245<entry>
246
247bash# mondoarchive
248
249</entry>
250</row>
251</tbody></tgroup></informaltable>
252
253</listitem>
254</itemizedlist>
255<para></para>
256
257<informaltable><tgroup cols="2"><tbody>
258<row>
259<entry>
260<ulink url="images/mamain.png"><inlinemediaobject><imageobject>
261<imagedata fileref="images/mamain-mini.png">
262</imageobject></inlinemediaobject>
263</ulink>
264</entry>
265<entry>
266Choose from the list of supported backup media types. The media you
267will use most often are CD/DVD-+R, CD/DVD-+RW, tape, NFS and hard disk. If
268you want to backup/restore over a network, choose 'NFS'. If you
269want to backup/restore to/from a local partition or if you simply
270want to store the ISO images in a local directory until you have
271time or facilities to burn them to CD's, choose 'hard disk'. If you
272choose 'CD/DVD-R[W]' or 'tape' then in general your hardware will be
273detected and configured for you.
274</entry>
275</row>
276<row>
277<entry>
278<ulink url="images/maburnproof.png"><inlinemediaobject><imageobject>
279<imagedata fileref="images/maburnproof-mini.png">
280</imageobject></inlinemediaobject>
281</ulink>
282</entry>
283<entry>
284 If you are backing up to CD/DVD-+R[W] then Mondo will ask you if your CD
285burner has BurnProof technology, is inside a laptop, or is
286otherwise eccentric. If you are backing up to a tape streamer then
287you will not see this message.
288</entry>
289</row>
290<row>
291<entry>
292<ulink url="images/macompression.png"><inlinemediaobject><imageobject>
293<imagedata fileref="images/macompression-mini.png">
294</imageobject></inlinemediaobject>
295</ulink>
296</entry>
297<entry>
298How much compression do you want? None, if your tape streamer has
299built-in hardware compression. Maximum, if your CPU is blazingly
300fast. Average should do just fine for most situations.
301</entry>
302</row>
303<row>
304<entry>
305<ulink url="images/mainclude.png"><inlinemediaobject><imageobject>
306<imagedata fileref="images/mainclude-mini.png">
307</imageobject></inlinemediaobject>
308</ulink>
309</entry>
310<entry>
311If you want to backup the whole computer (excluding /tmp and /proc,
312naturally) then leave this as / which is the default. Otherwise,
313specify subsets, (e.g. /usr/local /home ) being sure to put a space
314in between each path.
315</entry>
316</row>
317<row>
318<entry>
319<ulink url="images/maexclude.png"><inlinemediaobject><imageobject>
320<imagedata fileref="images/maexclude-mini.png">
321</imageobject></inlinemediaobject>
322</ulink>
323</entry>
324<entry>
325If you are backing up your whole computer then you might want to
326exclude certain directories, e.g. /shared/MP3. Please specify them
327in the 'exclude directories' dialog box. Please put a space in
328between each path, e.g. /shared/private /scratch /nfs /windows
329</entry>
330</row>
331<row>
332<entry>
333<ulink url="images/makernel.png"><inlinemediaobject><imageobject>
334<imagedata fileref="images/makernel-mini.png">
335</imageobject></inlinemediaobject>
336</ulink>
337</entry>
338<entry>
339Is your kernel sane? Red Hat, Mandrake, SuSE, Debian and Slackware users
340should in general say 'yes' because these vendors are good at
341producing reliable kernels. If you are using Gentoo or LFS
342then your kernel might be non-standard, in which case say 'no' to
343use Mondo's failsafe kernel.
344</entry>
345</row>
346<row>
347<entry>
348<ulink url="images/maverifyq.png"><inlinemediaobject><imageobject>
349<imagedata fileref="images/maverifyq-mini.png">
350</imageobject></inlinemediaobject>
351</ulink>
352</entry>
353<entry>
354If you want to verify the archives after writing them to media, say
355'yes' here. If you have absolute faith in your hardware and your
356Linux distribution, say 'no'... and a little prayer.
357</entry>
358</row>
359<row>
360<entry>
361<ulink url="images/maproceedq.png"><inlinemediaobject><imageobject>
362<imagedata fileref="images/maproceedq-mini.png">
363</imageobject></inlinemediaobject>
364</ulink>
365</entry>
366<entry>
367If you are sure you want to go ahead, say 'yes' and find something
368else to do while Mondo backs up your computer. If you say 'no' then
369you will be unceremoniously dumped at the shell prompt. :-)
370</entry>
371</row>
372<row>
373<entry>
374<ulink url="images/1.png"><inlinemediaobject><imageobject>
375<imagedata fileref="images/1-mini.png">
376</imageobject></inlinemediaobject>
377</ulink>
378</entry>
379<entry>
380The backup process will now commence. There are some pre-backup
381tasks to be carried out first but the backup is essentially
382underway. To simplify the backup process, you were asked a series
383of questions. Next time, if you like, you could call mondoarchive
384with various command-line switches to control its behavior, instead
385of answering a series of questions. See the man page for details.
386</entry>
387</row>
388<row>
389<entry>
390<ulink url="images/3.png"><inlinemediaobject><imageobject>
391<imagedata fileref="images/3-mini.png">
392</imageobject></inlinemediaobject>
393</ulink>
394</entry>
395<entry>
396Mondo will make a catalog of all files to be backed up. This may
397take up to five minutes. The list of files will be divided into
398sets, approximately 4 MB (before compression) of files per set.
399This typically takes one minute.
400</entry>
401</row>
402<row>
403<entry>
404<ulink url="images/4.png"><inlinemediaobject><imageobject>
405<imagedata fileref="images/1-mini.png">
406</imageobject></inlinemediaobject>
407</ulink>
408</entry>
409<entry>
410Mondo calls Mindi. Mindi generates bootable floppy disk images and
411auxiliary data disk images which are based on your existing Linux
412distribution and filesystem. That way, you can be sure Mondo's
413tools will be compatible with your existing filesystems and
414binaries: Mondo's tools are your tools. Mindi takes up to five
415minutes to run.
416</entry>
417</row>
418<row>
419<entry>
420<ulink url="images/5tape.png"><inlinemediaobject><imageobject>
421<imagedata fileref="images/5tape-mini.png">
422</imageobject></inlinemediaobject>
423</ulink>
424</entry>
425<entry>
426Finally, Mondo begins backing up your computer. This process may
427take a few minutes or a few hours, depending on how much data you
428are archiving, how fast your CPU is, how much RAM you have, and so
429on. It will backup your regular files and then your large files
430(files larger than approximately 32MB). If you have opted to verify
431your backups, Mondo will do that too.
432</entry>
433</row>
434<row>
435<entry>
436<ulink url="images/10cd.png"><inlinemediaobject><imageobject>
437<imagedata fileref="images/10cd-mini.png">
438</imageobject></inlinemediaobject>
439</ulink>
440</entry>
441<entry>
442Do you want to create a boot floppy at the end? Yes, if you're a
443tape or NFS user. No, if you are using CD/DVD-R[W]'s and your computer
444supports bootable CD's. Tape users only need one floppy but other
445users may need more. Mondo will advise accordingly.
446</entry>
447</row>
448</tbody></tgroup></informaltable>
449
450<itemizedlist>
451<listitem>
452<para>Try to boot from the first CD of the backup (or the first
453floppy, if you made floppies). Choose 'Compare Mode' by typing
454compare at the boot screen.</para>
455</listitem>
456<listitem>
457<para>If you can boot, fine. If not, make a Mindi "Test" CD to
458checkout the compatibility of your system. (see
459<link linkend="testingmindi">Testing Mindi</link> for more
460details). Remove the CD/floppy; boot your computer as usual;
461execute as root</para>
462<para></para>
463<informaltable><tgroup cols="1"><tbody>
464<row>
465<entry>
466
467 bash# mindi
468 bash# cd /root/images/mindi
469
470</entry>
471</row>
472</tbody></tgroup></informaltable>
473
474<para>(for CD-R)</para>
475<para></para>
476<informaltable><tgroup cols="1"><tbody>
477<row>
478<entry>
479
480bash# cdrecord dev=0,0,0 speed=4 -eject -v mindi.iso
481
482</entry>
483</row>
484</tbody></tgroup></informaltable>
485
486<para>(for CD-RW)</para>
487<para></para>
488<informaltable><tgroup cols="1"><tbody>
489<row>
490<entry>
491
492bash# cdrecord dev=0,0,0 speed=4 blank=fast -eject -v mindi.iso
493
494</entry>
495</row>
496</tbody></tgroup></informaltable>
497
498<para>Reboot your system with the created Mindi CD, with the BIOS
499set to boot from CD. If the result is a command line in 'Expert'
500mode, your system checks out. Remove the CD and reboot your
501system.</para>
502</listitem>
503<listitem>
504<para>If you still cannot boot from Mindi's CD then please e-mail
505the <link linkend="feedback">mailing list</link> for help.
506</para>
507</listitem>
508</itemizedlist>
509<para>When making a backup on a live system, there will always be
510processes running that will write out data on the system after you
511have made the backup and before you have made the compare, this
512will result in difference showing up when comparing your backup.
513For a full explanation and what can be done to avoid this, please
514read this section.</para>
515<itemizedlist>
516
517 <listitem>
518<para>This QuickStart covers the ideal case. Upon receiving any
519system feedback/errors, read each related HOWTO section.</para>
520<para>Example 2-1. A test backup of your /home directory to CD-Rs
521using the command line</para>
522<para></para>
523<informaltable><tgroup cols="1"><tbody>
524<row>
525<entry>
526
527bash# mondoarchive -OVc 4 -I /home -gF
528
529</entry>
530</row>
531</tbody></tgroup></informaltable>
532
533<para>The 'c' means you must be writing to CD-Rs, not CD-RWs (the
534latter would require 'w' instead of 'c'). The '4' is the speed of
535your CD writer. The string after -I is the path to be backed up.
536The '-gF' means you are going to see the pretty yellow-on-blue
537screen instead of the boring white-on-black screen. :) It also
538means Mondo will not offer to create physical boot floppies for
539you. It is assumed that you are able to boot from the CD which
540Mondo has generated.</para>
541<para>Example 2-2. A backup of your whole filesystem to NFS using
542the command line</para>
543<para></para>
544<informaltable><tgroup cols="1"><tbody>
545<row>
546<entry>
547
548 bash# mkdir -p /mnt/nfs
549 bash# mount 192.168.1.28:/home/nfs /mnt/nfs
550 bash# mondoarchive -OVn 192.168.1.28:/home/nfs -gF[...]
551 bash# umount /mnt/nfs
552 bash# cdrecord dev=0,0,0 speed=4 -eject -v /root/images/mindi/mindi.iso
553
554</entry>
555</row>
556</tbody></tgroup></informaltable>
557
558<para>Note that you have to mount the NFS partition, backup to it,
559unmount it, and create a boot CD to allow you to restore from
560scratch if necessary. To reassure yourself that you will be able to
561restore from the NFS share even if your PC is wiped, please boot
562from the Mindi CD and type 'compare'. The on-screen instructions
563from that point on should be sufficient.</para>
564<para>Example 2-3. A backup of your whole
565filesystem to tape using the command line</para>
566<para></para>
567<informaltable><tgroup cols="1"><tbody>
568<row>
569<entry>
570
571bash# mondoarchive -OVt -d /dev/st0 -9 -L -g
572
573</entry>
574</row>
575</tbody></tgroup></informaltable>
576
577<para>In this case, we assume Syslinux is incompatible with your
578boot media. For some reason, some BIOSes just don't like Syslinux.
579If you find this to be the case for your computer, please use '-L'
580to force Mondo to use LILO instead of Syslinux as the boot loader
581for its CD/floppies. (NB: This has nothing to do with which boot
582loader your hard drive uses.) Also, it is a good habit to specify
583your tape streamer with '-d &lt;device&gt;'. You don't usually need
584to but it's good to be on the safe side. Some computers call your
585tape streamer /dev/osst0, some call it /dev/ftape, ...</para>
586</listitem>
587</itemizedlist>
588
589</chapter>
590
591<chapter id="overview"><title>Overview</title>
592
593<sect1 id="mondorescue">
594<title>Mondo Rescue</title>
595<para>Mondo Rescue backs up your file system to CD, tape, NFS
596(archives stored remotely) or ISO's (archives stored locally).
597Mondo uses afio as the backup engine; afio is a well-respected
598replacement for tar. In the event of catastrophic data loss, you
599may restore some or all of your system, even if your hard drives
600are now blank. Mondo Rescue can do a lot of other cool
601things:</para>
602<itemizedlist>
603<listitem>
604<para>You can use Mondo to clone an installation of Linux. Just
605backup the crucial stuff and exclude /home, /var/log, etc.</para>
606</listitem>
607<listitem>
608<para>You can backup a non-RAID file system and restore it as RAID
609including the root partition (if your kernel supports that).</para>
610</listitem>
611<listitem>
612<para>You can backup a system running on one format and restore as
613another format.</para>
614</listitem>
615<listitem>
616<para>You can restructure your partitions, e.g. shrink/enlarge,
617reassign devices, add hard drives, etc, before you partition and
618format your drives. Mondo will restore your data and amend
619/etc/lilo.conf and /etc/fstab accordingly.</para>
620</listitem>
621<listitem>
622<para>You can backup Linux/Windows systems, including the boot
623sectors. Mondo will make everything right at restore-time.
624(However, do run "Scandisk" when you first boot into Windows, just
625in case.)</para>
626</listitem>
627<listitem>
628<para>You can use your Mondo backup CD to verify the integrity of
629your computer.</para>
630</listitem>
631</itemizedlist>
632<para>Mondo's principal virtue is that it protects you from the
633problems that can arise when you reinstall completely from scratch.
634If you want to wipe and restore your system every year just as a
635matter of 'good practice', Mondo is not for you. However, if you
636want to get up and running again in a hurry after someone breaks
637into your computer and wipes it (or if you accidentally wipe it
638yourself) then Mondo is definitely for you. It will permit you to
639roll back to a known-good installation in a very short period of
640time, sometimes as little as twenty minutes. Even if you backup
641large amounts of data to tape daily and do not want to add yet
642another backup regime, please consider backing up the core
643filesystem (i.e. everything but the directories containing your
644huge database and your prizewinning novel) every month or so, just
645in case. You will be glad you did.</para>
646<para>What is Mondo not?</para>
647<para>Mondo is not an everyday backup program. It is not designed
648to replace tar, afio, kbackup, etc. Mondo is designed to make it
649possible to recover from scratch if necessary. Tar and afio offer a
650quick, convenient way to backup small sets of files, sometimes to
651removable media.</para>
652</sect1>
653
654<sect1 id="mindi">
655<title>Mindi</title>
656<para>
657Mindi Linux creates a set of boot/root floppy disk images
658that will let you perform basic system maintenance on your Linux
659distro. The principal virtues of Mindi's boot disks are the fact
660that they contain your kernel, modules, tools and libraries. You
661can ask for additional binaries (or other files) to be included on
662the kit. The libraries will be added for you.
663</para>
664<para>Whichever modules were loaded at backup-time, they are
665reloaded at boot-time. So, in theory, you will boot into almost the
666same environment as you were in when you backed up. If you want to
667add files to your Mindi boot disks, edit '&lt;INSTALLPATH OF
668MINDI&gt;/mindi/deplist.txt' and add the files to that list. The
669added files and dependencies, will be spread across the data disks
670at run-time.
671</para>
672<para>Mindi makes sure that Mondo has all the tools it needs at
673boot-time. Mondo uses fdisk, mkfs, cat, less, more, afio, gzip,
674bzip2, your keyboard configuration, your glibc libraries, your
675other libraries, your kernel, your modules, ... a lot! Mindi takes
676care of all that, so that Mondo can get on with the job of backing
677up or restoring your data.
678</para>
679<para>Mindi is also handy for making boot CDs/disks which stand on
680their own. You do not need Mondo. Indeed, if you like, you could
681use another backup/restore program with Mindi. Just add it to
682Mindi's dependency list (type 'locate deplist.txt' to find it).
683Mindi will include your software on its boot CD/disks the next time
684you run mindi.
685</para>
686</sect1>
687
688
689<sect1 id="linuxbackup">
690<title>Linux Backup</title>
691<para>Mondo Rescue and Mindi Linux are used primarily as Linux
692backup and cloning tools. The fall in prices of CD-RW drives and
693writable discs will allow current users to keep good backups and
694future users to leverage the cloning capability.</para>
695<para>Tape drives are more likely to suit your needs if you run a
696larger installation (or have lots of MP3's). Warning! OnStream
697drives do not play well with Mondo. I do not know why. It is, in my
698opinion, something which OnStream should look into. Mondo uses
699fopen(), fread(), fwrite() and fclose() to interact with tape
700drives. That works for most drives but some drives just don't like
701that.</para>
702<para>I have tested it thousands of times on my own computer with
703my own data and with no alternate backup regime. It worked for me.
704Thousands of users testify to Mondo's stability and its ease of
705use. However, please test it on your own system before you rely on
706it. In fact, do not rely on any software until you have tested it
707to see if it performs as expected.</para>
708<para>To establish that Mondo will behave well in an emergency,
709please be prepared. Run a test backup as follows:-</para>
710<itemizedlist>
711<listitem>
712<para>Run mondoarchive without any command-line options.</para>
713</listitem>
714<listitem>Backup a subset of files - e.g. /usr/local - to CD or
715tape. Say 'yes' when asked if you want to verify them.</listitem>
716<listitem>If you are not backing up to CD, please create boot
717floppies when prompted.</listitem>
718</itemizedlist>
719<para>Next, restore archives to your live filesystem.</para>
720<itemizedlist>
721<listitem>
722<para>When mondoarchive terminates, run mondorestore without any
723command-line options.</para>
724</listitem>
725<listitem>Insert the CD or the first boot floppy when prompted.
726Press &lt;Enter&gt;. Wait a moment.</listitem>
727<listitem>Select a subset of files to restore, e.g. /usr/local/man
728and /usr/local/bin. Hit OK.</listitem>
729<listitem>Restore files to /tmp or /root/RESTORED or something
730similar.</listitem>
731<listitem>When mondorestore terminates, compare the restored files
732to the originals using cmp or diff.</listitem>
733</itemizedlist>
734<para>Finally, simulate an emergency restore.</para>
735<itemizedlist>
736<listitem>
737<para>Boot from CD/floppies.</para>
738</listitem>
739<listitem>Select 'Interactive Mode' at boot-time. (Type
740'interactive' and hit &lt;Enter&gt;.)</listitem>
741<listitem>Hit OK when shown the mountlist. Say 'yes' when asked if
742you accept the mountlist.</listitem>
743<listitem>Select files to restore, e.g. /usr/local/man and
744/usr/local/bin. Hit OK.</listitem>
745<listitem>Restore files to /tmp or /root/RESTORED or something
746similar.</listitem>
747<listitem>When mondorestore terminates, please reboot and compare
748the restored files to the originals.</listitem>
749</itemizedlist>
750<para>FYI, the subroutines to repartition and reformat your drives
751are very stable. If you are a RAID or LVM user, you
752might&nbsp;encounter some difficulties when wiping and restoring
753from scratch because of the sheer range of filesystem layouts and
754the impossibility of testing Mondo on every single one. If you have
755trouble, just drop to the command-line and partition/format
756manually. Then, call mondorestore, select Interactive Mode, and say
757'no' when asked if you want Mondo to partition or format your
758drives for you.</para>
759<para>You see, even if you have trouble, you still have two hands
760and most of the tools you need - lvchange, pvcreate, fdisk, mkraid,
761etc. - to do it manually. After you have prepped and formatted your
762drives manually (if you have to), just run mondorestore again and
763say 'no' when asked if you want to prep or format your drives. What
764could be easier?</para>
765</sect1>
766
767<sect1 id="winbackup">
768<title>Windows Backup</title>
769<para>Backing up windows partitions.</para>
770<sect2 id="win95"><title>Windows ME/95/98</title>
771<para>Verify that the partition is listed in /etc/fstab and is
772mounted (e.g. /dev/hda1). Mondo will take care of everything else.
773The files will be archived just like all other files in the live
774file system. At restore-time, Mondo will take care of the boot
775sector of /dev/hda1 prior to the restore.</para>
776<para>Note: if Windows ME/95/98 is not located on /dev/hda1 or
777/dev/sda1, then Mondo will not take care of the boot sector of
778/dev/hda1. The user will have to boot from a DOS floppy and run SYS
779C: to correct the Windows boot sector.</para>
780</sect2>
781<sect2 id="winnt"><title>Windows NT4/2K/XP</title>
782<para>Windows NT4/2K/XP typically use the NTFS file system, not
783VFAT.. The user should use '-x /dev/hda1' (or whichever device the
784/dev/hda1. The user will have to boot from a DOS floppy and run SYS
785C: to correct the Windows boot sector.</para>
786</sect2><sect2 id="AEN13"><title>3.4.2. Windows NT4/2K/XP</title>
787<para>Windows NT4/2K/XP typically use the NTFS file system, not
788VFAT.. The user should use '-x /dev/hda1' (or whichever device the
789Windows partition resides). Mondo will treat the partition as a
790biggiefile. Mondo will also add an entry to the mountlist to
791reflect the size and type of the partition. The user may not edit
792that partition's size at restore-time (for obvious reasons).</para>
793<para>Please bear in mind that Mondo was written for Linux users.
794If Mondo does not backup or restore your Windows system well, you
795might want to consider paying for 1-to-1 technical support.
796Ironically, the only people to pay for 1-to-1 technical support
797have been Linux users, whereas Windows users want a free ride. That
798is one reason why the Linux community gives me warm fuzzies.</para>
799</sect1>
800
801<sect1 id="history">
802<title>Mondo Rescue and Mindi Linux
803History</title>
804<para>Mondo Rescue was created in December 1999 as a utility to
805clone Linux/Windows installations. Norton Ghost would not do the
806job, and my boss wanted to jump on the Linux bandwagon. So, I wrote
807a few scripts and shoehorned them into the latest Linux-Mandrake
808CD. Since that time, Mondo grew into a disaster recovery suite for
809Linux and Windows. Mondo forced me to learn about the kernel, its
810initrd initial ramdisk, modules, library dependencies, disk
811partitioning, and the myriad differences between the Top 10 Linux
812distributions.</para>
813a few scripts and shoehorned them into the latest Linux-Mandrake
814CD. Since that time, Mondo grew into a disaster recovery suite for
815Linux and Windows. Mondo forced me to learn about the kernel, its
816initrd initial ramdisk, modules, library dependencies, disk
817partitioning, and the myriad differences between the Top 10 Linux
818distributions.</para>
819<para>The first formal release was made on February 18th, 2000.
820Mondo is currently one of the top five Linux backup/restore
821programs. Mondo has been compared favorably to ArcServe, Arkeia and
822BRU. Although Mondo lacks the more advanced, enterprise-level
823features of ArcServe and Arkeia, for workstations and small- to
824medium-size servers it is ideal because it is small, fast,
825efficient, stable, comes with source code, and is being actively
826developed and supported.</para>
827</sect1>
828
829<sect1 id="sysreq">
830<title>System
831Requirements</title>
832<sect2 id="hwreq">
833<title>Hardware Requirements</title>
834
835<para>Your computer must have:</para>
836<itemizedlist>
837<listitem>
838<para>Intel(R)-compatible CPU</para>
839</listitem>
840<listitem>
841<para>64MB of RAM (128MB recommended)</para>
842</listitem>
843<listitem>
844<para>800MB of hard disk space free</para>
845</listitem>
846<listitem>
847<para>CD writer, tape streamer, NFS share or some way to backup the
848backups :)</para>
849</listitem>
850</itemizedlist>
851<para>It is recommended that your computer have very good airflow.
852The backup with Mondo Rescue and Mindi Linux will utilize your CPU,
853CD drive and fixed disk(s) like very few other applications. With a
854few hours of system backup activity, computers without sufficient
855airflow may show symptoms such as not burning full CD discs. The
856solution is a $20 or less additional fan at your local electronics
857discount store.</para>
858</sect2>
859
860<sect2 id="kernelreq">
861<title>Kernel Requirements</title>
862
863<para>Your kernel must have:</para>
864<itemizedlist>
865<listitem>
866<para>stable loopfs support, which means it really needs to be
8672.2.19 or 2.4.7 (or later)</para>
868</listitem>
869<listitem>
870<para>CD-ROM device support</para>
871</listitem>
872<listitem>
873<para>ISO9660 file system support</para>
874</listitem>
875<listitem>
876<para>initrd ramdisk support (built-in)</para>
877</listitem>
878<listitem>
879<para>Virtual memory file system support (built-in)</para>
880</listitem>
881<listitem>
882<para>floppy disk support (built in)</para>
883</listitem>
884<listitem>
885<para>ext2 file system support (built-in)</para>
886</listitem>
887<listitem>
888<para>Support for the backup media (Tape, CD-RW, NFS, Hard
889disk)</para>
890</listitem>
891<listitem>
892<para>If the backup media is CD-RW then you need SCSI emulation
893also</para>
894</listitem>
895</itemizedlist>
896<para>Please note that the stock kernels of Red Hat 7.2, 7.3, 8.0,
897Mandrake 8.2, 9.0, SuSE 7.x,, 8.x, and Slackware 8.x all meet
898Mondo's requirements. If your kernel does not meet Mondo's
899requirements then there is something wrong with it. Mondo's demands
900are not unreasonable.</para>
901<para>Mondo (specifically Mindi) does not require any specific
902modules. It does require that your kernel support the initrd
903initial ramdisk facility. Typically this is supported by the Linux
904kernel. Modules used are needed to support the CD, floppy disks,
905hard disks, etc. If the support is modular, then the modules will
906be incorporated in a boot disk by Mindi. If the support is built-in
907(static), then it will be available at boot-time by default.</para>
908</sect2>
909<sect2 id="swreq">
910<title>Software Requirements</title>
911<para>See Mondo's <ulink url="../download.html">Download
912page</ulink> for details.</para>
913<para>Mondo requires afio, bzip2, cdrtools/cdrecord, ncurses, newt,
914isolinux/syslinux, lzo (optional), lzop (optional), mkisofs, slang,
915and a few other packages.</para>
916<para>Good Linux distributions provide all these packages. If yours
917does not then please go to the aforementioned Download page or surf
918the Net, preferably the website of the distribution you are
919using.</para>
920<para>Mondo's expectations are not unreasonable, either of your
921Linux distribution or of your kernel. However, if your distribution
922fails to meet its expectations and you cannot find out how to
923resolve them, please feel free to e-mail the
924<ulink url="../../feedback/feedback.html">mailing
925</sect2>
926</sect1>
927</chapter>
928
929<chapter id="installation">
930<title>Installation</title>
931
932<sect1 id="mindi-install">
933<title>Mindi Installation</title>
934<para>If you are installing from a tarball then copy it to wherever
935you have enough space, for example /tmp and type:</para>
936<para></para>
937<informaltable><tgroup cols="1"><tbody>
938<row>
939<entry>
940
941bash# cd /tmpbash# tar -zxvf mindi-0.7x.tgzbash# cd mindi-0.7xbash# ./install.sh
942
943</entry>
944</row>
945</tbody></tgroup></informaltable>
946
947<para>This installs mindi into /usr/local/share/mindi and installs
948links to the programs into /usr/local/sbin</para>
949<para>Or, if you are installing from an RPM then copy it to
950wherever you have enough space, for example /tmp and type:</para>
951<para></para>
952<informaltable><tgroup cols="1"><tbody>
953<row>
954<entry>
955
956bash# rpm -Uvh /tmp/mindi-0.7x-x.i386.rpm
957
958</entry>
959</row>
960</tbody></tgroup></informaltable>
961
962<para>This installs mindi into /usr/share/mindi and installs links
963to the programs into /usr/sbin. This may be /usr/local/share/mindi
964and /usr/local/sbin, depending on the package you use. Different
965Linux distributions put system files in different places. The funny
966thing is, each distribution claims it is right and the others are
967wrong. Oh, and they all agree that I mustn't have read the LFS!
968:-)</para>
969<para>Debian users may wish to first create a .deb file and then
970use the debian package manager:</para>
971<para></para>
972<informaltable><tgroup cols="1"><tbody>
973<row>
974<entry>
975
976bash# cd /tmpbash# alien mindi*.rpmbash# dpkg -i mindi*.deb
977
978</entry>
979</row>
980</tbody></tgroup></informaltable>
981
982<para>This installs mindi into /usr/share/mindi and installs links
983to the programs into /usr/sbin</para>
984</sect1>
985
986<sect1 id="mondo-install">
987<title>Mondo Installation</title>
988<para>If you are installing from a tarball then copy it to wherever
989you have enough space, for example /tmp and type:</para>
990<para></para>
991<informaltable><tgroup cols="1"><tbody>
992<row>
993<entry>
994
995bash# cd /tmpbash# tar -zxvf mondo-1.xx.tgzbash# cd mondo-1.xxbash# make &amp;&amp; make install
996
997</entry>
998</row>
999</tbody></tgroup></informaltable>
1000
1001<para>This installs mondo into /usr/local/share/mondo and installs
1002links to the programs into /usr/local/bin</para>
1003<para>Or, if you are installing from an RPM then copy it to copy it
1004to wherever you have enough space, for example /tmp and
1005type:</para>
1006<para></para>
1007<informaltable><tgroup cols="1"><tbody>
1008<row>
1009<entry>
1010
1011bash# rpm -Uvh /tmp/mondo-1.5x-x.i386.rpm
1012
1013</entry>
1014</row>
1015</tbody></tgroup></informaltable>
1016
1017<para>This installs mondo into /usr/share/mondo and installs links
1018to the programs into /usr/bin</para>
1019<para>Debian users may wish to first create a .deb file and then
1020use the debian package manager:</para>
1021<para></para>
1022<informaltable><tgroup cols="1"><tbody>
1023<row>
1024<entry>
1025
1026bash# cd /tmpbash# alien mondo*.rpmbash# dpkg -i mondo*.deb
1027
1028</entry>
1029</row>
1030</tbody></tgroup></informaltable>
1031
1032<para>This installs mondo into /usr/share/mondo and installs links
1033to the programs into /usr/bin</para>
1034</sect1>
1035</chapter>
1036
1037<chapter id="test">
1038<title>Tests</title>
1039
1040<sect1 id="mindi-test">
1041<title>Testing Mindi</title>
1042
1043<para>Mindi is a vital part of the backup procedure. If you have
1044used Mondo before or if you are in a hurry, skip steps 6.2 and 6.3;
1045go straight to QuickStart.</para>
1046<para>However, if you have time or if you have been having trouble
1047getting Mondo to work, I would recommend trying out Mindi directly
1048(rather than via Mondo) to see if it can produce a bootable CD on
1049your system.</para>
1050<para>Make sure you are root while doing this, otherwise mindi will
1051fail, now do this.</para>
1052<para>If you have any problems, please:-</para>
1053<itemizedlist>
1054<listitem>
1055<para>read /var/log/mindi.log</para>
1056</listitem>
1057<listitem>feel free to edit mindi (it's a shell script, btw) to try
1058to fix the problem yourself</listitem>
1059<listitem>contact the mailing list if you get stuck.</listitem>
1060</itemizedlist>
1061<para>Type:-</para>
1062<para></para>
1063<informaltable><tgroup cols="1"><tbody>
1064<row>
1065<entry>
1066
1067bash# mindi
1068
1069</entry>
1070</row>
1071</tbody></tgroup></informaltable>
1072
1073<para>Example screen output, selecting to use your own kernel, to
1074create boot disks, and to create a bootable CD image:</para>
1075<para></para>
1076<informaltable><tgroup cols="1"><tbody>
1077<row>
1078<entry>
1079
1080Mindi Linux mini-distro generator v0.72 by HRabson &lt;hugorabson@msn.com&gt;--------------------------
1081----------------------------------------------------Do you want to use your own kernel to build the boo
1082t disk (y/n) ? yYour kernel is /boot/vmlinuz-2.4.14-k6 (v2.4.14-k6)Generating list of dependency files.
1083....................... Done.Analyzing your keyboard's configuration.Adding the following keyboard mapp
1084ing tables:................... DoneDropping i686-optimized libraries if appropriate.............DoneAss
1085embling dependency files........ Done.The files have been subdivided into 2 directories.Your mountlist
1086will look like this:-DEVICE MOUNTPOINT FORMAT SIZE (MB)/dev/hda3 / ext2 996/dev/hda2 swap swap 127/dev/
1087hda4 /usr ext2 6189Tarring and zipping the groups......... Done.Creating data disk #1...#2... Done.1722
1088KB boot disk was created OK............................ Done.2880KB boot disk was created OK...........
1089................. Done.In the directory '/root/images/mindi' you will find the images:-mindi-boot.1722.
1090img mindi-boot.2880.img mindi-data-1.img mindi-data-2.imgWould you like to create boot+data floppy disk
1091s now (y/n) ?yWARNING! THIS WILL ERASE YOUR FLOPPY DISKS.About to write boot disk. Please press ENTER.W
1092riting boot disk.................................................. Done.About to write data disk #1. Pl
1093ease press ENTER.Writing data disk #1........................... Done.About to write data disk #2. Plea
1094se press ENTER.Writing data disk #2........................... Done.Shall I make a bootable CD image? (
1095y/n) yFinished.One 1.72MB boot disk, one 2.88MB boot disk and 2 data disks were created.
1096
1097</entry>
1098</row>
1099</tbody></tgroup></informaltable>
1100
1101<para>If your kernel is too large (more than about 900KB) then you
1102cannot make boot floppies, although you can still make a bootable
1103CD image. The easiest way to test Mindi in either case is to say
1104'n' to its first question and 'y' to its second, then use the
1105separate application cdrecord to make a bootable CD-R or
1106CD-RW.</para>
1107<para>Use the cdrecord application to write the CD image:</para>
1108<para></para>
1109<informaltable><tgroup cols="1"><tbody>
1110<row>
1111<entry>
1112
1113bash# cd /root/images/mindibash# cdrecord -scanbus
1114
1115</entry>
1116</row>
1117</tbody></tgroup></informaltable>
1118
1119<para>The output of the above call to cdrecord will tell you your
1120CD writer's node. It is usually '0,0,0'. Choose one of the
1121following calls to write the CD, depending on whether the disk in
1122the drive is a CD-R or a CD-RW. Please replace 'x,x,x' with your
1123writer's node. For further information, type 'man cdrecord" from a
1124Linux command line.</para>
1125<para>If writing to a CD-RW Drive/Disc:</para>
1126<para></para>
1127<informaltable><tgroup cols="1"><tbody>
1128<row>
1129<entry>
1130
1131bash# cdrecord -blank fast dev=x,x,x speed=4 mindi.iso (for CD-RW)
1132
1133</entry>
1134</row>
1135</tbody></tgroup></informaltable>
1136
1137<para>If writing to a CD-R Drive/Disc:</para>
1138<para></para>
1139<informaltable><tgroup cols="1"><tbody>
1140<row>
1141<entry>
1142
1143bash# cdrecord dev=x,x,x speed=4 mindi.iso (for CD-R)
1144
1145</entry>
1146</row>
1147</tbody></tgroup></informaltable>
1148</sect1>
1149<sect1 id="mondo-test">
1150<title>Testing Mondo</title>
1151
1152</sect1>
1153</chapter>
1154
1155<chapter id="backup">
1156<title>Backup</title>
1157
1158<sect1 id="backup-recommandations">
1159<title>Recommandations</title>
1160<para>Mama does Mondo? Papa does Mondo? Is that a Dean Martin song?
1161Well, anyway, here is how I backup my system:</para>
1162<itemizedlist>
1163<listitem>
1164<para>Shut down all possible applications (this minimizes any
1165compare differences following the backup)</para>
1166</listitem>
1167<listitem>
1168<para>Type:</para>
1169</listitem>
1170</itemizedlist>
1171<para></para>
1172<informaltable><tgroup cols="1"><tbody>
1173<row>
1174<entry>
1175
1176bash# mondoarchive
1177
1178</entry>
1179</row>
1180</tbody></tgroup></informaltable>
1181
1182<para>For most users, that should be enough. :-) Mondoarchive will
1183usually autodetect your hardware and configure it for you.</para>
1184<para>If you are a power user (or you like to control every detail
1185of how Mondo runs) then you may want to look at the command-line
1186switches. For example:-</para>
1187<para></para>
1188<informaltable><tgroup cols="1"><tbody>
1189<row>
1190<entry>
1191
1192bash# mondoarchive -Ow4 -gF -I /home
1193
1194</entry>
1195</row>
1196</tbody></tgroup></informaltable>
1197
1198<para>Cdrecord will tell me where my CD recorder lives, in SCSI
1199terms, which in my case is '0,0,0'. The call to mondoarchive tells
1200Mondo that I want to backup everything to a 4x CD-RW drive that has
1201a CD-RW disk in it. (Use -Oc instead of -Ow if you are using
1202CD-R.)</para>
1203<para>Please put the first CD-R(W) in the drive now. You will be
1204prompted to insert CD #2 but you will not be prompted to insert the
1205first disk. However, if you forget, do not worry: if Mondo fails to
1206write the first (or any) disk, it will offer to retry, abort or
1207fail.</para>
1208<para>I run Mondo at the highest compression available ('-9) and
1209then go to work. I then walk home at lunch (I live right by my
1210workplace), change CD, eat lunch, and go back to work. When I get
1211home, it has all been done.</para>
1212<para>Your mileage may vary. Experiment. Find the speed/compression
1213compromise that best suits your needs.</para>
1214<para>If you are using cron then please use -F to make sure that
1215Mondo does not prompt you to create bootable floppy disks. Cron
1216does not handle user interaction well because it pipes stdin and
1217stdout specially. Please consult cron's manual for more
1218information. Jesse Keating has written a script for cron/Mondo
1219users. It is available on the
1220<ulink url="../../docs/docs.html">Documentation</ulink>
1221page.</para>
1222</sect1>
1223
1224<sect1 id="backup-commands">
1225<title>Backup Commands and Options</title>
1226
1227<para>Backup Command:</para>
1228<para></para>
1229<informaltable><tgroup cols="1"><tbody>
1230<row>
1231<entry>
1232
1233mondoarchive &lt;-option1&gt; &lt;-option2&gt; ... &lt;-optionN&gt;
1234
1235</entry>
1236</row>
1237</tbody></tgroup></informaltable>
1238
1239<para>E.g.,</para>
1240<para></para>
1241<informaltable><tgroup cols="1"><tbody>
1242<row>
1243<entry>
1244
1245bash# mondoarchive -E /mnt/dos /mnt/cdrom -9 -Oc 8
1246
1247</entry>
1248</row>
1249</tbody></tgroup></informaltable>
1250
1251<para>Would create backup CD to a CD-R disc at the highest
1252compression level, writing at speed 2 and ignoring the /mnt/dos and
1253/mnt/cdrom directories.</para>
1254<para>To see a detailed list of switches and their meaning, see the
1255<ulink url="http://www.mondorescue.org/download/mondoarchive.1.html">HTML
1256man page</ulink> on the website or type 'man mondoarchive' at the
1257console.</para>
1258<sect2 id="backup-cdr">
1259<title>Standard Example With CD-R</title>
1260<para></para>
1261<informaltable><tgroup cols="1"><tbody>
1262<row>
1263<entry>
1264
1265bash# mondoarchive -Oc 2 -g
1266
1267</entry>
1268</row>
1269</tbody></tgroup></informaltable>
1270
1271<para>Replace '2' in '-Oc2' with the writer's speed. If
1272mondoarchive cannot find your CD-R then please add '-d 0,0,0' (or
1273whatever your CD writer's SCSI node is; usually, it is 0,0,0) to
1274the call.</para>
1275<para>Please insert the first disk in the writer while the PC is
1276chugging away. If Mondo needs additional CD-R(W) then it will ask
1277for them.</para>
1278</sect2>
1279<sect2 id="backup-cdrw">
1280<title>Standard Example With CD-RW</title>
1281<para></para>
1282<informaltable><tgroup cols="1"><tbody>
1283<row>
1284<entry>
1285
1286bash# mondoarchive -Ow 2 -g
1287
1288</entry>
1289</row>
1290</tbody></tgroup></informaltable>
1291
1292<para>Replace '2' in '-Ow2' with the writer's speed.</para>
1293</sect2>
1294<sect2 id="backup-tape">
1295 <title>Standard Example With Tape</title>
1296<para></para>
1297<informaltable><tgroup cols="1"><tbody>
1298<row>
1299<entry>
1300
1301bash# mondoarchive -Ot -d /dev/st0 -g
1302
1303</entry>
1304</row>
1305</tbody></tgroup></informaltable>
1306
1307<para>With previous versions of Mondo, you needed to specify the
1308size of the tape. As of v1.51, that is no longer necessary.</para>
1309</sect2>
1310<sect2 id="backup-failsafe">
1311 <title>Standard Example With Failsafe kernel</title>
1312<para></para>
1313<informaltable><tgroup cols="1"><tbody>
1314<row>
1315<entry>
1316
1317bash# mondoarchive -k FAILSAFE -Ow 2
1318
1319</entry>
1320</row>
1321</tbody></tgroup></informaltable>
1322
1323<para>Due to slight policy differences in the Debian distribution
1324approach, the '-k FAILSAFE' option is typically needed with
1325Debian.</para>
1326</sect2>
1327<sect2 id="backup-network">
1328 <title>Standard Example With Network Backup</title>
1329<para></para>
1330<informaltable><tgroup cols="1"><tbody>
1331<row>
1332<entry>
1333
1334bash# mount 192.168.1.3:/home/nfs -t nfs /mnt/nfsbash# mondoarchive -OVn 192.168.1.3:/home/nfs -g -s 20
13350mbash# umount /mnt/nfs
1336
1337</entry>
1338</row>
1339</tbody></tgroup></informaltable>
1340
1341<para>The resultant ISO's can be burned to CD's if you want (which
1342isn't a good idea unless you're a Mondo expert because they'll try
1343to restore over a network by default, which is silly cos the
1344archives are on the CD's). Or, you can boot from the Mindi floppies
1345(or mondorescue.iso) and hit ENTER a few times to restore.</para>
1346</sect2>
1347</sect1>
1348
1349&gfdl;
1350
1351</book>
Note: See TracBrowser for help on using the repository browser.