|
cvsdist |
7d4571 |
#
|
|
cvsdist |
7d4571 |
# amanda.conf - sample Amanda configuration file. This started off life as
|
|
cvsdist |
7d4571 |
# the actual config file in use at CS.UMD.EDU.
|
|
cvsdist |
7d4571 |
#
|
|
cvsdist |
7d4571 |
# If your configuration is called, say, "csd", then this file normally goes
|
|
cvsdist |
7d4571 |
# in /etc/amanda/csd/amanda.conf.
|
|
cvsdist |
7d4571 |
#
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
org "DailySet1" # your organization name for reports
|
|
cvsdist |
4a0a94 |
mailto "amanda" # space separated list of operators at your site
|
|
cvsdist |
4a0a94 |
dumpuser "amanda" # the user to run dumps under
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
inparallel 4 # maximum dumpers that will run in parallel
|
|
cvsdist |
7d4571 |
netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
dumpcycle 4 weeks # the number of days in the normal dump cycle
|
|
cvsdist |
7d4571 |
runspercycle 4 weeks # the number of amdump runs in dumpcycle days
|
|
cvsdist |
7d4571 |
tapecycle 25 tapes # the number of tapes in rotation
|
|
cvsdist |
7d4571 |
# 4 weeks (dumpcycle) times 5 tapes per week (just
|
|
cvsdist |
7d4571 |
# the weekdays) plus a few to handle errors that
|
|
cvsdist |
7d4571 |
# need amflush and so we do not overwrite the full
|
|
cvsdist |
7d4571 |
# backups performed at the beginning of the previous
|
|
cvsdist |
7d4571 |
# cycle
|
|
cvsdist |
7d4571 |
### ### ###
|
|
cvsdist |
7d4571 |
# WARNING: don't use `inf' for tapecycle, it's broken!
|
|
cvsdist |
7d4571 |
### ### ###
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2
|
|
cvsdist |
7d4571 |
bumpdays 1 # minimum days at each level
|
|
cvsdist |
7d4571 |
bumpmult 4 # threshold = bumpsize * bumpmult^(level-1)
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
etimeout 300 # number of seconds per filesystem for estimates.
|
|
cvsdist |
7d4571 |
#etimeout -600 # total number of seconds for estimates.
|
|
cvsdist |
7d4571 |
# a positive number will be multiplied by the number of filesystems on
|
|
cvsdist |
7d4571 |
# each host; a negative number will be taken as an absolute total time-out.
|
|
cvsdist |
7d4571 |
# The default is 5 minutes per filesystem.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# Specify tape device and/or tape changer. If you don't have a tape
|
|
cvsdist |
7d4571 |
# changer, and you don't want to use more than one tape per run of
|
|
cvsdist |
7d4571 |
# amdump, just comment out the definition of tpchanger.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# Some tape changers require tapedev to be defined; others will use
|
|
cvsdist |
7d4571 |
# their own tape device selection mechanism. Some use a separate tape
|
|
cvsdist |
7d4571 |
# changer device (changerdev), others will simply ignore this
|
|
cvsdist |
7d4571 |
# parameter. Some rely on a configuration file (changerfile) to
|
|
cvsdist |
7d4571 |
# obtain more information about tape devices, number of slots, etc;
|
|
cvsdist |
7d4571 |
# others just need to store some data in files, whose names will start
|
|
cvsdist |
7d4571 |
# with changerfile. For more information about individual tape
|
|
cvsdist |
7d4571 |
# changers, read docs/TAPE.CHANGERS.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# At most one changerfile entry must be defined; select the most
|
|
cvsdist |
7d4571 |
# appropriate one for your configuration. If you select man-changer,
|
|
cvsdist |
7d4571 |
# keep the first one; if you decide not to use a tape changer, you may
|
|
cvsdist |
7d4571 |
# comment them all out.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
runtapes 1 # number of tapes to be used in a single run of amdump
|
|
cvsdist |
7d4571 |
#tpchanger "chg-manual" # the tape-changer glue script
|
|
cvsdist |
7d4571 |
#tapedev "/dev/null" # the no-rewind tape device to be used
|
|
cvsdist |
7d4571 |
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
|
|
cvsdist |
7d4571 |
#changerfile "/var/lib/amanda/DailySet1/changer"
|
|
cvsdist |
7d4571 |
#changerfile "/var/lib/amanda/DailySet1/changer-status"
|
|
cvsdist |
7d4571 |
#changerfile "/etc/amanda/DailySet1/changer.conf"
|
|
cvsdist |
7d4571 |
#changerdev "/dev/null"
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
tapetype HP-DAT # what kind of tape it is (see tapetypes below)
|
|
cvsdist |
7d4571 |
labelstr "^DailySet1[0-9][0-9]*$" # label constraint regex: all tapes must match
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# Specify holding disks. These are used as a temporary staging area for
|
|
cvsdist |
7d4571 |
# dumps before they are written to tape and are recommended for most sites.
|
|
cvsdist |
7d4571 |
# The advantages include: tape drive is more likely to operate in streaming
|
|
cvsdist |
7d4571 |
# mode (which reduces tape and drive wear, reduces total dump time); multiple
|
|
cvsdist |
7d4571 |
# dumps can be done in parallel (which can dramatically reduce total dump time.
|
|
cvsdist |
7d4571 |
# The main disadvantage is that dumps on the holding disk need to be flushed
|
|
cvsdist |
7d4571 |
# (with amflush) to tape after an operating system crash or a tape failure.
|
|
cvsdist |
7d4571 |
# If no holding disks are specified then all dumps will be written directly
|
|
cvsdist |
7d4571 |
# to tape. If a dump is too big to fit on the holding disk than it will be
|
|
cvsdist |
7d4571 |
# written directly to tape. If more than one holding disk is specified then
|
|
cvsdist |
7d4571 |
# they will all be used round-robin.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
holdingdisk hd1 {
|
|
cvsdist |
7d4571 |
comment "main holding disk"
|
|
cvsdist |
7d4571 |
directory "/var/tmp" # where the holding disk is
|
|
cvsdist |
7d4571 |
use 290 Mb # how much space can we use on it
|
|
cvsdist |
7d4571 |
# a negative value mean:
|
|
cvsdist |
7d4571 |
# use all space except that value
|
|
cvsdist |
4a0a94 |
# chunksize 2 Gb # size of chunk if you want big dump to be
|
|
cvsdist |
7d4571 |
# dumped on multiple files on holding disks
|
|
cvsdist |
7d4571 |
# N Kb/Mb/Gb split disks in chunks of size N
|
|
cvsdist |
7d4571 |
# 0 split disks in INT_MAX/1024 Kb chunks
|
|
cvsdist |
7d4571 |
# -N Kb/Mb/Gb dont split, dump larger
|
|
cvsdist |
7d4571 |
# filesystems directly to tape
|
|
cvsdist |
7d4571 |
# (example: -2 Gb)
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
#holdingdisk hd2 {
|
|
cvsdist |
7d4571 |
# directory "/dumps2/amanda"
|
|
cvsdist |
7d4571 |
# use 1000 Mb
|
|
cvsdist |
7d4571 |
# }
|
|
cvsdist |
7d4571 |
#holdingdisk hd3 {
|
|
cvsdist |
7d4571 |
# directory "/mnt/disk4"
|
|
cvsdist |
7d4571 |
# use 1000 Mb
|
|
cvsdist |
7d4571 |
# }
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# If amanda cannot find a tape on which to store backups, it will run
|
|
cvsdist |
7d4571 |
# as many backups as it can to the holding disks. In order to save
|
|
cvsdist |
7d4571 |
# space for unattended backups, by default, amanda will only perform
|
|
cvsdist |
7d4571 |
# incremental backups in this case, i.e., it will reserve 100% of the
|
|
cvsdist |
7d4571 |
# holding disk space for the so-called degraded mode backups.
|
|
cvsdist |
7d4571 |
# However, if you specify a different value for the `reserve'
|
|
cvsdist |
7d4571 |
# parameter, amanda will not degrade backups if they will fit in the
|
|
cvsdist |
7d4571 |
# non-reserved portion of the holding disk.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# reserve 30 # percent
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# This means save at least 30% of the holding disk space for degraded
|
|
cvsdist |
7d4571 |
# mode backups.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# Amanda needs a few Mb of diskspace for the log and debug files,
|
|
cvsdist |
7d4571 |
# as well as a database. This stuff can grow large, so the conf directory
|
|
cvsdist |
7d4571 |
# isn't usually appropriate. Some sites use /usr/local/var and some /usr/adm.
|
|
cvsdist |
7d4571 |
# Create an amanda directory under there. You need a separate infofile and
|
|
cvsdist |
7d4571 |
# logdir for each configuration, so create subdirectories for each conf and
|
|
cvsdist |
7d4571 |
# put the files there. Specify the locations below.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
infofile "/var/lib/amanda/DailySet1/curinfo" # database filename
|
|
cvsdist |
7d4571 |
logdir "/var/lib/amanda/DailySet1" # log directory
|
|
cvsdist |
7d4571 |
indexdir "/var/lib/amanda/DailySet1/index" # index directory
|
|
cvsdist |
7d4571 |
#tapelist "/var/lib/amanda/DailySet1/tapelist" # list of used tapes
|
|
cvsdist |
7d4571 |
# tapelist is stored, by default, in the directory that contains amanda.conf
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# tapetypes
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# Define the type of tape you use here, and use it in "tapetype"
|
|
cvsdist |
7d4571 |
# above. Some typical types of tapes are included here. The tapetype
|
|
cvsdist |
7d4571 |
# tells amanda how many MB will fit on the tape, how big the filemarks
|
|
cvsdist |
7d4571 |
# are, and how fast the tape device is.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# A filemark is the amount of wasted space every time a tape section
|
|
cvsdist |
7d4571 |
# ends. If you run `make tapetype' in tape-src, you'll get a program
|
|
cvsdist |
7d4571 |
# that generates tapetype entries, but it is slow as hell, use it only
|
|
cvsdist |
7d4571 |
# if you really must and, if you do, make sure you post the data to
|
|
cvsdist |
7d4571 |
# the amanda mailing list, so that others can use what you found out
|
|
cvsdist |
7d4571 |
# by searching the archives.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# For completeness Amanda should calculate the inter-record gaps too,
|
|
cvsdist |
7d4571 |
# but it doesn't. For EXABYTE and DAT tapes this is ok. Anyone using
|
|
cvsdist |
7d4571 |
# 9 tracks for amanda and need IRG calculations? Drop me a note if
|
|
cvsdist |
7d4571 |
# so.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# If you want amanda to print postscript paper tape labels
|
|
cvsdist |
7d4571 |
# add a line after the comment in the tapetype of the form
|
|
cvsdist |
7d4571 |
# lbl-templ "/path/to/postscript/template/label.ps"
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# if you want the label to go to a printer other than the default
|
|
cvsdist |
7d4571 |
# for your system, you can also add a line above for a different
|
|
cvsdist |
7d4571 |
# printer. (i usually add that line after the dumpuser specification)
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# dumpuser "operator" # the user to run dumps under
|
|
cvsdist |
7d4571 |
# printer "mypostscript" # printer to print paper label on
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# here is an example of my definition for an EXB-8500
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# define tapetype EXB-8500 {
|
|
cvsdist |
7d4571 |
# ...
|
|
cvsdist |
7d4571 |
# lbl-templ "/usr/local/amanda/config/lbl.exabyte.ps"
|
|
cvsdist |
7d4571 |
# }
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype QIC-60 {
|
|
cvsdist |
7d4571 |
comment "Archive Viper"
|
|
cvsdist |
7d4571 |
length 60 mbytes
|
|
cvsdist |
7d4571 |
filemark 100 kbytes # don't know a better value
|
|
cvsdist |
7d4571 |
speed 100 kbytes # dito
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype DEC-DLT2000 {
|
|
cvsdist |
7d4571 |
comment "DEC Differential Digital Linear Tape 2000"
|
|
cvsdist |
7d4571 |
length 15000 mbytes
|
|
cvsdist |
7d4571 |
filemark 8 kbytes
|
|
cvsdist |
7d4571 |
speed 1250 kbytes
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# goluboff@butch.Colorado.EDU
|
|
cvsdist |
7d4571 |
# in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)
|
|
cvsdist |
7d4571 |
define tapetype DLT {
|
|
cvsdist |
7d4571 |
comment "DLT tape drives"
|
|
cvsdist |
7d4571 |
length 20000 mbytes # 20 Gig tapes
|
|
cvsdist |
7d4571 |
filemark 2000 kbytes # I don't know what this means
|
|
cvsdist |
7d4571 |
speed 1536 kbytes # 1.5 Mb/s
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype SURESTORE-1200E {
|
|
cvsdist |
7d4571 |
comment "HP AutoLoader"
|
|
cvsdist |
7d4571 |
length 3900 mbytes
|
|
cvsdist |
7d4571 |
filemark 100 kbytes
|
|
cvsdist |
7d4571 |
speed 500 kbytes
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype EXB-8500 {
|
|
cvsdist |
7d4571 |
comment "Exabyte EXB-8500 drive on decent machine"
|
|
cvsdist |
7d4571 |
length 4200 mbytes
|
|
cvsdist |
7d4571 |
filemark 48 kbytes
|
|
cvsdist |
7d4571 |
speed 474 kbytes
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype EXB-8200 {
|
|
cvsdist |
7d4571 |
comment "Exabyte EXB-8200 drive on decent machine"
|
|
cvsdist |
7d4571 |
length 2200 mbytes
|
|
cvsdist |
7d4571 |
filemark 2130 kbytes
|
|
cvsdist |
7d4571 |
speed 240 kbytes
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype HP-DAT {
|
|
cvsdist |
7d4571 |
comment "DAT tape drives"
|
|
cvsdist |
7d4571 |
# data provided by Rob Browning <rlb@cs.utexas.edu>
|
|
cvsdist |
7d4571 |
length 1930 mbytes
|
|
cvsdist |
7d4571 |
filemark 111 kbytes
|
|
cvsdist |
7d4571 |
speed 468 kbytes
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype DAT {
|
|
cvsdist |
7d4571 |
comment "DAT tape drives"
|
|
cvsdist |
7d4571 |
length 1000 mbytes # these numbers are not accurate
|
|
cvsdist |
7d4571 |
filemark 100 kbytes # but you get the idea
|
|
cvsdist |
7d4571 |
speed 100 kbytes
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define tapetype MIMSY-MEGATAPE {
|
|
cvsdist |
7d4571 |
comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"
|
|
cvsdist |
7d4571 |
length 2200 mbytes
|
|
cvsdist |
7d4571 |
filemark 2130 kbytes
|
|
cvsdist |
7d4571 |
speed 170 kbytes # limited by the Emulex bus interface, ugh
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# dumptypes
|
|
cvsdist |
7d4571 |
#
|
|
cvsdist |
7d4571 |
# These are referred to by the disklist file. The dumptype specifies
|
|
cvsdist |
7d4571 |
# certain parameters for dumping including:
|
|
cvsdist |
7d4571 |
# auth - authentication scheme to use between server and client.
|
|
cvsdist |
7d4571 |
# Valid values are "bsd" and "krb4". Default: [auth bsd]
|
|
cvsdist |
7d4571 |
# comment - just a comment string
|
|
cvsdist |
7d4571 |
# comprate - set default compression rate. Should be followed by one or
|
|
cvsdist |
7d4571 |
# two numbers, optionally separated by a comma. The 1st is
|
|
cvsdist |
7d4571 |
# the full compression rate; the 2nd is the incremental rate.
|
|
cvsdist |
7d4571 |
# If the second is omitted, it is assumed equal to the first.
|
|
cvsdist |
7d4571 |
# The numbers represent the amount of the original file the
|
|
cvsdist |
7d4571 |
# compressed file is expected to take up.
|
|
cvsdist |
7d4571 |
# Default: [comprate 0.50, 0.50]
|
|
cvsdist |
7d4571 |
# compress - specify compression of the backed up data. Valid values are:
|
|
cvsdist |
7d4571 |
# "none" - don't compress the dump output.
|
|
cvsdist |
7d4571 |
# "client best" - compress on the client using the best (and
|
|
cvsdist |
7d4571 |
# probably slowest) algorithm.
|
|
cvsdist |
7d4571 |
# "client fast" - compress on the client using fast algorithm.
|
|
cvsdist |
7d4571 |
# "server best" - compress on the tape host using the best (and
|
|
cvsdist |
7d4571 |
# probably slowest) algorithm.
|
|
cvsdist |
7d4571 |
# "server fast" - compress on the tape host using a fast
|
|
cvsdist |
7d4571 |
# algorithm. This may be useful when a fast
|
|
cvsdist |
7d4571 |
# tape host is backing up slow clients.
|
|
cvsdist |
7d4571 |
# Default: [compress client fast]
|
|
cvsdist |
7d4571 |
# dumpcycle - set the number of days in the dump cycle, ie, set how often a
|
|
cvsdist |
7d4571 |
# full dump should be performed. Default: from DUMPCYCLE above
|
|
cvsdist |
7d4571 |
# exclude - specify files and directories to be excluded from the dump.
|
|
cvsdist |
7d4571 |
# Useful with gnutar only; silently ignored by dump and samba.
|
|
cvsdist |
7d4571 |
# Valid values are:
|
|
cvsdist |
7d4571 |
# "pattern" - a shell glob pattern defining which files
|
|
cvsdist |
7d4571 |
# to exclude.
|
|
cvsdist |
7d4571 |
# gnutar gets --exclude="pattern"
|
|
cvsdist |
7d4571 |
# list "filename" - a file (on the client!) containing patterns
|
|
cvsdist |
7d4571 |
# re's (1 per line) defining which files to
|
|
cvsdist |
7d4571 |
# exclude.
|
|
cvsdist |
7d4571 |
# gnutar gets --exclude-from="filename"
|
|
cvsdist |
7d4571 |
# Note that the `full pathname' of a file within its
|
|
cvsdist |
7d4571 |
# filesystem starts with `./', because of the way amanda runs
|
|
cvsdist |
7d4571 |
# gnutar: `tar -C $mountpoint -cf - --lots-of-options .' (note
|
|
cvsdist |
7d4571 |
# the final dot!) Thus, if you're backing up `/usr' with a
|
|
cvsdist |
7d4571 |
# diskfile entry like ``host /usr gnutar-root', but you don't
|
|
cvsdist |
7d4571 |
# want to backup /usr/tmp, your exclude list should contain
|
|
cvsdist |
7d4571 |
# the pattern `./tmp', as this is relative to the `/usr' above.
|
|
cvsdist |
7d4571 |
# Please refer to the man-page of gnutar for more information.
|
|
cvsdist |
7d4571 |
# Default: include all files
|
|
cvsdist |
7d4571 |
# holdingdisk - should the holding disk be used for this dump. Useful for
|
|
cvsdist |
7d4571 |
# dumping the holding disk itself. Default: [holdingdisk yes]
|
|
cvsdist |
7d4571 |
# ignore - do not back this filesystem up. Useful for sharing a single
|
|
cvsdist |
7d4571 |
# disklist in several configurations.
|
|
cvsdist |
7d4571 |
# index - keep an index of the files backed up. Default: [index no]
|
|
cvsdist |
7d4571 |
# kencrypt - encrypt the data stream between the client and server.
|
|
cvsdist |
7d4571 |
# Default: [kencrypt no]
|
|
cvsdist |
7d4571 |
# maxdumps - max number of concurrent dumps to run on the client.
|
|
cvsdist |
7d4571 |
# Default: [maxdumps 1]
|
|
cvsdist |
7d4571 |
# priority - priority level of the dump. Valid levels are "low", "medium"
|
|
cvsdist |
7d4571 |
# or "high". These are really only used when Amanda has no
|
|
cvsdist |
7d4571 |
# tape to write to because of some error. In that "degraded
|
|
cvsdist |
7d4571 |
# mode", as many incrementals as will fit on the holding disk
|
|
cvsdist |
7d4571 |
# are done, higher priority first, to insure the important
|
|
cvsdist |
7d4571 |
# disks are at least dumped. Default: [priority medium]
|
|
cvsdist |
7d4571 |
# program - specify the dump system to use. Valid values are "DUMP" and
|
|
cvsdist |
7d4571 |
# "GNUTAR". Default: [program "DUMP"].
|
|
cvsdist |
7d4571 |
# record - record the dump in /etc/dumpdates. Default: [record yes]
|
|
cvsdist |
7d4571 |
# skip-full - skip the disk when a level 0 is due, to allow full backups
|
|
cvsdist |
7d4571 |
# outside Amanda, eg when the machine is in single-user mode.
|
|
cvsdist |
7d4571 |
# skip-incr - skip the disk when the level 0 is NOT due. This is used in
|
|
cvsdist |
7d4571 |
# archive configurations, where only full dumps are done and
|
|
cvsdist |
7d4571 |
# the tapes saved.
|
|
cvsdist |
7d4571 |
# starttime - delay the start of the dump? Default: no delay
|
|
cvsdist |
7d4571 |
# strategy - set the dump strategy. Valid strategies are currently:
|
|
cvsdist |
7d4571 |
# "standard" - the standard one.
|
|
cvsdist |
7d4571 |
# "nofull" - do level 1 dumps every time. This can be used,
|
|
cvsdist |
7d4571 |
# for example, for small root filesystems that
|
|
cvsdist |
7d4571 |
# only change slightly relative to a site-wide
|
|
cvsdist |
7d4571 |
# prototype. Amanda then backs up just the
|
|
cvsdist |
7d4571 |
# changes.
|
|
cvsdist |
7d4571 |
# "noinc" - do level 0 dumps every time.
|
|
cvsdist |
7d4571 |
# Unfortunately, this is not currently
|
|
cvsdist |
7d4571 |
# implemented. Use `dumpcycle 0'
|
|
cvsdist |
7d4571 |
# instead.
|
|
cvsdist |
7d4571 |
# "skip" - skip all dumps. Useful for sharing a single
|
|
cvsdist |
7d4571 |
# disklist in several configurations.
|
|
cvsdist |
7d4571 |
# Default: [strategy standard]
|
|
cvsdist |
7d4571 |
#
|
|
cvsdist |
7d4571 |
# Note that you may specify previously defined dumptypes as a shorthand way
|
|
cvsdist |
7d4571 |
# of defining parameters.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype global {
|
|
cvsdist |
7d4571 |
comment "Global definitions"
|
|
cvsdist |
7d4571 |
# This is quite useful for setting global parameters, so you don't have
|
|
cvsdist |
7d4571 |
# to type them everywhere. All dumptype definitions in this sample file
|
|
cvsdist |
7d4571 |
# do include these definitions, either directly or indirectly.
|
|
cvsdist |
7d4571 |
# There's nothing special about the name `global'; if you create any
|
|
cvsdist |
7d4571 |
# dumptype that does not contain the word `global' or the name of any
|
|
cvsdist |
7d4571 |
# other dumptype that contains it, these definitions won't apply.
|
|
cvsdist |
7d4571 |
# Note that these definitions may be overridden in other
|
|
cvsdist |
7d4571 |
# dumptypes, if the redefinitions appear *after* the `global'
|
|
cvsdist |
7d4571 |
# dumptype name.
|
|
cvsdist |
7d4571 |
# You may want to use this for globally enabling or disabling
|
|
cvsdist |
7d4571 |
# indexing, recording, etc. Some examples:
|
|
cvsdist |
7d4571 |
# index yes
|
|
cvsdist |
7d4571 |
# record no
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype always-full {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
comment "Full dump of this filesystem always"
|
|
cvsdist |
7d4571 |
compress none
|
|
cvsdist |
7d4571 |
priority high
|
|
cvsdist |
7d4571 |
dumpcycle 0
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype root-tar {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
program "GNUTAR"
|
|
cvsdist |
7d4571 |
comment "root partitions dumped with tar"
|
|
cvsdist |
7d4571 |
compress none
|
|
cvsdist |
7d4571 |
index
|
|
cvsdist |
7d4571 |
exclude list "/usr/local/lib/amanda/exclude.gtar"
|
|
cvsdist |
7d4571 |
priority low
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype user-tar {
|
|
cvsdist |
7d4571 |
root-tar
|
|
cvsdist |
7d4571 |
comment "user partitions dumped with tar"
|
|
cvsdist |
7d4571 |
priority medium
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype high-tar {
|
|
cvsdist |
7d4571 |
root-tar
|
|
cvsdist |
7d4571 |
comment "partitions dumped with tar"
|
|
cvsdist |
7d4571 |
priority high
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype comp-root-tar {
|
|
cvsdist |
7d4571 |
root-tar
|
|
cvsdist |
7d4571 |
comment "Root partitions with compression"
|
|
cvsdist |
7d4571 |
compress client fast
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype comp-user-tar {
|
|
cvsdist |
7d4571 |
user-tar
|
|
cvsdist |
7d4571 |
compress client fast
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype holding-disk {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
comment "The master-host holding disk itself"
|
|
cvsdist |
7d4571 |
holdingdisk no # do not use the holding disk
|
|
cvsdist |
7d4571 |
priority medium
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype comp-user {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
comment "Non-root partitions on reasonably fast machines"
|
|
cvsdist |
7d4571 |
compress client fast
|
|
cvsdist |
7d4571 |
priority medium
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype nocomp-user {
|
|
cvsdist |
7d4571 |
comp-user
|
|
cvsdist |
7d4571 |
comment "Non-root partitions on slow machines"
|
|
cvsdist |
7d4571 |
compress none
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype comp-root {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
comment "Root partitions with compression"
|
|
cvsdist |
7d4571 |
compress client fast
|
|
cvsdist |
7d4571 |
priority low
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype nocomp-root {
|
|
cvsdist |
7d4571 |
comp-root
|
|
cvsdist |
7d4571 |
comment "Root partitions without compression"
|
|
cvsdist |
7d4571 |
compress none
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype comp-high {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
comment "very important partitions on fast machines"
|
|
cvsdist |
7d4571 |
compress client best
|
|
cvsdist |
7d4571 |
priority high
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype nocomp-high {
|
|
cvsdist |
7d4571 |
comp-high
|
|
cvsdist |
7d4571 |
comment "very important partitions on slow machines"
|
|
cvsdist |
7d4571 |
compress none
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype nocomp-test {
|
|
cvsdist |
7d4571 |
global
|
|
cvsdist |
7d4571 |
comment "test dump without compression, no /etc/dumpdates recording"
|
|
cvsdist |
7d4571 |
compress none
|
|
cvsdist |
7d4571 |
record no
|
|
cvsdist |
7d4571 |
priority medium
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define dumptype comp-test {
|
|
cvsdist |
7d4571 |
nocomp-test
|
|
cvsdist |
7d4571 |
comment "test dump with compression, no /etc/dumpdates recording"
|
|
cvsdist |
7d4571 |
compress client fast
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# network interfaces
|
|
cvsdist |
7d4571 |
#
|
|
cvsdist |
7d4571 |
# These are referred to by the disklist file. They define the attributes
|
|
cvsdist |
7d4571 |
# of the network interface that the remote machine is accessed through.
|
|
cvsdist |
7d4571 |
# Notes: - netusage above defines the attributes that are used when the
|
|
cvsdist |
7d4571 |
# disklist entry doesn't specify otherwise.
|
|
cvsdist |
7d4571 |
# - the values below are only samples.
|
|
cvsdist |
7d4571 |
# - specifying an interface does not force the traffic to pass
|
|
cvsdist |
7d4571 |
# through that interface. Your OS routing tables do that. This
|
|
cvsdist |
7d4571 |
# is just a mechanism to stop Amanda trashing your network.
|
|
cvsdist |
7d4571 |
# Attributes are:
|
|
cvsdist |
7d4571 |
# use - bandwidth above which amanda won't start
|
|
cvsdist |
7d4571 |
# backups using this interface. Note that if
|
|
cvsdist |
7d4571 |
# a single backup will take more than that,
|
|
cvsdist |
7d4571 |
# amanda won't try to make it run slower!
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define interface local {
|
|
cvsdist |
7d4571 |
comment "a local disk"
|
|
cvsdist |
7d4571 |
use 1000 kbps
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
define interface eth0 {
|
|
cvsdist |
7d4571 |
comment "10 Mbps ethernet"
|
|
cvsdist |
7d4571 |
use 400 kbps
|
|
cvsdist |
7d4571 |
}
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
# You may include other amanda configuration files, so you can share
|
|
cvsdist |
7d4571 |
# dumptypes, tapetypes and interface definitions among several
|
|
cvsdist |
7d4571 |
# configurations.
|
|
cvsdist |
7d4571 |
|
|
cvsdist |
7d4571 |
#includefile "/usr/local/amanda.conf.main"
|