[402] | 1 | .\" This is free documentation; you can redistribute it and/or
|
---|
| 2 | .\" modify it under the terms of the GNU General Public License as
|
---|
| 3 | .\" published by the Free Software Foundation; either version 2 of
|
---|
| 4 | .\" the License, or (at your option) any later version.
|
---|
| 5 | .\"
|
---|
| 6 | .\" The GNU General Public License's references to "object code"
|
---|
| 7 | .\" and "executables" are to be interpreted as the output of any
|
---|
| 8 | .\" document formatting or typesetting system, including
|
---|
| 9 | .\" intermediate and printed output.
|
---|
| 10 | .\"
|
---|
| 11 | .\" This manual is distributed in the hope that it will be useful,
|
---|
| 12 | .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 13 | .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 14 | .\" GNU General Public License for more details.
|
---|
| 15 | .\"
|
---|
| 16 | .\" You should have received a copy of the GNU General Public
|
---|
| 17 | .\" License along with this manual; if not, write to the Free
|
---|
| 18 | .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
|
---|
| 19 | .\" USA.
|
---|
| 20 | .\"
|
---|
[2062] | 21 | .TH mondoarchive 8 "PBDATE" "Mondo Rescue PBVER-rPBREV"
|
---|
[1] | 22 |
|
---|
| 23 | .SH NAME
|
---|
| 24 | mondoarchive \- a backup / disaster\-recovery tool.
|
---|
| 25 |
|
---|
| 26 | .SH SYNOPSIS
|
---|
[2546] | 27 | .B mondoarchive \-O
|
---|
[1] | 28 | [
|
---|
| 29 | .I options
|
---|
| 30 | ] : backup your PC
|
---|
| 31 | .br
|
---|
[2546] | 32 | .B mondoarchive \-V
|
---|
[1] | 33 | [
|
---|
| 34 | .I options
|
---|
| 35 | ] : verify your backup
|
---|
| 36 |
|
---|
| 37 | .SH DESCRIPTION
|
---|
| 38 | .PP
|
---|
| 39 | .I mondoarchive
|
---|
| 40 | backs up a subset of your files, your entire filesystem, or even images of
|
---|
| 41 | non-Linux filesystems to CD's, tape, ISO images or an NFS mount. In the event of
|
---|
| 42 | catastrophic data loss, you will be able to restore everything, taking a PC from
|
---|
[2546] | 43 | bare metal to its original state if necessary.
|
---|
[1] | 44 |
|
---|
[2045] | 45 | .PP
|
---|
[1] | 46 | With
|
---|
| 47 | .BR \-O ,
|
---|
[1885] | 48 | it backs up your filesystem to CD, tape, ISO images or NFS share. Boot media
|
---|
[1] | 49 | or a special boot CD will be created to allow you to restore from bare metal if
|
---|
| 50 | necessary.
|
---|
| 51 |
|
---|
[2045] | 52 | .PP
|
---|
[1] | 53 | With
|
---|
| 54 | .BR \-V ,
|
---|
| 55 | it verifies the backup against the live filesystem. This option may be used in
|
---|
| 56 | combination with
|
---|
| 57 | .BR \-O
|
---|
| 58 | to verify a backup after its creation, or on its own to see how much the live
|
---|
| 59 | filesystem has changed since the backup was made.
|
---|
| 60 |
|
---|
[2045] | 61 | .PP
|
---|
[2546] | 62 | Call mondoarchive
|
---|
[1] | 63 | .BR without
|
---|
[2546] | 64 | .BR flags
|
---|
[1] | 65 | to make it auto-detect as many settings as possible, ask you politely for the
|
---|
| 66 | rest, and then backup and verify your OS or a subset thereof.
|
---|
| 67 |
|
---|
[2045] | 68 | .PP
|
---|
[2546] | 69 | To restore data, either run
|
---|
[1] | 70 | .I mondorestore
|
---|
[1885] | 71 | from the command line or boot from the emergency media generated during
|
---|
[1] | 72 | the backup process. The latter will come in handy if a gremlin wipes your hard
|
---|
| 73 | disk.
|
---|
| 74 |
|
---|
| 75 | .SH BACKUP MEDIA
|
---|
| 76 | .TP 13
|
---|
| 77 | You must specify one of the following:-
|
---|
| 78 |
|
---|
| 79 | .TP
|
---|
[2546] | 80 | .BI "\-c " speed
|
---|
[1] | 81 | Use CD-R drive as backup device and its (write-once) disks as backup media.
|
---|
| 82 |
|
---|
| 83 | .TP
|
---|
[2546] | 84 | .BI "\-w " speed
|
---|
[1] | 85 | Use CD-RW drive as backup device and its (write/rewrite) disks as backup media.
|
---|
| 86 | Mondo will wipe media before writing to them.
|
---|
| 87 |
|
---|
| 88 | .TP
|
---|
[2546] | 89 | .BI "\-r "
|
---|
[1] | 90 | Use DVD drive as backup device and its disks as backup media. Growisofs decides
|
---|
[116] | 91 | on the best speed for your drive. Note that calling mondoarchive
|
---|
| 92 | .B using sudo when writing to DVDs will fail
|
---|
[2546] | 93 | because growisofs does not support this \- see the growisofs manpage for
|
---|
[116] | 94 | details.
|
---|
[1] | 95 |
|
---|
| 96 | .TP
|
---|
[2546] | 97 | .BI "\-C " speed
|
---|
[1] | 98 | Use CD-R drive as a streaming device, almost like a tape streamer. Use
|
---|
| 99 | write-once disks as backup media.
|
---|
| 100 | .B Experimental.
|
---|
| 101 |
|
---|
| 102 | .TP
|
---|
[2546] | 103 | .BI "\-p " prefix
|
---|
| 104 | Use
|
---|
| 105 | .B prefix
|
---|
[20] | 106 | to generate the name of your ISO images.
|
---|
[907] | 107 | By default, mondoarchive names images mondorescue-1.iso, mondorescue-2.iso, ...
|
---|
[2546] | 108 | Using
|
---|
| 109 | .B \-p machine
|
---|
[907] | 110 | will name your images machine-1.iso, machine-2.iso, ...
|
---|
[20] | 111 |
|
---|
| 112 | .TP
|
---|
[2546] | 113 | .BI "\-i "
|
---|
[1] | 114 | Use ISO files (CD images) as backup media. This is good for backing up your
|
---|
| 115 | system to a spare hard drive. The
|
---|
[2937] | 116 | .B \-n
|
---|
[1] | 117 | switch is a wiser choice if you plan to restore from a remote filesystem.
|
---|
| 118 |
|
---|
| 119 | .TP
|
---|
[2546] | 120 | .BI "\-n " mount
|
---|
[2382] | 121 | Use files residing on a remote share as backup media.
|
---|
[1] | 122 | .I mount
|
---|
[2382] | 123 | is the remote mount-point, e.g. 'nfs://192.168.1.3:/home/nfs'
|
---|
[2224] | 124 | for my file server. If not mounted, mondoarchive will do it for you. So nice ;-)
|
---|
| 125 | If your NFS server only accept write from a backup user, you may specify it with the syntax:
|
---|
[2382] | 126 | .B nfs://user@machine:/mount/path
|
---|
[2225] | 127 | and mondoarchive will try to do its best to support it.
|
---|
[2382] | 128 | Other protocols are available such as sshfs for fuse SSH based filesystem
|
---|
[3147] | 129 | mount, with the same syntax e.g. 'sshfs://user@192.168.1.3:/home/nfs' and
|
---|
| 130 | smbfs (aka cifs) for SaMBa or Windows based filesystem mount.
|
---|
[1] | 131 |
|
---|
| 132 | .TP
|
---|
[2546] | 133 | .BI "\-t "
|
---|
[1] | 134 | Use tape streamer as backup device and its tapes as backup media.
|
---|
| 135 |
|
---|
| 136 | .TP
|
---|
[2546] | 137 | .BI "\-U "
|
---|
[1762] | 138 | Use a generic USB device as backup device. Use this if you want to write
|
---|
[2546] | 139 | your backup to a USB key or USB disk, which will be make bootable.
|
---|
[2295] | 140 | The USB device should be attached to the system in order for this to work and
|
---|
[1762] | 141 | its device name passed to the
|
---|
[2546] | 142 | .BR \-d
|
---|
[2335] | 143 | option. Do not use the partition name, but the raw device name (/dev/sda e.g.)
|
---|
[1762] | 144 | .B WARNING: All the data on the related device will be removed.
|
---|
| 145 |
|
---|
| 146 | .TP
|
---|
[2546] | 147 | .BI "\-u "
|
---|
[1] | 148 | Use a generic streaming device as backup device. Use this if you want to write
|
---|
| 149 | your backup to a device that is not directly support by mondoarchive. This will
|
---|
| 150 | send the data directly to a raw device.
|
---|
| 151 | .B For experienced users only.
|
---|
| 152 |
|
---|
| 153 | .SH MAJOR OPTIONS
|
---|
| 154 | .TP 13
|
---|
[2546] | 155 | .BI "\-D "
|
---|
[1] | 156 | Make a differential backup: examine the filesystem and find which files have
|
---|
| 157 | changed since the last full backup was carried out. Backup only those files.
|
---|
| 158 |
|
---|
| 159 | .TP
|
---|
[3147] | 160 | .BI "\-E " "\*(lqdir|...\*(rq"
|
---|
| 161 | Exclude dir(s) from backup. The dirs should be separated with a pipe and surrounded by quotes.
|
---|
[2337] | 162 | This is the prefered and recommended option when doing partial archiving.
|
---|
[1] | 163 | Note that mondo automatically excludes removable media (/mnt/floppy,
|
---|
[2937] | 164 | /mnt/cdrom, /proc, /sys, /run, /tmp). For example, if you are backing up to an NFS mount but you
|
---|
[1] | 165 | do not want to include the contents of the mount in a backup, exclude your
|
---|
| 166 | local mount-point with this switch. It will also work with partitions, e.g.
|
---|
| 167 | /dev/sdd4 if you have a peculiar SCSI zip drive which insists on showing up in
|
---|
| 168 | the mountlist. NB: If you exclude /dev/sdd4 then the /dev entry itself will
|
---|
| 169 | still be backed up, even though the mountlist entry will be suppressed.
|
---|
[2546] | 170 | N.B.: If you specify a directory with a final / its content will be
|
---|
| 171 | archived so it won't do what you expect.
|
---|
| 172 | You may also specify full disk device to this option as with \-E
|
---|
[2715] | 173 | \*(lq/dev/sda|/dev/cciss/c0d0\*(rq
|
---|
[3147] | 174 | N.B.: If for example you have a disk /dev/mapper/vgsan-lvdir mounted on a /mnt mountpoint
|
---|
| 175 | excluding the /dev/mapper/vgsan-lvdir device prevents mondorestore to touch the LVM structure
|
---|
| 176 | of this device at restore time (no pv|vg|lvcreate will occur).
|
---|
| 177 | However, if you exclude the mount point /mnt, the LVM structure will be re-created at restore time.
|
---|
| 178 | ALL DATA WILL THEN BE LOST ON THIS DEVICE. Use what is required for your configuration.
|
---|
[1] | 179 |
|
---|
| 180 | .TP
|
---|
[3147] | 181 | .BI "\-I " "\*(lqdir|...\*(rq"
|
---|
| 182 | Include dirs(s) in backup. The dirs should be separated with a pipe and surrounded by quotes.
|
---|
[2850] | 183 | This option is mainly used to perform tests
|
---|
[2546] | 184 | in order to reduce the time taken by the archiving operation.
|
---|
[3147] | 185 | The default backup dir is \*(lq/\*(rq but you may specify alternatives,
|
---|
[2715] | 186 | e.g. \-I \*(lq/home|/etc\*(rq to override that.
|
---|
[2546] | 187 | You may also specify full disk device to this option as with \-I
|
---|
[2715] | 188 | \*(lq/dev/sda|/dev/cciss/c0d0\*(rq
|
---|
[2337] | 189 | N.B.: When using the
|
---|
| 190 | .BR \-I
|
---|
[2546] | 191 | option with the
|
---|
[2337] | 192 | .BR \-E
|
---|
[2546] | 193 | option, the \-E content should be subdirectories of those mentioned in
|
---|
[2937] | 194 | the \-I only, as \-I takes precedence.
|
---|
[1] | 195 |
|
---|
| 196 | .TP
|
---|
[2937] | 197 | .BI "\-J " "file"
|
---|
[791] | 198 | Specify an explicit list of files and directories to include in a plain text file, one item
|
---|
[2546] | 199 | (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.
|
---|
[1] | 200 |
|
---|
| 201 | .TP
|
---|
[2937] | 202 | .BI "\-N"
|
---|
[791] | 203 | Exclude all mounted network filesystems. This currently means NFS, SMB, Coda, MVFS, AFS
|
---|
[1488] | 204 | OCFS and Netware. In other words, only backup the local hard disk(s).
|
---|
[1] | 205 |
|
---|
| 206 | .TP
|
---|
[2937] | 207 | .BI "\-d " "dev|dir"
|
---|
[1762] | 208 | Specify the backup device (CD/tape/USB) or directory (NFS/ISO). For CD-R[W] drives,
|
---|
[1] | 209 | this is the SCSI node where the drive may be found, e.g. '0,1,0'. For tape
|
---|
[1762] | 210 | users, this is the tape streamers /dev entry, e.g. '/dev/st0'. For USB users,
|
---|
| 211 | this is the device name of your key or external disk. For ISO users,
|
---|
[1] | 212 | this is the directory where the ISO images are stored. For NFS users, this is
|
---|
[2937] | 213 | the subdirectory under the NFS mount where the backups are stored. The default
|
---|
[1967] | 214 | for ISO and NFS is '/var/cache/mondo'.
|
---|
[1] | 215 |
|
---|
| 216 | .TP
|
---|
[2937] | 217 | .BI "\-g "
|
---|
[1] | 218 | GUI mode. Without this switch, the screen output of mondoarchive is suitable
|
---|
| 219 | for processing by an 'expect' wrapper, enabling the user to backup nightly via
|
---|
| 220 | a cron job. However, if you want to run this program with an attractive but
|
---|
[2546] | 221 | non-cron-friendly interface then use '\-g'.
|
---|
[1] | 222 |
|
---|
| 223 | .TP
|
---|
[2937] | 224 | .BI "\-k " "path"
|
---|
[2546] | 225 | Path of user's kernel. If you are a Debian (<3.0) or Gentoo (<1.4) user then specify
|
---|
| 226 | .B \-k FAILSAFE
|
---|
| 227 | as your kernel. Otherwise, you will rarely need this option.
|
---|
[1] | 228 |
|
---|
| 229 | .TP
|
---|
[2937] | 230 | .BI "\-m "
|
---|
[1] | 231 | Manual (not self-retracting) CD trays are often found on laptops. If you are
|
---|
[2546] | 232 | a laptop user, your CD burner has BurnProof technology or you experience
|
---|
| 233 | problems with mondo then please call mondoarchive with this switch.
|
---|
[1] | 234 |
|
---|
| 235 | .TP
|
---|
[2937] | 236 | .BI "\-o "
|
---|
[1948] | 237 | Use OBDR (One Button Disaster Recovery) type of tapes.
|
---|
| 238 | By default, tapes are not bootable. With this flag, tape will be made bootable
|
---|
| 239 | following the OBDR format.
|
---|
[1] | 240 |
|
---|
| 241 | .TP
|
---|
[2937] | 242 | .BI "\-s " "size"
|
---|
[1] | 243 | How much can each of your backup media hold? You may use 'm' and 'g' on the end
|
---|
| 244 | of the number, e.g. '700m' for an extra-large CD-R. You no longer need to
|
---|
| 245 | specify the size of your cartridges if you are backing up to tape.
|
---|
| 246 |
|
---|
| 247 | .TP
|
---|
[2937] | 248 | .BI "\-x " "'dev ...'"
|
---|
[1] | 249 | Specify non-Linux partitions which you want to backup, e.g. NTFS or BeOS.
|
---|
| 250 |
|
---|
| 251 |
|
---|
| 252 | .SH MINOR OPTIONS
|
---|
| 253 | .TP 13
|
---|
[2937] | 254 | .BI "\-[0-9] "
|
---|
[1] | 255 | Specify the compression level. Default is 3. No compression is 0.
|
---|
| 256 |
|
---|
| 257 | .TP
|
---|
[2937] | 258 | .BI "\-A " "command"
|
---|
[1] | 259 | This command will be called after each CD/NFS/ISO file is written. It is useful
|
---|
| 260 | if you want to do something with an ISO after creating it, e.g. write it to a
|
---|
| 261 | CD burner using a non-standard command.
|
---|
[2937] | 262 | .B \-A
|
---|
[2546] | 263 | understands two tokens \- _ISO_ and _CD#_ - which will be translated into the
|
---|
[1] | 264 | ISO's filename and its index number (1, 2, ...) respectively. So, you could use
|
---|
[2546] | 265 | .I \-A 'foobackup _ISO_; rm \-f _ISO_'
|
---|
[1] | 266 | to feed each ISO to some magical new backup tool.
|
---|
| 267 |
|
---|
| 268 | .TP
|
---|
| 269 | .BI "-B " "command"
|
---|
| 270 | This command will be called before each CD/NFS/ISO file is written. See
|
---|
[2546] | 271 | .B \-A
|
---|
[1] | 272 | for more information.
|
---|
| 273 |
|
---|
| 274 | .TP
|
---|
[3147] | 275 | .BI "\-F "
|
---|
| 276 | Do not retry when a command failed but just exits. This is useful for an
|
---|
| 277 | automated mode launched from cron where you want to avoid filling your logs
|
---|
| 278 | due to an answer which is impossible to give.
|
---|
| 279 |
|
---|
| 280 | .TP
|
---|
| 281 | .BI "\-G "
|
---|
| 282 | Use gzip, the standard and quicker Linux compression engine, instead of bzip2.
|
---|
| 283 |
|
---|
| 284 | .TP
|
---|
[2937] | 285 | .BI "\-H "
|
---|
[1] | 286 | When you boot from the tape/CD, your hard drive will be wiped and the archives
|
---|
| 287 | will be restored. Your decision to boot from the tape/CD will be taken as
|
---|
| 288 | consent. No further permission will be sought.
|
---|
| 289 | .B Use with caution.
|
---|
| 290 |
|
---|
| 291 | .TP
|
---|
[2937] | 292 | .BI "\-L "
|
---|
[1] | 293 | Use lzo, a fast compression engine, instead of bzip2. You may find lzo on
|
---|
| 294 | Mondo's website or via FreshMeat. WARNING! Some versions of LZO are unstable.
|
---|
| 295 |
|
---|
| 296 | .TP
|
---|
[3147] | 297 | .BI "\-M " "max-size"
|
---|
| 298 | Gives the maximum size of a biggie file (by default 64 MB). The value should
|
---|
| 299 | be given in kB. Example use \-M 128000 to have biggie being more than 128 MB.
|
---|
[998] | 300 |
|
---|
| 301 | .TP
|
---|
[2937] | 302 | .BI "\-Y "
|
---|
[2341] | 303 | Use lzma, the new quicker and optimized Linux compression engine, instead of bzip2.
|
---|
| 304 |
|
---|
| 305 | .TP
|
---|
[2937] | 306 | .BI "\-R "
|
---|
[3147] | 307 | Star is an alternative to afio. Can be useful for distributions considering
|
---|
| 308 | that afio is not free enough due to its age and old licenses (wrongly in our
|
---|
| 309 | opinion). Star can be used to have a better support of sparse file compared to
|
---|
| 310 | afio. Also star supports natively POSIX ACLs, where as afio requires a special
|
---|
| 311 | additional handlling.
|
---|
[1] | 312 |
|
---|
| 313 | .TP
|
---|
[2937] | 314 | .BI "\-P " "tarball"
|
---|
[1] | 315 | Post-nuke tarball. If you boot into Nuke Mode and everything is restored
|
---|
[2546] | 316 | successfully then the
|
---|
[1] | 317 | .I post-nuke
|
---|
| 318 | script will be sought and executed if found. This is useful for post-restore
|
---|
| 319 | customization. It is assumed that the tarball (.tar.gz format) will contain not
|
---|
| 320 | just the
|
---|
| 321 | .I post-nuke
|
---|
[2546] | 322 | script (or binary, or whatever it is) but also any files it requires.
|
---|
[1] | 323 |
|
---|
| 324 | .TP
|
---|
[2937] | 325 | .BI "\-S " "path"
|
---|
[2546] | 326 | Specify the full pathname of the scratchdir, the directory where ISO
|
---|
| 327 | images are built before being archived. If you have plenty of RAM and
|
---|
| 328 | want to use a ramdisk for scratch space, specify its path here.
|
---|
[1] | 329 |
|
---|
| 330 | .TP
|
---|
[2937] | 331 | .BI "\-T " "path"
|
---|
[2546] | 332 | Specify the full pathname of the tempdir, the directory where temporary
|
---|
| 333 | files (other than ISO images being assembled) are stored. See
|
---|
| 334 | .B \-S
|
---|
[1] | 335 |
|
---|
| 336 | .TP
|
---|
[2937] | 337 | .BI "\-W "
|
---|
[1] | 338 | Don't make your backup self-booting. This is a really bad idea, IMO. Don't do
|
---|
| 339 | this unless you have really great boot disks in your hand and you are an anally
|
---|
| 340 | retentive SOB who can't wait 2 minutes for Mindi to run in the background. If
|
---|
[2546] | 341 | you use \-W then you'd better know what the hell you're doing, okay?
|
---|
[1] | 342 |
|
---|
| 343 | .TP
|
---|
[2937] | 344 | .BI "\-b "
|
---|
[1] | 345 | Specify the internal block size used by the tape drive. This is usually 32K but
|
---|
| 346 | some drives just don't like that. They should but they don't. That's what
|
---|
| 347 | happens when tape drive vendors don't talk to kernel driver writers. Try 512 or
|
---|
| 348 | 16384.
|
---|
| 349 |
|
---|
| 350 | .TP
|
---|
[2937] | 351 | .BI "\-e "
|
---|
[1967] | 352 | Don't eject the CD or tape when backing up...
|
---|
[1] | 353 |
|
---|
| 354 | .TP
|
---|
[2937] | 355 | .BI "\-f " "device"
|
---|
[1] | 356 | Specify the drive on which your Master Boot Record lives. Usually, this is
|
---|
[2489] | 357 | discovered automatically. A good use case may be when you have software RAID.
|
---|
[1] | 358 |
|
---|
| 359 | .TP
|
---|
[2937] | 360 | .BI "\-l " "GRUB|LILO|ELILO|RAW"
|
---|
[1] | 361 | Specify the boot loader. By default, your Master Boot Record is examined and
|
---|
| 362 | the boot loader can usually be discovered. If you specify RAW then the MBR will
|
---|
| 363 | be backed up and restored byte-for-byte without any analysis. It is likely that
|
---|
[2546] | 364 | you will also need to specify the boot device with \-f <dev>. ELILO is mandatory
|
---|
[1] | 365 | for IA64 machines.
|
---|
| 366 |
|
---|
| 367 | .TP
|
---|
[2937] | 368 | .BI "\-Q "
|
---|
[1] | 369 | Give more detailed information about the boot loader.
|
---|
| 370 |
|
---|
| 371 | .TP
|
---|
[2937] | 372 | .BI "\-K " "loglevel"
|
---|
[907] | 373 | Specify the loglevel. Use 99 for full debug. Standard debug level is 4.
|
---|
[1] | 374 |
|
---|
[948] | 375 | .TP
|
---|
[2937] | 376 | .BI "\-v "
|
---|
[2816] | 377 | Gives mondoarchive version.
|
---|
| 378 |
|
---|
| 379 | .TP
|
---|
[2937] | 380 | .BI "\-z "
|
---|
[2546] | 381 | Use extended attributes and acl for each file and store them in the
|
---|
| 382 | backup media. Use this option if you use SElinux e.g. but it will slow
|
---|
| 383 | down backup and restore time of course.
|
---|
[1] | 384 |
|
---|
[948] | 385 |
|
---|
[1] | 386 | .SH DIAGNOSTICS
|
---|
[1315] | 387 | Mondo generates one additional, and extremely important file:
|
---|
[2546] | 388 | .BI /var/log/mondoarchive.log.
|
---|
| 389 | When seeking technical support, attach this file to your email.
|
---|
[1] | 390 |
|
---|
| 391 |
|
---|
| 392 | .SH FILES
|
---|
[1315] | 393 | .IR /var/log/mondoarchive.log
|
---|
[1] | 394 | This log contains important information required to analyse mondoarchive
|
---|
[1315] | 395 | problem reports. Did I already said that it's highly recommended to send this file with
|
---|
[1] | 396 | support questions.
|
---|
| 397 |
|
---|
[2937] | 398 | .SH ENVIRONMENT VARIABLES
|
---|
| 399 | .IR ARCH
|
---|
| 400 | This variable is passed to the environment by mondoarchive so that
|
---|
| 401 | parted2fdisk.pl is aware of the underlying hardware architecture.
|
---|
[2546] | 402 |
|
---|
[2937] | 403 | .IR MONDO_SHARE
|
---|
| 404 | This variable is passed to the environment by mondoarchive so that
|
---|
| 405 | mindi is aware that it's called from it and act accordingly. It contains
|
---|
| 406 | the shared directory for the mondo package.
|
---|
| 407 |
|
---|
| 408 | .IR PATH
|
---|
| 409 | This variable is modified internally by mondoarchive so that /sbin:/usr/sbin:/usr/local/sbin
|
---|
| 410 | are appended to it systematically in order to find the required tools.
|
---|
| 411 |
|
---|
| 412 | .IR TMPDIR
|
---|
| 413 | This variable is used, if defined, as the target directory to create
|
---|
| 414 | all the temporary files needed during the operation (not the scratch files)
|
---|
| 415 |
|
---|
| 416 | .IR TMP
|
---|
| 417 | This variable is used, if defined and if TMPDIR is not defined, as the target
|
---|
| 418 | directory to create all the temporary files needed during the operation
|
---|
| 419 | (not the scratch files)
|
---|
| 420 |
|
---|
[1] | 421 | .SH NOTES
|
---|
[2546] | 422 | A link to Mondo's HTML-based manual (by Bruno Cornec, Mikael Hultgren,
|
---|
| 423 | Cafeole, Randy Delphs, Stan Benoit, and Hugo Rabson) may be found at
|
---|
[399] | 424 | .I http://www.mondorescue.org/docs.shtml
|
---|
[2546] | 425 | \- or in
|
---|
[1] | 426 | .I /usr/share/doc/mondo-x.xx
|
---|
| 427 | on your hard drive.
|
---|
| 428 |
|
---|
| 429 | .SH BUGS
|
---|
| 430 | It is recommend that your system has more than 64 MB ram. SCSI device order
|
---|
| 431 | change with nuke can have unexpected results. It is recommended you use expert
|
---|
[2546] | 432 | mode with drastic hardware reconfigurations.
|
---|
[1] | 433 |
|
---|
| 434 | .SH EXAMPLES
|
---|
| 435 |
|
---|
| 436 | .BI ISO:
|
---|
| 437 | Backup to a directory; note that /mnt/foo's contents will be backed up except
|
---|
[2546] | 438 | for its ISO's unless you exclude it, as follows:
|
---|
[1] | 439 | .br
|
---|
[2850] | 440 | .I "mondoarchive -Oi -d /mnt/foo -E '/mnt/foo|/mnt/foo2' -p \`hostname\`-\`date +%Y-%m-%d\`"
|
---|
[1] | 441 |
|
---|
| 442 | Backup to ISO's non-interactively, e.g. as a job running in /etc/cron.daily:
|
---|
| 443 | .br
|
---|
[954] | 444 | .I "mkdir -p /bkp/\`date +%A\`; mondoarchive -Oi -9 -d /bkp/\`date +%A\` -E /bkp"
|
---|
[1] | 445 |
|
---|
| 446 | .BI DVD:
|
---|
| 447 | Backup PC using DVD Media:
|
---|
| 448 | .br
|
---|
[570] | 449 | .I "mondoarchive -OVr -d /dev/scd0 -gF -s 4480m"
|
---|
[1] | 450 |
|
---|
| 451 | .BI TAPE:
|
---|
| 452 | Backup to tape, using lzo compression (WARNING - can be unstable):
|
---|
| 453 | .br
|
---|
| 454 | .I "mondoarchive -Ot -d /dev/st0 -L"
|
---|
| 455 |
|
---|
| 456 | Verify existing tape backup which was made with lzo compression:-
|
---|
| 457 | .br
|
---|
| 458 | .I "mondoarchive -Vt -d /dev/st0 -L -g"
|
---|
| 459 |
|
---|
| 460 | Backup to tape, using max compression:
|
---|
| 461 | .br
|
---|
| 462 | .I "mondoarchive -Ot -9 -d /dev/st0 "
|
---|
| 463 |
|
---|
| 464 | .BI CD-R:
|
---|
| 465 | Backup to 700MB CD-R disks using a 16x CD burner:
|
---|
| 466 | .br
|
---|
| 467 | .I "mondoarchive -Oc 16 -s 700m -g"
|
---|
| 468 |
|
---|
| 469 | Verify existing CD-R or CD-RW backup (works for either):-
|
---|
| 470 | .br
|
---|
| 471 | .I "mondoarchive -Vc 16"
|
---|
| 472 |
|
---|
| 473 | .BI CD-RW:
|
---|
| 474 | Backup to 650MB CD-RW disks using a 4x CD ReWriter:
|
---|
| 475 | .br
|
---|
| 476 | .I "mondoarchive -Ow 4"
|
---|
| 477 |
|
---|
| 478 | Backup just your /home and /etc directory to 650MB CD-RW disks using a 4x CD
|
---|
| 479 | ReWriter:
|
---|
| 480 | .br
|
---|
[2850] | 481 | .I "mondoarchive -Ow 4 -I \*(lq/home|/etc\*(rq"
|
---|
[1] | 482 |
|
---|
| 483 | .BI NFS:
|
---|
| 484 | Backup to an NFS mount:
|
---|
| 485 | .br
|
---|
[2382] | 486 | .I "mondoarchive -On nfs://192.168.1.2:/home/nfs -d /Monday -E /mnt/nfs"
|
---|
[1] | 487 |
|
---|
| 488 | Verify existing NFS backup:-
|
---|
| 489 | .br
|
---|
[2382] | 490 | .I "mondoarchive -Vn nfs://192.168.1.2:/home/nfs -d /Monday"
|
---|
[1] | 491 |
|
---|
[1762] | 492 | .BI USB:
|
---|
[2937] | 493 | Backup to your 4GB USB key, using gzip compression:
|
---|
[1762] | 494 | .br
|
---|
[2937] | 495 | .I "mondoarchive -OU -d /dev/sda -s 4g -G"
|
---|
[1762] | 496 |
|
---|
[1] | 497 | .BI RAID:
|
---|
| 498 | Backup PC to a Software Raid mount point, iso size 700mb:
|
---|
| 499 | .br
|
---|
[2546] | 500 | .I "mondoarchive -O -s 700m -d /mnt/raid"
|
---|
[1] | 501 |
|
---|
| 502 |
|
---|
| 503 | .SH "SEE ALSO"
|
---|
[175] | 504 | afio(1), bzip2(1), find(1), mindi(8), mondorestore(8).
|
---|
[1] | 505 | .SH AUTHORS
|
---|
[2546] | 506 | Bruno Cornec (lead-development)
|
---|
[569] | 507 | .I "bruno_at_mondorescue.org"
|
---|
[1] | 508 | .br
|
---|
[2546] | 509 | Andree Leidenfrost (co-developer)
|
---|
[399] | 510 | .I "aleidenf_at_bigpond.net.au"
|
---|
[175] | 511 | .br
|
---|
[399] | 512 | .SH ORIGINAL AUTHORS
|
---|
| 513 | Hugo Rabson (original author)
|
---|
| 514 | .I "hugo.rabson_at_mondorescue.org"
|
---|
[175] | 515 | .br
|
---|
| 516 | Jesse Keating (original RPM packager)
|
---|
[399] | 517 | .I "hosting_at_j2solutions.net"
|
---|
[1] | 518 | .br
|
---|
| 519 | Stan Benoit (testing)
|
---|
[399] | 520 | .I "troff_at_nakedsoul.org"
|
---|
[1] | 521 | .br
|
---|
| 522 | Mikael Hultgren (docs)
|
---|
[399] | 523 | .I "mikael_hultgren_at_gmx.net"
|
---|
[1] | 524 | .br
|
---|
[116] | 525 | See mailing list at http://www.mondorescue.org for technical support.
|
---|