Blob Blame History Raw
org "@DEFAULT_CONFIG@"	# your organization name for reports
mailto "@CLIENT_LOGIN@"	# space separated list of operators at your site
dumpcycle 1 week	# the number of days in the normal dump cycle
runspercycle 5          # the number of amdump runs in dumpcycle days
			# (1 week * 5 amdump runs per week -- just weekdays)
tapecycle 10 tapes	# the number of tapes in rotation
			# 1 week (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
runtapes 1		# number of tapes to be used in a single run of amdump

define changer my_s3 {
    tpchanger "chg-multi:"
    device-property "S3_ACCESS_KEY" ""
    device-property "S3_SECRET_KEY" ""
    device-property "NB_THREADS_BACKUP" "3"
}
tpchanger "my_s3"
tapetype S3	# what kind of tape it is (see tapetypes below)

holdingdisk hd2 {
    directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@"
    use 1000 Mb
    }

autolabel "@DEFAULT_CONFIG@-%%%%" empty
labelstr "^@DEFAULT_CONFIG@-[0-9][0-9]*$"	# label constraint regex: all tapes must match

dtimeout 1800		# number of idle seconds before a dump is aborted.
ctimeout 30		# maximum number of seconds that amcheck waits
			# for each client host
etimeout 300		# number of seconds per filesystem for estimates.

define dumptype global {
        comment "Global definitions"
        auth "bsdtcp"
}

#define application-tool and dumptype for the amgtar application
define application-tool app_amgtar {
    comment "amgtar"
    plugin  "amgtar"
    property "XATTRS" "YES"
    #property "GNUTAR-PATH" "/path/to/gtar"
    #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
}

define dumptype gui-base {
        global
        program "APPLICATION"
        application "app_amgtar"
        comment "gui base dumptype dumped with tar"
        compress none
        index yes
}

define tapetype S3 {
    comment "S3 pseudo-tape"
    length 10240 gigabytes
    part_size 100G
    part_cache_type none
}

includefile "./advanced.conf"
includefile "@CONFIG_DIR@/template.d/dumptypes"
includefile "@CONFIG_DIR@/template.d/tapetypes"