source: MondoRescue/trunk/mondo/mondo/docs/en/1.6x-howto/backupcommands.html@ 30

Last change on this file since 30 was 30, checked in by bcornec, 19 years ago

Id property added on files to allow for better conf. management

  • Property svn:keywords set to Id
File size: 6.6 KB
Line 
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 <TITLE>Backup Command and Options </TITLE>
10 <META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
11">
12 <LINK REL="HOME" HREF="index.html" TITLE=" Mondo Rescue and Mindi Linux HOWTO "><LINK REL="UP" HREF="backup.html" TITLE=" Backup "><LINK REL="PREVIOUS" HREF="backuptrying.html" TITLE=" Trying "><LINK REL="NEXT" HREF="compare.html" TITLE=" Compare "></HEAD>
13 <BODY BGCOLOR="WHITE" TEXT="BLACK" LINK="BLUE" VLINK="#840084" ALINK="BLUE" CLASS="SECTION">
14 <DIV ALIGN=LEFT>
15 <P ALIGN=LEFT>
16 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" SUMMARY="Header navigation table">
17 <TR>
18 <TD COLSPAN="3" VALIGN=CENTER>
19 <P ALIGN=CENTER>
20 Mondo Rescue and Mindi Linux HOWTO</TD>
21 </TR>
22 <TR>
23 <TD WIDTH="10%" VALIGN=BOTTOM>
24 <P ALIGN=LEFT>
25 <A HREF="backuptrying.html" ACCESSKEY="P">Prev</A></TD>
26 <TD WIDTH="80%" VALIGN=BOTTOM>
27 <P ALIGN=CENTER>
28 Chapter 7. Backup</TD>
29 <TD WIDTH="10%" VALIGN=BOTTOM>
30 <P ALIGN=RIGHT>
31 <A HREF="compare.html" ACCESSKEY="N">Next</A></TD>
32 </TR>
33 </TABLE>
34 <HR ALIGN=LEFT WIDTH="100%" SIZE="2">
35 </P>
36 </DIV>
37 <H1 CLASS="SECTION" ALIGN=LEFT>
38 <A NAME="BACKUPCOMMANDS"></A>7.2. Backup Command and Options</H1>
39 <P ALIGN=LEFT>
40 Backup Command:</P>
41 <DIV ALIGN=LEFT>
42 <P ALIGN=LEFT>
43 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
44 <TR>
45 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
46 CLASS="PROGRAMLISTING"><FONT
47 COLOR="BLACK">mondoarchive &lt;-option1&gt; &lt;-option2&gt; ... &lt;-optionN&gt; </FONT></TD></TR>
48 </TABLE></P>
49 </DIV>
50 <P ALIGN=LEFT>
51 E.g.,</P>
52 <DIV ALIGN=LEFT>
53 <P ALIGN=LEFT>
54 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
55 <TR>
56 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
57 CLASS="PROGRAMLISTING"><FONT
58 COLOR="BLACK">bash# mondoarchive -E /mnt/dos /mnt/cdrom -9 -Oc 8</FONT></TD></TR>
59 </TABLE></P>
60 </DIV>
61 <P ALIGN=LEFT>
62 Would create backup CD to a CD-R disc at the highest compression
63 level, writing at speed 2 and ignoring the /mnt/dos and /mnt/cdrom directories.</P>
64 <P ALIGN=LEFT>
65 To see a detailed list of switches and their meaning, see the <A HREF="http://www.microwerks.net/~hugo/download/mondoarchive.1.html" TARGET="_top">HTML
66 man page</A> on the website or type 'man mondoarchive' at the console.</P>
67 <H2 CLASS="SECTION" ALIGN=LEFT>
68 <A NAME="AEN318"></A>7.2.1. Standard Example With CD-R</H2>
69 <DIV ALIGN=LEFT>
70 <P ALIGN=LEFT>
71 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
72 <TR>
73 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
74 CLASS="PROGRAMLISTING"><FONT
75 COLOR="BLACK">bash# mondoarchive -Oc 2 -g</FONT></TD></TR>
76 </TABLE></P>
77 </DIV>
78 <P ALIGN=LEFT>
79 Replace '2' in '-Oc2' with the writer's speed. If mondoarchive cannot
80 find your CD-R then please add '-d 0,0,0' (or whatever your CD
81 writer's SCSI node is; usually, it is 0,0,0) to the call.</P>
82 <P ALIGN=LEFT>
83 Please insert the first disk in the writer while the PC is chugging
84 away. If Mondo needs additional CD-R(W) then it will ask for them.</P>
85 <H2 CLASS="SECTION" ALIGN=LEFT>
86 <A NAME="AEN323"></A>7.2.2. Standard Example With CD-RW</H2>
87 <DIV ALIGN=LEFT>
88 <P ALIGN=LEFT>
89 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
90 <TR>
91 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
92 CLASS="PROGRAMLISTING"><FONT
93 COLOR="BLACK">bash# mondoarchive -Ow 2 -g</FONT></TD></TR>
94 </TABLE></P>
95 </DIV>
96 <P ALIGN=LEFT>
97 Replace '2' in '-Ow2' with the writer's speed.</P>
98 <H2 CLASS="SECTION" ALIGN=LEFT>
99 <A NAME="AEN328"></A>7.2.3. Standard Example With Tape</H2>
100 <DIV ALIGN=LEFT>
101 <P ALIGN=LEFT>
102 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
103 <TR>
104 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
105 CLASS="PROGRAMLISTING"><FONT
106 COLOR="BLACK">bash# mondoarchive -Ot -d /dev/st0 -g</FONT></TD></TR>
107 </TABLE></P>
108 </DIV>
109 <P>
110 With previous versions of Mondo, you needed to specify the size of
111 the tape. As of v1.51, that is no longer necessary.</P>
112 <H2 CLASS="SECTION" ALIGN=LEFT>
113 <A NAME="AEN331"></A>7.2.4. Failsafe Kernel Example w/CD-RW</H2>
114 <DIV ALIGN=LEFT>
115 <P ALIGN=LEFT>
116 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
117 <TR>
118 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
119 CLASS="PROGRAMLISTING"><FONT
120 COLOR="BLACK">bash# mondoarchive -k FAILSAFE -Ow 2</FONT></TD></TR>
121 </TABLE></P>
122 </DIV>
123 <P ALIGN=LEFT>
124 Due to slight policy differences in the Debian distribution approach,
125 the '-k FAILSAFE' option is typically needed with Debian.</P>
126 <H2 CLASS="SECTION" ALIGN=LEFT>
127 <A NAME="AEN335"></A>7.2.5. Network backup example</H2>
128 <DIV ALIGN=LEFT>
129 <P ALIGN=LEFT>
130 <TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="2" BORDER="0">
131 <TR>
132 <TD BGCOLOR="#E0E0E0" VALIGN=CENTER><PRE
133 CLASS="PROGRAMLISTING"><FONT
134 COLOR="BLACK">bash# mount 192.168.1.3:/home/nfs -t nfs /mnt/nfs</FONT><BR><FONT
135 COLOR="BLACK">bash# mondoarchive -OVn 192.168.1.3:/home/nfs -g -s 200m</FONT><BR><FONT
136 COLOR="BLACK">bash# umount /mnt/nfs </FONT></TD></TR>
137 </TABLE></P>
138 </DIV>
139 <P ALIGN=LEFT>
140 The resultant ISO's can be burned to CD's if you want (which isn't a
141 good idea unless you're a Mondo expert because they'll try to restore
142 over a network by default, which is silly cos the archives are on the
143 CD's). Or, you can boot from the Mindi floppies (or mondorescue.iso) and
144 hit ENTER a few times to restore.</P>
145 <DIV ALIGN=LEFT>
146 <P ALIGN=LEFT>
147 <HR ALIGN=LEFT WIDTH="100%" SIZE="2">
148 <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" SUMMARY="Footer navigation table">
149 <TR>
150 <TD WIDTH="33%" VALIGN=TOP>
151 <P ALIGN=LEFT>
152 <A HREF="backuptrying.html" ACCESSKEY="P">Prev</A></TD>
153 <TD WIDTH="34%" VALIGN=TOP>
154 <P ALIGN=CENTER>
155 <A HREF="index.html" ACCESSKEY="H">Home</A></TD>
156 <TD WIDTH="33%" VALIGN=TOP>
157 <P ALIGN=RIGHT>
158 <A HREF="compare.html" ACCESSKEY="N">Next</A></TD>
159 </TR>
160 <TR>
161 <TD WIDTH="33%" VALIGN=TOP>
162 <P ALIGN=LEFT>
163 Trying</TD>
164 <TD WIDTH="34%" VALIGN=TOP>
165 <P ALIGN=CENTER>
166 <A HREF="backup.html" ACCESSKEY="U">Up</A></TD>
167 <TD WIDTH="33%" VALIGN=TOP>
168 <P ALIGN=RIGHT>
169 Compare</TD>
170 </TR>
171 </TABLE>
172 </BODY>
173</HTML>
Note: See TracBrowser for help on using the repository browser.