projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use of ../amanda looks out of date
[debian/amanda]
/
example
/
template.d
/
amanda-single-tape.conf.in
diff --git
a/example/template.d/amanda-single-tape.conf.in
b/example/template.d/amanda-single-tape.conf.in
index 60123055a43913ad5d317f442bbead2928051f7d..c4fde14914ede2dd56b3db06f2341a0f68e358b7 100644
(file)
--- a/
example/template.d/amanda-single-tape.conf.in
+++ b/
example/template.d/amanda-single-tape.conf.in
@@
-11,10
+11,11
@@
tapecycle 10 tapes # the number of tapes in rotation
# cycle
runtapes 1 # number of tapes to be used in a single run of amdump
# cycle
runtapes 1 # number of tapes to be used in a single run of amdump
-tpchanger "chg-manual" # the tape-changer glue script
-tapedev "tape:/dev/nst0" # the no-rewind tape device to be used
-changerfile "@CONFIG_DIR@/@DEFAULT_CONFIG@/chg-manual.conf"
-changerdev "/dev/null"
+
+define changer my_single {
+ tpchanger "chg-single:tape:/dev/nst0"
+}
+tpchanger "my_single"
tapetype HP-DAT # what kind of tape it is (see tapetypes below)
holdingdisk hd2 {
directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@"
tapetype HP-DAT # what kind of tape it is (see tapetypes below)
holdingdisk hd2 {
directory "/var/lib/amanda/holdings/@DEFAULT_CONFIG@"
@@
-34,9
+35,18
@@
define dumptype global {
auth "bsdtcp"
}
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
define dumptype gui-base {
global
- program "GNUTAR"
+ program "APPLICATION"
+ application "app_amgtar"
comment "gui base dumptype dumped with tar"
compress none
index yes
comment "gui base dumptype dumped with tar"
compress none
index yes