# 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-disk" # the tape-changer glue script
-tapedev "file://var/lib/amanda/vtapes/@DEFAULT_CONFIG@" # the no-rewind tape device to be used
-changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/changer.conf"
-changerdev "/dev/null"
+
+define changer my_vtapes {
+ tpchanger "chg-disk:/@prefix@/var/lib/amanda/vtapes/@DEFAULT_CONFIG@"
+ property "num-slot" "10"
+ property "auto-create-slot" "yes"
+}
+tpchanger "my_vtapes"
tapetype HARDDISK # what kind of tape it is
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
+ part_size 500 mbytes
+ part_cache_type none
}
includefile "./advanced.conf"