Changeset 2937 in MondoRescue for branches/3.1/mondo-doc/mondoarchive.8
- Timestamp:
- Jan 28, 2012, 1:51:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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:
Note:
See TracChangeset
for help on using the changeset viewer.