# amanda.conf - sample Amanda configuration file. See amanda.conf(5) for # details org "DailySet1" # your organization name for reports mailto "my@mail.com" # space separated list of operators at your site dumpuser "root" # the user to run dumps under inparallel 4 # maximum dumpers that will run in parallel (max 63) # this maximum can be increased at compile-time, # modifying MAX_DUMPERS in server-src/driverio.h dumporder "sssS" # specify the priority order of each dumper # s -> smallest size # S -> biggest size # t -> smallest time # T -> biggest time # b -> smallest bandwitdh # B -> biggest bandwitdh # try "BTBTBTBTBTBT" if you are not holding # disk constrained taperalgo first # The algorithm used to choose which dump image to send # to the taper. # Possible values: # [first|firstfit|largest|largestfit|smallest|last] # Default: first. # first First in - first out. # firstfit The first dump image that will fit # on the current tape. # largest The largest dump image. # largestfit The largest dump image that will fit # on the current tape. # smallest The smallest dump image. # last Last in - first out. displayunit "m" # Possible values: "k|m|g|t" # Default: k. # The unit used to print many numbers. # k=kilo, m=mega, g=giga, t=tera netusage 800 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 4 weeks # the number of days in the normal dump cycle runspercycle 20 # the number of amdump runs in dumpcycle days # (4 weeks * 5 amdump runs per week -- just weekdays) tapecycle 25 tapes # the number of tapes in rotation # 4 weeks (dumpcycle) times 5 tapes per week (just # the weekdays) plus a few to handle errors that # need amflush and so we do not overwrite the full # backups performed at the beginning of the previous # cycle bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2 bumppercent 20 # minimum savings (threshold) to bump level 1 -> 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout 300 # number of seconds per filesystem for estimates. dtimeout 1800 # number of idle seconds before a dump is aborted. ctimeout 30 # maximum number of seconds that amcheck waits # for each client host tapebufs 20 # A positive integer telling taper how many # 32k buffers to allocate. The default is 20 (640k). # By default, Amanda can only track at most one run per calendar day. When # the usetimestamps option is enabled, however, Amanda can track as many # runs as you care to make. # WARNING: This option is not backward-compatible. Do not enable it if you # intend to downgrade your server installation to Amanda community # edition 2.5 usetimestamps yes runtapes 1 # number of tapes to be used in a single run of amdump #tpchanger "chg-manual" # the tape-changer glue script #tapedev "" # the no-rewind tape device to be used tapedev "file:/backup/amanda" #rawtapedev "/dev/null" # the raw device to be used (ftape only) maxdumpsize -1 # Maximum number of bytes the planner will schedule # for a run (default: runtapes * tape_length). #tapetype HP-DAT # what kind of tape it is (see tapetypes below) tapetype DVD47G #labelstr "^DailySet1-[0-9][0-9]*$" # label constraint regex: all tapes must match labelstr "^daily-[0-9][0-9]*$" # label constraint regex: all tapes must match amrecover_do_fsf yes # amrecover will call amrestore with the # -f flag for faster positioning of the tape. amrecover_check_label yes # amrecover will call amrestore with the # -l flag to check the label. amrecover_changer "" # amrecover will use the changer if you restore # from this device. # It could be a string like 'changer' and # amrecover will use your changer if you # set your tape with 'settape changer' holdingdisk hd1 { comment "main holding disk" directory "/backup/amanda" # where the holding disk is use -100 Mb # how much space can we use on it # a non-positive value means: # use all space but that value chunksize 1Gb # size of chunk if you want big dump to be # dumped on multiple files on holding disks # N Kb/Mb/Gb split images in chunks of size N # The maximum value should be # (MAX_FILE_SIZE - 1Mb) # 0 same as INT_MAX bytes } autoflush no # infofile "/usr/local/etc/amanda/DailySet1/curinfo" # database DIRECTORY logdir "/usr/local/etc/amanda/DailySet1" # log directory indexdir "/usr/local/etc/amanda/DailySet1/index" # index directory define dumptype global { comment "Global definitions" # This is quite useful for setting global parameters, so you don't have # to type them everywhere. All dumptype definitions in this sample file # do include these definitions, either directly or indirectly. # There's nothing special about the name `global'; if you create any # dumptype that does not contain the word `global' or the name of any # other dumptype that contains it, these definitions won't apply. # Note that these definitions may be overridden in other # dumptypes, if the redefinitions appear *after* the `global' # dumptype name. # You may want to use this for globally enabling or disabling # indexing, recording, etc. Some examples: # index yes # record no # split_diskbuffer "/raid/amanda" # fallback_splitsize 64m } define dumptype always-full { global comment "Full dump of this filesystem always" compress none priority high dumpcycle 0 } # Dumptypes for gnutar define dumptype root-tar { global program "GNUTAR" comment "root partitions dumped with tar" compress none index # exclude list "/usr/local/etc/amanda/exclude.gtar" priority low } define dumptype user-tar { root-tar comment "user partitions dumped with tar" priority medium } define dumptype user-tar-span { root-tar tape_splitsize 3 Gb comment "tape-spanning user partitions dumped with tar" priority medium } define dumptype high-tar { root-tar comment "partitions dumped with tar" priority high } define dumptype comp-root-tar { root-tar comment "Root partitions with compression" compress client fast } define dumptype comp-user-tar { user-tar compress client fast } define dumptype comp-user-tar-span { user-tar-span compress client fast } define dumptype holding-disk { global comment "The master-host holding disk itself" holdingdisk never # do not use the holding disk priority medium } define dumptype comp-user { global comment "Non-root partitions on reasonably fast machines" compress client fast priority medium } define dumptype comp-user-span { global tape_splitsize 5 Gb comment "Tape-spanning non-root partitions on reasonably fast machines" compress client fast priority medium } define dumptype nocomp-user { comp-user comment "Non-root partitions on slow machines" compress none } define dumptype nocomp-user-span { comp-user-span comment "Tape-spanning non-root partitions on slow machines" compress none } define dumptype comp-root { global comment "Root partitions with compression" compress client fast priority low } define dumptype nocomp-root { comp-root comment "Root partitions without compression" compress none } define dumptype comp-high { global comment "very important partitions on fast machines" compress client best priority high } define dumptype nocomp-high { comp-high comment "very important partitions on slow machines" compress none } define dumptype nocomp-test { global comment "test dump without compression, no /etc/dumpdates recording" compress none record no priority medium } define dumptype comp-test { nocomp-test comment "test dump with compression, no /etc/dumpdates recording" compress client fast } define dumptype custom-compress { global program "GNUTAR" comment "custom client compression dumped with tar" compress client custom client_custom_compress "/usr/bin/bzip2" } define dumptype server-encrypt-fast { global program "GNUTAR" comment "fast client compression and server symmetric encryption" compress client fast encrypt server server_encrypt "/usr/sbin/amcrypt" server_decrypt_option "-d" } define dumptype client-encrypt-nocomp { global program "GNUTAR" comment "no compression and client symmetric encryption" compress none encrypt client client_encrypt "/usr/sbin/amcrypt" client_decrypt_option "-d" } # To use gpg public-key encryption, gpg does compress with zlib by default. # Thus, no need to specify compress #define dumptype gpg-encrypt { # global # program "GNUTAR" # comment "server public-key encryption, dumped with tar" # compress none # encrypt server # server_encrypt "/usr/sbin/amgpgcrypt" # server_decrypt_option "-d" #} # network interfaces # # These are referred to by the disklist file. They define the attributes # of the network interface that the remote machine is accessed through. # Notes: - netusage above defines the attributes that are used when the # disklist entry doesn't specify otherwise. # - the values below are only samples. # - specifying an interface does not force the traffic to pass # through that interface. Your OS routing tables do that. This # is just a mechanism to stop Amanda trashing your network. # Attributes are: # use - bandwidth above which amanda won't start # backups using this interface. Note that if # a single backup will take more than that, # amanda won't try to make it run slower! define interface local { comment "a local disk" use 1000 kbps } define interface le0 { comment "10 Mbps ethernet" use 400 kbps } define tapetype DVD47G { length 4350 MB filemark 4KB } # You may include other amanda configuration files, so you can share # dumptypes, tapetypes and interface definitions among several # configurations. #includefile "/usr/local/etc/amanda/amanda.conf.main"