Imported Upstream version 2.6.1
[debian/amanda] / example / template.d / amanda-S3.conf.in
index 96592d62d301ef838751df3b5baca15253136547..149fc9efa057ce57da3ca999fe1549d82762548d 100644 (file)
@@ -14,7 +14,7 @@ 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)
+tapetype S3    # what kind of tape it is (see tapetypes below)
 
 holdingdisk hd2 {
     directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@"
@@ -34,9 +34,18 @@ define dumptype global {
         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
@@ -47,6 +56,10 @@ define tapetype HARDDISK {
     length 5000 mbytes
 }
 
+define tapetype S3 {
+    comment "S3 Bucket"
+    length 10240 gigabytes # Bucket size 10TB
+}
 
 includefile "./advanced.conf"
 includefile "@CONFIG_DIR@/template.d/dumptypes"