[323] | 1 | <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
---|
| 2 |
|
---|
| 3 | <article>
|
---|
| 4 | <articleinfo>
|
---|
| 5 | <!-- $MVD$:app("MicroVision WebExpress","769") -->
|
---|
| 6 | <!-- $MVD$:template("","0","0") -->
|
---|
| 7 | <!-- $MVD$:color("18","840084","Custom #1","0") -->
|
---|
| 8 | <!-- $MVD$:color("19","80ff","Orange","1") -->
|
---|
| 9 | <!-- $MVD$:color("20","ffd6ce","Lavender","1") -->
|
---|
| 10 | <title>Linux Backup</title>
|
---|
| 11 | </articleinfo>
|
---|
| 12 |
|
---|
| 13 | <para></para>
|
---|
| 14 | <informaltable><tgroup cols="3"><tbody>
|
---|
| 15 | <row>
|
---|
| 16 | <entry>
|
---|
| 17 | Mondo Rescue and Mindi Linux HOWTO
|
---|
| 18 | </entry>
|
---|
| 19 | </row>
|
---|
| 20 | <row>
|
---|
| 21 | <entry>
|
---|
| 22 | <ulink url="mindilinux.html">Prev</ulink>
|
---|
| 23 | </entry>
|
---|
| 24 | <entry>
|
---|
| 25 | Chapter 3. Overview
|
---|
| 26 | </entry>
|
---|
| 27 | <entry>
|
---|
| 28 | <ulink url="windowsbackup.html">Next</ulink>
|
---|
| 29 | </entry>
|
---|
| 30 | </row>
|
---|
| 31 | </tbody></tgroup></informaltable>
|
---|
| 32 |
|
---|
| 33 | <sect1 id="LINUXBACKU"><title>3.3. Linux Backup</title>
|
---|
| 34 | <para>Mondo Rescue and Mindi Linux are used primarily as Linux
|
---|
| 35 | backup and cloning tools. The fall in prices of CD-RW drives and
|
---|
| 36 | writable discs will allow current users to keep good backups and
|
---|
| 37 | future users to leverage the cloning capability.</para>
|
---|
| 38 | <para>Tape drives are more likely to suit your needs if you run a
|
---|
| 39 | larger installation (or have lots of MP3's). Warning! OnStream
|
---|
| 40 | drives do not play well with Mondo. I do not know why. It is, in my
|
---|
| 41 | opinion, something which OnStream should look into. Mondo uses
|
---|
| 42 | fopen(), fread(), fwrite() and fclose() to interact with tape
|
---|
| 43 | drives. That works for most drives but some drives just don't like
|
---|
| 44 | that.</para>
|
---|
| 45 | <para>I have tested it thousands of times on my own computer with
|
---|
| 46 | my own data and with no alternate backup regime. It worked for me.
|
---|
| 47 | Thousands of users testify to Mondo's stability and its ease of
|
---|
| 48 | use. However, please test it on your own system before you rely on
|
---|
| 49 | it. In fact, do not rely on any software until you have tested it
|
---|
| 50 | to see if it performs as expected.</para>
|
---|
| 51 | <para>To establish that Mondo will behave well in an emergency,
|
---|
| 52 | please be prepared. Run a test backup as follows:-</para>
|
---|
| 53 | <itemizedlist>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Run mondoarchive without any command-line options.</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>Backup a subset of files - e.g. /usr/local - to CD or
|
---|
| 58 | tape. Say 'yes' when asked if you want to verify them.</listitem>
|
---|
| 59 | <listitem>If you are not backing up to CD, please create boot
|
---|
| 60 | floppies when prompted.</listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 | <para>Next, restore archives to your live filesystem.</para>
|
---|
| 63 | <itemizedlist>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>When mondoarchive terminates, run mondorestore without any
|
---|
| 66 | command-line options.</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>Insert the CD or the first boot floppy when prompted.
|
---|
| 69 | Press <Enter>. Wait a moment.</listitem>
|
---|
| 70 | <listitem>Select a subset of files to restore, e.g. /usr/local/man
|
---|
| 71 | and /usr/local/bin. Hit OK.</listitem>
|
---|
| 72 | <listitem>Restore files to /tmp or /root/RESTORED or something
|
---|
| 73 | similar.</listitem>
|
---|
| 74 | <listitem>When mondorestore terminates, compare the restored files
|
---|
| 75 | to the originals using cmp or diff.</listitem>
|
---|
| 76 | </itemizedlist>
|
---|
| 77 | <para>Finally, simulate an emergency restore.</para>
|
---|
| 78 | <itemizedlist>
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>Boot from CD/floppies.</para>
|
---|
| 81 | </listitem>
|
---|
| 82 | <listitem>Select 'Interactive Mode' at boot-time. (Type
|
---|
| 83 | 'interactive' and hit <Enter>.)</listitem>
|
---|
| 84 | <listitem>Hit OK when shown the mountlist. Say 'yes' when asked if
|
---|
| 85 | you accept the mountlist.</listitem>
|
---|
| 86 | <listitem>Select files to restore, e.g. /usr/local/man and
|
---|
| 87 | /usr/local/bin. Hit OK.</listitem>
|
---|
| 88 | <listitem>Restore files to /tmp or /root/RESTORED or something
|
---|
| 89 | similar.</listitem>
|
---|
| 90 | <listitem>When mondorestore terminates, please reboot and compare
|
---|
| 91 | the restored files to the originals.</listitem>
|
---|
| 92 | </itemizedlist>
|
---|
| 93 | <para>FYI, the subroutines to repartition and reformat your drives
|
---|
| 94 | are very stable. If you are a RAID or LVM user, you
|
---|
| 95 | might encounter some difficulties when wiping and restoring
|
---|
| 96 | from scratch because of the sheer range of filesystem layouts and
|
---|
| 97 | the impossibility of testing Mondo on every single one. If you have
|
---|
| 98 | trouble, just drop to the command-line and partition/format
|
---|
| 99 | manually. Then, call mondorestore, select Interactive Mode, and say
|
---|
| 100 | 'no' when asked if you want Mondo to partition or format your
|
---|
| 101 | drives for you.</para>
|
---|
| 102 | <para>You see, even if you have trouble, you still have two hands
|
---|
| 103 | and most of the tools you need - lvchange, pvcreate, fdisk, mkraid,
|
---|
| 104 | etc. - to do it manually. After you have prepped and formatted your
|
---|
| 105 | drives manually (if you have to), just run mondorestore again and
|
---|
| 106 | say 'no' when asked if you want to prep or format your drives. What
|
---|
| 107 | could be easier?</para>
|
---|
| 108 | <para></para>
|
---|
| 109 | <para></para>
|
---|
| 110 | <informaltable><tgroup cols="3"><tbody>
|
---|
| 111 | <row>
|
---|
| 112 | <entry>
|
---|
| 113 | <ulink url="mindilinux.html">Prev</ulink>
|
---|
| 114 | </entry>
|
---|
| 115 | <entry>
|
---|
| 116 | <ulink url="index.html">Home</ulink>
|
---|
| 117 | </entry>
|
---|
| 118 | <entry>
|
---|
| 119 | <ulink url="windowsbackup.html">Next</ulink>
|
---|
| 120 | </entry>
|
---|
| 121 | </row>
|
---|
| 122 | <row>
|
---|
| 123 | <entry>
|
---|
| 124 | Mindi Linux
|
---|
| 125 | </entry>
|
---|
| 126 | <entry>
|
---|
| 127 | <ulink url="overview.html">Up</ulink>
|
---|
| 128 | </entry>
|
---|
| 129 | <entry>
|
---|
| 130 | Windows Backup
|
---|
| 131 | </entry>
|
---|
| 132 | </row>
|
---|
| 133 | </tbody></tgroup></informaltable>
|
---|
| 134 |
|
---|
| 135 |
|
---|
| 136 | </sect1></article>
|
---|