# backups performed at the beginning of the previous
# cycle
runtapes 1 # number of tapes to be used in a single run of amdump
-tpchanger "chg-multi" # the tape-changer glue script
-tapedev "S3:" # the no-rewind tape device to be used
-changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
-#changerdev "/dev/sg1"
-tapetype HARDDISK # what kind of tape it is (see tapetypes below)
+
+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
}
-label_new_tapes "@DEFAULT_CONFIG@-%%%%" # Enable auto labeling
+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.
auth "bsdtcp"
}
+#define application-tool and dumptype for the amgtar application
+define application-tool app_amgtar {
+ comment "amgtar"
+ plugin "amgtar"
+ #property "GNUTAR-PATH" "/path/to/gtar"
+ #property "GNUTAR-LISTDIR" "/path/to/gnutar_list_dir"
+}
+
define dumptype gui-base {
global
- program "GNUTAR"
+ program "APPLICATION"
+ application "app_amgtar"
comment "gui base dumptype dumped with tar"
compress none
index yes
}
-define tapetype HARDDISK {
- comment "Virtual Tapes"
- length 5000 mbytes
+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"