From: Kern Sibbald Date: Tue, 2 Aug 2005 15:45:06 +0000 (+0000) Subject: Updates X-Git-Tag: Release-1.38.0~227 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b93a5ba8a58205b08cf427ab88afe4b7a13821b;p=bacula%2Fbacula Updates git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2277 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/bacula-dir-tape.conf.in b/regress/scripts/bacula-dir-tape.conf.in index 865d7bf398..c7fa058ae8 100644 --- a/regress/scripts/bacula-dir-tape.conf.in +++ b/regress/scripts/bacula-dir-tape.conf.in @@ -142,3 +142,22 @@ Pool { Volume Retention = 365d # one year Accept Any Volume = yes # write on any volume in the pool } + +Pool { + Name = Full + Pool Type = Backup + Recycle = yes # Bacula can automatically recycle Volumes + AutoPrune = yes # Prune expired volumes + Volume Retention = 365d # one year + Accept Any Volume = yes # write on any volume in the pool +} + +Pool { + Name = Inc + Pool Type = Backup + Recycle = yes # Bacula can automatically recycle Volumes + AutoPrune = yes # Prune expired volumes + Volume Retention = 365d # one year + Accept Any Volume = yes # write on any volume in the pool +} + diff --git a/regress/scripts/bacula-sd-2tape.conf.in b/regress/scripts/bacula-sd-2tape.conf.in index 0bfc6326c2..63e541b91c 100644 --- a/regress/scripts/bacula-sd-2tape.conf.in +++ b/regress/scripts/bacula-sd-2tape.conf.in @@ -31,14 +31,20 @@ Director { # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. # +Autochanger { + Name = DDS-4 + Changer Device = @autochanger@ + Changer Command ="@scriptdir@/mtx-changer %c %o %S %a" + Device = DDS-4-1 +} Device { - Name = DDS-4 # + Name = DDS-4-1 # Media Type = DDS-4 - Changer Device = @autochanger@ - Changer Command ="@scriptdir@/mtx-changer %c %o %S %a" Archive Device = @tape_drive@ AutomaticMount = yes; # when device opened, read it + Autochanger = yes + Drive Index = 0 AlwaysOpen = yes; RemovableMedia = yes; @@sbindir@/tape_options diff --git a/regress/tests/bscan-test b/regress/tests/bscan-test index bc458251bd..1db3c0b157 100755 --- a/regress/tests/bscan-test +++ b/regress/tests/bscan-test @@ -18,6 +18,7 @@ echo " " bin/bacula start 2>&1 >/dev/null bin/bconsole -c bin/bconsole.conf <&1 >/dev/null +#bin/bconsole -c bin/bconsole.conf <&1 >/dev/null echo "volume=TestVolume001|TestVolume002" >tmp/bscan.bsr bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp 2>&1 >/dev/null +#bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp bin/bacula start 2>&1 >/dev/null bin/bconsole -c bin/bconsole.conf <&1 >/dev/null +#bin/bconsole -c bin/bconsole.conf <>working/log echo " " bin/bacula start -v -v 2>&1 >/dev/null +#bin/bacula start -v -v bin/bconsole -c bin/bconsole.conf <&1 >/dev/null +#bin/bconsole -c bin/bconsole.conf <