lintian doesn't like orphan packages with uploaders...
[debian/amanda] / example / template.d / amanda-S3.conf.in
index 149fc9efa057ce57da3ca999fe1549d82762548d..8c0d43b9861c50b90ef60ceefaf6807ed4d7a878 100644 (file)
@@ -10,10 +10,14 @@ tapecycle 10 tapes  # the number of tapes in rotation
                        # 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 {
@@ -21,7 +25,7 @@ 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.
@@ -51,14 +55,11 @@ define dumptype gui-base {
         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"