⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 amanda.conf.in

📁 开源备份软件源码 AMANDA, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that a
💻 IN
📖 第 1 页 / 共 2 页
字号:
# amanda.conf - sample Amanda configuration file. See amanda.conf(5) for # detailsorg 	 "@DEFAULT_CONFIG@"	# your organization name for reportsmailto 	 "@CLIENT_LOGIN@"	# space separated list of operators at your sitedumpuser "@CLIENT_LOGIN@"	# the user to run dumps underinparallel 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.hdumporder "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 constrainedtaperalgo 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 "k"		# Possible values: "k|m|g|t"			# Default: k. 			# The unit used to print many numbers.			# k=kilo, m=mega, g=giga, t=tera			netusage  8000 Kbps	# maximum net bandwidth for Amanda, in KB per secdumpcycle 4 weeks	# the number of days in the normal dump cyclerunspercycle 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			# cyclebumpsize 20 Mb		# minimum savings (threshold) to bump level 1 -> 2bumppercent 20		# minimum savings (threshold) to bump level 1 -> 2bumpdays 1		# minimum days at each levelbumpmult 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 device_output_buffer_size 1280k                        # amount of buffer space to use when writing to devices# 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.5usetimestamps yes# flush-threshold-dumped, flush-threshold-scheduled, taperflush, and autoflush# are used to control tape utilization. See the amanda.conf (5) manpage for# details on how they work. Taping will not start until all criteria are# satisfied. Here are some examples:## You want to fill tapes completely even in the case of failed dumps, and# don't care if some dumps are left on the holding disk after a run:# flush-threshold-dumped	100 # (or more)# flush-threshold-scheduled	100 # (or more)# taperflush			100# autoflush			yes## You want to improve tape performance by waiting for a complete tape of data# before writing anything. However, all dumps will be flushed; none will# be left on the holding disk.# flush-threshold-dumped	100 # (or more)# flush-threshold-scheduled	100 # (or more)# taperflush	0## You don't want to use a new tape for every run, but want to start writing# to tape as soon as possible:# flush-threshold-dumped	0   # (or more)# flush-threshold-scheduled	100 # (or more)# taperflush	100# autoflush     yes# maxdumpsize   100k # amount of data to dump each run; see above.## You want to keep the most recent dumps on holding disk, for faster recovery.# Older dumps will be rotated to tape during each run.# flush-threshold-dumped	300 # (or more)# flush-threshold-scheduled	300 # (or more)# taperflush	300# autoflush     yes## Defaults:# (no restrictions; flush to tape immediately; don't flush old dumps.)flush-threshold-dumped 0flush-threshold-scheduled 0taperflush 0autoflush no# Specify tape device and/or tape changer.  If you don't have a tape# changer, and you don't want to use more than one tape per run of# amdump, just comment out the definition of tpchanger.# Some tape changers require tapedev to be defined; others will use# their own tape device selection mechanism.  Some use a separate tape# changer device (changerdev), others will simply ignore this# parameter.  Some rely on a configuration file (changerfile) to# obtain more information about tape devices, number of slots, etc;# others just need to store some data in files, whose names will start# with changerfile.  # At most one changerfile entry must be defined; select the most# appropriate one for your configuration.  If you select man-changer,# keep the first one; if you decide not to use a tape changer, you may# comment them all out.runtapes 1			# number of tapes to be used in a single run of amdumptpchanger "chg-manual"		# the tape-changer glue scripttapedev "@EXAMPLE_TAPEDEV@"	# the no-rewind tape device to be used#changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer"#changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer-status"changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"changerdev "@DEFAULT_CHANGER_DEVICE@"# If you want Amanda to automatically label any non-Amanda tapes it# encounters, uncomment the line below. Note that this will ERASE any# non-Amanda tapes you may have, and may also ERASE any near-failing tapes.# Use with caution.## label_new_tapes "@DEFAULT_CONFIG@-%%%"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)labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"	# label constraint regex: all tapes must matchamrecover_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 "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 to 'changer' with 'setdevice changer' or via     # 'tapedev "changer"' in amanda-client.conf# Specify holding disks.  These are used as a temporary staging area for# dumps before they are written to tape and are recommended for most sites.# The advantages include: tape drive is more likely to operate in streaming# mode (which reduces tape and drive wear, reduces total dump time); multiple# dumps can be done in parallel (which can dramatically reduce total dump time.# The main disadvantage is that dumps on the holding disk need to be flushed# (with amflush) to tape after an operating system crash or a tape failure.# If no holding disks are specified then all dumps will be written directly# to tape.  If a dump is too big to fit on the holding disk than it will be# written directly to tape.  If more than one holding disk is specified then# they will all be used based on activity and available space.holdingdisk hd1 {    comment "main holding disk"    directory "/dumps/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    }#holdingdisk hd2 {#    directory "/dumps2/amanda"#    use 1000 Mb#    }#holdingdisk hd3 {#    directory "/mnt/disk4"#    use 1000 Mb#    }# If amanda cannot find a tape on which to store backups, it will run# as many backups as it can to the holding disks.  In order to save# space for unattended backups, by default, amanda will only perform# incremental backups in this case, i.e., it will reserve 100% of the# holding disk space for the so-called degraded mode backups.# However, if you specify a different value for the `reserve'# parameter, amanda will not degrade backups if they will fit in the# non-reserved portion of the holding disk.# reserve 30 # percent# This means save at least 30% of the holding disk space for degraded# mode backups.  # The format for a ColumnSpec is a ',' seperated list of triples.# Each triple consists of#   + the name of the column (as in ColumnNameStrings)#   + prefix before the column#   + the width of the column, if set to -1 it will be recalculated#     to the maximum length of a line to print.# Example:# 	"Disk=1:17,HostName=1:10,OutKB=1:7"# or# 	"Disk=1:-1,HostName=1:10,OutKB=1:7"#        # You need only specify those colums that should be changed from# the default. If nothing is specified in the configfile, the# above compiled in values will be in effect, resulting in an# output as it was all the time.# The names of the colums are:# HostName, Disk, Level, OrigKB, OutKB, Compress, DumpTime, DumpRate,# TapeTime and TapeRate.#							ElB, 1999-02-24.# columnspec "Disk=1:18,HostName=0:10,OutKB=1:7"# Amanda needs a few Mb of diskspace for the log and debug files,# as well as a database.  This stuff can grow large, so the conf directory# isn't usually appropriate.  Some sites use /usr/local/var and some /usr/adm.# Create an amanda directory under there.  You need a separate infofile and# logdir for each configuration, so create subdirectories for each conf and# put the files there.  Specify the locations below.# Note that, although the keyword below is infofile, it is only so for# historic reasons, since now it is supposed to be a directory (unless# you have selected some database format other than the `text' default)infofile "@CONFIG_DIR@/@DEFAULT_CONFIG@/curinfo"	# database DIRECTORYlogdir   "@CONFIG_DIR@/@DEFAULT_CONFIG@"		# log directoryindexdir "@CONFIG_DIR@/@DEFAULT_CONFIG@/index"		# index directory#tapelist "@CONFIG_DIR@/@DEFAULT_CONFIG@/tapelist"	# list of used tapes# tapelist is stored, by default, in the directory that contains amanda.conf# tapetypes# Define the type of tape you use here, and use it in "tapetype"# above.  Some typical types of tapes are included here.  The tapetype# tells amanda how many MB will fit on the tape, how big the filemarks# are, and how fast the tape device is.# A filemark is the amount of wasted space every time a tape section# ends.  If you run `make tapetype' in tape-src, you'll get a program# that generates tapetype entries, but it is slow as hell, use it only# if you really must and, if you do, make sure you post the data to# the amanda mailing list, so that others can use what you found out# by searching the archives.# For completeness Amanda should calculate the inter-record gaps too,# but it doesn't.  For EXABYTE and DAT tapes this is ok.  Anyone using# 9 tracks for amanda and need IRG calculations?  Drop me a note if# so.# If you want amanda to print postscript paper tape labels# add a line after the comment in the tapetype of the form#    lbl-templ "/path/to/postscript/template/label.ps"# if you want the label to go to a printer other than the default# for your system, you can also add a line above for a different# printer. (i usually add that line after the dumpuser specification)# dumpuser "operator"     # the user to run dumps under# printer "mypostscript"  # printer to print paper label on# here is an example of my definition for an EXB-8500# define tapetype EXB-8500 {# ...#     lbl-templ "@CONFIG_DIR@/config/lbl.exabyte.ps"# }define tapetype QIC-60 {    comment "Archive Viper"    length 60 mbytes    filemark 100 kbytes		# don't know a better value    speed 100 kbytes		# dito}define tapetype DEC-DLT2000 {    comment "DEC Differential Digital Linear Tape 2000"    length 15000 mbytes    filemark 8 kbytes    speed 1250 kbytes}# goluboff@butch.Colorado.EDU# in amanda-users (Thu Dec 26 01:55:38 MEZ 1996)define tapetype DLT {    comment "DLT tape drives"    length 20000 mbytes		# 20 Gig tapes    filemark 2000 kbytes	# I don't know what this means    speed 1536 kbytes		# 1.5 Mb/s}define tapetype SURESTORE-1200E {    comment "HP AutoLoader"    length 3900 mbytes    filemark 100 kbytes    speed 500 kbytes}define tapetype EXB-8500 {    comment "Exabyte EXB-8500 drive on decent machine"    length 4200 mbytes    filemark 48 kbytes    speed 474 kbytes			}define tapetype EXB-8200 {    comment "Exabyte EXB-8200 drive on decent machine"    length 2200 mbytes    filemark 2130 kbytes    speed 240 kbytes			}define tapetype HP-DAT {    comment "DAT tape drives"    # data provided by Rob Browning <rlb@cs.utexas.edu>    length 1930 mbytes    filemark 111 kbytes    speed 468 kbytes}define tapetype DAT {    comment "DAT tape drives"    length 1000 mbytes		# these numbers are not accurate    filemark 100 kbytes		# but you get the idea    speed 100 kbytes}define tapetype MIMSY-MEGATAPE {    comment "Megatape (Exabyte based) drive through Emulex on Vax 8600"    length 2200 mbytes    filemark 2130 kbytes    speed 170 kbytes		# limited by the Emulex bus interface, ugh}define tapetype SEAGATE-ULTRIUM-LTO {     comment "SEAGATE ULTRIUM 06242 LTO, compression off"     length 99584 mbytes     filemark 0 kbytes     speed 11288 kps}# dumptypes## These are referred to by the disklist file.  The dumptype specifies# certain parameters for dumping including:#   auth	- authentication scheme to use between server and client.#		  Valid values are "bsd", "krb4", "krb5" and "ssh".  #		  Default: [auth bsd]#   comment	- just a comment string#   comprate	- set default compression rate.  Should be followed by one or#		  two numbers, optionally separated by a comma.  The 1st is#		  the full compression rate; the 2nd is the incremental rate.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -