# 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"
+
+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 {
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.
index yes
}
-define tapetype HARDDISK {
- comment "Virtual Tapes"
- length 5000 mbytes
-}
-
define tapetype S3 {
- comment "S3 Bucket"
- length 10240 gigabytes # Bucket size 10TB
+ comment "S3 pseudo-tape"
+ length 10240 gigabytes
+ part_size 100G
+ part_cache_type none
}
includefile "./advanced.conf"