Changeset 2937 in MondoRescue for branches/3.1/mondo-doc
- Timestamp:
- Jan 28, 2012, 1:51:28 AM (12 years ago)
- Location:
- branches/3.1/mondo-doc
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo-doc/mindi.8
r2295 r2937 27 27 .B mindi 28 28 .br 29 .BR "mindi -v"| " --version"| "-V"| " -version"29 .BR "mindi \-v"| " --version"| " \-V"| " -version" 30 30 .br 31 31 .BI "mindi --findkernel" … … 64 64 .SH OPTIONS 65 65 .TP 66 .BI " -v"| " --version"| "-V"| " -version"66 .BI "\-v"| " --version"| " \-V"| " -version" 67 67 .RI Prints the version of mindi. 68 68 .TP -
branches/3.1/mondo-doc/mondoarchive.8
r2850 r2937 114 114 Use ISO files (CD images) as backup media. This is good for backing up your 115 115 system to a spare hard drive. The 116 .B -n116 .B \-n 117 117 switch is a wiser choice if you plan to restore from a remote filesystem. 118 118 … … 161 161 This is the prefered and recommended option when doing partial archiving. 162 162 Note that mondo automatically excludes removable media (/mnt/floppy, 163 /mnt/cdrom, /proc, /sys, / tmp). For example, if you are backing up to an NFS mount but you163 /mnt/cdrom, /proc, /sys, /run, /tmp). For example, if you are backing up to an NFS mount but you 164 164 do not want to include the contents of the mount in a backup, exclude your 165 165 local mount-point with this switch. It will also work with partitions, e.g. … … 173 173 174 174 .TP 175 .BI " -I " "\*(lqpath|...\*(rq"175 .BI "\-I " "\*(lqpath|...\*(rq" 176 176 Include paths(s) in backup. The paths should be separated with a pipe and surrounded by quotes. 177 177 This option is mainly used to perform tests … … 186 186 .BR \-E 187 187 option, the \-E content should be subdirectories of those mentioned in 188 the \-I only, as -I takes precedence.189 190 .TP 191 .BI " -J " "file"188 the \-I only, as \-I takes precedence. 189 190 .TP 191 .BI "\-J " "file" 192 192 Specify an explicit list of files and directories to include in a plain text file, one item 193 193 (file or directory) per line. Beware that directories placed in that file are not managed recursively contrary to what is done with the \-I option. 194 194 195 195 .TP 196 .BI " -N"196 .BI "\-N" 197 197 Exclude all mounted network filesystems. This currently means NFS, SMB, Coda, MVFS, AFS 198 198 OCFS and Netware. In other words, only backup the local hard disk(s). 199 199 200 200 .TP 201 .BI " -d " "dev|dir"201 .BI "\-d " "dev|dir" 202 202 Specify the backup device (CD/tape/USB) or directory (NFS/ISO). For CD-R[W] drives, 203 203 this is the SCSI node where the drive may be found, e.g. '0,1,0'. For tape … … 205 205 this is the device name of your key or external disk. For ISO users, 206 206 this is the directory where the ISO images are stored. For NFS users, this is 207 the directory withinthe NFS mount where the backups are stored. The default207 the subdirectory under the NFS mount where the backups are stored. The default 208 208 for ISO and NFS is '/var/cache/mondo'. 209 209 210 210 .TP 211 .BI " -g "211 .BI "\-g " 212 212 GUI mode. Without this switch, the screen output of mondoarchive is suitable 213 213 for processing by an 'expect' wrapper, enabling the user to backup nightly via … … 216 216 217 217 .TP 218 .BI " -k " "path"218 .BI "\-k " "path" 219 219 Path of user's kernel. If you are a Debian (<3.0) or Gentoo (<1.4) user then specify 220 220 .B \-k FAILSAFE … … 222 222 223 223 .TP 224 .BI " -m "224 .BI "\-m " 225 225 Manual (not self-retracting) CD trays are often found on laptops. If you are 226 226 a laptop user, your CD burner has BurnProof technology or you experience … … 228 228 229 229 .TP 230 .BI " -o "230 .BI "\-o " 231 231 Use OBDR (One Button Disaster Recovery) type of tapes. 232 232 By default, tapes are not bootable. With this flag, tape will be made bootable … … 234 234 235 235 .TP 236 .BI " -s " "size"236 .BI "\-s " "size" 237 237 How much can each of your backup media hold? You may use 'm' and 'g' on the end 238 238 of the number, e.g. '700m' for an extra-large CD-R. You no longer need to … … 240 240 241 241 .TP 242 .BI " -x " "'dev ...'"242 .BI "\-x " "'dev ...'" 243 243 Specify non-Linux partitions which you want to backup, e.g. NTFS or BeOS. 244 244 … … 246 246 .SH MINOR OPTIONS 247 247 .TP 13 248 .BI " -[0-9] "248 .BI "\-[0-9] " 249 249 Specify the compression level. Default is 3. No compression is 0. 250 250 251 251 .TP 252 .BI " -A " "command"252 .BI "\-A " "command" 253 253 This command will be called after each CD/NFS/ISO file is written. It is useful 254 254 if you want to do something with an ISO after creating it, e.g. write it to a 255 255 CD burner using a non-standard command. 256 .B -A256 .B \-A 257 257 understands two tokens \- _ISO_ and _CD#_ - which will be translated into the 258 258 ISO's filename and its index number (1, 2, ...) respectively. So, you could use … … 267 267 268 268 .TP 269 .BI " -H "269 .BI "\-H " 270 270 When you boot from the tape/CD, your hard drive will be wiped and the archives 271 271 will be restored. Your decision to boot from the tape/CD will be taken as … … 274 274 275 275 .TP 276 .BI " -L "276 .BI "\-L " 277 277 Use lzo, a fast compression engine, instead of bzip2. You may find lzo on 278 278 Mondo's website or via FreshMeat. WARNING! Some versions of LZO are unstable. 279 279 280 280 .TP 281 .BI " -G "281 .BI "\-G " 282 282 Use gzip, the standard and quicker Linux compression engine, instead of bzip2. 283 283 284 284 .TP 285 .BI " -Y "285 .BI "\-Y " 286 286 Use lzma, the new quicker and optimized Linux compression engine, instead of bzip2. 287 287 288 288 .TP 289 .BI " -R "289 .BI "\-R " 290 290 EXPERIMENTAL. Do not use in mission-critical environments. Star is an 291 291 alternative to afio. Mondo now supports POSIX ACLs and extended … … 293 293 294 294 .TP 295 .BI " -P " "tarball"295 .BI "\-P " "tarball" 296 296 Post-nuke tarball. If you boot into Nuke Mode and everything is restored 297 297 successfully then the … … 304 304 305 305 .TP 306 .BI " -S " "path"306 .BI "\-S " "path" 307 307 Specify the full pathname of the scratchdir, the directory where ISO 308 308 images are built before being archived. If you have plenty of RAM and … … 310 310 311 311 .TP 312 .BI " -T " "path"312 .BI "\-T " "path" 313 313 Specify the full pathname of the tempdir, the directory where temporary 314 314 files (other than ISO images being assembled) are stored. See … … 316 316 317 317 .TP 318 .BI " -W "318 .BI "\-W " 319 319 Don't make your backup self-booting. This is a really bad idea, IMO. Don't do 320 320 this unless you have really great boot disks in your hand and you are an anally … … 323 323 324 324 .TP 325 .BI " -b "325 .BI "\-b " 326 326 Specify the internal block size used by the tape drive. This is usually 32K but 327 327 some drives just don't like that. They should but they don't. That's what … … 330 330 331 331 .TP 332 .BI " -e "332 .BI "\-e " 333 333 Don't eject the CD or tape when backing up... 334 334 335 335 .TP 336 .BI " -f " "device"336 .BI "\-f " "device" 337 337 Specify the drive on which your Master Boot Record lives. Usually, this is 338 338 discovered automatically. A good use case may be when you have software RAID. 339 339 340 340 .TP 341 .BI " -l " "GRUB|LILO|ELILO|RAW"341 .BI "\-l " "GRUB|LILO|ELILO|RAW" 342 342 Specify the boot loader. By default, your Master Boot Record is examined and 343 343 the boot loader can usually be discovered. If you specify RAW then the MBR will … … 347 347 348 348 .TP 349 .BI " -Q "349 .BI "\-Q " 350 350 Give more detailed information about the boot loader. 351 351 352 352 .TP 353 .BI " -K " "loglevel"353 .BI "\-K " "loglevel" 354 354 Specify the loglevel. Use 99 for full debug. Standard debug level is 4. 355 355 356 356 .TP 357 .BI " -v "357 .BI "\-v " 358 358 Gives mondoarchive version. 359 359 360 360 .TP 361 .BI " -z "361 .BI "\-z " 362 362 Use extended attributes and acl for each file and store them in the 363 363 backup media. Use this option if you use SElinux e.g. but it will slow … … 377 377 support questions. 378 378 379 .SH ENVIRONMENT VARIABLES 380 .IR ARCH 381 This variable is passed to the environment by mondoarchive so that 382 parted2fdisk.pl is aware of the underlying hardware architecture. 383 384 .IR MONDO_SHARE 385 This variable is passed to the environment by mondoarchive so that 386 mindi is aware that it's called from it and act accordingly. It contains 387 the shared directory for the mondo package. 388 389 .IR PATH 390 This variable is modified internally by mondoarchive so that /sbin:/usr/sbin:/usr/local/sbin 391 are appended to it systematically in order to find the required tools. 392 393 .IR TMPDIR 394 This variable is used, if defined, as the target directory to create 395 all the temporary files needed during the operation (not the scratch files) 396 397 .IR TMP 398 This variable is used, if defined and if TMPDIR is not defined, as the target 399 directory to create all the temporary files needed during the operation 400 (not the scratch files) 379 401 380 402 .SH NOTES … … 450 472 451 473 .BI USB: 452 Backup to your USB key, using gzip compression:453 .br 454 .I "mondoarchive -OU -d /dev/sda - G"474 Backup to your 4GB USB key, using gzip compression: 475 .br 476 .I "mondoarchive -OU -d /dev/sda -s 4g -G" 455 477 456 478 .BI RAID: -
branches/3.1/mondo-doc/mondorescue-howto.sgml
r2850 r2937 322 322 </entry> 323 323 <entry> 324 If you want to backup the whole computer (excluding /sysand /proc,325 naturally) then leave this as / which is the default. Otherwise,324 If you want to backup the whole computer (excluding /sys, /run and /proc, 325 naturally as well as /tmp) then leave this as / which is the default. Otherwise, 326 326 specify subsets, (e.g. /usr/local /home ) being sure to put a space 327 327 in between each path. -
branches/3.1/mondo-doc/mondorestore.8
r2715 r2937 41 41 42 42 .TP 43 .BI " -p " prefix43 .BI "\-p " prefix 44 44 Use 45 45 .B prefix … … 52 52 53 53 .TP 54 .BI " -i "54 .BI "\-i " 55 55 Use ISO files (CD images) as restore media. This is good when having backed up your 56 56 system to a spare hard drive. The … … 59 59 60 60 .TP 61 .BI " -n " mount61 .BI "\-n " mount 62 62 Use files residing on NFS partition as restore media. 63 63 .I mount … … 66 66 67 67 .TP 68 .BI " -t "68 .BI "\-t " 69 69 Use tape streamer as restore device and its tapes as restore media. 70 70 71 71 .TP 72 .BI " -U "72 .BI "\-U " 73 73 Use a generic USB device as restore device. Use this if you want to read 74 74 your backup from a USB key or USB disk. … … 79 79 80 80 .TP 81 .BI " -u "81 .BI "\-u " 82 82 Use a generic streaming device as restore device. Use this if you want to read 83 83 your backup from a device that is not directly support by mondoarchive. This will … … 86 86 87 87 .TP 88 .BI " -E " "\*(lqpath ...\*(rq"88 .BI "\-E " "\*(lqpath ...\*(rq" 89 89 Exclude path(s) from restore (future dev). The paths should be separated with a pipe. 90 90 For example, if you are restoring up … … 92 92 93 93 .TP 94 .BI " -I " "\*(lqpath ...\*(rq"94 .BI "\-I " "\*(lqpath ...\*(rq" 95 95 Include paths(s) to restore (future dev). 96 96 97 97 .TP 98 .BI " -J " "file"98 .BI "\-J " "file" 99 99 Specify an explicit list of files and directories to restore in a plain 100 100 text file, one item (file or directory) per line. Beware that 101 101 directories placed in that file are not managed recursively contrary to 102 what is done with the \-I option .103 104 .TP 105 .BI " -d " "dev|dir"102 what is done with the \-I option (future dev). 103 104 .TP 105 .BI "\-d " "dev|dir" 106 106 Specify the restore device (CD/tape/USB) or directory (NFS/ISO). For CD-R[W] drives, 107 107 this is the SCSI node where the drive may be found, e.g. '0,1,0'. For tape … … 113 113 114 114 .TP 115 .BI " -g "115 .BI "\-g " 116 116 GUI mode. Without this switch, the screen output of mondorestore is text based. 117 117 118 118 .TP 119 .BI " -m "119 .BI "\-m " 120 120 Manual (not self-retracting) CD trays are often found on laptops. If you are 121 121 a laptop user, your CD burner has BurnProof technology or you experience … … 123 123 124 124 .TP 125 .BI " -o "125 .BI "\-o " 126 126 Use OBDR (One Button Disaster Recovery) type of tapes. 127 127 By default, tapes are not bootable. With this flag, tape will be read as bootable tapes … … 129 129 130 130 .TP 131 .BI " -x " "'dev ...'"131 .BI "\-x " "'dev ...'" 132 132 Specify non-Linux partitions which you want to restore (future dev). 133 133 134 134 .TP 135 .BI " -T " "path"135 .BI "\-T " "path" 136 136 Specify the full pathname of the tempdir, the directory where temporary files 137 137 are stored. 138 138 139 139 .TP 140 .BI " -b "140 .BI "\-b " 141 141 Specify the internal block size used by the tape drive. This is usually 32K but 142 142 some drives just don't like that. They should but they don't. That's what … … 145 145 146 146 .TP 147 .BI " -e "147 .BI "\-e " 148 148 Don't eject the CD or tape when restoring... 149 149 150 150 .TP 151 .BI " -f " "device"151 .BI "\-f " "device" 152 152 Specify the drive on which your Master Boot Record lives. Usually, this is 153 153 discovered automatically. (future dev) 154 154 155 155 .TP 156 .BI " -Q "156 .BI "\-Q " 157 157 Give more detailed information about the boot loader. 158 158 159 159 .TP 160 .BI " -K " "loglevel"160 .BI "\-K " "loglevel" 161 161 Specify the loglevel. Use 99 for full debug. Standard debug level is 4. 162 162 163 163 .TP 164 .BI " -z "164 .BI "\-z " 165 165 Use extended attributes and acl for each file and store them in the 166 166 backup media. Use this option if you use SElinux e.g. but it will slow … … 168 168 169 169 .TP 170 .BI " -Z "170 .BI "\-Z " 171 171 Specify mondorestore mode. Mode could be one of 172 172 .IR nuke: … … 196 196 and moved under /var/log at the end. 197 197 198 .SH ENVIRONMENT VARIABLES 199 .IR TMPDIR 200 This variable is used, if defined, as the target directory to create 201 all the temporary files needed during the operation (not the scratch files) 202 203 .IR TMP 204 This variable is used, if defined and if TMPDIR is not defined, as the target 205 directory to create all the temporary files needed during the operation 206 (not the scratch files) 207 208 .IR dirimg 209 This variable is setup by the rcS script to store the network remote directory in PXE mode. 210 (managed internally) 211 212 .IR imgname 213 This variable is setup by the rcS script to overwrite the prefix name in PXE mode. 214 (managed internally) 215 216 .IR netfsmount 217 This variable is setup by the rcS script to store the network file system mount point in PXE mode. 218 (managed internally) 219 220 .IR MRUSBDEV 221 This variable contains the device file of the USB device to restore from. 222 (equivalent if the usb-dev parameter of the mondorescue config file) 223 198 224 .SH NOTES 199 225 A link to Mondo's HTML-based manual (by Bruno Cornec, Mikael Hultgren,
Note:
See TracChangeset
for help on using the changeset viewer.