[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","e0e0e0","Custom #2","0") -->
|
---|
| 9 | <!-- $MVD$:color("20","80ff","Orange","1") -->
|
---|
| 10 | <!-- $MVD$:color("21","ffd6ce","Lavender","1") -->
|
---|
| 11 | <title>Backup Command and Options</title>
|
---|
| 12 | </articleinfo>
|
---|
| 13 |
|
---|
| 14 | <para></para>
|
---|
| 15 | <informaltable><tgroup cols="3"><tbody>
|
---|
| 16 | <row>
|
---|
| 17 | <entry>
|
---|
| 18 | Mondo Rescue and Mindi Linux HOWTO
|
---|
| 19 | </entry>
|
---|
| 20 | </row>
|
---|
| 21 | <row>
|
---|
| 22 | <entry>
|
---|
| 23 | <ulink url="backuptrying.html">Prev</ulink>
|
---|
| 24 | </entry>
|
---|
| 25 | <entry>
|
---|
| 26 | Chapter 7. Backup
|
---|
| 27 | </entry>
|
---|
| 28 | <entry>
|
---|
| 29 | <ulink url="compare.html">Next</ulink>
|
---|
| 30 | </entry>
|
---|
| 31 | </row>
|
---|
| 32 | </tbody></tgroup></informaltable>
|
---|
| 33 |
|
---|
| 34 | <sect1 id="BACKUPCOMMAND"><title>7.2. Backup Command and
|
---|
| 35 | Options</title>
|
---|
| 36 | <para>Backup Command:</para>
|
---|
| 37 | <para></para>
|
---|
| 38 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 39 | <row>
|
---|
| 40 | <entry>
|
---|
| 41 |
|
---|
| 42 | mondoarchive <-option1> <-option2> ... <-optionN>
|
---|
| 43 |
|
---|
| 44 | </entry>
|
---|
| 45 | </row>
|
---|
| 46 | </tbody></tgroup></informaltable>
|
---|
| 47 |
|
---|
| 48 | <para>E.g.,</para>
|
---|
| 49 | <para></para>
|
---|
| 50 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 51 | <row>
|
---|
| 52 | <entry>
|
---|
| 53 |
|
---|
| 54 | bash# mondoarchive -E /mnt/dos /mnt/cdrom -9 -Oc 8
|
---|
| 55 |
|
---|
| 56 | </entry>
|
---|
| 57 | </row>
|
---|
| 58 | </tbody></tgroup></informaltable>
|
---|
| 59 |
|
---|
| 60 | <para>Would create backup CD to a CD-R disc at the highest
|
---|
| 61 | compression level, writing at speed 2 and ignoring the /mnt/dos and
|
---|
| 62 | /mnt/cdrom directories.</para>
|
---|
| 63 | <para>To see a detailed list of switches and their meaning, see the
|
---|
| 64 | <ulink url="http://www.mondorescue.org/download/mondoarchive.1.html">HTML
|
---|
| 65 | man page</ulink> on the website or type 'man mondoarchive' at the
|
---|
| 66 | console.</para>
|
---|
| 67 | <sect2 id="AEN31"><title>7.2.1. Standard Example With CD-R</title>
|
---|
| 68 | <para></para>
|
---|
| 69 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 70 | <row>
|
---|
| 71 | <entry>
|
---|
| 72 |
|
---|
| 73 | bash# mondoarchive -Oc 2 -g
|
---|
| 74 |
|
---|
| 75 | </entry>
|
---|
| 76 | </row>
|
---|
| 77 | </tbody></tgroup></informaltable>
|
---|
| 78 |
|
---|
| 79 | <para>Replace '2' in '-Oc2' with the writer's speed. If
|
---|
| 80 | mondoarchive cannot find your CD-R then please add '-d 0,0,0' (or
|
---|
| 81 | whatever your CD writer's SCSI node is; usually, it is 0,0,0) to
|
---|
| 82 | the call.</para>
|
---|
| 83 | <para>Please insert the first disk in the writer while the PC is
|
---|
| 84 | chugging away. If Mondo needs additional CD-R(W) then it will ask
|
---|
| 85 | for them.</para>
|
---|
| 86 | </sect2><sect2 id="AEN32"><title>7.2.2. Standard Example With
|
---|
| 87 | CD-RW</title>
|
---|
| 88 | <para></para>
|
---|
| 89 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 90 | <row>
|
---|
| 91 | <entry>
|
---|
| 92 |
|
---|
| 93 | bash# mondoarchive -Ow 2 -g
|
---|
| 94 |
|
---|
| 95 | </entry>
|
---|
| 96 | </row>
|
---|
| 97 | </tbody></tgroup></informaltable>
|
---|
| 98 |
|
---|
| 99 | <para>Replace '2' in '-Ow2' with the writer's speed.</para>
|
---|
| 100 | </sect2><sect2 id="AEN32"><title>7.2.3. Standard Example With
|
---|
| 101 | Tape</title>
|
---|
| 102 | <para></para>
|
---|
| 103 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 104 | <row>
|
---|
| 105 | <entry>
|
---|
| 106 |
|
---|
| 107 | bash# mondoarchive -Ot -d /dev/st0 -g
|
---|
| 108 |
|
---|
| 109 | </entry>
|
---|
| 110 | </row>
|
---|
| 111 | </tbody></tgroup></informaltable>
|
---|
| 112 |
|
---|
| 113 | <para>With previous versions of Mondo, you needed to specify the
|
---|
| 114 | size of the tape. As of v1.51, that is no longer necessary.</para>
|
---|
| 115 | </sect2><sect2 id="AEN33"><title>7.2.4. Failsafe Kernel Example
|
---|
| 116 | w/CD-RW</title>
|
---|
| 117 | <para></para>
|
---|
| 118 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 119 | <row>
|
---|
| 120 | <entry>
|
---|
| 121 |
|
---|
| 122 | bash# mondoarchive -k FAILSAFE -Ow 2
|
---|
| 123 |
|
---|
| 124 | </entry>
|
---|
| 125 | </row>
|
---|
| 126 | </tbody></tgroup></informaltable>
|
---|
| 127 |
|
---|
| 128 | <para>Due to slight policy differences in the Debian distribution
|
---|
| 129 | approach, the '-k FAILSAFE' option is typically needed with
|
---|
| 130 | Debian.</para>
|
---|
| 131 | </sect2><sect2 id="AEN33"><title>7.2.5. Network backup
|
---|
| 132 | example</title>
|
---|
| 133 | <para></para>
|
---|
| 134 | <informaltable><tgroup cols="1"><tbody>
|
---|
| 135 | <row>
|
---|
| 136 | <entry>
|
---|
| 137 |
|
---|
| 138 | bash# mount 192.168.1.3:/home/nfs -t nfs /mnt/nfsbash# mondoarchive -OVn 192.168.1.3:/home/nfs -g -s 200mbash# umount /mnt/nfs
|
---|
| 139 |
|
---|
| 140 | </entry>
|
---|
| 141 | </row>
|
---|
| 142 | </tbody></tgroup></informaltable>
|
---|
| 143 |
|
---|
| 144 | <para>The resultant ISO's can be burned to CD's if you want (which
|
---|
| 145 | isn't a good idea unless you're a Mondo expert because they'll try
|
---|
| 146 | to restore over a network by default, which is silly cos the
|
---|
| 147 | archives are on the CD's). Or, you can boot from the Mindi floppies
|
---|
| 148 | (or mondorescue.iso) and hit ENTER a few times to restore.</para>
|
---|
| 149 | <para></para>
|
---|
| 150 | <informaltable><tgroup cols="3"><tbody>
|
---|
| 151 | <row>
|
---|
| 152 | <entry>
|
---|
| 153 | <ulink url="backuptrying.html">Prev</ulink>
|
---|
| 154 | </entry>
|
---|
| 155 | <entry>
|
---|
| 156 | <ulink url="index.html">Home</ulink>
|
---|
| 157 | </entry>
|
---|
| 158 | <entry>
|
---|
| 159 | <ulink url="compare.html">Next</ulink>
|
---|
| 160 | </entry>
|
---|
| 161 | </row>
|
---|
| 162 | <row>
|
---|
| 163 | <entry>
|
---|
| 164 | Trying
|
---|
| 165 | </entry>
|
---|
| 166 | <entry>
|
---|
| 167 | <ulink url="backup.html">Up</ulink>
|
---|
| 168 | </entry>
|
---|
| 169 | <entry>
|
---|
| 170 | Compare
|
---|
| 171 | </entry>
|
---|
| 172 | </row>
|
---|
| 173 | </tbody></tgroup></informaltable>
|
---|
| 174 |
|
---|
| 175 |
|
---|
| 176 | </sect2></sect1></article>
|
---|