]> git.sur5r.net Git - bacula/bacula/commitdiff
This commit was manufactured by cvs2svn to create tag Release-2.0.1
author(no author) <(no author)@91ce42f0-d328-0410-95d8-f526ca767f89>
Sun, 14 Jan 2007 17:56:52 +0000 (17:56 +0000)
committer(no author) <(no author)@91ce42f0-d328-0410-95d8-f526ca767f89>
Sun, 14 Jan 2007 17:56:52 +0000 (17:56 +0000)
'Release-2.0.1'.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/tags/Release-2.0.1@3997 91ce42f0-d328-0410-95d8-f526ca767f89

336 files changed:
bacula/ChangeLog
bacula/ReleaseNotes
bacula/kernstodo
bacula/patches/testing/scratch.readme
bacula/po/bacula.pot
bacula/po/de.gmo [new file with mode: 0644]
bacula/po/de.po
bacula/po/es.gmo [new file with mode: 0644]
bacula/po/es.po
bacula/po/fr.gmo [new file with mode: 0644]
bacula/po/fr.po
bacula/po/it.gmo [new file with mode: 0644]
bacula/po/it.po
bacula/projects
bacula/src/version.h
bacula/technotes-1.39 [new file with mode: 0644]
bacula/technotes-2.0 [new file with mode: 0644]
bacula/technotes-2.1 [deleted file]
regress/.cvsignore [deleted file]
regress/Makefile.in [deleted file]
regress/README [deleted file]
regress/all-non-root-2tape-tests [deleted file]
regress/all-non-root-tape-tests [deleted file]
regress/all-non-root-tests [deleted file]
regress/all-root-tests [deleted file]
regress/all-tape-and-file-tests [deleted file]
regress/all-tests [deleted file]
regress/config [deleted file]
regress/do_all [deleted file]
regress/do_all_tapes [deleted file]
regress/do_file [deleted file]
regress/endtime [deleted file]
regress/file [deleted file]
regress/freebsd.conf [deleted file]
regress/kern.conf [deleted file]
regress/misc-tests [deleted file]
regress/prototype.conf [deleted file]
regress/run [deleted file]
regress/scripts/.cvsignore [deleted file]
regress/scripts/bacula-dir-migration.conf.in [deleted file]
regress/scripts/bacula-dir-tape.conf.in [deleted file]
regress/scripts/bacula-dir-win32-tape.conf.in [deleted file]
regress/scripts/bacula-dir.conf.testrunscript.in [deleted file]
regress/scripts/bacula-sd-2disk-drive.conf.in [deleted file]
regress/scripts/bacula-sd-2disk.conf.in [deleted file]
regress/scripts/bacula-sd-2drive.conf.in [deleted file]
regress/scripts/bacula-sd-2tape.conf.in [deleted file]
regress/scripts/bacula-sd-migration.conf.in [deleted file]
regress/scripts/bacula-sd-tape.conf.in [deleted file]
regress/scripts/bacula-sd.conf.in [deleted file]
regress/scripts/check_for_zombie_jobs [deleted file]
regress/scripts/cleanup [deleted file]
regress/scripts/cleanup-2drive.in [deleted file]
regress/scripts/cleanup-2tape.in [deleted file]
regress/scripts/cleanup-tape.in [deleted file]
regress/scripts/copy-2disk-confs [deleted file]
regress/scripts/copy-2disk-drive-confs [deleted file]
regress/scripts/copy-2drive-confs [deleted file]
regress/scripts/copy-2tape-confs [deleted file]
regress/scripts/copy-confs [deleted file]
regress/scripts/copy-crypto-confs [deleted file]
regress/scripts/copy-migration-confs [deleted file]
regress/scripts/copy-tape-confs [deleted file]
regress/scripts/copy-test-confs [deleted file]
regress/scripts/copy-testa-confs [deleted file]
regress/scripts/copy-win32-confs [deleted file]
regress/scripts/crypto-bacula-fd.conf.in [deleted file]
regress/scripts/cryptokeypair.pem [deleted file]
regress/scripts/do_sed [deleted file]
regress/scripts/exclude-dev-test [deleted file]
regress/scripts/exclude-etc-test [deleted file]
regress/scripts/exclude-lib-test [deleted file]
regress/scripts/flist [deleted file]
regress/scripts/freebsd_tape_options [deleted file]
regress/scripts/functions [deleted file]
regress/scripts/linux_osst_tape_options [deleted file]
regress/scripts/linux_tape_options [deleted file]
regress/scripts/new-test-bacula-dir.conf.in [deleted file]
regress/scripts/prepare-two-disks [deleted file]
regress/scripts/prepare-two-tapes.in [deleted file]
regress/scripts/regress-config [deleted file]
regress/scripts/setup [deleted file]
regress/scripts/test-bacula-dir.conf.in [deleted file]
regress/scripts/test-bacula-fd.conf.in [deleted file]
regress/scripts/test-bacula-sd.conf.in [deleted file]
regress/scripts/test-console.conf.in [deleted file]
regress/scripts/testa-bacula-dir.conf.in [deleted file]
regress/scripts/win32-bacula-dir-tape.conf.in [deleted file]
regress/scripts/win32-bacula-fd.conf [deleted file]
regress/scripts/win32-bacula-sd-tape.conf [deleted file]
regress/starttime [deleted file]
regress/tape [deleted file]
regress/tests/.cvsignore [deleted file]
regress/tests/2drive-incremental-2disk [deleted file]
regress/tests/2drive-incremental-2tape [deleted file]
regress/tests/auto-label-test [deleted file]
regress/tests/backup-bacula-tape [deleted file]
regress/tests/backup-bacula-test [deleted file]
regress/tests/backup-win32-tape [deleted file]
regress/tests/bextract-test [deleted file]
regress/tests/bscan-fast-tape [deleted file]
regress/tests/bscan-tape [deleted file]
regress/tests/bscan-test [deleted file]
regress/tests/bsr-opt-test [deleted file]
regress/tests/btape-fill-full-tape [deleted file]
regress/tests/btape-fill-tape [deleted file]
regress/tests/compress-encrypt-test [deleted file]
regress/tests/compressed-test [deleted file]
regress/tests/concurrent-jobs-test [deleted file]
regress/tests/data-encrypt-test [deleted file]
regress/tests/dev-test-root [deleted file]
regress/tests/differential-test [deleted file]
regress/tests/eot-fail-tape [deleted file]
regress/tests/etc-test-root [deleted file]
regress/tests/fixed-block-size-tape [deleted file]
regress/tests/four-concurrent-jobs-tape [deleted file]
regress/tests/four-concurrent-jobs-test [deleted file]
regress/tests/four-jobs-tape [deleted file]
regress/tests/four-jobs-test [deleted file]
regress/tests/gigaslam-sparse-test [deleted file]
regress/tests/hardlink-test [deleted file]
regress/tests/incremental-2disk [deleted file]
regress/tests/incremental-2tape [deleted file]
regress/tests/incremental-tape [deleted file]
regress/tests/incremental-test [deleted file]
regress/tests/lib-tape-root [deleted file]
regress/tests/lib-test-root [deleted file]
regress/tests/migration-job-test [deleted file]
regress/tests/migration-jobspan-test [deleted file]
regress/tests/migration-occupancy-test [deleted file]
regress/tests/migration-time-test [deleted file]
regress/tests/migration-volume-test [deleted file]
regress/tests/query-test [deleted file]
regress/tests/recycle-test [deleted file]
regress/tests/relabel-tape [deleted file]
regress/tests/restore-by-file-tape [deleted file]
regress/tests/restore-by-file-test [deleted file]
regress/tests/restore-disk-seek-test [deleted file]
regress/tests/restore-seek-tape [deleted file]
regress/tests/restore2-by-file-test [deleted file]
regress/tests/runscript-test [deleted file]
regress/tests/scratch-pool-test [deleted file]
regress/tests/six-vol-test [deleted file]
regress/tests/small-file-size-tape [deleted file]
regress/tests/span-vol-test [deleted file]
regress/tests/sparse-compressed-test [deleted file]
regress/tests/sparse-encrypt-test [deleted file]
regress/tests/sparse-test [deleted file]
regress/tests/test0 [deleted file]
regress/tests/truncate-bug-tape [deleted file]
regress/tests/two-jobs-test [deleted file]
regress/tests/two-pool-tape [deleted file]
regress/tests/two-pool-test [deleted file]
regress/tests/two-vol-test [deleted file]
regress/tests/two-volume-tape [deleted file]
regress/tests/two-volume-test [deleted file]
regress/tests/usr-tape-root [deleted file]
regress/tests/verify-vol-tape [deleted file]
regress/tests/verify-vol-test [deleted file]
regress/tests/weird-files-test [deleted file]
regress/tests/weird-files2-test [deleted file]
regress/tests/win32-backup-tape [deleted file]
regress/tests/win32-to-linux-tape [deleted file]
regress/weird-files.tar.gz [deleted file]
regress/win32/all-non-root-2tape-tests.cmd [deleted file]
regress/win32/all-non-root-tape-tests.cmd [deleted file]
regress/win32/all-non-root-tests.cmd [deleted file]
regress/win32/all-root-tests.cmd [deleted file]
regress/win32/all-tape-and-file-tests.cmd [deleted file]
regress/win32/all-tests.cmd [deleted file]
regress/win32/config.cmd [deleted file]
regress/win32/make.cmd [deleted file]
regress/win32/prototype.conf [deleted file]
regress/win32/scripts/bacula-dir-migration.conf.in [deleted file]
regress/win32/scripts/bacula-dir-tape.conf.in [deleted file]
regress/win32/scripts/bacula-dir-win32-tape.conf.in [deleted file]
regress/win32/scripts/bacula-dir.conf.testrunscript.in [deleted file]
regress/win32/scripts/bacula-sd-2disk-drive.conf.in [deleted file]
regress/win32/scripts/bacula-sd-2disk.conf.in [deleted file]
regress/win32/scripts/bacula-sd-2drive.conf.in [deleted file]
regress/win32/scripts/bacula-sd-2tape.conf.in [deleted file]
regress/win32/scripts/bacula-sd-migration.conf.in [deleted file]
regress/win32/scripts/bacula-sd-tape.conf.in [deleted file]
regress/win32/scripts/bacula-sd.conf.in [deleted file]
regress/win32/scripts/bacula.cmd [deleted file]
regress/win32/scripts/check_for_zombie_jobs.bscr [deleted file]
regress/win32/scripts/check_for_zombie_jobs.cmd [deleted file]
regress/win32/scripts/cleanup-2drive.cmd.in [deleted file]
regress/win32/scripts/cleanup-2tape.cmd.in [deleted file]
regress/win32/scripts/cleanup-tape.cmd.in [deleted file]
regress/win32/scripts/cleanup.cmd [deleted file]
regress/win32/scripts/copy-2disk-confs.cmd [deleted file]
regress/win32/scripts/copy-2disk-drive-confs.cmd [deleted file]
regress/win32/scripts/copy-2drive-confs.cmd [deleted file]
regress/win32/scripts/copy-2tape-confs.cmd [deleted file]
regress/win32/scripts/copy-confs.cmd [deleted file]
regress/win32/scripts/copy-crypto-confs.cmd [deleted file]
regress/win32/scripts/copy-migration-confs.cmd [deleted file]
regress/win32/scripts/copy-tape-confs.cmd [deleted file]
regress/win32/scripts/copy-test-confs.cmd [deleted file]
regress/win32/scripts/copy-testa-confs.cmd [deleted file]
regress/win32/scripts/copy-win32-confs.cmd [deleted file]
regress/win32/scripts/crypto-bacula-fd.conf.in [deleted file]
regress/win32/scripts/cryptokeypair.pem [deleted file]
regress/win32/scripts/disk-changer.cmd [deleted file]
regress/win32/scripts/do_sed.cmd [deleted file]
regress/win32/scripts/exclude-dev-test [deleted file]
regress/win32/scripts/exclude-etc-test [deleted file]
regress/win32/scripts/exclude-lib-test [deleted file]
regress/win32/scripts/flist [deleted file]
regress/win32/scripts/functions.cmd [deleted file]
regress/win32/scripts/install_bacula.cmd [deleted file]
regress/win32/scripts/new-test-bacula-dir.conf.in [deleted file]
regress/win32/scripts/prepare-two-disks.cmd [deleted file]
regress/win32/scripts/prepare-two-tapes.cmd.in [deleted file]
regress/win32/scripts/setup.cmd [deleted file]
regress/win32/scripts/test-bacula-dir.conf.in [deleted file]
regress/win32/scripts/test-bacula-fd.conf.in [deleted file]
regress/win32/scripts/test-bacula-sd.conf.in [deleted file]
regress/win32/scripts/test-console.conf.in [deleted file]
regress/win32/scripts/testa-bacula-dir.conf.in [deleted file]
regress/win32/scripts/win32-bacula-dir-tape.conf.in [deleted file]
regress/win32/scripts/win32_tape_options [deleted file]
regress/win32/tests/2drive-incremental-2disk.1.bscr [deleted file]
regress/win32/tests/2drive-incremental-2disk.2.bscr [deleted file]
regress/win32/tests/2drive-incremental-2disk.cmd [deleted file]
regress/win32/tests/2drive-incremental-2tape [deleted file]
regress/win32/tests/auto-label-test.bscr [deleted file]
regress/win32/tests/auto-label-test.cmd [deleted file]
regress/win32/tests/backup-bacula-tape [deleted file]
regress/win32/tests/backup-bacula-test.bscr [deleted file]
regress/win32/tests/backup-bacula-test.cmd [deleted file]
regress/win32/tests/backup-win32-tape [deleted file]
regress/win32/tests/bextract-test.bscr [deleted file]
regress/win32/tests/bextract-test.cmd [deleted file]
regress/win32/tests/bscan-fast-tape [deleted file]
regress/win32/tests/bscan-tape [deleted file]
regress/win32/tests/bscan-test.1.bscr [deleted file]
regress/win32/tests/bscan-test.2.bscr [deleted file]
regress/win32/tests/bscan-test.cmd [deleted file]
regress/win32/tests/bsr-opt-test.bscr [deleted file]
regress/win32/tests/bsr-opt-test.cmd [deleted file]
regress/win32/tests/btape-fill-full-tape [deleted file]
regress/win32/tests/btape-fill-tape [deleted file]
regress/win32/tests/compressed-test.bscr [deleted file]
regress/win32/tests/compressed-test.cmd [deleted file]
regress/win32/tests/concurrent-jobs-test.bscr [deleted file]
regress/win32/tests/concurrent-jobs-test.cmd [deleted file]
regress/win32/tests/dev-test-root [deleted file]
regress/win32/tests/differential-test.1.bscr [deleted file]
regress/win32/tests/differential-test.2.bscr [deleted file]
regress/win32/tests/differential-test.3.bscr [deleted file]
regress/win32/tests/differential-test.cmd [deleted file]
regress/win32/tests/eot-fail-tape [deleted file]
regress/win32/tests/etc-test-root [deleted file]
regress/win32/tests/fixed-block-size-tape [deleted file]
regress/win32/tests/four-concurrent-jobs-tape [deleted file]
regress/win32/tests/four-concurrent-jobs-test.bscr [deleted file]
regress/win32/tests/four-concurrent-jobs-test.cmd [deleted file]
regress/win32/tests/four-jobs-tape [deleted file]
regress/win32/tests/four-jobs-test.1.bscr [deleted file]
regress/win32/tests/four-jobs-test.2.bscr [deleted file]
regress/win32/tests/four-jobs-test.3.bscr [deleted file]
regress/win32/tests/four-jobs-test.4.bscr [deleted file]
regress/win32/tests/four-jobs-test.5.bscr [deleted file]
regress/win32/tests/four-jobs-test.cmd [deleted file]
regress/win32/tests/hardlink-test [deleted file]
regress/win32/tests/incremental-2disk.1.bscr [deleted file]
regress/win32/tests/incremental-2disk.2.bscr [deleted file]
regress/win32/tests/incremental-2disk.cmd [deleted file]
regress/win32/tests/incremental-2tape.1.bscr [deleted file]
regress/win32/tests/incremental-2tape.2.bscr [deleted file]
regress/win32/tests/incremental-2tape.cmd [deleted file]
regress/win32/tests/incremental-tape [deleted file]
regress/win32/tests/incremental-test.1.bscr [deleted file]
regress/win32/tests/incremental-test.2.bscr [deleted file]
regress/win32/tests/incremental-test.3.bscr [deleted file]
regress/win32/tests/incremental-test.4.bscr [deleted file]
regress/win32/tests/incremental-test.5.bscr [deleted file]
regress/win32/tests/incremental-test.cmd [deleted file]
regress/win32/tests/lib-tape-root [deleted file]
regress/win32/tests/lib-test-root [deleted file]
regress/win32/tests/migration-job-test.cmd [deleted file]
regress/win32/tests/migration-jobspan-test.cmd [deleted file]
regress/win32/tests/migration-occupancy-test.cmd [deleted file]
regress/win32/tests/migration-time-test.cmd [deleted file]
regress/win32/tests/migration-volume-test.cmd [deleted file]
regress/win32/tests/query-test.1.bscr [deleted file]
regress/win32/tests/query-test.2.bscr [deleted file]
regress/win32/tests/query-test.3.bscr [deleted file]
regress/win32/tests/query-test.cmd [deleted file]
regress/win32/tests/recycle-test.bscr [deleted file]
regress/win32/tests/recycle-test.cmd [deleted file]
regress/win32/tests/relabel-tape [deleted file]
regress/win32/tests/restore-by-file-tape [deleted file]
regress/win32/tests/restore-by-file-test.bscr [deleted file]
regress/win32/tests/restore-by-file-test.cmd [deleted file]
regress/win32/tests/restore-disk-seek-test.bscr [deleted file]
regress/win32/tests/restore-disk-seek-test.cmd [deleted file]
regress/win32/tests/restore2-by-file-test.bscr [deleted file]
regress/win32/tests/restore2-by-file-test.cmd [deleted file]
regress/win32/tests/runscript-test [deleted file]
regress/win32/tests/scratch-pool-test.bscr [deleted file]
regress/win32/tests/scratch-pool-test.cmd [deleted file]
regress/win32/tests/six-vol-test.bscr [deleted file]
regress/win32/tests/six-vol-test.cmd [deleted file]
regress/win32/tests/small-file-size-tape [deleted file]
regress/win32/tests/span-vol-test.bscr [deleted file]
regress/win32/tests/span-vol-test.cmd [deleted file]
regress/win32/tests/sparse-compressed-test.bscr [deleted file]
regress/win32/tests/sparse-compressed-test.cmd [deleted file]
regress/win32/tests/sparse-test.bscr [deleted file]
regress/win32/tests/sparse-test.cmd [deleted file]
regress/win32/tests/test0.cmd [deleted file]
regress/win32/tests/truncate-bug-tape [deleted file]
regress/win32/tests/two-jobs-test.1.bscr [deleted file]
regress/win32/tests/two-jobs-test.2.bscr [deleted file]
regress/win32/tests/two-jobs-test.cmd [deleted file]
regress/win32/tests/two-pool-tape [deleted file]
regress/win32/tests/two-pool-test.bscr [deleted file]
regress/win32/tests/two-pool-test.cmd [deleted file]
regress/win32/tests/two-vol-test.bscr [deleted file]
regress/win32/tests/two-vol-test.cmd [deleted file]
regress/win32/tests/two-volume-tape.1.bscr [deleted file]
regress/win32/tests/two-volume-tape.2.bscr [deleted file]
regress/win32/tests/two-volume-tape.cmd [deleted file]
regress/win32/tests/two-volume-test.bscr [deleted file]
regress/win32/tests/two-volume-test.cmd [deleted file]
regress/win32/tests/usr-tape-root [deleted file]
regress/win32/tests/verify-vol-tape [deleted file]
regress/win32/tests/verify-vol-test.bscr [deleted file]
regress/win32/tests/verify-vol-test.cmd [deleted file]
regress/win32/tests/weird-files-test [deleted file]
regress/win32/tests/weird-files2-test [deleted file]
regress/win32/tests/win32-backup-tape [deleted file]
regress/win32/tests/win32-to-linux-tape [deleted file]

index c3a3c6afeeb03b5bb54b28ca6ec7916343017c7c..04e8e885f4e979d8ade51f253c3cf687f4cdc2d1 100644 (file)
@@ -1,10 +1,10 @@
-              Technical notes on version 2.1
-
-General:
               Technical notes on version 2.0
 
 General:
+Version 2.0.1
 12Jan07
+kes  Fix Bacula->Documentation link on Win32 to point to index.html
+     instead of bacula.html. Fixed bug #750.
 kes  Return JobId in db_get_job_record() when JobId==0. This should
      fix bug #741.
 kes  Do not release source pointers when restarting a failed job.
@@ -25,7 +25,7 @@ kes  Add code to indicate when the SD is spooling, spool wait, and
      despooling as requested by Alan Brown.
 
 
-
+=========== ChangeLog prior to 2.0.0 follow =================
 Version 2.0.0 released: 4 January 2007
 03Jan07
 kes  Apply Eric's fix for client name editing on RunScripts.
index 706ae2038a36baadb4b69bc165f01859384625a6..52bc7d2797bbd81605bdf7dfb697ab29ab66a482 100644 (file)
@@ -1,8 +1,36 @@
 
-          Release Notes for Bacula 2.0.0
+          Release Notes for Bacula 2.0.1
 
   Bacula code: Total files = 438 Total lines = 154,329 (*.h *.c *.in)
 
+This is a bug fix release to version 2.0.0:
+
+Version 2.0.1
+12Jan07
+kes  Fix Bacula->Documentation link on Win32 to point to index.html
+     instead of bacula.html. Fixed bug #750.
+kes  Return JobId in db_get_job_record() when JobId==0. This should
+     fix bug #741.
+kes  Do not release source pointers when restarting a failed job.
+11Jan07
+kes  Add dynamic dll entry point for SHGetFolderPath to Win32 code.
+     This *should* fix bug #747.
+kes  Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
+     bug #742.
+09Jan07
+kes  Modify USTORE constructor to set an empty store_source string, 
+     and don't copy the store_source string in a cancel.  Hopefully
+     this will fix Arno's seg fault, bug #744.
+kes  Add back code to disable conio in configure. Fixes bug #743.
+kes  Correct the Options scanner in the FD to correctly handle  
+     SHA1 option, which was eating the next option.  Reported by    
+     Sebastien Guilbaud.
+kes  Add code to indicate when the SD is spooling, spool wait, and 
+     despooling as requested by Alan Brown.
+
+
+==== The following are the release notes for version 2.0.0 ======
+
 ==== IMPORTANT Catalog update required =====
 - The database format has been updated from what was used in    
   Bacula 1.38.x.  You must manually update your database before 
index d87f73056e1cc23decade8f33f2d693412facb51..858e312a2d3fc92b92e37891f632dd8e97f2adcc 100644 (file)
@@ -41,10 +41,6 @@ Document:
  
 
 Priority:
-- Add the OS version back to the Win32 client info.
-- Restarted jobs have a NULL in the from field.
-- Modify SD status command to indicate when the SD is writing
-  to a DVD (the device is not open -- see bug #732).
 - Look at the possibility of adding "SET NAMES UTF8" for MySQL,
   and possibly changing the blobs into varchar.
 - Check if gnome-console works with TLS.
@@ -73,9 +69,6 @@ Projects:
   - Despool attributes in separate thread
   - Database speedups
   - Embedded MySQL
-  - Check why restore repeatedly sends Rechdrs between
-    each data chunk -- according to James Harper 9Jan07.
-  - Building the in memory restore tree is slow.
 - Features
   - Better scheduling  
   - Full at least once a month, ...
@@ -121,14 +114,6 @@ For next release:
   .move transfer device=xxx fromslot=yyy toslot=zzz
 
 Low priority:
-- Article: http://www.heise.de/open/news/meldung/83231
-- Article: http://www.golem.de/0701/49756.html
-- Article: http://lwn.net/Articles/209809/
-- Article: http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html
-- Article: http://www.linuxdevcenter.com/pub/a/linux/2005/04/07/bacula.html
-- Article: http://www.osreviews.net/reviews/admin/bacula
-- Article: http://www.debianhelp.co.uk/baculaweb.htm
-- Article: 
 - It appears to me that you have run into some sort of race
   condition where two threads want to use the same Volume and they
   were both given access.  Normally that is no problem.  However,
index 3fbed90cce8efd14e5b36038123cca5626331847..6fff826513020cd3098ebd1ad289a45cd0ba15bc 100644 (file)
@@ -4,6 +4,10 @@ This patch allow you to :
  - move Purged media to there RecyclePool
 
 $Log$
+Revision 1.1.2.1  2007/01/12 10:23:14  kerns
+Pull in new spec files
+Update patches
+
 Revision 1.2  2007/01/09 15:18:20  ricozz
 ebl  works with 2.0.0
 
index 04be90ea4555f052bccae5922cce0bd8952ff4d1..d23bb4289918d26831a69dd33365f1b57ab6b77a 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2007-01-04 09:52+0100\n"
+"POT-Creation-Date: 2007-01-12 17:30+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -134,8 +134,8 @@ msgid ""
 msgstr ""
 
 #: src/cats/sql.c:235 src/cats/sql.c:242 src/cats/sql_create.c:792
-#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:592
-#: src/cats/sql_get.c:667 src/cats/sql_get.c:898
+#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:595
+#: src/cats/sql_get.c:670 src/cats/sql_get.c:901
 #, c-format
 msgid "error fetching row: %s\n"
 msgstr ""
@@ -416,104 +416,104 @@ msgstr ""
 msgid "No Job found for JobId %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:352 src/cats/sql_get.c:408
+#: src/cats/sql_get.c:355 src/cats/sql_get.c:411
 #, c-format
 msgid "No volumes found for JobId=%d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:358 src/cats/sql_get.c:421
+#: src/cats/sql_get.c:361 src/cats/sql_get.c:424
 #, c-format
 msgid "Error fetching row %d: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:372
+#: src/cats/sql_get.c:375
 #, c-format
 msgid "No Volume for JobId %d found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:508
+#: src/cats/sql_get.c:511
 #, c-format
 msgid "Pool id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:545
+#: src/cats/sql_get.c:548
 #, c-format
 msgid "Client id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:587
+#: src/cats/sql_get.c:590
 #, c-format
 msgid "More than one Pool!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:628
+#: src/cats/sql_get.c:631
 msgid "Pool record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:662
+#: src/cats/sql_get.c:665
 #, c-format
 msgid "More than one Client!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:679 src/cats/sql_get.c:683
+#: src/cats/sql_get.c:682 src/cats/sql_get.c:686
 msgid "Client record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:708
+#: src/cats/sql_get.c:711
 #, c-format
 msgid "More than one Counter!: %d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:713
+#: src/cats/sql_get.c:716
 #, c-format
 msgid "error fetching Counter row: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:733
+#: src/cats/sql_get.c:736
 #, c-format
 msgid "Counter record: %s not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:769
+#: src/cats/sql_get.c:772
 #, c-format
 msgid "Error got %s FileSets but expected only one!\n"
 msgstr ""
 
-#: src/cats/sql_get.c:774
+#: src/cats/sql_get.c:777
 #, c-format
 msgid "FileSet record \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:784
+#: src/cats/sql_get.c:787
 msgid "FileSet record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:841
+#: src/cats/sql_get.c:844
 #, c-format
 msgid "Media id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:893
+#: src/cats/sql_get.c:896
 #, c-format
 msgid "More than one Volume!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:946
+#: src/cats/sql_get.c:949
 #, c-format
 msgid "Media record MediaId=%s not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:949
+#: src/cats/sql_get.c:952
 #, c-format
 msgid "Media record for Volume \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:956
+#: src/cats/sql_get.c:959
 #, c-format
 msgid "Media record for MediaId=%u not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:959
+#: src/cats/sql_get.c:962
 #, c-format
 msgid "Media record for Vol=%s not found in Catalog.\n"
 msgstr ""
@@ -744,7 +744,7 @@ msgid ""
 "\n"
 msgstr ""
 
-#: src/dird/backup.c:87 src/dird/job.c:937 src/dird/job.c:976
+#: src/dird/backup.c:87 src/dird/job.c:940 src/dird/job.c:986
 #: src/dird/migrate.c:229 src/dird/migrate.c:230
 msgid "Pool resource"
 msgstr ""
@@ -1649,7 +1649,7 @@ msgstr ""
 msgid "Cannot open included file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/dird/fd_cmds.c:468 src/filed/job.c:1771
+#: src/dird/fd_cmds.c:468 src/filed/job.c:1772
 #, c-format
 msgid "Could not open bootstrap file %s: ERR=%s\n"
 msgstr ""
@@ -1767,7 +1767,7 @@ msgstr ""
 msgid "Could not open database \"%s\".\n"
 msgstr ""
 
-#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:969
+#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:966 src/dird/job.c:978
 #: src/dird/ua_cmds.c:690 src/dird/ua_cmds.c:1340 src/dird/ua_status.c:293
 msgid "unknown source"
 msgstr ""
@@ -1790,99 +1790,99 @@ msgstr ""
 msgid "Failed to connect to File daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:940 src/dird/job.c:974
-#: src/dird/job.c:983
+#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:943 src/dird/job.c:984
+#: src/dird/job.c:993
 msgid "Job resource"
 msgstr ""
 
-#: src/dird/job.c:411 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
+#: src/dird/job.c:409 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
 #: src/dird/ua_label.c:753
 msgid "Failed to connect to Storage daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:456
+#: src/dird/job.c:454
 msgid "Max wait time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:461
+#: src/dird/job.c:459
 msgid "Max run time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:555 src/dird/job.c:604
+#: src/dird/job.c:553 src/dird/job.c:602
 #, c-format
 msgid "Unhandled job status code %d\n"
 msgstr ""
 
-#: src/dird/job.c:630 src/dird/ua_output.c:630
+#: src/dird/job.c:628 src/dird/ua_output.c:630
 #, c-format
 msgid "Pool %s not in database. %s"
 msgstr ""
 
-#: src/dird/job.c:634 src/dird/ua_output.c:638
+#: src/dird/job.c:632 src/dird/ua_output.c:638
 #, c-format
 msgid "Pool %s created in database.\n"
 msgstr ""
 
-#: src/dird/job.c:643 src/dird/job.c:927
+#: src/dird/job.c:641 src/dird/job.c:930
 msgid "Run pool override"
 msgstr ""
 
-#: src/dird/job.c:653
+#: src/dird/job.c:651
 msgid "Run FullPool override"
 msgstr ""
 
-#: src/dird/job.c:655
+#: src/dird/job.c:653
 msgid "Job FullPool override"
 msgstr ""
 
-#: src/dird/job.c:663
+#: src/dird/job.c:661
 msgid "Run IncPool override"
 msgstr ""
 
-#: src/dird/job.c:665
+#: src/dird/job.c:663
 msgid "Job IncPool override"
 msgstr ""
 
-#: src/dird/job.c:673
+#: src/dird/job.c:671
 msgid "Run DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:675
+#: src/dird/job.c:673
 msgid "Job DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:700 src/stored/bscan.c:962
+#: src/dird/job.c:698 src/stored/bscan.c:962
 #, c-format
 msgid "Could not create Client record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:736
+#: src/dird/job.c:734
 msgid "FileSet MD5 digest not found.\n"
 msgstr ""
 
-#: src/dird/job.c:741
+#: src/dird/job.c:739
 #, c-format
 msgid "Could not create FileSet \"%s\" record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:781
+#: src/dird/job.c:779
 #, c-format
 msgid "Error updating job record. %s"
 msgstr ""
 
-#: src/dird/job.c:932
+#: src/dird/job.c:935
 msgid "Run storage override"
 msgstr ""
 
-#: src/dird/job.c:1045 src/dird/ua_run.c:389
+#: src/dird/job.c:1055 src/dird/ua_run.c:389
 msgid "No storage specified.\n"
 msgstr ""
 
-#: src/dird/job.c:1206
+#: src/dird/job.c:1216
 msgid "Could not start clone job.\n"
 msgstr ""
 
-#: src/dird/job.c:1208
+#: src/dird/job.c:1218
 #, c-format
 msgid "Clone JobId %d started.\n"
 msgstr ""
@@ -2179,7 +2179,7 @@ msgstr ""
 msgid "Storage from Pool's NextPool resource"
 msgstr ""
 
-#: src/dird/msgchan.c:99 src/filed/job.c:1247
+#: src/dird/msgchan.c:99 src/filed/job.c:1248
 #: src/tray-monitor/tray-monitor.c:888
 msgid "Storage daemon"
 msgstr ""
@@ -2790,7 +2790,7 @@ msgstr ""
 msgid "Warning Job %s is not running. Continuing anyway ...\n"
 msgstr ""
 
-#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:421
+#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:424
 msgid "No Jobs running.\n"
 msgstr ""
 
@@ -3619,7 +3619,7 @@ msgid "Enter a list of directories to restore for found JobIds"
 msgstr ""
 
 #: src/dird/ua_restore.c:329 src/dird/ua_status.c:732 src/filed/status.c:254
-#: src/stored/status.c:495 src/wx-console/wxbconfigpanel.cpp:212
+#: src/stored/status.c:498 src/wx-console/wxbconfigpanel.cpp:212
 msgid "Cancel"
 msgstr ""
 
@@ -4163,27 +4163,27 @@ msgid "Levels:\n"
 msgstr ""
 
 #: src/dird/ua_run.c:782 src/filed/status.c:371 src/lib/util.c:329
-#: src/stored/status.c:534
+#: src/stored/status.c:537
 msgid "Base"
 msgstr ""
 
 #: src/dird/ua_run.c:783 src/filed/status.c:373 src/lib/util.c:331
-#: src/stored/status.c:536
+#: src/stored/status.c:539
 msgid "Full"
 msgstr ""
 
 #: src/dird/ua_run.c:784 src/filed/status.c:376 src/lib/util.c:334
-#: src/stored/status.c:539
+#: src/stored/status.c:542
 msgid "Incremental"
 msgstr ""
 
 #: src/dird/ua_run.c:785 src/filed/status.c:379 src/lib/util.c:337
-#: src/stored/status.c:542
+#: src/stored/status.c:545
 msgid "Differential"
 msgstr ""
 
 #: src/dird/ua_run.c:786 src/filed/status.c:382 src/lib/util.c:340
-#: src/stored/status.c:545
+#: src/stored/status.c:548
 msgid "Since"
 msgstr ""
 
@@ -4196,7 +4196,7 @@ msgid "Initialize Catalog"
 msgstr ""
 
 #: src/dird/ua_run.c:809 src/filed/status.c:385 src/lib/util.c:343
-#: src/stored/status.c:548
+#: src/stored/status.c:551
 msgid "Verify Catalog"
 msgstr ""
 
@@ -4761,13 +4761,13 @@ msgstr ""
 msgid "No Terminated Jobs.\n"
 msgstr ""
 
-#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:456
+#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:459
 msgid ""
 "\n"
 "Terminated Jobs:\n"
 msgstr ""
 
-#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:463
+#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:466
 msgid " JobId  Level    Files      Bytes   Status   Finished        Name \n"
 msgstr ""
 
@@ -4776,30 +4776,30 @@ msgid "====================================================================\n"
 msgstr ""
 
 #: src/dird/ua_status.c:722 src/filed/status.c:244 src/lib/util.c:179
-#: src/stored/status.c:485
+#: src/stored/status.c:488
 msgid "Created"
 msgstr ""
 
 #: src/dird/ua_status.c:726 src/filed/status.c:248 src/lib/util.c:192
-#: src/lib/util.c:259 src/stored/status.c:489
+#: src/lib/util.c:259 src/stored/status.c:492
 msgid "Error"
 msgstr ""
 
-#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:492
+#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:495
 msgid "Diffs"
 msgstr ""
 
 #: src/dird/ua_status.c:735 src/filed/status.c:257 src/lib/util.c:188
-#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:498
+#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:501
 #: src/wx-console/wxbconfigpanel.cpp:201
 msgid "OK"
 msgstr ""
 
-#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:501
+#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:504
 msgid "Other"
 msgstr ""
 
-#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:512
+#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:515
 #, c-format
 msgid "%6d  %-6s %8s %10s  %-7s  %-8s %s\n"
 msgstr ""
@@ -6149,151 +6149,151 @@ msgstr ""
 msgid "Cannot open FileSet input file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:731
+#: src/filed/job.c:733
 #, c-format
 msgid "REGEX %s compile error. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:793
+#: src/filed/job.c:795
 #, c-format
 msgid "Invalid FileSet command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1008 src/findlib/match.c:199 src/tools/testfind.c:635
+#: src/filed/job.c:1009 src/findlib/match.c:199 src/tools/testfind.c:635
 #, c-format
 msgid "Unknown include/exclude option: %c\n"
 msgstr ""
 
-#: src/filed/job.c:1077 src/stored/fd_cmds.c:348
+#: src/filed/job.c:1078 src/stored/fd_cmds.c:348
 #, c-format
 msgid "Could not create bootstrap file %s: ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1179
+#: src/filed/job.c:1180
 #, c-format
 msgid "DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"
 msgstr ""
 
-#: src/filed/job.c:1187
+#: src/filed/job.c:1188
 #, c-format
 msgid "Unknown backup level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1199
+#: src/filed/job.c:1200
 #, c-format
 msgid "Bad level command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1220
+#: src/filed/job.c:1221
 #, c-format
 msgid "Bad session command: %s"
 msgstr ""
 
-#: src/filed/job.c:1241
+#: src/filed/job.c:1242
 #, c-format
 msgid "Bad storage command: %s"
 msgstr ""
 
-#: src/filed/job.c:1250
+#: src/filed/job.c:1251
 #, c-format
 msgid "Failed to connect to Storage daemon: %s:%d\n"
 msgstr ""
 
-#: src/filed/job.c:1262
+#: src/filed/job.c:1263
 msgid "Failed to authenticate Storage daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1300
+#: src/filed/job.c:1301
 msgid "Cannot contact Storage daemon\n"
 msgstr ""
 
-#: src/filed/job.c:1318
+#: src/filed/job.c:1319
 #, c-format
 msgid "Bad response to append open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1323
+#: src/filed/job.c:1324
 msgid "Bad response from stored to open command\n"
 msgstr ""
 
-#: src/filed/job.c:1350
+#: src/filed/job.c:1351
 #, c-format
 msgid "Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"
 msgstr ""
 
-#: src/filed/job.c:1352
+#: src/filed/job.c:1353
 msgid "Generate VSS snapshots failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1359
+#: src/filed/job.c:1360
 #, c-format
 msgid ""
 "Generate VSS snapshot of drive \"%c:\\\" failed. VSS support is disabled on "
 "this drive.\n"
 msgstr ""
 
-#: src/filed/job.c:1366
+#: src/filed/job.c:1367
 #, c-format
 msgid "VSS Writer (PrepareForBackup): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1371
+#: src/filed/job.c:1372
 msgid "No drive letters found for generating VSS snapshots.\n"
 msgstr ""
 
-#: src/filed/job.c:1375
+#: src/filed/job.c:1376
 #, c-format
 msgid "VSS was not initialized properly. VSS support is disabled. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1433
+#: src/filed/job.c:1434
 msgid "Append Close with SD failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1437
+#: src/filed/job.c:1438
 #, c-format
 msgid "Bad status %d returned from Storage Daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1455
+#: src/filed/job.c:1456
 #, c-format
 msgid "VSS Writer (BackupComplete): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1483
+#: src/filed/job.c:1484
 #, c-format
 msgid "2994 Bad verify command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1498 src/filed/job.c:1537
+#: src/filed/job.c:1499 src/filed/job.c:1538
 #, c-format
 msgid "2994 Bad verify level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1579
+#: src/filed/job.c:1580
 #, c-format
 msgid "Bad replace command. CMD=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1658
+#: src/filed/job.c:1659
 msgid "Improper calling sequence.\n"
 msgstr ""
 
-#: src/filed/job.c:1678
+#: src/filed/job.c:1679
 #, c-format
 msgid "Bad response to SD read open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1683
+#: src/filed/job.c:1684
 msgid "Bad response from stored to read open command\n"
 msgstr ""
 
-#: src/filed/job.c:1747
+#: src/filed/job.c:1748
 #, c-format
 msgid "Comm error with SD. bad response to %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1750
+#: src/filed/job.c:1751
 #, c-format
 msgid "Bad response to %s command. Wanted %s, got %s\n"
 msgstr ""
@@ -6563,7 +6563,7 @@ msgstr ""
 msgid "    %s%s Job started: %s\n"
 msgstr ""
 
-#: src/filed/status.c:169 src/stored/status.c:398
+#: src/filed/status.c:169 src/stored/status.c:401
 #, c-format
 msgid "    Files=%s Bytes=%s Bytes/sec=%s\n"
 msgstr ""
@@ -6582,8 +6582,8 @@ msgstr ""
 msgid "    SDSocket closed.\n"
 msgstr ""
 
-#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:610
-#: src/stored/status.c:633
+#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:613
+#: src/stored/status.c:636
 #, c-format
 msgid "Bad .status command: %s\n"
 msgstr ""
@@ -6596,23 +6596,23 @@ msgstr ""
 msgid "2900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/filed/status.c:388 src/stored/status.c:551
+#: src/filed/status.c:388 src/stored/status.c:554
 msgid "Init Catalog"
 msgstr ""
 
-#: src/filed/status.c:391 src/stored/status.c:554
+#: src/filed/status.c:391 src/stored/status.c:557
 msgid "Volume to Catalog"
 msgstr ""
 
-#: src/filed/status.c:394 src/stored/status.c:557
+#: src/filed/status.c:394 src/stored/status.c:560
 msgid "Disk to Catalog"
 msgstr ""
 
-#: src/filed/status.c:397 src/stored/status.c:560
+#: src/filed/status.c:397 src/stored/status.c:563
 msgid "Data"
 msgstr ""
 
-#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:566
+#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:569
 msgid "Unknown Job Level"
 msgstr ""
 
@@ -13345,50 +13345,55 @@ msgid ""
 "    pool=\"%s\" device=\"%s\"\n"
 msgstr ""
 
-#: src/stored/status.c:406
+#: src/stored/status.c:392
+#, c-format
+msgid "    spooling=%d despooling=%d despool_wait=%d\n"
+msgstr ""
+
+#: src/stored/status.c:409
 #, c-format
 msgid "    FDReadSeqNo=%s in_msg=%u out_msg=%d fd=%d\n"
 msgstr ""
 
-#: src/stored/status.c:412
+#: src/stored/status.c:415
 msgid "    FDSocket closed\n"
 msgstr ""
 
-#: src/stored/status.c:434
+#: src/stored/status.c:437
 msgid ""
 "\n"
 "Jobs waiting to reserve a drive:\n"
 msgstr ""
 
-#: src/stored/status.c:465
+#: src/stored/status.c:468
 msgid "===================================================================\n"
 msgstr ""
 
-#: src/stored/status.c:611
+#: src/stored/status.c:614
 msgid "3900 Bad .status command, missing argument.\n"
 msgstr ""
 
-#: src/stored/status.c:634
+#: src/stored/status.c:637
 msgid "3900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/stored/status.c:648
+#: src/stored/status.c:651
 msgid "Bacula Storage: Idle"
 msgstr ""
 
-#: src/stored/status.c:659
+#: src/stored/status.c:662
 msgid "Bacula Storage: Running"
 msgstr ""
 
-#: src/stored/status.c:673
+#: src/stored/status.c:676
 msgid "Bacula Storage: Last Job Canceled"
 msgstr ""
 
-#: src/stored/status.c:677
+#: src/stored/status.c:680
 msgid "Bacula Storage: Last Job Failed"
 msgstr ""
 
-#: src/stored/status.c:681
+#: src/stored/status.c:684
 msgid "Bacula Storage: Last Job had Warnings"
 msgstr ""
 
diff --git a/bacula/po/de.gmo b/bacula/po/de.gmo
new file mode 100644 (file)
index 0000000..51f6579
Binary files /dev/null and b/bacula/po/de.gmo differ
index 48289bec2ee05627416acb0c6c0034daae2e59cd..c89fc2b80c167d181f7f755840a53de0668a82fd 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Bacula 1.38\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2007-01-04 09:52+0100\n"
+"POT-Creation-Date: 2007-01-12 17:30+0100\n"
 "PO-Revision-Date: 2005-08-11 14:05+0200\n"
 "Last-Translator:  <bacula-devel@lists.sourceforge.net\n"
 "Language-Team: German <bacula-devel@lists.sourceforge.net>\n"
@@ -135,8 +135,8 @@ msgid ""
 msgstr ""
 
 #: src/cats/sql.c:235 src/cats/sql.c:242 src/cats/sql_create.c:792
-#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:592
-#: src/cats/sql_get.c:667 src/cats/sql_get.c:898
+#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:595
+#: src/cats/sql_get.c:670 src/cats/sql_get.c:901
 #, c-format
 msgid "error fetching row: %s\n"
 msgstr ""
@@ -417,104 +417,104 @@ msgstr ""
 msgid "No Job found for JobId %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:352 src/cats/sql_get.c:408
+#: src/cats/sql_get.c:355 src/cats/sql_get.c:411
 #, c-format
 msgid "No volumes found for JobId=%d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:358 src/cats/sql_get.c:421
+#: src/cats/sql_get.c:361 src/cats/sql_get.c:424
 #, c-format
 msgid "Error fetching row %d: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:372
+#: src/cats/sql_get.c:375
 #, c-format
 msgid "No Volume for JobId %d found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:508
+#: src/cats/sql_get.c:511
 #, c-format
 msgid "Pool id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:545
+#: src/cats/sql_get.c:548
 #, c-format
 msgid "Client id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:587
+#: src/cats/sql_get.c:590
 #, c-format
 msgid "More than one Pool!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:628
+#: src/cats/sql_get.c:631
 msgid "Pool record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:662
+#: src/cats/sql_get.c:665
 #, c-format
 msgid "More than one Client!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:679 src/cats/sql_get.c:683
+#: src/cats/sql_get.c:682 src/cats/sql_get.c:686
 msgid "Client record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:708
+#: src/cats/sql_get.c:711
 #, c-format
 msgid "More than one Counter!: %d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:713
+#: src/cats/sql_get.c:716
 #, c-format
 msgid "error fetching Counter row: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:733
+#: src/cats/sql_get.c:736
 #, c-format
 msgid "Counter record: %s not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:769
+#: src/cats/sql_get.c:772
 #, c-format
 msgid "Error got %s FileSets but expected only one!\n"
 msgstr ""
 
-#: src/cats/sql_get.c:774
+#: src/cats/sql_get.c:777
 #, c-format
 msgid "FileSet record \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:784
+#: src/cats/sql_get.c:787
 msgid "FileSet record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:841
+#: src/cats/sql_get.c:844
 #, c-format
 msgid "Media id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:893
+#: src/cats/sql_get.c:896
 #, c-format
 msgid "More than one Volume!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:946
+#: src/cats/sql_get.c:949
 #, c-format
 msgid "Media record MediaId=%s not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:949
+#: src/cats/sql_get.c:952
 #, c-format
 msgid "Media record for Volume \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:956
+#: src/cats/sql_get.c:959
 #, c-format
 msgid "Media record for MediaId=%u not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:959
+#: src/cats/sql_get.c:962
 #, c-format
 msgid "Media record for Vol=%s not found in Catalog.\n"
 msgstr ""
@@ -745,7 +745,7 @@ msgid ""
 "\n"
 msgstr ""
 
-#: src/dird/backup.c:87 src/dird/job.c:937 src/dird/job.c:976
+#: src/dird/backup.c:87 src/dird/job.c:940 src/dird/job.c:986
 #: src/dird/migrate.c:229 src/dird/migrate.c:230
 msgid "Pool resource"
 msgstr ""
@@ -1650,7 +1650,7 @@ msgstr ""
 msgid "Cannot open included file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/dird/fd_cmds.c:468 src/filed/job.c:1771
+#: src/dird/fd_cmds.c:468 src/filed/job.c:1772
 #, c-format
 msgid "Could not open bootstrap file %s: ERR=%s\n"
 msgstr ""
@@ -1768,7 +1768,7 @@ msgstr ""
 msgid "Could not open database \"%s\".\n"
 msgstr ""
 
-#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:969
+#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:966 src/dird/job.c:978
 #: src/dird/ua_cmds.c:690 src/dird/ua_cmds.c:1340 src/dird/ua_status.c:293
 msgid "unknown source"
 msgstr ""
@@ -1791,99 +1791,99 @@ msgstr ""
 msgid "Failed to connect to File daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:940 src/dird/job.c:974
-#: src/dird/job.c:983
+#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:943 src/dird/job.c:984
+#: src/dird/job.c:993
 msgid "Job resource"
 msgstr ""
 
-#: src/dird/job.c:411 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
+#: src/dird/job.c:409 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
 #: src/dird/ua_label.c:753
 msgid "Failed to connect to Storage daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:456
+#: src/dird/job.c:454
 msgid "Max wait time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:461
+#: src/dird/job.c:459
 msgid "Max run time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:555 src/dird/job.c:604
+#: src/dird/job.c:553 src/dird/job.c:602
 #, c-format
 msgid "Unhandled job status code %d\n"
 msgstr ""
 
-#: src/dird/job.c:630 src/dird/ua_output.c:630
+#: src/dird/job.c:628 src/dird/ua_output.c:630
 #, c-format
 msgid "Pool %s not in database. %s"
 msgstr ""
 
-#: src/dird/job.c:634 src/dird/ua_output.c:638
+#: src/dird/job.c:632 src/dird/ua_output.c:638
 #, c-format
 msgid "Pool %s created in database.\n"
 msgstr ""
 
-#: src/dird/job.c:643 src/dird/job.c:927
+#: src/dird/job.c:641 src/dird/job.c:930
 msgid "Run pool override"
 msgstr ""
 
-#: src/dird/job.c:653
+#: src/dird/job.c:651
 msgid "Run FullPool override"
 msgstr ""
 
-#: src/dird/job.c:655
+#: src/dird/job.c:653
 msgid "Job FullPool override"
 msgstr ""
 
-#: src/dird/job.c:663
+#: src/dird/job.c:661
 msgid "Run IncPool override"
 msgstr ""
 
-#: src/dird/job.c:665
+#: src/dird/job.c:663
 msgid "Job IncPool override"
 msgstr ""
 
-#: src/dird/job.c:673
+#: src/dird/job.c:671
 msgid "Run DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:675
+#: src/dird/job.c:673
 msgid "Job DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:700 src/stored/bscan.c:962
+#: src/dird/job.c:698 src/stored/bscan.c:962
 #, c-format
 msgid "Could not create Client record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:736
+#: src/dird/job.c:734
 msgid "FileSet MD5 digest not found.\n"
 msgstr ""
 
-#: src/dird/job.c:741
+#: src/dird/job.c:739
 #, c-format
 msgid "Could not create FileSet \"%s\" record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:781
+#: src/dird/job.c:779
 #, c-format
 msgid "Error updating job record. %s"
 msgstr ""
 
-#: src/dird/job.c:932
+#: src/dird/job.c:935
 msgid "Run storage override"
 msgstr ""
 
-#: src/dird/job.c:1045 src/dird/ua_run.c:389
+#: src/dird/job.c:1055 src/dird/ua_run.c:389
 msgid "No storage specified.\n"
 msgstr ""
 
-#: src/dird/job.c:1206
+#: src/dird/job.c:1216
 msgid "Could not start clone job.\n"
 msgstr ""
 
-#: src/dird/job.c:1208
+#: src/dird/job.c:1218
 #, c-format
 msgid "Clone JobId %d started.\n"
 msgstr ""
@@ -2180,7 +2180,7 @@ msgstr ""
 msgid "Storage from Pool's NextPool resource"
 msgstr ""
 
-#: src/dird/msgchan.c:99 src/filed/job.c:1247
+#: src/dird/msgchan.c:99 src/filed/job.c:1248
 #: src/tray-monitor/tray-monitor.c:888
 msgid "Storage daemon"
 msgstr ""
@@ -2791,7 +2791,7 @@ msgstr ""
 msgid "Warning Job %s is not running. Continuing anyway ...\n"
 msgstr ""
 
-#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:421
+#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:424
 msgid "No Jobs running.\n"
 msgstr ""
 
@@ -3620,7 +3620,7 @@ msgid "Enter a list of directories to restore for found JobIds"
 msgstr ""
 
 #: src/dird/ua_restore.c:329 src/dird/ua_status.c:732 src/filed/status.c:254
-#: src/stored/status.c:495 src/wx-console/wxbconfigpanel.cpp:212
+#: src/stored/status.c:498 src/wx-console/wxbconfigpanel.cpp:212
 msgid "Cancel"
 msgstr ""
 
@@ -4164,27 +4164,27 @@ msgid "Levels:\n"
 msgstr ""
 
 #: src/dird/ua_run.c:782 src/filed/status.c:371 src/lib/util.c:329
-#: src/stored/status.c:534
+#: src/stored/status.c:537
 msgid "Base"
 msgstr ""
 
 #: src/dird/ua_run.c:783 src/filed/status.c:373 src/lib/util.c:331
-#: src/stored/status.c:536
+#: src/stored/status.c:539
 msgid "Full"
 msgstr ""
 
 #: src/dird/ua_run.c:784 src/filed/status.c:376 src/lib/util.c:334
-#: src/stored/status.c:539
+#: src/stored/status.c:542
 msgid "Incremental"
 msgstr ""
 
 #: src/dird/ua_run.c:785 src/filed/status.c:379 src/lib/util.c:337
-#: src/stored/status.c:542
+#: src/stored/status.c:545
 msgid "Differential"
 msgstr ""
 
 #: src/dird/ua_run.c:786 src/filed/status.c:382 src/lib/util.c:340
-#: src/stored/status.c:545
+#: src/stored/status.c:548
 msgid "Since"
 msgstr ""
 
@@ -4197,7 +4197,7 @@ msgid "Initialize Catalog"
 msgstr ""
 
 #: src/dird/ua_run.c:809 src/filed/status.c:385 src/lib/util.c:343
-#: src/stored/status.c:548
+#: src/stored/status.c:551
 msgid "Verify Catalog"
 msgstr ""
 
@@ -4762,13 +4762,13 @@ msgstr ""
 msgid "No Terminated Jobs.\n"
 msgstr ""
 
-#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:456
+#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:459
 msgid ""
 "\n"
 "Terminated Jobs:\n"
 msgstr ""
 
-#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:463
+#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:466
 msgid " JobId  Level    Files      Bytes   Status   Finished        Name \n"
 msgstr ""
 
@@ -4777,30 +4777,30 @@ msgid "====================================================================\n"
 msgstr ""
 
 #: src/dird/ua_status.c:722 src/filed/status.c:244 src/lib/util.c:179
-#: src/stored/status.c:485
+#: src/stored/status.c:488
 msgid "Created"
 msgstr ""
 
 #: src/dird/ua_status.c:726 src/filed/status.c:248 src/lib/util.c:192
-#: src/lib/util.c:259 src/stored/status.c:489
+#: src/lib/util.c:259 src/stored/status.c:492
 msgid "Error"
 msgstr ""
 
-#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:492
+#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:495
 msgid "Diffs"
 msgstr ""
 
 #: src/dird/ua_status.c:735 src/filed/status.c:257 src/lib/util.c:188
-#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:498
+#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:501
 #: src/wx-console/wxbconfigpanel.cpp:201
 msgid "OK"
 msgstr ""
 
-#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:501
+#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:504
 msgid "Other"
 msgstr ""
 
-#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:512
+#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:515
 #, c-format
 msgid "%6d  %-6s %8s %10s  %-7s  %-8s %s\n"
 msgstr ""
@@ -6150,151 +6150,151 @@ msgstr ""
 msgid "Cannot open FileSet input file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:731
+#: src/filed/job.c:733
 #, c-format
 msgid "REGEX %s compile error. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:793
+#: src/filed/job.c:795
 #, c-format
 msgid "Invalid FileSet command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1008 src/findlib/match.c:199 src/tools/testfind.c:635
+#: src/filed/job.c:1009 src/findlib/match.c:199 src/tools/testfind.c:635
 #, c-format
 msgid "Unknown include/exclude option: %c\n"
 msgstr ""
 
-#: src/filed/job.c:1077 src/stored/fd_cmds.c:348
+#: src/filed/job.c:1078 src/stored/fd_cmds.c:348
 #, c-format
 msgid "Could not create bootstrap file %s: ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1179
+#: src/filed/job.c:1180
 #, c-format
 msgid "DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"
 msgstr ""
 
-#: src/filed/job.c:1187
+#: src/filed/job.c:1188
 #, c-format
 msgid "Unknown backup level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1199
+#: src/filed/job.c:1200
 #, c-format
 msgid "Bad level command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1220
+#: src/filed/job.c:1221
 #, c-format
 msgid "Bad session command: %s"
 msgstr ""
 
-#: src/filed/job.c:1241
+#: src/filed/job.c:1242
 #, c-format
 msgid "Bad storage command: %s"
 msgstr ""
 
-#: src/filed/job.c:1250
+#: src/filed/job.c:1251
 #, c-format
 msgid "Failed to connect to Storage daemon: %s:%d\n"
 msgstr ""
 
-#: src/filed/job.c:1262
+#: src/filed/job.c:1263
 msgid "Failed to authenticate Storage daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1300
+#: src/filed/job.c:1301
 msgid "Cannot contact Storage daemon\n"
 msgstr ""
 
-#: src/filed/job.c:1318
+#: src/filed/job.c:1319
 #, c-format
 msgid "Bad response to append open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1323
+#: src/filed/job.c:1324
 msgid "Bad response from stored to open command\n"
 msgstr ""
 
-#: src/filed/job.c:1350
+#: src/filed/job.c:1351
 #, c-format
 msgid "Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"
 msgstr ""
 
-#: src/filed/job.c:1352
+#: src/filed/job.c:1353
 msgid "Generate VSS snapshots failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1359
+#: src/filed/job.c:1360
 #, c-format
 msgid ""
 "Generate VSS snapshot of drive \"%c:\\\" failed. VSS support is disabled on "
 "this drive.\n"
 msgstr ""
 
-#: src/filed/job.c:1366
+#: src/filed/job.c:1367
 #, c-format
 msgid "VSS Writer (PrepareForBackup): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1371
+#: src/filed/job.c:1372
 msgid "No drive letters found for generating VSS snapshots.\n"
 msgstr ""
 
-#: src/filed/job.c:1375
+#: src/filed/job.c:1376
 #, c-format
 msgid "VSS was not initialized properly. VSS support is disabled. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1433
+#: src/filed/job.c:1434
 msgid "Append Close with SD failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1437
+#: src/filed/job.c:1438
 #, c-format
 msgid "Bad status %d returned from Storage Daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1455
+#: src/filed/job.c:1456
 #, c-format
 msgid "VSS Writer (BackupComplete): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1483
+#: src/filed/job.c:1484
 #, c-format
 msgid "2994 Bad verify command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1498 src/filed/job.c:1537
+#: src/filed/job.c:1499 src/filed/job.c:1538
 #, c-format
 msgid "2994 Bad verify level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1579
+#: src/filed/job.c:1580
 #, c-format
 msgid "Bad replace command. CMD=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1658
+#: src/filed/job.c:1659
 msgid "Improper calling sequence.\n"
 msgstr ""
 
-#: src/filed/job.c:1678
+#: src/filed/job.c:1679
 #, c-format
 msgid "Bad response to SD read open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1683
+#: src/filed/job.c:1684
 msgid "Bad response from stored to read open command\n"
 msgstr ""
 
-#: src/filed/job.c:1747
+#: src/filed/job.c:1748
 #, c-format
 msgid "Comm error with SD. bad response to %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1750
+#: src/filed/job.c:1751
 #, c-format
 msgid "Bad response to %s command. Wanted %s, got %s\n"
 msgstr ""
@@ -6564,7 +6564,7 @@ msgstr ""
 msgid "    %s%s Job started: %s\n"
 msgstr ""
 
-#: src/filed/status.c:169 src/stored/status.c:398
+#: src/filed/status.c:169 src/stored/status.c:401
 #, c-format
 msgid "    Files=%s Bytes=%s Bytes/sec=%s\n"
 msgstr ""
@@ -6583,8 +6583,8 @@ msgstr ""
 msgid "    SDSocket closed.\n"
 msgstr ""
 
-#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:610
-#: src/stored/status.c:633
+#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:613
+#: src/stored/status.c:636
 #, c-format
 msgid "Bad .status command: %s\n"
 msgstr ""
@@ -6597,23 +6597,23 @@ msgstr ""
 msgid "2900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/filed/status.c:388 src/stored/status.c:551
+#: src/filed/status.c:388 src/stored/status.c:554
 msgid "Init Catalog"
 msgstr ""
 
-#: src/filed/status.c:391 src/stored/status.c:554
+#: src/filed/status.c:391 src/stored/status.c:557
 msgid "Volume to Catalog"
 msgstr ""
 
-#: src/filed/status.c:394 src/stored/status.c:557
+#: src/filed/status.c:394 src/stored/status.c:560
 msgid "Disk to Catalog"
 msgstr ""
 
-#: src/filed/status.c:397 src/stored/status.c:560
+#: src/filed/status.c:397 src/stored/status.c:563
 msgid "Data"
 msgstr ""
 
-#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:566
+#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:569
 msgid "Unknown Job Level"
 msgstr ""
 
@@ -13346,50 +13346,55 @@ msgid ""
 "    pool=\"%s\" device=\"%s\"\n"
 msgstr ""
 
-#: src/stored/status.c:406
+#: src/stored/status.c:392
+#, c-format
+msgid "    spooling=%d despooling=%d despool_wait=%d\n"
+msgstr ""
+
+#: src/stored/status.c:409
 #, c-format
 msgid "    FDReadSeqNo=%s in_msg=%u out_msg=%d fd=%d\n"
 msgstr ""
 
-#: src/stored/status.c:412
+#: src/stored/status.c:415
 msgid "    FDSocket closed\n"
 msgstr ""
 
-#: src/stored/status.c:434
+#: src/stored/status.c:437
 msgid ""
 "\n"
 "Jobs waiting to reserve a drive:\n"
 msgstr ""
 
-#: src/stored/status.c:465
+#: src/stored/status.c:468
 msgid "===================================================================\n"
 msgstr ""
 
-#: src/stored/status.c:611
+#: src/stored/status.c:614
 msgid "3900 Bad .status command, missing argument.\n"
 msgstr ""
 
-#: src/stored/status.c:634
+#: src/stored/status.c:637
 msgid "3900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/stored/status.c:648
+#: src/stored/status.c:651
 msgid "Bacula Storage: Idle"
 msgstr ""
 
-#: src/stored/status.c:659
+#: src/stored/status.c:662
 msgid "Bacula Storage: Running"
 msgstr ""
 
-#: src/stored/status.c:673
+#: src/stored/status.c:676
 msgid "Bacula Storage: Last Job Canceled"
 msgstr ""
 
-#: src/stored/status.c:677
+#: src/stored/status.c:680
 msgid "Bacula Storage: Last Job Failed"
 msgstr ""
 
-#: src/stored/status.c:681
+#: src/stored/status.c:684
 msgid "Bacula Storage: Last Job had Warnings"
 msgstr ""
 
diff --git a/bacula/po/es.gmo b/bacula/po/es.gmo
new file mode 100644 (file)
index 0000000..315e7eb
Binary files /dev/null and b/bacula/po/es.gmo differ
index 13424e48afd6ab4d35067f6993cdba8699e41f35..bb67507b6da7204949e3b929c0e241a78fda003b 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: branch 1.38\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2007-01-04 09:52+0100\n"
+"POT-Creation-Date: 2007-01-12 17:30+0100\n"
 "PO-Revision-Date: 2006-04-13 08:14+0200\n"
 "Last-Translator:  <kern@sibbald.com>\n"
 "Language-Team: Spanish\n"
@@ -135,8 +135,8 @@ msgid ""
 msgstr ""
 
 #: src/cats/sql.c:235 src/cats/sql.c:242 src/cats/sql_create.c:792
-#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:592
-#: src/cats/sql_get.c:667 src/cats/sql_get.c:898
+#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:595
+#: src/cats/sql_get.c:670 src/cats/sql_get.c:901
 #, c-format
 msgid "error fetching row: %s\n"
 msgstr ""
@@ -417,104 +417,104 @@ msgstr ""
 msgid "No Job found for JobId %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:352 src/cats/sql_get.c:408
+#: src/cats/sql_get.c:355 src/cats/sql_get.c:411
 #, c-format
 msgid "No volumes found for JobId=%d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:358 src/cats/sql_get.c:421
+#: src/cats/sql_get.c:361 src/cats/sql_get.c:424
 #, c-format
 msgid "Error fetching row %d: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:372
+#: src/cats/sql_get.c:375
 #, c-format
 msgid "No Volume for JobId %d found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:508
+#: src/cats/sql_get.c:511
 #, c-format
 msgid "Pool id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:545
+#: src/cats/sql_get.c:548
 #, c-format
 msgid "Client id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:587
+#: src/cats/sql_get.c:590
 #, c-format
 msgid "More than one Pool!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:628
+#: src/cats/sql_get.c:631
 msgid "Pool record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:662
+#: src/cats/sql_get.c:665
 #, c-format
 msgid "More than one Client!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:679 src/cats/sql_get.c:683
+#: src/cats/sql_get.c:682 src/cats/sql_get.c:686
 msgid "Client record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:708
+#: src/cats/sql_get.c:711
 #, c-format
 msgid "More than one Counter!: %d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:713
+#: src/cats/sql_get.c:716
 #, c-format
 msgid "error fetching Counter row: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:733
+#: src/cats/sql_get.c:736
 #, c-format
 msgid "Counter record: %s not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:769
+#: src/cats/sql_get.c:772
 #, c-format
 msgid "Error got %s FileSets but expected only one!\n"
 msgstr ""
 
-#: src/cats/sql_get.c:774
+#: src/cats/sql_get.c:777
 #, c-format
 msgid "FileSet record \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:784
+#: src/cats/sql_get.c:787
 msgid "FileSet record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:841
+#: src/cats/sql_get.c:844
 #, c-format
 msgid "Media id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:893
+#: src/cats/sql_get.c:896
 #, c-format
 msgid "More than one Volume!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:946
+#: src/cats/sql_get.c:949
 #, c-format
 msgid "Media record MediaId=%s not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:949
+#: src/cats/sql_get.c:952
 #, c-format
 msgid "Media record for Volume \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:956
+#: src/cats/sql_get.c:959
 #, c-format
 msgid "Media record for MediaId=%u not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:959
+#: src/cats/sql_get.c:962
 #, c-format
 msgid "Media record for Vol=%s not found in Catalog.\n"
 msgstr ""
@@ -745,7 +745,7 @@ msgid ""
 "\n"
 msgstr ""
 
-#: src/dird/backup.c:87 src/dird/job.c:937 src/dird/job.c:976
+#: src/dird/backup.c:87 src/dird/job.c:940 src/dird/job.c:986
 #: src/dird/migrate.c:229 src/dird/migrate.c:230
 msgid "Pool resource"
 msgstr ""
@@ -1650,7 +1650,7 @@ msgstr ""
 msgid "Cannot open included file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/dird/fd_cmds.c:468 src/filed/job.c:1771
+#: src/dird/fd_cmds.c:468 src/filed/job.c:1772
 #, c-format
 msgid "Could not open bootstrap file %s: ERR=%s\n"
 msgstr ""
@@ -1768,7 +1768,7 @@ msgstr ""
 msgid "Could not open database \"%s\".\n"
 msgstr ""
 
-#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:969
+#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:966 src/dird/job.c:978
 #: src/dird/ua_cmds.c:690 src/dird/ua_cmds.c:1340 src/dird/ua_status.c:293
 msgid "unknown source"
 msgstr ""
@@ -1791,99 +1791,99 @@ msgstr ""
 msgid "Failed to connect to File daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:940 src/dird/job.c:974
-#: src/dird/job.c:983
+#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:943 src/dird/job.c:984
+#: src/dird/job.c:993
 msgid "Job resource"
 msgstr ""
 
-#: src/dird/job.c:411 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
+#: src/dird/job.c:409 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
 #: src/dird/ua_label.c:753
 msgid "Failed to connect to Storage daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:456
+#: src/dird/job.c:454
 msgid "Max wait time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:461
+#: src/dird/job.c:459
 msgid "Max run time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:555 src/dird/job.c:604
+#: src/dird/job.c:553 src/dird/job.c:602
 #, c-format
 msgid "Unhandled job status code %d\n"
 msgstr ""
 
-#: src/dird/job.c:630 src/dird/ua_output.c:630
+#: src/dird/job.c:628 src/dird/ua_output.c:630
 #, c-format
 msgid "Pool %s not in database. %s"
 msgstr ""
 
-#: src/dird/job.c:634 src/dird/ua_output.c:638
+#: src/dird/job.c:632 src/dird/ua_output.c:638
 #, c-format
 msgid "Pool %s created in database.\n"
 msgstr ""
 
-#: src/dird/job.c:643 src/dird/job.c:927
+#: src/dird/job.c:641 src/dird/job.c:930
 msgid "Run pool override"
 msgstr ""
 
-#: src/dird/job.c:653
+#: src/dird/job.c:651
 msgid "Run FullPool override"
 msgstr ""
 
-#: src/dird/job.c:655
+#: src/dird/job.c:653
 msgid "Job FullPool override"
 msgstr ""
 
-#: src/dird/job.c:663
+#: src/dird/job.c:661
 msgid "Run IncPool override"
 msgstr ""
 
-#: src/dird/job.c:665
+#: src/dird/job.c:663
 msgid "Job IncPool override"
 msgstr ""
 
-#: src/dird/job.c:673
+#: src/dird/job.c:671
 msgid "Run DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:675
+#: src/dird/job.c:673
 msgid "Job DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:700 src/stored/bscan.c:962
+#: src/dird/job.c:698 src/stored/bscan.c:962
 #, c-format
 msgid "Could not create Client record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:736
+#: src/dird/job.c:734
 msgid "FileSet MD5 digest not found.\n"
 msgstr ""
 
-#: src/dird/job.c:741
+#: src/dird/job.c:739
 #, c-format
 msgid "Could not create FileSet \"%s\" record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:781
+#: src/dird/job.c:779
 #, c-format
 msgid "Error updating job record. %s"
 msgstr ""
 
-#: src/dird/job.c:932
+#: src/dird/job.c:935
 msgid "Run storage override"
 msgstr ""
 
-#: src/dird/job.c:1045 src/dird/ua_run.c:389
+#: src/dird/job.c:1055 src/dird/ua_run.c:389
 msgid "No storage specified.\n"
 msgstr ""
 
-#: src/dird/job.c:1206
+#: src/dird/job.c:1216
 msgid "Could not start clone job.\n"
 msgstr ""
 
-#: src/dird/job.c:1208
+#: src/dird/job.c:1218
 #, c-format
 msgid "Clone JobId %d started.\n"
 msgstr ""
@@ -2180,7 +2180,7 @@ msgstr ""
 msgid "Storage from Pool's NextPool resource"
 msgstr ""
 
-#: src/dird/msgchan.c:99 src/filed/job.c:1247
+#: src/dird/msgchan.c:99 src/filed/job.c:1248
 #: src/tray-monitor/tray-monitor.c:888
 msgid "Storage daemon"
 msgstr ""
@@ -2791,7 +2791,7 @@ msgstr ""
 msgid "Warning Job %s is not running. Continuing anyway ...\n"
 msgstr ""
 
-#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:421
+#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:424
 msgid "No Jobs running.\n"
 msgstr ""
 
@@ -3620,7 +3620,7 @@ msgid "Enter a list of directories to restore for found JobIds"
 msgstr ""
 
 #: src/dird/ua_restore.c:329 src/dird/ua_status.c:732 src/filed/status.c:254
-#: src/stored/status.c:495 src/wx-console/wxbconfigpanel.cpp:212
+#: src/stored/status.c:498 src/wx-console/wxbconfigpanel.cpp:212
 msgid "Cancel"
 msgstr ""
 
@@ -4164,27 +4164,27 @@ msgid "Levels:\n"
 msgstr ""
 
 #: src/dird/ua_run.c:782 src/filed/status.c:371 src/lib/util.c:329
-#: src/stored/status.c:534
+#: src/stored/status.c:537
 msgid "Base"
 msgstr ""
 
 #: src/dird/ua_run.c:783 src/filed/status.c:373 src/lib/util.c:331
-#: src/stored/status.c:536
+#: src/stored/status.c:539
 msgid "Full"
 msgstr ""
 
 #: src/dird/ua_run.c:784 src/filed/status.c:376 src/lib/util.c:334
-#: src/stored/status.c:539
+#: src/stored/status.c:542
 msgid "Incremental"
 msgstr ""
 
 #: src/dird/ua_run.c:785 src/filed/status.c:379 src/lib/util.c:337
-#: src/stored/status.c:542
+#: src/stored/status.c:545
 msgid "Differential"
 msgstr ""
 
 #: src/dird/ua_run.c:786 src/filed/status.c:382 src/lib/util.c:340
-#: src/stored/status.c:545
+#: src/stored/status.c:548
 msgid "Since"
 msgstr ""
 
@@ -4197,7 +4197,7 @@ msgid "Initialize Catalog"
 msgstr ""
 
 #: src/dird/ua_run.c:809 src/filed/status.c:385 src/lib/util.c:343
-#: src/stored/status.c:548
+#: src/stored/status.c:551
 msgid "Verify Catalog"
 msgstr ""
 
@@ -4762,13 +4762,13 @@ msgstr ""
 msgid "No Terminated Jobs.\n"
 msgstr ""
 
-#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:456
+#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:459
 msgid ""
 "\n"
 "Terminated Jobs:\n"
 msgstr ""
 
-#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:463
+#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:466
 msgid " JobId  Level    Files      Bytes   Status   Finished        Name \n"
 msgstr ""
 
@@ -4777,30 +4777,30 @@ msgid "====================================================================\n"
 msgstr ""
 
 #: src/dird/ua_status.c:722 src/filed/status.c:244 src/lib/util.c:179
-#: src/stored/status.c:485
+#: src/stored/status.c:488
 msgid "Created"
 msgstr ""
 
 #: src/dird/ua_status.c:726 src/filed/status.c:248 src/lib/util.c:192
-#: src/lib/util.c:259 src/stored/status.c:489
+#: src/lib/util.c:259 src/stored/status.c:492
 msgid "Error"
 msgstr ""
 
-#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:492
+#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:495
 msgid "Diffs"
 msgstr ""
 
 #: src/dird/ua_status.c:735 src/filed/status.c:257 src/lib/util.c:188
-#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:498
+#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:501
 #: src/wx-console/wxbconfigpanel.cpp:201
 msgid "OK"
 msgstr ""
 
-#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:501
+#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:504
 msgid "Other"
 msgstr ""
 
-#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:512
+#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:515
 #, c-format
 msgid "%6d  %-6s %8s %10s  %-7s  %-8s %s\n"
 msgstr ""
@@ -6150,151 +6150,151 @@ msgstr ""
 msgid "Cannot open FileSet input file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:731
+#: src/filed/job.c:733
 #, c-format
 msgid "REGEX %s compile error. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:793
+#: src/filed/job.c:795
 #, c-format
 msgid "Invalid FileSet command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1008 src/findlib/match.c:199 src/tools/testfind.c:635
+#: src/filed/job.c:1009 src/findlib/match.c:199 src/tools/testfind.c:635
 #, c-format
 msgid "Unknown include/exclude option: %c\n"
 msgstr ""
 
-#: src/filed/job.c:1077 src/stored/fd_cmds.c:348
+#: src/filed/job.c:1078 src/stored/fd_cmds.c:348
 #, c-format
 msgid "Could not create bootstrap file %s: ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1179
+#: src/filed/job.c:1180
 #, c-format
 msgid "DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"
 msgstr ""
 
-#: src/filed/job.c:1187
+#: src/filed/job.c:1188
 #, c-format
 msgid "Unknown backup level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1199
+#: src/filed/job.c:1200
 #, c-format
 msgid "Bad level command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1220
+#: src/filed/job.c:1221
 #, c-format
 msgid "Bad session command: %s"
 msgstr ""
 
-#: src/filed/job.c:1241
+#: src/filed/job.c:1242
 #, c-format
 msgid "Bad storage command: %s"
 msgstr ""
 
-#: src/filed/job.c:1250
+#: src/filed/job.c:1251
 #, c-format
 msgid "Failed to connect to Storage daemon: %s:%d\n"
 msgstr ""
 
-#: src/filed/job.c:1262
+#: src/filed/job.c:1263
 msgid "Failed to authenticate Storage daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1300
+#: src/filed/job.c:1301
 msgid "Cannot contact Storage daemon\n"
 msgstr ""
 
-#: src/filed/job.c:1318
+#: src/filed/job.c:1319
 #, c-format
 msgid "Bad response to append open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1323
+#: src/filed/job.c:1324
 msgid "Bad response from stored to open command\n"
 msgstr ""
 
-#: src/filed/job.c:1350
+#: src/filed/job.c:1351
 #, c-format
 msgid "Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"
 msgstr ""
 
-#: src/filed/job.c:1352
+#: src/filed/job.c:1353
 msgid "Generate VSS snapshots failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1359
+#: src/filed/job.c:1360
 #, c-format
 msgid ""
 "Generate VSS snapshot of drive \"%c:\\\" failed. VSS support is disabled on "
 "this drive.\n"
 msgstr ""
 
-#: src/filed/job.c:1366
+#: src/filed/job.c:1367
 #, c-format
 msgid "VSS Writer (PrepareForBackup): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1371
+#: src/filed/job.c:1372
 msgid "No drive letters found for generating VSS snapshots.\n"
 msgstr ""
 
-#: src/filed/job.c:1375
+#: src/filed/job.c:1376
 #, c-format
 msgid "VSS was not initialized properly. VSS support is disabled. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1433
+#: src/filed/job.c:1434
 msgid "Append Close with SD failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1437
+#: src/filed/job.c:1438
 #, c-format
 msgid "Bad status %d returned from Storage Daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1455
+#: src/filed/job.c:1456
 #, c-format
 msgid "VSS Writer (BackupComplete): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1483
+#: src/filed/job.c:1484
 #, c-format
 msgid "2994 Bad verify command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1498 src/filed/job.c:1537
+#: src/filed/job.c:1499 src/filed/job.c:1538
 #, c-format
 msgid "2994 Bad verify level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1579
+#: src/filed/job.c:1580
 #, c-format
 msgid "Bad replace command. CMD=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1658
+#: src/filed/job.c:1659
 msgid "Improper calling sequence.\n"
 msgstr ""
 
-#: src/filed/job.c:1678
+#: src/filed/job.c:1679
 #, c-format
 msgid "Bad response to SD read open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1683
+#: src/filed/job.c:1684
 msgid "Bad response from stored to read open command\n"
 msgstr ""
 
-#: src/filed/job.c:1747
+#: src/filed/job.c:1748
 #, c-format
 msgid "Comm error with SD. bad response to %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1750
+#: src/filed/job.c:1751
 #, c-format
 msgid "Bad response to %s command. Wanted %s, got %s\n"
 msgstr ""
@@ -6564,7 +6564,7 @@ msgstr ""
 msgid "    %s%s Job started: %s\n"
 msgstr ""
 
-#: src/filed/status.c:169 src/stored/status.c:398
+#: src/filed/status.c:169 src/stored/status.c:401
 #, c-format
 msgid "    Files=%s Bytes=%s Bytes/sec=%s\n"
 msgstr ""
@@ -6583,8 +6583,8 @@ msgstr ""
 msgid "    SDSocket closed.\n"
 msgstr ""
 
-#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:610
-#: src/stored/status.c:633
+#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:613
+#: src/stored/status.c:636
 #, c-format
 msgid "Bad .status command: %s\n"
 msgstr ""
@@ -6597,23 +6597,23 @@ msgstr ""
 msgid "2900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/filed/status.c:388 src/stored/status.c:551
+#: src/filed/status.c:388 src/stored/status.c:554
 msgid "Init Catalog"
 msgstr ""
 
-#: src/filed/status.c:391 src/stored/status.c:554
+#: src/filed/status.c:391 src/stored/status.c:557
 msgid "Volume to Catalog"
 msgstr ""
 
-#: src/filed/status.c:394 src/stored/status.c:557
+#: src/filed/status.c:394 src/stored/status.c:560
 msgid "Disk to Catalog"
 msgstr ""
 
-#: src/filed/status.c:397 src/stored/status.c:560
+#: src/filed/status.c:397 src/stored/status.c:563
 msgid "Data"
 msgstr ""
 
-#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:566
+#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:569
 msgid "Unknown Job Level"
 msgstr ""
 
@@ -13346,50 +13346,55 @@ msgid ""
 "    pool=\"%s\" device=\"%s\"\n"
 msgstr ""
 
-#: src/stored/status.c:406
+#: src/stored/status.c:392
+#, c-format
+msgid "    spooling=%d despooling=%d despool_wait=%d\n"
+msgstr ""
+
+#: src/stored/status.c:409
 #, c-format
 msgid "    FDReadSeqNo=%s in_msg=%u out_msg=%d fd=%d\n"
 msgstr ""
 
-#: src/stored/status.c:412
+#: src/stored/status.c:415
 msgid "    FDSocket closed\n"
 msgstr ""
 
-#: src/stored/status.c:434
+#: src/stored/status.c:437
 msgid ""
 "\n"
 "Jobs waiting to reserve a drive:\n"
 msgstr ""
 
-#: src/stored/status.c:465
+#: src/stored/status.c:468
 msgid "===================================================================\n"
 msgstr ""
 
-#: src/stored/status.c:611
+#: src/stored/status.c:614
 msgid "3900 Bad .status command, missing argument.\n"
 msgstr ""
 
-#: src/stored/status.c:634
+#: src/stored/status.c:637
 msgid "3900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/stored/status.c:648
+#: src/stored/status.c:651
 msgid "Bacula Storage: Idle"
 msgstr ""
 
-#: src/stored/status.c:659
+#: src/stored/status.c:662
 msgid "Bacula Storage: Running"
 msgstr ""
 
-#: src/stored/status.c:673
+#: src/stored/status.c:676
 msgid "Bacula Storage: Last Job Canceled"
 msgstr ""
 
-#: src/stored/status.c:677
+#: src/stored/status.c:680
 msgid "Bacula Storage: Last Job Failed"
 msgstr ""
 
-#: src/stored/status.c:681
+#: src/stored/status.c:684
 msgid "Bacula Storage: Last Job had Warnings"
 msgstr ""
 
diff --git a/bacula/po/fr.gmo b/bacula/po/fr.gmo
new file mode 100644 (file)
index 0000000..ceec2d5
Binary files /dev/null and b/bacula/po/fr.gmo differ
index 27913171858f3faec2e703be0218ac9c57d119ad..5b2b79a6edc1baf32e52a212f9e80de8aa132654 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Bacula 1.38\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2007-01-04 09:52+0100\n"
+"POT-Creation-Date: 2007-01-12 17:30+0100\n"
 "PO-Revision-Date: 2007-01-01 20:45+0100\n"
 "Last-Translator: Eric Bollengier <eric@eb.homelinux.org>\n"
 "Language-Team: French <bacula-devel-fr@lists.sourceforge.net>\n"
@@ -140,8 +140,8 @@ msgid ""
 msgstr ""
 
 #: src/cats/sql.c:235 src/cats/sql.c:242 src/cats/sql_create.c:792
-#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:592
-#: src/cats/sql_get.c:667 src/cats/sql_get.c:898
+#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:595
+#: src/cats/sql_get.c:670 src/cats/sql_get.c:901
 #, c-format
 msgid "error fetching row: %s\n"
 msgstr ""
@@ -422,104 +422,104 @@ msgstr ""
 msgid "No Job found for JobId %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:352 src/cats/sql_get.c:408
+#: src/cats/sql_get.c:355 src/cats/sql_get.c:411
 #, c-format
 msgid "No volumes found for JobId=%d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:358 src/cats/sql_get.c:421
+#: src/cats/sql_get.c:361 src/cats/sql_get.c:424
 #, c-format
 msgid "Error fetching row %d: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:372
+#: src/cats/sql_get.c:375
 #, c-format
 msgid "No Volume for JobId %d found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:508
+#: src/cats/sql_get.c:511
 #, c-format
 msgid "Pool id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:545
+#: src/cats/sql_get.c:548
 #, c-format
 msgid "Client id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:587
+#: src/cats/sql_get.c:590
 #, c-format
 msgid "More than one Pool!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:628
+#: src/cats/sql_get.c:631
 msgid "Pool record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:662
+#: src/cats/sql_get.c:665
 #, c-format
 msgid "More than one Client!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:679 src/cats/sql_get.c:683
+#: src/cats/sql_get.c:682 src/cats/sql_get.c:686
 msgid "Client record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:708
+#: src/cats/sql_get.c:711
 #, c-format
 msgid "More than one Counter!: %d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:713
+#: src/cats/sql_get.c:716
 #, c-format
 msgid "error fetching Counter row: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:733
+#: src/cats/sql_get.c:736
 #, c-format
 msgid "Counter record: %s not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:769
+#: src/cats/sql_get.c:772
 #, c-format
 msgid "Error got %s FileSets but expected only one!\n"
 msgstr ""
 
-#: src/cats/sql_get.c:774
+#: src/cats/sql_get.c:777
 #, c-format
 msgid "FileSet record \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:784
+#: src/cats/sql_get.c:787
 msgid "FileSet record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:841
+#: src/cats/sql_get.c:844
 #, c-format
 msgid "Media id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:893
+#: src/cats/sql_get.c:896
 #, c-format
 msgid "More than one Volume!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:946
+#: src/cats/sql_get.c:949
 #, c-format
 msgid "Media record MediaId=%s not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:949
+#: src/cats/sql_get.c:952
 #, c-format
 msgid "Media record for Volume \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:956
+#: src/cats/sql_get.c:959
 #, c-format
 msgid "Media record for MediaId=%u not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:959
+#: src/cats/sql_get.c:962
 #, c-format
 msgid "Media record for Vol=%s not found in Catalog.\n"
 msgstr ""
@@ -767,7 +767,7 @@ msgstr ""
 "Fin de la purge automatique.\n"
 "\n"
 
-#: src/dird/backup.c:87 src/dird/job.c:937 src/dird/job.c:976
+#: src/dird/backup.c:87 src/dird/job.c:940 src/dird/job.c:986
 #: src/dird/migrate.c:229 src/dird/migrate.c:230
 #, fuzzy
 msgid "Pool resource"
@@ -1727,7 +1727,7 @@ msgstr "Erreur dans l'ex
 msgid "Cannot open included file: %s. ERR=%s\n"
 msgstr "Impossible d'ouvrir le fichier inclus : %s. ERR=%s\n"
 
-#: src/dird/fd_cmds.c:468 src/filed/job.c:1771
+#: src/dird/fd_cmds.c:468 src/filed/job.c:1772
 #, c-format
 msgid "Could not open bootstrap file %s: ERR=%s\n"
 msgstr "Impossible d'ouvrir le fichier bootstrap %s : ERR=%s\n"
@@ -1845,7 +1845,7 @@ msgstr ""
 msgid "Could not open database \"%s\".\n"
 msgstr "Impossible d'ouvrir la base de données Â«Â %s ».\n"
 
-#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:969
+#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:966 src/dird/job.c:978
 #: src/dird/ua_cmds.c:690 src/dird/ua_cmds.c:1340 src/dird/ua_status.c:293
 msgid "unknown source"
 msgstr "source inconnue"
@@ -1868,100 +1868,100 @@ msgstr "JobId %s, Job %s marqu
 msgid "Failed to connect to File daemon.\n"
 msgstr "Impossible de se connecter au client.\n"
 
-#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:940 src/dird/job.c:974
-#: src/dird/job.c:983
+#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:943 src/dird/job.c:984
+#: src/dird/job.c:993
 #, fuzzy
 msgid "Job resource"
 msgstr "Pool Ã  partir de sa définition"
 
-#: src/dird/job.c:411 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
+#: src/dird/job.c:409 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
 #: src/dird/ua_label.c:753
 msgid "Failed to connect to Storage daemon.\n"
 msgstr "Impossible de se connecter au Storage daemon.\n"
 
-#: src/dird/job.c:456
+#: src/dird/job.c:454
 msgid "Max wait time exceeded. Job canceled.\n"
 msgstr "Temps d'attente maximum dépassé. Abandon du job.\n"
 
-#: src/dird/job.c:461
+#: src/dird/job.c:459
 msgid "Max run time exceeded. Job canceled.\n"
 msgstr "Temps d'exécution maximum atteind. Abandon du job.\n"
 
-#: src/dird/job.c:555 src/dird/job.c:604
+#: src/dird/job.c:553 src/dird/job.c:602
 #, c-format
 msgid "Unhandled job status code %d\n"
 msgstr ""
 
-#: src/dird/job.c:630 src/dird/ua_output.c:630
+#: src/dird/job.c:628 src/dird/ua_output.c:630
 #, c-format
 msgid "Pool %s not in database. %s"
 msgstr "Pool %s introuvable en base. %s"
 
-#: src/dird/job.c:634 src/dird/ua_output.c:638
+#: src/dird/job.c:632 src/dird/ua_output.c:638
 #, c-format
 msgid "Pool %s created in database.\n"
 msgstr "Pool %s créé en base.\n"
 
-#: src/dird/job.c:643 src/dird/job.c:927
+#: src/dird/job.c:641 src/dird/job.c:930
 msgid "Run pool override"
 msgstr ""
 
-#: src/dird/job.c:653
+#: src/dird/job.c:651
 msgid "Run FullPool override"
 msgstr ""
 
-#: src/dird/job.c:655
+#: src/dird/job.c:653
 msgid "Job FullPool override"
 msgstr ""
 
-#: src/dird/job.c:663
+#: src/dird/job.c:661
 msgid "Run IncPool override"
 msgstr ""
 
-#: src/dird/job.c:665
+#: src/dird/job.c:663
 msgid "Job IncPool override"
 msgstr ""
 
-#: src/dird/job.c:673
+#: src/dird/job.c:671
 msgid "Run DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:675
+#: src/dird/job.c:673
 msgid "Job DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:700 src/stored/bscan.c:962
+#: src/dird/job.c:698 src/stored/bscan.c:962
 #, c-format
 msgid "Could not create Client record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:736
+#: src/dird/job.c:734
 msgid "FileSet MD5 digest not found.\n"
 msgstr ""
 
-#: src/dird/job.c:741
+#: src/dird/job.c:739
 #, c-format
 msgid "Could not create FileSet \"%s\" record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:781
+#: src/dird/job.c:779
 #, c-format
 msgid "Error updating job record. %s"
 msgstr ""
 
-#: src/dird/job.c:932
+#: src/dird/job.c:935
 msgid "Run storage override"
 msgstr ""
 
-#: src/dird/job.c:1045 src/dird/ua_run.c:389
+#: src/dird/job.c:1055 src/dird/ua_run.c:389
 msgid "No storage specified.\n"
 msgstr "Pas de storage sélectionné.\n"
 
-#: src/dird/job.c:1206
+#: src/dird/job.c:1216
 msgid "Could not start clone job.\n"
 msgstr ""
 
-#: src/dird/job.c:1208
+#: src/dird/job.c:1218
 #, c-format
 msgid "Clone JobId %d started.\n"
 msgstr ""
@@ -2295,7 +2295,7 @@ msgstr ""
 msgid "Storage from Pool's NextPool resource"
 msgstr "Sélectionnez le Pool"
 
-#: src/dird/msgchan.c:99 src/filed/job.c:1247
+#: src/dird/msgchan.c:99 src/filed/job.c:1248
 #: src/tray-monitor/tray-monitor.c:888
 msgid "Storage daemon"
 msgstr ""
@@ -2928,7 +2928,7 @@ msgstr ""
 msgid "Warning Job %s is not running. Continuing anyway ...\n"
 msgstr "Attention le Job %s n'est pas en cours. Continuons quand même...\n"
 
-#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:421
+#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:424
 msgid "No Jobs running.\n"
 msgstr "Pas de job en cours.\n"
 
@@ -3806,7 +3806,7 @@ msgid "Enter a list of directories to restore for found JobIds"
 msgstr "Saisir la liste des répertoires Ã  restaurer (pour un JobId)"
 
 #: src/dird/ua_restore.c:329 src/dird/ua_status.c:732 src/filed/status.c:254
-#: src/stored/status.c:495 src/wx-console/wxbconfigpanel.cpp:212
+#: src/stored/status.c:498 src/wx-console/wxbconfigpanel.cpp:212
 msgid "Cancel"
 msgstr "Annulé"
 
@@ -4385,27 +4385,27 @@ msgid "Levels:\n"
 msgstr "Types :\n"
 
 #: src/dird/ua_run.c:782 src/filed/status.c:371 src/lib/util.c:329
-#: src/stored/status.c:534
+#: src/stored/status.c:537
 msgid "Base"
 msgstr "Base"
 
 #: src/dird/ua_run.c:783 src/filed/status.c:373 src/lib/util.c:331
-#: src/stored/status.c:536
+#: src/stored/status.c:539
 msgid "Full"
 msgstr "Full"
 
 #: src/dird/ua_run.c:784 src/filed/status.c:376 src/lib/util.c:334
-#: src/stored/status.c:539
+#: src/stored/status.c:542
 msgid "Incremental"
 msgstr "Incrémental"
 
 #: src/dird/ua_run.c:785 src/filed/status.c:379 src/lib/util.c:337
-#: src/stored/status.c:542
+#: src/stored/status.c:545
 msgid "Differential"
 msgstr "Différentiel"
 
 #: src/dird/ua_run.c:786 src/filed/status.c:382 src/lib/util.c:340
-#: src/stored/status.c:545
+#: src/stored/status.c:548
 msgid "Since"
 msgstr "Depuis"
 
@@ -4418,7 +4418,7 @@ msgid "Initialize Catalog"
 msgstr "Initialisez le catalogue"
 
 #: src/dird/ua_run.c:809 src/filed/status.c:385 src/lib/util.c:343
-#: src/stored/status.c:548
+#: src/stored/status.c:551
 msgid "Verify Catalog"
 msgstr ""
 
@@ -5058,7 +5058,7 @@ msgstr "%6d %-6s  %-20s %s\n"
 msgid "No Terminated Jobs.\n"
 msgstr "Pas de job terminé.\n"
 
-#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:456
+#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:459
 msgid ""
 "\n"
 "Terminated Jobs:\n"
@@ -5066,7 +5066,7 @@ msgstr ""
 "\n"
 "Job terminés :\n"
 
-#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:463
+#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:466
 msgid " JobId  Level    Files      Bytes   Status   Finished        Name \n"
 msgstr " JobId  Type     Fichiers   Octets   Statut  Terminé         Nom\n"
 
@@ -5075,30 +5075,30 @@ msgid "====================================================================\n"
 msgstr "=====================================================================\n"
 
 #: src/dird/ua_status.c:722 src/filed/status.c:244 src/lib/util.c:179
-#: src/stored/status.c:485
+#: src/stored/status.c:488
 msgid "Created"
 msgstr "Crée"
 
 #: src/dird/ua_status.c:726 src/filed/status.c:248 src/lib/util.c:192
-#: src/lib/util.c:259 src/stored/status.c:489
+#: src/lib/util.c:259 src/stored/status.c:492
 msgid "Error"
 msgstr "Erreur"
 
-#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:492
+#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:495
 msgid "Diffs"
 msgstr ""
 
 #: src/dird/ua_status.c:735 src/filed/status.c:257 src/lib/util.c:188
-#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:498
+#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:501
 #: src/wx-console/wxbconfigpanel.cpp:201
 msgid "OK"
 msgstr "OK"
 
-#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:501
+#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:504
 msgid "Other"
 msgstr "Autre"
 
-#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:512
+#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:515
 #, c-format
 msgid "%6d  %-6s %8s %10s  %-7s  %-8s %s\n"
 msgstr "%6d  %-6s %8s %10s %-7s  %-8s %s\n"
@@ -6497,85 +6497,85 @@ msgstr "Erreur dans l'ex
 msgid "Cannot open FileSet input file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:731
+#: src/filed/job.c:733
 #, c-format
 msgid "REGEX %s compile error. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:793
+#: src/filed/job.c:795
 #, c-format
 msgid "Invalid FileSet command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1008 src/findlib/match.c:199 src/tools/testfind.c:635
+#: src/filed/job.c:1009 src/findlib/match.c:199 src/tools/testfind.c:635
 #, c-format
 msgid "Unknown include/exclude option: %c\n"
 msgstr ""
 
-#: src/filed/job.c:1077 src/stored/fd_cmds.c:348
+#: src/filed/job.c:1078 src/stored/fd_cmds.c:348
 #, c-format
 msgid "Could not create bootstrap file %s: ERR=%s\n"
 msgstr "Impossible de créer le fichier bootstrap %s : ERR=%s\n"
 
-#: src/filed/job.c:1179
+#: src/filed/job.c:1180
 #, c-format
 msgid "DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"
 msgstr ""
 "L'horloge du client et du director ont %d secondes d'écart, le client s'est "
 "ajusté automatiquement.\n"
 
-#: src/filed/job.c:1187
+#: src/filed/job.c:1188
 #, c-format
 msgid "Unknown backup level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1199
+#: src/filed/job.c:1200
 #, c-format
 msgid "Bad level command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1220
+#: src/filed/job.c:1221
 #, c-format
 msgid "Bad session command: %s"
 msgstr ""
 
-#: src/filed/job.c:1241
+#: src/filed/job.c:1242
 #, c-format
 msgid "Bad storage command: %s"
 msgstr ""
 
-#: src/filed/job.c:1250
+#: src/filed/job.c:1251
 #, c-format
 msgid "Failed to connect to Storage daemon: %s:%d\n"
 msgstr ""
 
-#: src/filed/job.c:1262
+#: src/filed/job.c:1263
 msgid "Failed to authenticate Storage daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1300
+#: src/filed/job.c:1301
 msgid "Cannot contact Storage daemon\n"
 msgstr "Impossible de se connecter au démon Storage\n"
 
-#: src/filed/job.c:1318
+#: src/filed/job.c:1319
 #, c-format
 msgid "Bad response to append open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1323
+#: src/filed/job.c:1324
 msgid "Bad response from stored to open command\n"
 msgstr ""
 
-#: src/filed/job.c:1350
+#: src/filed/job.c:1351
 #, c-format
 msgid "Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"
 msgstr "Création des snapshot VSS. Driver=« %s », Lecteur(s)=« %s »\n"
 
-#: src/filed/job.c:1352
+#: src/filed/job.c:1353
 msgid "Generate VSS snapshots failed.\n"
 msgstr "Erreur durant la création des snapshots VSS.\n"
 
-#: src/filed/job.c:1359
+#: src/filed/job.c:1360
 #, c-format
 msgid ""
 "Generate VSS snapshot of drive \"%c:\\\" failed. VSS support is disabled on "
@@ -6584,68 +6584,68 @@ msgstr ""
 "Erreur lors de la création du snapshot VSS du lecteur Â«Â %c:\\\\ ». Le VSS "
 "est désactivé sur ce lecteur.\n"
 
-#: src/filed/job.c:1366
+#: src/filed/job.c:1367
 #, c-format
 msgid "VSS Writer (PrepareForBackup): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1371
+#: src/filed/job.c:1372
 msgid "No drive letters found for generating VSS snapshots.\n"
 msgstr ""
 
-#: src/filed/job.c:1375
+#: src/filed/job.c:1376
 #, c-format
 msgid "VSS was not initialized properly. VSS support is disabled. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1433
+#: src/filed/job.c:1434
 msgid "Append Close with SD failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1437
+#: src/filed/job.c:1438
 #, c-format
 msgid "Bad status %d returned from Storage Daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1455
+#: src/filed/job.c:1456
 #, c-format
 msgid "VSS Writer (BackupComplete): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1483
+#: src/filed/job.c:1484
 #, c-format
 msgid "2994 Bad verify command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1498 src/filed/job.c:1537
+#: src/filed/job.c:1499 src/filed/job.c:1538
 #, c-format
 msgid "2994 Bad verify level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1579
+#: src/filed/job.c:1580
 #, c-format
 msgid "Bad replace command. CMD=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1658
+#: src/filed/job.c:1659
 msgid "Improper calling sequence.\n"
 msgstr ""
 
-#: src/filed/job.c:1678
+#: src/filed/job.c:1679
 #, c-format
 msgid "Bad response to SD read open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1683
+#: src/filed/job.c:1684
 msgid "Bad response from stored to read open command\n"
 msgstr ""
 
-#: src/filed/job.c:1747
+#: src/filed/job.c:1748
 #, c-format
 msgid "Comm error with SD. bad response to %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1750
+#: src/filed/job.c:1751
 #, c-format
 msgid "Bad response to %s command. Wanted %s, got %s\n"
 msgstr ""
@@ -6916,7 +6916,7 @@ msgstr ""
 msgid "    %s%s Job started: %s\n"
 msgstr ""
 
-#: src/filed/status.c:169 src/stored/status.c:398
+#: src/filed/status.c:169 src/stored/status.c:401
 #, c-format
 msgid "    Files=%s Bytes=%s Bytes/sec=%s\n"
 msgstr ""
@@ -6935,8 +6935,8 @@ msgstr ""
 msgid "    SDSocket closed.\n"
 msgstr ""
 
-#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:610
-#: src/stored/status.c:633
+#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:613
+#: src/stored/status.c:636
 #, c-format
 msgid "Bad .status command: %s\n"
 msgstr ""
@@ -6949,23 +6949,23 @@ msgstr ""
 msgid "2900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/filed/status.c:388 src/stored/status.c:551
+#: src/filed/status.c:388 src/stored/status.c:554
 msgid "Init Catalog"
 msgstr ""
 
-#: src/filed/status.c:391 src/stored/status.c:554
+#: src/filed/status.c:391 src/stored/status.c:557
 msgid "Volume to Catalog"
 msgstr ""
 
-#: src/filed/status.c:394 src/stored/status.c:557
+#: src/filed/status.c:394 src/stored/status.c:560
 msgid "Disk to Catalog"
 msgstr ""
 
-#: src/filed/status.c:397 src/stored/status.c:560
+#: src/filed/status.c:397 src/stored/status.c:563
 msgid "Data"
 msgstr ""
 
-#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:566
+#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:569
 msgid "Unknown Job Level"
 msgstr ""
 
@@ -13906,16 +13906,21 @@ msgstr ""
 "Ecriture : %s %s job %s JobId=%d Volume=« %s »\n"
 "   pool=« %s » device=« %s »\n"
 
-#: src/stored/status.c:406
+#: src/stored/status.c:392
+#, c-format
+msgid "    spooling=%d despooling=%d despool_wait=%d\n"
+msgstr ""
+
+#: src/stored/status.c:409
 #, c-format
 msgid "    FDReadSeqNo=%s in_msg=%u out_msg=%d fd=%d\n"
 msgstr ""
 
-#: src/stored/status.c:412
+#: src/stored/status.c:415
 msgid "    FDSocket closed\n"
 msgstr ""
 
-#: src/stored/status.c:434
+#: src/stored/status.c:437
 msgid ""
 "\n"
 "Jobs waiting to reserve a drive:\n"
@@ -13923,35 +13928,35 @@ msgstr ""
 "\n"
 "Jobs en attente de réservation de lecteur :\n"
 
-#: src/stored/status.c:465
+#: src/stored/status.c:468
 msgid "===================================================================\n"
 msgstr "===================================================================\n"
 
-#: src/stored/status.c:611
+#: src/stored/status.c:614
 msgid "3900 Bad .status command, missing argument.\n"
 msgstr ""
 
-#: src/stored/status.c:634
+#: src/stored/status.c:637
 msgid "3900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/stored/status.c:648
+#: src/stored/status.c:651
 msgid "Bacula Storage: Idle"
 msgstr "Bacula Storage : En attente"
 
-#: src/stored/status.c:659
+#: src/stored/status.c:662
 msgid "Bacula Storage: Running"
 msgstr "Bacula Storage : En cours"
 
-#: src/stored/status.c:673
+#: src/stored/status.c:676
 msgid "Bacula Storage: Last Job Canceled"
 msgstr "Bacula Storage : Dernier Job annulé"
 
-#: src/stored/status.c:677
+#: src/stored/status.c:680
 msgid "Bacula Storage: Last Job Failed"
 msgstr "Bacula Storage : Dernier Job en erreur"
 
-#: src/stored/status.c:681
+#: src/stored/status.c:684
 msgid "Bacula Storage: Last Job had Warnings"
 msgstr "Bacula Storage : Le dernier Job avait des erreurs"
 
diff --git a/bacula/po/it.gmo b/bacula/po/it.gmo
new file mode 100644 (file)
index 0000000..26a83ac
Binary files /dev/null and b/bacula/po/it.gmo differ
index 5e1657bf33e631b849ffd357bd17c8569085a8e9..b9965d858065d0d2ac439051d1d51c7907576fdb 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Bacula 1.38\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2007-01-04 09:52+0100\n"
+"POT-Creation-Date: 2007-01-12 17:30+0100\n"
 "PO-Revision-Date: 2005-08-08 17:50+0200\n"
 "Last-Translator:  <fparacchini@alteanet.it>\n"
 "Language-Team: Italian <bacula-devel@lists.sourceforge.net>\n"
@@ -134,8 +134,8 @@ msgid ""
 msgstr ""
 
 #: src/cats/sql.c:235 src/cats/sql.c:242 src/cats/sql_create.c:792
-#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:592
-#: src/cats/sql_get.c:667 src/cats/sql_get.c:898
+#: src/cats/sql_get.c:186 src/cats/sql_get.c:237 src/cats/sql_get.c:595
+#: src/cats/sql_get.c:670 src/cats/sql_get.c:901
 #, c-format
 msgid "error fetching row: %s\n"
 msgstr ""
@@ -416,104 +416,104 @@ msgstr ""
 msgid "No Job found for JobId %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:352 src/cats/sql_get.c:408
+#: src/cats/sql_get.c:355 src/cats/sql_get.c:411
 #, c-format
 msgid "No volumes found for JobId=%d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:358 src/cats/sql_get.c:421
+#: src/cats/sql_get.c:361 src/cats/sql_get.c:424
 #, c-format
 msgid "Error fetching row %d: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:372
+#: src/cats/sql_get.c:375
 #, c-format
 msgid "No Volume for JobId %d found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:508
+#: src/cats/sql_get.c:511
 #, c-format
 msgid "Pool id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:545
+#: src/cats/sql_get.c:548
 #, c-format
 msgid "Client id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:587
+#: src/cats/sql_get.c:590
 #, c-format
 msgid "More than one Pool!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:628
+#: src/cats/sql_get.c:631
 msgid "Pool record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:662
+#: src/cats/sql_get.c:665
 #, c-format
 msgid "More than one Client!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:679 src/cats/sql_get.c:683
+#: src/cats/sql_get.c:682 src/cats/sql_get.c:686
 msgid "Client record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:708
+#: src/cats/sql_get.c:711
 #, c-format
 msgid "More than one Counter!: %d\n"
 msgstr ""
 
-#: src/cats/sql_get.c:713
+#: src/cats/sql_get.c:716
 #, c-format
 msgid "error fetching Counter row: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:733
+#: src/cats/sql_get.c:736
 #, c-format
 msgid "Counter record: %s not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:769
+#: src/cats/sql_get.c:772
 #, c-format
 msgid "Error got %s FileSets but expected only one!\n"
 msgstr ""
 
-#: src/cats/sql_get.c:774
+#: src/cats/sql_get.c:777
 #, c-format
 msgid "FileSet record \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:784
+#: src/cats/sql_get.c:787
 msgid "FileSet record not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:841
+#: src/cats/sql_get.c:844
 #, c-format
 msgid "Media id select failed: ERR=%s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:893
+#: src/cats/sql_get.c:896
 #, c-format
 msgid "More than one Volume!: %s\n"
 msgstr ""
 
-#: src/cats/sql_get.c:946
+#: src/cats/sql_get.c:949
 #, c-format
 msgid "Media record MediaId=%s not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:949
+#: src/cats/sql_get.c:952
 #, c-format
 msgid "Media record for Volume \"%s\" not found.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:956
+#: src/cats/sql_get.c:959
 #, c-format
 msgid "Media record for MediaId=%u not found in Catalog.\n"
 msgstr ""
 
-#: src/cats/sql_get.c:959
+#: src/cats/sql_get.c:962
 #, c-format
 msgid "Media record for Vol=%s not found in Catalog.\n"
 msgstr ""
@@ -744,7 +744,7 @@ msgid ""
 "\n"
 msgstr ""
 
-#: src/dird/backup.c:87 src/dird/job.c:937 src/dird/job.c:976
+#: src/dird/backup.c:87 src/dird/job.c:940 src/dird/job.c:986
 #: src/dird/migrate.c:229 src/dird/migrate.c:230
 msgid "Pool resource"
 msgstr ""
@@ -1649,7 +1649,7 @@ msgstr ""
 msgid "Cannot open included file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/dird/fd_cmds.c:468 src/filed/job.c:1771
+#: src/dird/fd_cmds.c:468 src/filed/job.c:1772
 #, c-format
 msgid "Could not open bootstrap file %s: ERR=%s\n"
 msgstr ""
@@ -1767,7 +1767,7 @@ msgstr ""
 msgid "Could not open database \"%s\".\n"
 msgstr ""
 
-#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:969
+#: src/dird/job.c:145 src/dird/job.c:151 src/dird/job.c:966 src/dird/job.c:978
 #: src/dird/ua_cmds.c:690 src/dird/ua_cmds.c:1340 src/dird/ua_status.c:293
 msgid "unknown source"
 msgstr ""
@@ -1790,99 +1790,99 @@ msgstr ""
 msgid "Failed to connect to File daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:940 src/dird/job.c:974
-#: src/dird/job.c:983
+#: src/dird/job.c:394 src/dird/job.c:396 src/dird/job.c:943 src/dird/job.c:984
+#: src/dird/job.c:993
 msgid "Job resource"
 msgstr ""
 
-#: src/dird/job.c:411 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
+#: src/dird/job.c:409 src/dird/ua_cmds.c:696 src/dird/ua_cmds.c:1354
 #: src/dird/ua_label.c:753
 msgid "Failed to connect to Storage daemon.\n"
 msgstr ""
 
-#: src/dird/job.c:456
+#: src/dird/job.c:454
 msgid "Max wait time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:461
+#: src/dird/job.c:459
 msgid "Max run time exceeded. Job canceled.\n"
 msgstr ""
 
-#: src/dird/job.c:555 src/dird/job.c:604
+#: src/dird/job.c:553 src/dird/job.c:602
 #, c-format
 msgid "Unhandled job status code %d\n"
 msgstr ""
 
-#: src/dird/job.c:630 src/dird/ua_output.c:630
+#: src/dird/job.c:628 src/dird/ua_output.c:630
 #, c-format
 msgid "Pool %s not in database. %s"
 msgstr ""
 
-#: src/dird/job.c:634 src/dird/ua_output.c:638
+#: src/dird/job.c:632 src/dird/ua_output.c:638
 #, c-format
 msgid "Pool %s created in database.\n"
 msgstr ""
 
-#: src/dird/job.c:643 src/dird/job.c:927
+#: src/dird/job.c:641 src/dird/job.c:930
 msgid "Run pool override"
 msgstr ""
 
-#: src/dird/job.c:653
+#: src/dird/job.c:651
 msgid "Run FullPool override"
 msgstr ""
 
-#: src/dird/job.c:655
+#: src/dird/job.c:653
 msgid "Job FullPool override"
 msgstr ""
 
-#: src/dird/job.c:663
+#: src/dird/job.c:661
 msgid "Run IncPool override"
 msgstr ""
 
-#: src/dird/job.c:665
+#: src/dird/job.c:663
 msgid "Job IncPool override"
 msgstr ""
 
-#: src/dird/job.c:673
+#: src/dird/job.c:671
 msgid "Run DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:675
+#: src/dird/job.c:673
 msgid "Job DiffPool override"
 msgstr ""
 
-#: src/dird/job.c:700 src/stored/bscan.c:962
+#: src/dird/job.c:698 src/stored/bscan.c:962
 #, c-format
 msgid "Could not create Client record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:736
+#: src/dird/job.c:734
 msgid "FileSet MD5 digest not found.\n"
 msgstr ""
 
-#: src/dird/job.c:741
+#: src/dird/job.c:739
 #, c-format
 msgid "Could not create FileSet \"%s\" record. ERR=%s\n"
 msgstr ""
 
-#: src/dird/job.c:781
+#: src/dird/job.c:779
 #, c-format
 msgid "Error updating job record. %s"
 msgstr ""
 
-#: src/dird/job.c:932
+#: src/dird/job.c:935
 msgid "Run storage override"
 msgstr ""
 
-#: src/dird/job.c:1045 src/dird/ua_run.c:389
+#: src/dird/job.c:1055 src/dird/ua_run.c:389
 msgid "No storage specified.\n"
 msgstr ""
 
-#: src/dird/job.c:1206
+#: src/dird/job.c:1216
 msgid "Could not start clone job.\n"
 msgstr ""
 
-#: src/dird/job.c:1208
+#: src/dird/job.c:1218
 #, c-format
 msgid "Clone JobId %d started.\n"
 msgstr ""
@@ -2179,7 +2179,7 @@ msgstr ""
 msgid "Storage from Pool's NextPool resource"
 msgstr ""
 
-#: src/dird/msgchan.c:99 src/filed/job.c:1247
+#: src/dird/msgchan.c:99 src/filed/job.c:1248
 #: src/tray-monitor/tray-monitor.c:888
 msgid "Storage daemon"
 msgstr ""
@@ -2790,7 +2790,7 @@ msgstr ""
 msgid "Warning Job %s is not running. Continuing anyway ...\n"
 msgstr ""
 
-#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:421
+#: src/dird/ua_cmds.c:441 src/filed/status.c:197 src/stored/status.c:424
 msgid "No Jobs running.\n"
 msgstr ""
 
@@ -3619,7 +3619,7 @@ msgid "Enter a list of directories to restore for found JobIds"
 msgstr ""
 
 #: src/dird/ua_restore.c:329 src/dird/ua_status.c:732 src/filed/status.c:254
-#: src/stored/status.c:495 src/wx-console/wxbconfigpanel.cpp:212
+#: src/stored/status.c:498 src/wx-console/wxbconfigpanel.cpp:212
 msgid "Cancel"
 msgstr ""
 
@@ -4163,27 +4163,27 @@ msgid "Levels:\n"
 msgstr ""
 
 #: src/dird/ua_run.c:782 src/filed/status.c:371 src/lib/util.c:329
-#: src/stored/status.c:534
+#: src/stored/status.c:537
 msgid "Base"
 msgstr ""
 
 #: src/dird/ua_run.c:783 src/filed/status.c:373 src/lib/util.c:331
-#: src/stored/status.c:536
+#: src/stored/status.c:539
 msgid "Full"
 msgstr ""
 
 #: src/dird/ua_run.c:784 src/filed/status.c:376 src/lib/util.c:334
-#: src/stored/status.c:539
+#: src/stored/status.c:542
 msgid "Incremental"
 msgstr ""
 
 #: src/dird/ua_run.c:785 src/filed/status.c:379 src/lib/util.c:337
-#: src/stored/status.c:542
+#: src/stored/status.c:545
 msgid "Differential"
 msgstr ""
 
 #: src/dird/ua_run.c:786 src/filed/status.c:382 src/lib/util.c:340
-#: src/stored/status.c:545
+#: src/stored/status.c:548
 msgid "Since"
 msgstr ""
 
@@ -4196,7 +4196,7 @@ msgid "Initialize Catalog"
 msgstr ""
 
 #: src/dird/ua_run.c:809 src/filed/status.c:385 src/lib/util.c:343
-#: src/stored/status.c:548
+#: src/stored/status.c:551
 msgid "Verify Catalog"
 msgstr ""
 
@@ -4761,13 +4761,13 @@ msgstr ""
 msgid "No Terminated Jobs.\n"
 msgstr ""
 
-#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:456
+#: src/dird/ua_status.c:689 src/filed/status.c:214 src/stored/status.c:459
 msgid ""
 "\n"
 "Terminated Jobs:\n"
 msgstr ""
 
-#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:463
+#: src/dird/ua_status.c:690 src/filed/status.c:222 src/stored/status.c:466
 msgid " JobId  Level    Files      Bytes   Status   Finished        Name \n"
 msgstr ""
 
@@ -4776,30 +4776,30 @@ msgid "====================================================================\n"
 msgstr ""
 
 #: src/dird/ua_status.c:722 src/filed/status.c:244 src/lib/util.c:179
-#: src/stored/status.c:485
+#: src/stored/status.c:488
 msgid "Created"
 msgstr ""
 
 #: src/dird/ua_status.c:726 src/filed/status.c:248 src/lib/util.c:192
-#: src/lib/util.c:259 src/stored/status.c:489
+#: src/lib/util.c:259 src/stored/status.c:492
 msgid "Error"
 msgstr ""
 
-#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:492
+#: src/dird/ua_status.c:729 src/filed/status.c:251 src/stored/status.c:495
 msgid "Diffs"
 msgstr ""
 
 #: src/dird/ua_status.c:735 src/filed/status.c:257 src/lib/util.c:188
-#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:498
+#: src/lib/util.c:255 src/stored/btape.c:1187 src/stored/status.c:501
 #: src/wx-console/wxbconfigpanel.cpp:201
 msgid "OK"
 msgstr ""
 
-#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:501
+#: src/dird/ua_status.c:738 src/filed/status.c:260 src/stored/status.c:504
 msgid "Other"
 msgstr ""
 
-#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:512
+#: src/dird/ua_status.c:741 src/filed/status.c:271 src/stored/status.c:515
 #, c-format
 msgid "%6d  %-6s %8s %10s  %-7s  %-8s %s\n"
 msgstr ""
@@ -6149,151 +6149,151 @@ msgstr ""
 msgid "Cannot open FileSet input file: %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:731
+#: src/filed/job.c:733
 #, c-format
 msgid "REGEX %s compile error. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:793
+#: src/filed/job.c:795
 #, c-format
 msgid "Invalid FileSet command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1008 src/findlib/match.c:199 src/tools/testfind.c:635
+#: src/filed/job.c:1009 src/findlib/match.c:199 src/tools/testfind.c:635
 #, c-format
 msgid "Unknown include/exclude option: %c\n"
 msgstr ""
 
-#: src/filed/job.c:1077 src/stored/fd_cmds.c:348
+#: src/filed/job.c:1078 src/stored/fd_cmds.c:348
 #, c-format
 msgid "Could not create bootstrap file %s: ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1179
+#: src/filed/job.c:1180
 #, c-format
 msgid "DIR and FD clocks differ by %d seconds, FD automatically adjusting.\n"
 msgstr ""
 
-#: src/filed/job.c:1187
+#: src/filed/job.c:1188
 #, c-format
 msgid "Unknown backup level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1199
+#: src/filed/job.c:1200
 #, c-format
 msgid "Bad level command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1220
+#: src/filed/job.c:1221
 #, c-format
 msgid "Bad session command: %s"
 msgstr ""
 
-#: src/filed/job.c:1241
+#: src/filed/job.c:1242
 #, c-format
 msgid "Bad storage command: %s"
 msgstr ""
 
-#: src/filed/job.c:1250
+#: src/filed/job.c:1251
 #, c-format
 msgid "Failed to connect to Storage daemon: %s:%d\n"
 msgstr ""
 
-#: src/filed/job.c:1262
+#: src/filed/job.c:1263
 msgid "Failed to authenticate Storage daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1300
+#: src/filed/job.c:1301
 msgid "Cannot contact Storage daemon\n"
 msgstr ""
 
-#: src/filed/job.c:1318
+#: src/filed/job.c:1319
 #, c-format
 msgid "Bad response to append open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1323
+#: src/filed/job.c:1324
 msgid "Bad response from stored to open command\n"
 msgstr ""
 
-#: src/filed/job.c:1350
+#: src/filed/job.c:1351
 #, c-format
 msgid "Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"
 msgstr ""
 
-#: src/filed/job.c:1352
+#: src/filed/job.c:1353
 msgid "Generate VSS snapshots failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1359
+#: src/filed/job.c:1360
 #, c-format
 msgid ""
 "Generate VSS snapshot of drive \"%c:\\\" failed. VSS support is disabled on "
 "this drive.\n"
 msgstr ""
 
-#: src/filed/job.c:1366
+#: src/filed/job.c:1367
 #, c-format
 msgid "VSS Writer (PrepareForBackup): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1371
+#: src/filed/job.c:1372
 msgid "No drive letters found for generating VSS snapshots.\n"
 msgstr ""
 
-#: src/filed/job.c:1375
+#: src/filed/job.c:1376
 #, c-format
 msgid "VSS was not initialized properly. VSS support is disabled. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1433
+#: src/filed/job.c:1434
 msgid "Append Close with SD failed.\n"
 msgstr ""
 
-#: src/filed/job.c:1437
+#: src/filed/job.c:1438
 #, c-format
 msgid "Bad status %d returned from Storage Daemon.\n"
 msgstr ""
 
-#: src/filed/job.c:1455
+#: src/filed/job.c:1456
 #, c-format
 msgid "VSS Writer (BackupComplete): %s\n"
 msgstr ""
 
-#: src/filed/job.c:1483
+#: src/filed/job.c:1484
 #, c-format
 msgid "2994 Bad verify command: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1498 src/filed/job.c:1537
+#: src/filed/job.c:1499 src/filed/job.c:1538
 #, c-format
 msgid "2994 Bad verify level: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1579
+#: src/filed/job.c:1580
 #, c-format
 msgid "Bad replace command. CMD=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1658
+#: src/filed/job.c:1659
 msgid "Improper calling sequence.\n"
 msgstr ""
 
-#: src/filed/job.c:1678
+#: src/filed/job.c:1679
 #, c-format
 msgid "Bad response to SD read open: %s\n"
 msgstr ""
 
-#: src/filed/job.c:1683
+#: src/filed/job.c:1684
 msgid "Bad response from stored to read open command\n"
 msgstr ""
 
-#: src/filed/job.c:1747
+#: src/filed/job.c:1748
 #, c-format
 msgid "Comm error with SD. bad response to %s. ERR=%s\n"
 msgstr ""
 
-#: src/filed/job.c:1750
+#: src/filed/job.c:1751
 #, c-format
 msgid "Bad response to %s command. Wanted %s, got %s\n"
 msgstr ""
@@ -6563,7 +6563,7 @@ msgstr ""
 msgid "    %s%s Job started: %s\n"
 msgstr ""
 
-#: src/filed/status.c:169 src/stored/status.c:398
+#: src/filed/status.c:169 src/stored/status.c:401
 #, c-format
 msgid "    Files=%s Bytes=%s Bytes/sec=%s\n"
 msgstr ""
@@ -6582,8 +6582,8 @@ msgstr ""
 msgid "    SDSocket closed.\n"
 msgstr ""
 
-#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:610
-#: src/stored/status.c:633
+#: src/filed/status.c:326 src/filed/status.c:350 src/stored/status.c:613
+#: src/stored/status.c:636
 #, c-format
 msgid "Bad .status command: %s\n"
 msgstr ""
@@ -6596,23 +6596,23 @@ msgstr ""
 msgid "2900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/filed/status.c:388 src/stored/status.c:551
+#: src/filed/status.c:388 src/stored/status.c:554
 msgid "Init Catalog"
 msgstr ""
 
-#: src/filed/status.c:391 src/stored/status.c:554
+#: src/filed/status.c:391 src/stored/status.c:557
 msgid "Volume to Catalog"
 msgstr ""
 
-#: src/filed/status.c:394 src/stored/status.c:557
+#: src/filed/status.c:394 src/stored/status.c:560
 msgid "Disk to Catalog"
 msgstr ""
 
-#: src/filed/status.c:397 src/stored/status.c:560
+#: src/filed/status.c:397 src/stored/status.c:563
 msgid "Data"
 msgstr ""
 
-#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:566
+#: src/filed/status.c:403 src/lib/util.c:361 src/stored/status.c:569
 msgid "Unknown Job Level"
 msgstr ""
 
@@ -13345,50 +13345,55 @@ msgid ""
 "    pool=\"%s\" device=\"%s\"\n"
 msgstr ""
 
-#: src/stored/status.c:406
+#: src/stored/status.c:392
+#, c-format
+msgid "    spooling=%d despooling=%d despool_wait=%d\n"
+msgstr ""
+
+#: src/stored/status.c:409
 #, c-format
 msgid "    FDReadSeqNo=%s in_msg=%u out_msg=%d fd=%d\n"
 msgstr ""
 
-#: src/stored/status.c:412
+#: src/stored/status.c:415
 msgid "    FDSocket closed\n"
 msgstr ""
 
-#: src/stored/status.c:434
+#: src/stored/status.c:437
 msgid ""
 "\n"
 "Jobs waiting to reserve a drive:\n"
 msgstr ""
 
-#: src/stored/status.c:465
+#: src/stored/status.c:468
 msgid "===================================================================\n"
 msgstr ""
 
-#: src/stored/status.c:611
+#: src/stored/status.c:614
 msgid "3900 Bad .status command, missing argument.\n"
 msgstr ""
 
-#: src/stored/status.c:634
+#: src/stored/status.c:637
 msgid "3900 Bad .status command, wrong argument.\n"
 msgstr ""
 
-#: src/stored/status.c:648
+#: src/stored/status.c:651
 msgid "Bacula Storage: Idle"
 msgstr ""
 
-#: src/stored/status.c:659
+#: src/stored/status.c:662
 msgid "Bacula Storage: Running"
 msgstr ""
 
-#: src/stored/status.c:673
+#: src/stored/status.c:676
 msgid "Bacula Storage: Last Job Canceled"
 msgstr ""
 
-#: src/stored/status.c:677
+#: src/stored/status.c:680
 msgid "Bacula Storage: Last Job Failed"
 msgstr ""
 
-#: src/stored/status.c:681
+#: src/stored/status.c:684
 msgid "Bacula Storage: Last Job had Warnings"
 msgstr ""
 
index 87b5af4f88ec8df8c09eba13484fe6abf7c87b64..a86f3c9258ab8f6d1d94d6c1b78a6e9043f1f378 100644 (file)
@@ -490,11 +490,10 @@ Item 19:  An option to operate on all pools with update vol parameters
 
 
 
-Item 20:  Include JobID in spool file name ****DONE****
+Item 20:  Include JobID in spool file name
   Origin: Mark Bergman <mark.bergman@uphs.upenn.edu>
   Date:   Tue Aug 22 17:13:39 EDT 2006
-  Status: Done. (patches/testing/project-include-jobid-in-spool-name.patch)
-          No need to vote for this item.
+  Status: Ok (patches/testing/project-include-jobid-in-spool-name.patch)
 
   What:   Change the name of the spool file to include the JobID
 
index e48a7311885cbaddbacd678e4e5084c2aab3d445..0415af1dcd2a8f65f3240a0d0d7a2d706437fc08 100644 (file)
@@ -3,9 +3,9 @@
  */
 
 #undef  VERSION
-#define VERSION "2.1.1"
-#define BDATE   "11 January 2007"
-#define LSMDATE "11Jan07"
+#define VERSION "2.0.1"
+#define BDATE   "12 January 2007"
+#define LSMDATE "12Jan07"
 
 #define PROG_COPYRIGHT "Copyright (C) %d-2007 Free Software Foundation Europe e.V.\n"
 #define BYEAR "2007"       /* year for copyright messages in progs */
@@ -47,7 +47,7 @@
 #define TRACE_FILE 1
 
 /* If this is set stdout will not be closed on startup */
-#define DEVELOPER 1
+/* #define DEVELOPER 1 */
 
 #define DATA_ENCRYPTION 1
 
diff --git a/bacula/technotes-1.39 b/bacula/technotes-1.39
new file mode 100644 (file)
index 0000000..484fe7a
--- /dev/null
@@ -0,0 +1,1795 @@
+              Technical notes on version 1.39  
+
+General:
+Version 2.0.0 released: 4 January 2007
+03Jan07
+kes  Apply Eric's fix for client name editing on RunScripts.
+kes  Fix an incorrect dbcheck reference to Id.
+
+Version 1.39.34 released:
+28Dec06
+kes  Convert dbcheck to use 64 bit DB IDs.
+kes  Update projects
+kes  Make rescue work.      
+kes  Clarify Volume migration error message.
+kes  Look for Job keyword when opening DB in console.
+23Dec06
+kes  Add code in catreq.c to reject volumes not marked Enabled.
+kes  Add a few more ACL access checks.
+kes  Add \n in gnome2-console restore command so that output prints 
+     nicer -- i.e. lines do not run together.
+kes  Fix autolabeling so that it will not mark a volume in error
+     if the volume was not actually opened. This should fix bugs
+     #737 and 738.
+kes  Require tape drive to be open before autolabeling.
+kes  Require explicit mount command on non-tapes before autolabeling.
+kes  Implement an open_client_db() that searches the keywords for
+     either a catolg or client, and opens the appropriate catalog.
+     This makes Bacula adjust better to multiple catalogs.
+kes  Use more name() methods for resources rather than hdr.name.
+22Dec06
+kes  Fix code to check for two resources of same name. It forgot
+     to check the last entry.  Fixes bug #734.
+kes  Apply scanvolume patch from Richard Mortimer that fixes bug
+     #738.
+kes  Apply Eric's patch for recycling the Scratch pool.
+kes  Note, for the tray-monitor (or almost any restricted console_
+     to work, in version 1.39.x you must add CatalogACL = catalog-name
+kes  Add appropriate new #undefs to autoconf/acconfig.h so that 
+     configure works correctly.
+kes  Implement configure code to allow the user to disable IPv6 with
+     --disable-ipv6 
+kes  Apply Richard Mortimer's patch to prevent seg fault if mount point
+     not specified -- SD refuses to start.
+kes  Add magic.bacula from bug #715 to the scripts directory along with
+     Arno's explanation of how to install it.
+kes  Convert a bunch of hdr.name into name() method calls.
+kes  Fix the code to remove .bsr files.  Fixes bug #736 -- Martin.
+
+Version 1.39.32 released: 
+20Dec06
+kes  Take first catalog if gui is set, or if using dotcmd.
+kes  Fix a couple of compiler warnings in wx-console
+kes  Apply the immutable patch for FreeBSD hardlinked files supplied
+     by Olivier Lehmann.
+kes  Add Volume name to Forward spacing message.
+kes  Update migration job start time (so it is not zero) to prevent
+     immediate recycling of the job.  This *should* fix bug #733.
+19Dec06
+ebl  Fix runscript configuration parsing bug.
+17Dec06
+kes  Add ENABLE_NLS (as suggested by Eric) to correct NLS problems.
+     Remove NLS kludge from baconfig.h.  This fixes bug #729.
+kes  Allow seeking on DVD.
+kes  Add additional messages when Job canceled automatically for
+     max run time or max start wait exceeded.  This fixes bug #621.
+kes  Update maxruntime-test in regression script to properly test
+     max run time -- from info given in bug #621.
+kes  Simplify automatic cancel code.
+kes  Add check for job_canceled() in FD when contacting SD so that if
+     job is canceled from max runtime, it terminates faster.
+16Dec06
+kes  Save and restore volume name in stored/mount.c fixed bug #712
+     where wrong tape was requested in a mount.
+kes  Implement cleaner orphan buffer dumping with buf address.
+kes  Fix orphaned buffer when canceling job waiting on op intervention.
+kes  Update projects file for next vote.
+kes  Implement a fix (more could be done) for bug #728 where a double
+     EOF is writing on the Volume when spooling is enabled and the    
+     connection with the FD fails (FD crash, comm error).
+kes  Disable attempting to autolabel when polling and device is not
+     a tape. This fixes bug #730 where polling with a removable disk
+     not mounted caused lots of new Volumes to be created then marked
+     in error.
+15Dec06
+kes  Enable VSS by default.
+
+Version 1.39.30 released: 
+14Dec06
+kes  Complete hopefully the last of the copyright transfer changes.
+kes  Separate NumVolumes in SD to NumReadVolumes and NumWrite volumes so
+     that migration writing to multiple volumes doesn't mess up reading
+     Volumes. This should fix bug #720 -- multivol migration fails.
+kes  Make migration SQL look only for Type='B' jobs to migrate.  This should
+     fix bug #724 jobs getting migrated twice.
+kes  Convert remaining dev_cap(dev, ...) to use dev->has_cap().
+kes  Implement dev->clear_cap() and dev->set_cap() methods.
+kes  Turn off disk seeking on restore for DVDs since I am not 100%
+     sure it works.
+13Dec06
+kes  Implement code that should properly set that a job was migrated,    
+     if the migration was successful even if there were no file to
+     migrate.
+kes  Apply Richard's patch to fix building or filed/restore.c without
+     OpenSSL support.
+kes  Ensure that at least one block is written by the SD even if the
+     FD dies or fails -- should fix bug #728.
+kes  Convert stored/record.c ASSERT into a soft fail if the length of   
+     a record is too insanely long. This should fix bug #???
+12Dec06
+kes  Fix automatic labeling of File volumes, which was broken by new
+     removable device code.
+10Dec06
+kes  Remove typedef uLong for HP in baconfig.h.  It broke things.
+lf   Fix job byte reporting -- the digest code runs in verify.c and
+     increases this value.  The better solution is to digest the
+     stream as we receive it, thus removing the need to re-read
+     from disk at all, but that requires more extensive and
+     potentially destabilizing changes.
+lf   This commit fixes backup and restore of HFS+ resource forks.
+lf   Add a long-missing 'break' statement in HFS+ attribute
+     handling that resulted in restore failures.
+09Dec06
+ebl  Fix runscript to always execute command after all job type.
+
+Version 1.39.30 released: 
+08Dec06
+kes  Mark build-depkgs-mingw3 executable in configure process.
+kes  Update autoconf/config.h.in to include LOCALEDIR
+kes  Undefine NLS settings for wxWidgets as there is a conflict with
+     their way of doing things.
+kes  Implement a rpool and rpool_source in jcr.h for Migration jobs.
+kes  Change a bunch of ->hdr.name to ->name()
+kes  Straighten out handling of read and write pools for Migration, including
+     getting the code in the proper order.
+kes  Improve migration error messages and debug output.
+kes  Shorten code path in migration if nothing found to do.
+kes  Implement read/write pool in migration job report.
+kes  Move ua_run.c select_job_level code into a subroutine (readability).
+kes  Move ua_run.c display_job_parameters into a subroutine.
+kes  Do not bash dcr->VolumeName in get_volume_info() because it makes
+     restore dependent on a valid catalog containing the Volume name.
+06Dec06
+kes  Put make_catalog_backup SQL_BINDIR in an environment variable to
+     make it easier for the user to change.
+kes  Fail any backup job that tries to use encryption and sparse options.
+     Hopefully this is a temporary change.
+kes  Correct the EndJob return string for non-backup jobs.
+kes  Review the encryption restore code.
+kes  Implement a new encryption regression test with compression.
+kes  Modify migrate not to fail if nothing found to migrate. 
+kes  Add #undef HAVE_OPENSSL, HAVE_TLS, HAVE_CYRPTO to autoconf/config.h.in
+     because they were not always set correctly.
+05Dec06
+kes  Update configure.in to include python 2.5 search.
+kes  Back out unwanted migration change reported by Richard Mortimer.
+04Dec06
+kes  Make migration with no files to migrate set normal termination.
+kes  Change message when job manually started to say Job queued. ... 
+kes  Add job report indication of whether or not VSS and Encryption were
+     used by the FD.
+kes  Modify sparseBlock variable name to make the code clearer.
+kes  Add more sparse tests to regress using gigaslam sparse file
+     generator.
+kes  Enable data encryption code.
+kes  Add gigaslam.c to src/tools. It creates a 1GB file that contains
+     only two blocks -- i.e. it is a real sparse file.
+03Dec06
+kes  Enable disk seeking on restore.
+kes  Implement the SD 'Block Positioning = yes|no' directive. This
+     allows the user to turn off block level seeking, but restores
+     will be much slower.
+kes  Change the word illegal to read invalid in a few places.
+kes  Fix Win32 build, which broke when I added parse_args_only in
+     lib. I'm not sure I got the entry point right for msvc.
+kes  Turn off data encryption. It can be enabled by defining
+     DATA_ENCRYPTION in src/version.h and recompiling.
+kes  Implement flag to turn off data encryption feature.
+kes  Move unserial code in restore.c to a subroutine. Add a bit of debug
+     code.
+kes  Rework a bit of code in backup.c to handle sparse blocks correctly.
+     The main problem was that signatures were being generated on blocks
+     of zeros, which is unnecessary.
+02Dec06
+kes  Fix scanner (next_arg) to handle leading double quote correctly.     
+kes  Modify cd command in restore tree to look at full argument without
+     keywords.  This fixes bug #716.
+01Dec06
+kes  Do not update Migrated Job type if migration does not terminate
+     normally. This fixes bug #719.
+kes  Update ReleaseNotes
+kes  Purge Job records from the catalog for Migration. This was
+     not properly done previously. This fixes bug #718.
+28Nov06
+kes  Initialize msg_type to M_INFO in migration. Pointed out by
+     Robert Nelson.
+kes  Add some fflush() statements for debug output. This should not
+     really be necessary and defeats buffering but users continue
+     to complain.
+27Nov06
+kes  More copyright changes.
+kes  Make sure we don't detach from the despool read device since it
+     is a temporary structure where the condition variables are not
+     initialized.  Bug #711.
+26Nov06
+kes  Add Bacula version+date to Client record. This is a very minor
+     security problem in that passing the version facilitates a hacker's
+     life, but it will make support easier.
+kes  Implement fixes to make disk seeking work.  Currently turned
+     off in version.h pending reserch on what problems it will cause
+     because of the previous bsnprinf() sign extension bug.
+25Nov06
+kes  Add Landon's refactor of restore Feature request to the
+     projects file.
+kes  Tweak debug levels and messages for examining the disk
+     seek problem.
+22Nov06
+kes  Cleanup some of the error termination code in migration.
+kes  Separate read/write source strings to keep track of where
+     storage devices are used in a job.
+kes  Implement a new method of keeping track of which storage 
+     device is used in a Job.  USTORE keeps both a pointer to the
+     resource and to the source string.
+kes  Modify all code to use new storage set subroutines in job.c
+kes  Modify migrate.c so that the definitive selection of the storage
+     resource is done in the do_migration_init() routine prior to
+     the job going into the job queue.  This permits accurate 
+     deadlock detection (same read and write storage resource).
+kes  Remove bfill from btape (I think it was a left over stub).
+22Nov06
+kes  Make sure that the storage for a job is pulled first from
+     the Pool and if not from the Job.  
+kes  Ensure that either the Pool or the Job specifies a Storage
+     resource.
+21Nov06 
+kes  Start applying new FSFE copyright.
+20Nov06
+kes  Add additional error messages in acquiring a drive for read.   
+kes  Make WritePartAfterJob the default so that the last DVD part 
+     always gets written to the DVD by default.
+kes  Add additional error messages in migration. 
+kes  Suppress redundant error messages in migration (possibly more to do).
+kes  Apply Martin's fix (updated to 1.39) that takes into account
+     run storage overrides in the Director status display.
+kes  Implement, but turn off the submitted code that sets the EOT
+     model on FreeBSD machines. Turning on this code is too risky at
+     this point in the development.
+19Nov06
+kes  Implement unique dbid routine for migration to prevent the same
+     JobId from being migrated twice. This should fix bug #709.
+18Nov06
+kes  Apply Jaime Ventura's 'mail on success' patch.
+kes  Add a SMALLOC_SANITY_CHECK for Arno, which aborts Bacula
+     if memory usage gets too big.
+kes  Tweak migration to ensure that read/write devices are different.
+17Nov06
+kes  Create an AUTHORS file to list Bacula contributors.
+kes  Add Richard Stallman's four GPL freedoms to LICENSE 
+kes  Require the conf file to have a valid NextPool for writing the
+     migration output.
+16Nov06
+ebl  Enable RecycleCount in catalog.
+ebl  Fix "echo python | bconsole" segfault
+14Nov06
+kes  Implement code to pass the MediaId to the SD. The SD then uses
+     this MediaId when creating JobMedia records. This fixes a bug
+     with Migration where the MediaId got set to the second Volume
+     read rather than the write Volume.  Possibly (unlikely) fixes
+     bug #709.
+kes  Remove NextPool from Job resource.
+kes  Edit a few numbers in the restore dialog with commas.
+kes  Note, the DIR<->SD protocol has changed.
+13Nov06
+kes  Replace () by {} in configure.in for proper HP configuration.
+kes  Shorten some lines over 80 characters in filed/backup.c
+kes  Cast sizeof() in filed/backup.c to avoid compiler warning.
+
+Version 1.39.28 released: 
+12Nov06
+kes  Change error message 'illegal' to 'invalid' -- bug #707
+kes  Add rather primitive device resource deadlock detection in
+     the job queue handler. It detects the same read and write device
+     for migration and cancels the job. 
+kes  Start adding a unique_dbid_hander() routine in migration to avoid
+     duplicate mediaids and duplicate jobids.
+kes  Add patch from bug #708 to permit relative paths such as ../xxx
+     in the restore tree routine.
+kes  Add Eric Bollengier's patch to reduce locking time in the SD after
+     despooling, and thus many jobs finish faster.
+kes  Correct locking order of reservations lock and device mutex in
+     reserve.c -- this should correct Arno's deadlock that occurred
+     when doing mount/unmount at the same time a job is reserving a
+     drive.
+05Nov06
+rbn  Fixed problems with encryption when combined with compression 
+     or sparse files.  Unfortunately this means that all previous 
+     encrypted backups can't be restored.
+rbn  Fixed problem in bfgets with Windows and Mac end of lines.
+rbn  Fixed bug in Windows version of close_bpipe() that cause programs
+     like bsmtp() to hang waiting for the pipe to be closed.  Fixed 
+     binary file type problems in open_bpipe().
+rbn  Fixed a number of bugs in the mysql DB scripts.
+03Nov06
+ebl  Fix broken runscript on director. (RunBefore, RunAfter)
+ebl  Use M_ERROR instead of M_FATAL in runscript.c
+31Oct06
+ebl  Small fix src/dird/job.c to add JobErrors count to catalog.
+rbn  Ignore UTF-8 marker at the start of .conf files.
+rbn  Add stab2cv to 3rd party dependencies.  This is a utility I 
+     wrote that is licensed under the GPL and available on SourceForge.  
+     It converts the stab debugging info generated by gcc into Codeview 
+     format.  Currently it just translates function names to global 
+     symbols.  This is sufficient to get reasonable stack traces from 
+     Dr Watson and to look at minidumps.
+rbn  Fix bug # 699 - winbacula client crashes whilerunning bat scripts.
+rbn  Enable Windows XP look and feel for the tray icons and wx-console.
+rbn  Add Windows specific FileSet example to bacula-dir.conf.
+rbn  Reorganize Start menu so that documentation and configuration are 
+     in subfolders.
+21Oct06
+rbn  Change daemons and utilities so that if -c is omitted from the 
+     command line AND there is no configuration file in the current 
+     directory then the 'standard' configuration file (eg 
+     /etc/bacula/bacula-*.conf) will be used.  If the argument to -c 
+     doesn't contain any path separators AND there is no configuration 
+     file by that name in the current directory then the 'standard' 
+     configuration file directory will be searched for a file by that 
+     name.
+rbn  Fixed restore on Windows so that backslashes as path separators works.
+rbn  Add missing query.sql file to Windows installer.
+rbn  Fixed Windows versions of catalog backup scripts.
+20Oct06
+kes  Fix optional files in Makefile.in of src/filed that caused
+     a syntax error when using no optional files.
+15Oct06
+lf   Fix a cosmetic bug in filed.c that caused spurious OpenSSL error
+     messages; there is no reason to attempt to load a private key.
+     from master key files.  
+
+Version 1.39.26 released: 
+12Oct06 
+kes  Apply the three patches from Richard Mortimer.
+     bacula-reposition.patch, bacula-tape-reopen.patch, and
+     bacula-eod.patch. This corrects tape positioning on older devices,
+     and also a problem with btape.
+kes  Apply fix from bug report #696 where writing to a FIFO does not
+     work due to a dumb typo.
+kes  Unlock the tape door before the file descriptor is released. This
+     should fix lots of somewhat subtle failures when using an autochanger.
+11Oct06
+kes  Correct mtx-changer bug that I introduced in a recent commit, and
+     pointed out by Robert Nelson -- thanks.
+rbn  Fix Windows' daemons so that messages print to stdout if not 
+     running as a service.
+rbn  Add daemon name to trace file name (eg bacula-dir.trace).
+rbn  Fix environment variable expansion in directory names on Windows.
+rbn  Fix autochanger support in fill command.
+rbn  Update SQL scripts to match Unix versions.
+rbn  Fix daemon usage displays.
+rbn  Cleanup bacula-dir.conf template.
+rbn  Install openssl.cnf so that the openssl.exe installed in the
+     Bacula\bin directory can be used to generate keys and 
+     certificates for TLS and encryption.
+rbn  Fix cleanup of spool files on Windows.
+rbn  Remove /silent option from daemons on Windows.  The new default 
+     is the same as the old /silent.  To enable the message boxes that 
+     previously were suppressed by /silent you must add /debug instead.
+     NOTE: As a result of this change, the first time you upgrade from 
+           a previous version of 1.39.x you will receive the message 
+           boxes when the remove of the old services succeeds.  This 
+           is the same behaviour as when migrating from a version prior 
+           to 1.39.0.
+     However, going forward, these message boxes will not appear on 
+     upgrades or new installs.
+rbn  Add new /debug option. This option enables the message boxes that 
+     previously were suppressed by the /silent option.  In addition the 
+     daemons running as services will open a console window if this 
+     option is used.
+rbn  Fix bug with service not being removed on migrated installs.  This 
+     should correct those cases where the file daemon install was failing
+     when upgrading from versions prior to 1.39.x.
+08Oct06
+kes  Turn on heap reporting in Dir with zero debug level.
+kes  Send a message to the sys log when Bacula forces a SEG FAULT, and
+     send the same message to stdout.
+07Oct06
+kes  Begin work on new GUI 'console'.
+kes  Make configure look in non-standard MySQL library directory 
+     for Solaris.
+kes  Make mtx-changer automatically configure the autochanger wait
+     procedure for Solaris, FreeBSD, and Linux.  Previously, only Linux
+     was implemented.
+kes  Correct drop_sqlite_tables.in script to not delete the database.
+kes  When writing to a log file, close and reopen the file descriptor
+     if there is an error writing the file.
+kes  Modify the autochanger loaded?, load, and unload commands to print
+     the full text of any mtx output if there is an error.  Helps to
+     ease diagnosis of autochanger problems.
+kes  Correct a few Win32 errno returns in the VSS code so that hopefully
+     a resonable Win32 error message will be printed.
+kes  Convert a few strcat()... to bstrncat() in the Win32 code.
+06Oct06
+rbn  Added Windows version of bsmtp.
+rbn  Fixed path search for Windows so that Bacula\bin is automatically 
+     searched for programs and scripts.
+rbn  Fixed bugs in mtx-changer.cmd and made template bacula-sd.conf
+     Windows specific.
+
+Version 1.39.24 released:
+02Oct06
+kes  Apply dvd find volume patch from Richard Mortimer.
+kes  Eliminate the dvd specific mount routines using only the
+     dev->mount/unmount.
+kes  Make update_free_space a method of DEVICE and rename 
+     update_freespace.
+01Oct06
+kes  Require a messages command acl to be able to receive messages
+     in a console.
+kes  Add console, system, and scan job types in util.c.
+28Sep06
+kes  Print the Volume purged message only for real jobs to keep
+     from cluttering up the daemon messages.
+kes  Lock the tape drive door while Bacula is using the device.
+kes  Add back the 'No Jobs running' message to FD and SD status because
+     my regression script depends on it, and I'm too lazy to change the
+     scripts.
+kes  Start using structure assignments (not too happy about it ...).
+kes  Fix a bug in the tools Makefile that broke on Solaris.
+kes  Unload any autochanger drive during a 'release' command.
+26Sep06
+kes  Enhance error message when restoring without bootstrap file.
+kes  Check restored size only for regular files.
+kes  Store Python job level in job record in Dir.
+kes  Add back code to open tape device nonblocking, but if rewind fails
+     release file descriptor.
+kes  Modify acquire.c to first try autoloading the device. Also, ask operator
+     to mount tape if drive cannot be opened.
+rbn  Made Windows service tray status windows resizable.
+rbn  Fixed horizontal scrolling of text in status window.
+rbn  Preserve horizontal and vertical scroll position while 
+     updating.  This prevents the display being reset to the
+     top line every 5 seconds.
+rbn  Fix Windows cross-compile compatibilty problems with 
+     *nix variants such as OS X without the zic command.
+rbn  Eliminate dependency on man2html.
+25Sep06
+kes  Update src/win32/dll/bacula.def for change in BPIPE definition for
+     Win32 build.                 
+kes  Fix a compiler warning in compat.cpp
+kes  Change strcpy to bstrncpy in compat.cpp
+kes  Remove some broken code in bdb_list.c
+kes  Fix, hopefully the last, ACL problem in the restore command.
+kes  Update the README.mingw32
+kes  Add new version of upgrade-win32-client.txt to examples directory.
+     Submitted by Michel Meyers.
+kes  Print an INFO message in the job report when a Volume is marked Purged.
+rbn  Fixed handling of external program and script execution
+     so that the format of the command line is more flexible.
+     Now executable path names containing spaces are translated
+     to the equivalent short name automatically.  The result is
+     passed to cmd.exe with the quotes removed.
+24Sep06
+kes  Apply the recycle patch from Richard Mortimer.
+kes  Convert a few if statements in dev.c to switch statements.
+kes  Start using print_errmsg instead of bstrerror().
+kes  Print a job message in SD when a job is marked to be canceled.
+23Sep06
+kes  All code added back. Fixed block.c read/write to loop only 3
+     times. This apparently keeps the OS from crashing (at least     
+     most of the time).
+kes  The kernel bug still persists. Backup something then immediately
+     do a bscan on the same tape, and the kernel will crash.     
+kes  Simplifed tape open().  It no longer uses nonblocking mode, which 
+     means that opening with no tape loaded will probably take at least
+     6 minutes before an error is reported.
+kes  Do not use MTSETDRVBUFFER if not running as root.  Do a MTRESET
+     when doing set_os_device_parameters.
+kes  Report open error in mount.c
+kes  Remove all .exe files from the installer directory on make clean.
+20Sep06
+kes  Start adding back removed code.
+kes  Back out a number of changes because backups to tape crash my
+     system.
+kes  Remove the inetd code from the File daemon.
+18Sep06
+kes  Add -c option to pg_dump so that it initializes tables when   
+     restored.
+kes  Fix FirstWritten time on Volume to be obtained from SD so that
+     it is the actual time the volume was first written.
+kes  Minor Makefile changes.
+kes  Handle EBUSY during read(). Improve how EBUSY is handled in write().
+ebl  Add yes keyword to prune/purge command
+16Sep06
+kes  Correct a test in block.c that prevented restore of a DVD from
+     looking at the last part in the spool directory.
+kes  Make some error messages clearer mostly by using the word DVD
+     in the message. Improve infor message in read_record for DVDs.
+kes  Remove DVD kludges in dircmd.c label/relabel.
+kes  Move the dvd relabel code from dircmd.c into      
+     write_new_volume_label_to_dvd() adding a relabel argument.
+kes  Rewrite the truncate_dvd() code to be much simpler and
+     more logical. First blow away any spool part, then create a
+     new empty part and write to the DVD.
+kes  Rewrite the can_write_on_non_blank_dvd() code making it
+     only ensure that no valid data is on the DVD -- i.e. it
+     can be overwritten.
+15Sep06
+kes  Minor Makefile fixes.
+kes  Put attach_dcr_to_dev in a subroutine.
+kes  Make attaching/detaching to/from a device use a flag and 
+     only detach if actually attached.
+kes  Add dvd-simulator.in to scripts directory and add to configure.
+kes  Fix code in acquire.c that checks fd != 0 to use dev->is_open().  
+     This could be a cause of a number of drive reservation problems.
+     Note, this code is now in attach_dcr_to_dev().
+kes  Suppress doing Volume updates if it is a system job.  This should
+     prevent the DVD label blocking.
+kes  Clear the freespace ok flag in a couple of strategic places.
+14Sep06
+kes  Put removing zero sized spool part file in subroutine and
+     call from release_device().
+kes  Add Richard's patch for relabel to dircmd.c, but save and restore
+     dev Volume name.
+kes  Rework a lot of subroutines in dev.c to take dcr as an
+     argument. This is done to eliminate the usage of attached_dcrs
+     in lseek().
+kes  Change truncated_dvd to blank_dvd, which seems more suitable.
+kes  Apply most of Richard Mortimer's truncate patch.
+kes  Create lseek() method for DEVICE that takes dcr as an
+     argument. This is to eliminate the use of attached_dcrs in
+     lseek().  The calls to lseek_dev() must still be changed.
+13Sep06
+kes  Apply Richard Mortimer's patches for printing an error 
+     message in btape when a DVD is used, and to initialize traceback.
+kes  Added error message to btape when trying to access a file.
+kes  Move prototype of update_slots() to protos.h.
+12Sep06
+kes  Add JobErrors, JobFiles, SDJobFiles, SDJobErrors, SDJobStatus,
+     and FDJobStatus to the Director Python variables.
+kes  Make sure valid argument passed to str_to_utime() where Arno
+     had a seg fault.
+kes  Apply Richard Mortimer's patch for bcopy, bextract, and bscan.
+     I.e. part of two different patches.
+11Sep06
+kes  Modify disk changer to simulate some of the error conditions
+     of mtx-changer.
+kes  Make sure the close() call in the SD tools is just before the
+     getchar() call.
+kes  Implement dir_get_volume_info() in bls using the patch from
+     Richard Mortimer but call find_num_dvd_parts().
+kes  Implement find_num_dvd_parts() that mounts and scans a DVD
+     and counts the parts. 
+kes  Move the omode code in open_dvd() up so that the cannot
+     write on blank disk can check can be bypassed for read mode.
+     Not yet implemented.
+10Sep06
+kes  Disable normal data spooling for DVD writing which uses  
+     a different spooling mechanism.
+kes  Apply patch from Richard Mortimer to ensure that the number
+     of DVD parts is correctly updated.
+rbn  Save installer details log in the Bacula directory as 
+     install.log.
+rbn  Add installer generation of client and storage templates
+     suitable for @inclusion on the director.
+rbn  Mark previously installed Win32 components read-only since 
+     deselection doesn't do anything.
+
+Version 1.39.22 beta released:
+08Sep06
+kes  Fix logic error in handling error return from mtx-changer 
+     script.
+kes  Make status from SD aware of -1 (unknown) Slot status.
+kes  At Eric's suggestion make both the 'slots' and 'drive' commands
+     to the Storage daemon work even if the drive is busy.
+kes  Make two separate Win32 menu links for starting bconsole and
+     wx-console in winbacula.nsi
+kes  Apply DVD part_spooled patch from Richard Mortimer 
+     richm@oldelvet.org.uk 
+kes  Put installer/Readme.txt into Win32 EOL format for Notebook.
+rbn  Fixed problems migrating settings from previous releases in
+     Win32 installer. Add Readme.txt with an option to show it on 
+     the installer Finish page.
+07Sep06
+kes  Use get_catalog_resource() to open catalog database
+     to ensure that ACLs are respected and that user is
+     correctly prompted for database.
+kes  Integrate multiple console/director patch from 
+     Carsten Paeth calle@calle.in-berlin.de
+ebl  Add character substitution in Job/JobDefs WriteBootStrap.
+     You can use now 'WriteBootStrap = '/path/%c_%n.bsr''
+kes  Apply patch supplied in bug #656 to pass priority field
+     in the run dialog to the Director in gnome console
+kes  Restore DCR after VOL_NAME_ERROR in mount.c.  Hopefully
+     this will fix bug #627 where Bacula eventually gets 
+     confused about what Volume it wants.
+kes  Add a new close_part() class in the SD to save the device
+     state around open/close_part/open for DVD writing.  This
+     should fix the num_dvd_parts getting zeroed as reported by
+     Richard Mortimer.
+kes  Apply patch from Richard Mortimer that correct edit code
+     for debug output of st_size.
+ebl  Add support of encrypted data stream to bscan.
+     display data_len instead of data content (may be binary)
+06Sep06
+kes  Add dev->close() in dir_ask_sysop_to_mount_volume() in
+     bcopy. Fixes bug #669 reported by Eric.
+kes  Fix incorrect number of arguments in SQL statement in
+     sql_get.c as reported by Eric.
+kes  Manual updates.
+kes  Update examples directory.
+kes  Remove unused variable in winservice.cpp
+kes  Make Win32 make command build installer.
+rbn  Add new Install Type page, used to select between Automatic
+     and Custom installs.  Automatic installs only prompt for
+     configuration items that can't be reasonably defaulted.
+rbn  Added Bacula logo to page headers.
+rbn  Added Upgrade support
+     - Configuration and component selection are migrated from
+       pre-1.39 installs.
+     - Configuration of upgraded components is preserved and 
+       not prompted for
+     - Configuration of new components is handled according to
+       the Automatic / Custom selection.
+     - Component selection is defaulted to previously selected 
+       components.
+rbn  Installation of Server components is disabled on 
+     Windows 95, 98 and ME.
+rbn  Added URLs for support, info and upgrades to Bacula entry
+     in Add/Remove Programs.
+rbn  Added Version info to Bacula entry in Add/Remove Programs.
+04Sep06
+kes  Correct dvd code that breaks tape labeling.      
+kes  Implement Enabled on update slots.
+02Sep06
+kes  When doing a label, pass the VolBytes back to the Director,
+     which puts it in the catalog.
+kes  Print an error message if the user attempts to prune an
+     archived Volume.
+kes  Need to start using %ld when sscanfing 32 bit values.
+kes  Update the free
+kes  Correct the counting of VolCatBytes for DVDs. 
+kes  Add code to mount.c to require that VolCatBytes corresponds to
+     what is actually found when doing an append.
+kes  Update freespace only after writing on the DVD.
+kes  Remove code that blows away the current part in the spool file.
+01Sep06
+kes  Apply new dvd-handler patch from Richard Mortimer.
+kes  Tweak so that debug level 20 shows only DVD commands.
+kes  Correct spooled_part flag in dev.c close() so that it is cleared
+     when the spool file is deleted or does not exist.
+kes  Print part number in read_records when eof hit (restore).
+rbn  Installer default changed to start services on new install.
+31Aug06
+kes  Make find with no args in tree restore return error rather than
+     stopping the selection. Fixes bug #665
+kes  Rework DVD writing to ensure that the last part is written
+     on open_next_part when dealing with a spool file.
+kes  Correct the lseek_dev() routine to handle end point correctly
+     (bug introduced by me).
+kes  Allow part number to exceed num_dvd_parts in lseek_dev().
+rbn  Change make_session_key on Windows to use WIN32 APIs to produce 
+     a better seed.
+rbn  Add new tool scsilist.exe which displays the changer, tape and 
+     CD/DVD (1394, SCSI, SATA, ATAPI) devices and the information required 
+     to add them to bacula-sd.conf.
+30Aug06
+kes  Apply dvd-handler patch from Richard Mortimer.
+kes  Apply dvd error check patch from Richard Mortimer.
+kes  Apply bpipe race patch from Richard Mortimer.
+kes  Rework how DVD labels are handled and set append only
+     when part > num_dvd_parts.
+27Aug06
+kes  Rework many features of DVD writing and reading. Added many error
+     messages.  Most importantly changed part to represent the current
+     part number base zero. This makes current DVD writing incompatible
+     with previous version.
+26Aug06
+kes  Add host:port to connect failure messages to FD and SD from Dir.
+kes  Add WhereACL to console ACL list.  If nothing is specified, only
+     the default is permitted for restore. Otherwise, *all* allows any
+     path, or you can specify permitted paths. This should allow control
+     over where users can restore files. This is untested.
+kes  Modified message to add a ? (as in loaded?) when querying the autochanger
+     for what Slot is loaded.  
+kes  Fixed the use of Slot, so that is more correctly maintained, thus
+     eliminating unneeded duplicate calls to determine what Slot is loaded.
+25Aug06
+kes  Install man pages with 'make install'
+kes  wx-console crashes because of differences between Bacula and wxWidgets
+     malloc()/free().  Tweak wx-console to use bmalloc()/bfree() for Bacula
+     calls.     
+kes  correct improper indenting in wx-console/console_conf.c
+kes  update wx-console header copyrights
+kes  Fix bug #658 where wx-console mangles file/directory names containing
+     commas.
+24Aug06
+kes  Add Media.Enabled flag to client backups for dotcmds.c
+kes  Enforce Media.Enabled=1 for a current restore to work.
+kes  Require restore case 3 to have sqlquery permission to work.
+kes  Remove obsolete del_MAC sql command.
+kes  Ensure that bscan creates Volumes with Enabled=1.
+
+Version 1.39.20 beta released:
+22Aug06
+kes  Correct missing Client table reference in SQL pointed out by
+     Marc.
+21Aug06
+kes  Fix Win32 build (new entrypoint, start baculafd).
+20Aug06
+kes  Add -n option to bconsole to turn off conio.
+kes  Print JobIds to be migrated in Job Report.
+kes  Add additional user supplied notes to the messages part of 
+     bacula-dir.conf concerning multiple email addresses.
+kes  Fix an incorrect comment pointed out by a user in dvd_handler.in
+kes  Add more recent Feature requests to Projects file.
+19Aug06
+kes  Apply Maritn's fix to src/win32/Makefile.
+kes  Apply Martin's fix to configure.in for pthreads on FreeBSD 4.x
+kes  Implement pruning for Migration and migrated jobs.
+kes  Implement PoolOccupancy migration.
+kes  Implement PoolTime migration.
+16Aug06
+kes  If doing a mount, look for a slot, and if specified pass it to
+     the SD so that it can load the autochanger.
+kes  Return DVD=1 flag if a label command is done to a DVD. This
+     permits setting VolParts to 1.
+kes  Apply DVD patch from Richard Mortimer <richm@oldelvet.org.uk>, but
+     rework ua_label code based on DVD media type to use DVD flag returned.
+15Aug06
+kes  Eliminate some compile warnings in dird_conf.c
+kes  Format the bytes field in the terminated jobs part of the status
+     command for the three daemons with suffixes to reduce print size 
+     of backup bytes.  Suggested by a user.
+kes  When not descending into a directory, print the File= name that
+     triggered it -- makes why not descending a bit clearer.
+kes  Do not unload autochanger when doing a list command -- basic code
+     from Eric Bollengier.
+12Aug06
+rbn  Reworked the MinGW32 build-dependencies script, it has been renamed
+     to build-depkgs-mingw32.  It now handles two options -h to display
+     help and -C to reextract the source and apply the patches.  The -C
+     option is useful for updating the source after new patches are 
+     released.
+rbn  Moved the 3rd party package URLs to a separate file External-mingw32.
+     This allows updating to new versions without having to modify the
+     script and makes it easier to figure out which packages and which
+     versions are used.
+rbn  Added a new script build-depkgs-msvc.cmd which does the same thing
+     as build-depkgs-mingw32 except they are built using Microsoft Visual C
+     and placed in the depkgs-msvc directory.  There is also an 
+     External-msvc file to describe the packages.
+08Aug06
+rbn  Fix Windows cross-compile compatibilty problems with FreeBSD.
+07Aug06
+kes  Fix bug #462 incorrect error message printed when client script called
+     from File= was not found.
+kes  Fix bug #558 (waiting for feedback) where Bacula needs too much time to
+     do a rewind on Solaris when no tape is in the drive (Solaris does not
+     have the detailed errno found on Linux).  Added Solaris specific code.
+     Note, this may apply to other OSes as well.
+06Aug06
+kes  Defined BUILDING_CATS in src/cats/cats.h so that *nix builds.
+dsb  Updated rpm spec for 1.39 - updatedb 9 to 10, add new man pages,
+     fix bug 648 - update sqlite script patches, lock out gnome2console
+     builds for platforms with gtk+ < 2.4.
+     Updated build_rpm.sh - add remote source directory, add switch for 
+     signing, refine file names.
+     Updated spec file again for Mandriva build as they have this curious
+     custom of silently converting all manpages to bzip2 format just before
+     the final packaging step.
+05Aug06
+rbn  Fixed the Windows Makefiles so that they won't accidentally try and
+     pickup binaries for the Unix build.  This allows both the Unix
+     build and the Windows build to be built in the same tree without
+     interfering with each other.
+rbn  Fixed error handling and cleaned up mtx-changer.cmd.
+rbn  Added the rest of the database scripts.  These are installed but are
+     not yet edited for variable replacement.
+rbn  Broke out the cats functionality from bacula.dll and put into new
+     separate dlls for each database type.  At installation time the
+     correct one is copied to bacula_cats.dll.
+rbn  Eliminate the need to install the mysql.dll on client only builds.
+rbn  Moved dird/sql_cmds.c into the cats directory so all the database
+     specific #ifdefs were in the cats directory.
+rbn  Added a new sql_cmds.h with all the declarations for the variables
+     exported from sql_cmds.c.
+rbn  Moved catalog_db[] from lib/message.c to a new routine db_get_type()
+     which is implemented in bdb.c, mysql.c, postgresql.c and sqlite.c in
+     src/cats.
+kes  Correct improperly formatted list command output reported by Dan.
+04Aug06
+kes  Correct despool time calculation.
+03Aug06
+kes  Remove previous changes to compat.cpp as they create problems.
+kes  Use old style MD5 for FileSets to avoid Full saves on every Job.
+kes  Attempt to fix problems with the msg_queue crashing on Solaris
+     when Bacula is terminating, but problems remain.
+kes  Add WIN32_VSS to HAVES in src/Makefile.inc.in to correct VSS
+     name editing problems with too many \\?\es.
+kes  Fix some Bacula source code style problems in compat.cpp.
+kes  Add debug code to compat.cpp and convert non-Bacula debug code
+     to Bacula style.
+02Aug06
+kes  Change the name of the technical notes file from kes-1.39 to
+     technotes-1.39.  Prefix my messages with 'kes  '.
+kes  Allow dequeue_messages() to be called twice. Should fix bug  
+     # 649.
+kes  Add Job type to bscan Job information output.
+01Aug06
+kes  Update copyright date in program files, and for the most part
+     put it on a #define.
+kes  Implement %q in bsnprintf.c apparently I forgot it.
+31Jul06
+kes  Make disk-changer sed command compatible with FreeBSD.
+kes  Make a first cut at a ReleaseNotes and ChangeLog for a 
+     beta release.
+kes  Make make clean descend into the src/win32 directory.
+kes  Fix some #ifdefing so that Solaris and FreeBSD compile 
+     sys/stat.h was turned off.
+kes  Use suffix editing for new transfer rate messages.
+kes  Attempt to come up with a workaround which seems to be an OS
+     bug where write() returns EBUSY.  IMO this should not happen.
+     It triggered in truncatebug test. The workaround retries using
+     a 100 ms wait.
+kes  Eliminate a strerror() call in a class method that failed with
+     older C++ compilers.
+kes  Use rm -rf rather than rmdir to delete the src/win32/release
+     directory during make clean.
+30Jul06
+kes  Make bscan ignore ACL streams.
+kes  Update projects files with new Feature Requests.
+kes  Generate current English and French manuals and upload
+     them to the site.
+kes  Update the home page to include the new British/French flags to
+     switch between translations. Work done by Alexandre Baron.
+kes  Make disk-changer script print an error message if the changer
+     directory is not defined.
+kes  Create a generic DB routine for getting an int (32/64 bit) from
+     the DB.
+kes  Add more migration code.
+kes  Add a few more files to .cvsignore here and there.
+kes  Minor fixes for SD write rate and despooling rate.
+kes  Turn off new test code in src/console.c
+
+Version 1.39.18
+29Jul06
+kes  Incremented the version number to signify that all of Robert's code
+     for Win32 that was in the branch is now integrated into the HEAD,
+     and that Eric has submitted code that we hope will provide limited
+     backward compatibility with 1.38 file daemons (more testing to be
+     done).
+kes  I rationalized a few of the names of the variables (mainly jcr names)
+     that are used during migration as keeping three different jcrs at the
+     same time clear in ones head is not easy.
+
+Version 1.39.17
+28Jul06
+eb   Tweak new runscript feature to work with 1.38.x FDs. 
+eb   Correct crypto.c to fix segfault when restoring an encrypted stream 
+     on fd which don't use rsa keys.
+eb   Add yes/no English keywords on localized yes/no questions.
+27Jul06
+kes  Several important commits from Robert Nelson for code cleanup and
+     Win32 build.
+kes  Modify console.c so that when conio is enabled, it converts \n to
+     \n\r before outputting to the console.  Hopefully this will fix
+     the problems with expect in Perl that Eric saw.
+24Jul06
+kes  Change cats/sql.c to eliminate %-*s format, which I think is turned
+     off in bsnprintf.
+kes  Add Comment field to llist of a volume.
+kes  Allow true/false in some yes/no questions.
+kes  Implement update volume enable=(on|off|true|false|archived|0|1|2)
+kes  Remove a few /n's when scanning commands from another daemon. This
+     permits adding additional fields later.
+kes  Modify dbcheck to handle ctl-d and to delete Log table entries.
+kes  Update README.mingw
+22Jul06
+kes  Tweak authentication to work with 1.38.x FDs. 
+kes  Tweak catalog make scripts.
+kes  Fix catalog upgrade scripts so that they work.
+kes  Correct despooling debug code to eliminate race condition.
+19Jul06
+kes  Add additional fields as specified by Arno to LocationLog.
+kes  Add comment field to the Media record.
+kes  Add Time field to the Log record.
+kes  Correct migration SQL (thanks to Bill Moran) so that it
+     runs with PostgreSQL also.
+kes  Add spooling/despooling info in status output of SD.
+17Jul06
+kes  Spend a lot of time integrating mkcdrec with the rescue disk.
+kes  Add VOLMGMT message class for volume management messages (none yet).
+kes  Add CATALOG as a destination.     It goes into the LOG table.
+kes  Implement the Log table in the DB.
+kes  Implement the Location Log table in the DB (for user use).
+kes  At Eric's request add a run_scripts() just after blast_data in
+     src/filed/job.c
+10Jul06
+kes  Add Enabled column to Location, correct some typos in DB schemas.
+kes  Correct bug I introduced into RunScripts enum.
+kes  Add log table to Catalog
+kes  Purge original job migrated if the migration terminates normally.
+kes  Cleanup purging of files/jobs so that it is done only in a 
+     single subroutine.
+kes  Add new VOLMGMT message class.
+kes  Add Catalog message destination (user conf code remains to be written).
+09Jul06
+kes  Modify read_record and friends to properly deal with migration         
+     needs.
+kes  Update debug code in read_record.       
+08Jul06
+     ======================= Warning ==========================
+     Separate read and write storage in Jobs in the Director. This
+     is a major rewrite of some of the low level code and hence has
+     a high probability of introducing bugs.
+     ==========================================================
+
+kes  Move the job init code up to *before* the job is put into
+     the job queue (resource allocation queue). This permits the
+     job to establish whether it will read or write or do both.
+kes  Add name() methods to all the resource classes.
+kes  Implement separate read and write storage resource 
+     allocation/deallocation in jobq.c
+
+     ======================= Warning ==========================
+     Implemented new method of getting the default Storage from the Media
+     record rather than from the MediaType for restore.  As a fall
+     back, if no Storage is defined, use the MediaType.  This
+     eliminates most all prompts if there are multiple MediaTypes
+     used. This is an important and fundamental change.
+     ==========================================================
+
+kes  Add more detail (Storage, Device) to list of volumes printed
+     for restore.
+kes  More code in migrate. In particular start multiple jobs if
+     migrating a volume.
+kes  Probably overkill, but ensure that the bsr is unique even within a 
+     job in FD and SD.
+kes  Rework bsys.c drop() so that it now should work as expected.
+kes  Update a bunch of old copyrights -kes  particularly in .h files.
+kes  Remove src/lib/bshm.c/h
+05Jul06
+kes  Migration fixes
+04Jul06
+     ======================= Warning ==========================
+        All hash codes in the database are now kept in world
+        compatible base64 format (no = filling). This means that
+        all FileSets will be updated and if you are running
+        verify jobs, you must do an InitCatalog.
+        Authentication uses the new algorithm, but should be
+        backward compatible with 1.38.x
+     ===========================================================
+
+kes  Modify the authentication routines so that the 1.39.15 Director
+     always runs with the compatible binary to base64 code (same as
+     the rest of the world).  It will however detect if an SD or
+     FD is running the old code and if that is the case, will use
+     the old algorithm for authentication.  However, all consoles must
+     use the compatible algorithm, and all data entered into the database
+     (all hash signatures, MD5, SHA1, ..., and all FileSet hashes) will
+     use the compatible algorithm.
+kes  Rename the cram_md5 routine names to be slightly more appropriate
+     to what they are doing (challenge and respond).
+kes  Robert committed his #ifdef and header cleanup.
+30Jun06
+kes  Fix a compiler warning in files/backup.c
+kes  Cleanup NOT NULL vs DEFAULT 0 in database creation.
+kes  Tweak btape.
+kes  Robert committed his low impact changes.
+kes  I removed a size_t from the jcr.h definition.
+kes  Update the tape regression scripts (still to be tested).
+kes  Add gcc and gcc-c++ requires to srm as suggested by a user.
+kes  Require done or quit to exit from in memory tree restore.
+26Jun06
+kes  Write install/uninstall of new manpages. There are now a
+     pile of man pages. Some of which need a lot of work.
+
+     ======================= Warning ==========================
+        The --mandir ./configure option now points to the top level
+        man directory.  The man files will be installed under
+        mandir/man8 and mandir/man1 as appropriate.
+     ==========================================================
+
+kes  Add complete text of GPL to LICENSE.
+kes  Implement job report that indicates where Storage and Pool
+     came from -kes  with overrides and Pool storage and NextPool,
+     it is all very complicated.
+kes  Create a few common subroutines for backup.c and migrate.c
+kes  Eliminate warning messages from tray-monitor.c
+25Jun06
+kes  Apply fix for scheduler for missing unlock_jobs().
+kes  Clean out autoconf caches before rebuilding configure
+kes  Fix the FreeBSD pthreads lib define updated by Dan.
+kes  Add missing semicolon in src/console/console.c
+kes  Add Robert's enhanced version of build-win32-cross-tools
+     as well as his patch file.
+kes  Note, the new gcc options are likely to break building of
+     wx-console or the tray-monitor ...
+24Jun06
+kes  Implement Robert's suggestion to suppress printing compile lines.
+kes  Detect GCC correctly (I hope)
+kes  If using GCC (actually g++) add the following compiler flags
+     -fno-strict-aliasing -fno-exceptions -fno-rtti
+
+     ===================== Warning =============================
+     Turn on new bsnprintf() code.  This could cause print output
+     to look different.
+     ===========================================================
+
+kes  Fix crypto when not using openssl. I previously overlooked this.
+kes  Eliminate crypto type punning problems by eliminating void * and
+     using uint8_t * instead.
+kes  Harden authentication failure in FD by single threading errors
+     and forcing a 6 second wait.
+
+     ===================== Warning =============================
+          Removed  'Accept Any Volume' directive.
+     ===========================================================
+
+kes  Major cleanup and simplification of regress using shell functions
+     (more tests to be converted to new format)   
+kes  Add detection of 64 bit Irix as indicated by user.
+kes  Increment catalog database id from 9 to 10.
+kes  Add a few of the new database fields to the various C++
+     structures.
+kes  Implement code to fill in the most important new fields (e.g.
+     Media Enable).
+kes  Ensure that most of the new fields are in create/get/insert/update.
+     More work to be done.
+22Jun06
+kes  Update some very old licenses in src/cats.
+kes  Modify the database format for handling Migration jobs:
+      Add PriorJobId, RealEndTime to Job table
+      Delete MAC table
+      Remove Stripe from JobMedia record (not used, wasting space)
+      Add ScratchPoolId, RecyclePoolId, Enabled to Media record
+      Add Cost to Location table.
+kes  Delete mac_record subroutines.
+kes  Add new table values to create/update/get routines as appropriate.
+kes  Update the update_tables and make_tables scripts.
+kes  Make a first cut in using a union where multiple pointers (actually
+     pointers to pointers) are stored.
+kes  Make some changes to base64.c suggested by Robert and others and add
+     a small amount of documentation.
+kes  Add some changes suggested by Peter for Solaris (bregex...)
+kes  Make runscript.h always built because it needs to be pulled into
+     more places.  In particular its RES was left out of a union.
+kes  Renumber the enum{} list in runscript.h to avoid starting from zero.
+     This makes it slightly easier to detect uninitialized variables.
+14Jun06
+kes  Remove xpg4 lib from FreeBSD build as it is no longer needed and
+     sometimes creates install problems.
+kes  Change a couple of %T in strftime to %H:%M:%S as seen in Robert
+     Nelson's code.  More to do.
+kes  Convert a few store_bit to store_bool in filed_conf.c.       
+kes  DVD tweak to block.c as supplied by Uwe Muessel.
+04Jun06
+kes  Modify configure.in to check for typeof().
+kes  In findlib/attribs.c use typeof instead of templates if possible.
+01Jun06
+kes  Implement partial error messages for src/filed/acl.c
+kes  Fix return code to fail when doing update barcodes and
+     Pool resource is not found. This previously caused Volumes
+     to be labeled as cleaning tapes.
+kes  Small updates to projects.
+27May06
+kes  Add Eric Bollengier patch for new RunScript directive. It breaks
+     compatibility between dird and fd.
+26May06
+kes  Prevent DVD code from rewriting label if the device cannot be
+     opened read/write.
+kes  Used __GNUC__ to detect GNU g++ as suggested by John Goerzen to
+     fix Debian build bug.
+kes  Fix Dir/SD run race in migrate.c, verify.c, and restore.c
+kes  Integrate manpages contributed by Jose Luis.
+kes  Update projects file.
+kes  Add manpages Makefile.in to configure.in
+kes  Remove installation of bacula.8 in scripts directory.
+24May06
+kes  Implement patch submitted by cesarb in bug #606 to implement O_NOATIME
+     support.
+       O_NOATIME is a open() flag which makes it possible to read a file without
+       updating the inode atime (and also without the inode ctime update which
+       happens if you try to set the atime back to its previous value). It also
+       prevents a race condition when two programs are reading the same file, but
+       only one does not want to change the atime. It's most useful for backup
+       programs and file integrity checkers (and bacula can fit on both
+       categories).
+
+       Recent versions of the Linux kernel and glibc have support for it (the
+       glibc support being mostly copying the O_NOATIME definition to
+       bits/fcntl.h). If there's no support for it on the kernel, trying to use
+       it does nothing (since the kernel ignores unknown flags).
+
+       If the kernel has support for it, trying to use it either works, fails
+       silently (mostly in remote filesystems), or returns errno=EPERM (if you
+       are not either the owner of the file or root). A simple way to prevent the
+       failure is to open the file without the flag and set it later with
+       fcntl(F_SETFL), ignoring any EPERM errors.
+kes  Applied patch posted by Jaime Ventura to bug #570 to correct failure
+     of restarted jobs to complete (due to a destroyed pthreads conditional
+     variable used by the message thread).
+kes  Fixed bug #619 where Bacula would not restart jobs with MaxRestartTimes
+     set to zero. 
+kes  Apply patch from John Goerzen bug #611 to fix bad manual links in the code.
+kes  Apply patch from Rudolf Cejka bug #614 to removed trailing
+     colons in query.sql file.
+kes  Apply patch from Rudolf Cejka bug #613 to correct prunning of files
+     not to create orphans.
+kes  Apply patch from Rudolf Cejka bug #617 to use mtime instead of ctime
+     in restore long listing.
+kes  Apply patch from Rudolf Cejka bug #609 to use MarkId in verify.c instead
+     of incorrect MarkedId.
+kes  Apply patch from adioso bug #616 to correct text in manual (replace
+     Director with File daemon).
+kes  Rework a few of the zlib changes so that they build properly.
+
+21May06
+kes  Move DIR 'run' command to SD before starting the message thread
+     as suggested by Cristopher Hull to avoid a race deadlock from
+     two threads using the bsock structure.
+kes  Modify LICENSE to correct some problems pointed out by Debian.
+05May06
+kes  Correct EOF with no \n lex.c problem.
+kes  Tweak compat.h compat.cpp and merge with apcupsd
+kes  Add additional INFO messages if autochanger cannot be used.
+
+02May06
+kes  Simplify Win32 Makefile
+kes  Correct count of buffers/bytes used by smartall.c
+kes  Updated compat.h after porting apcupsd to MinGW.
+01May06
+kes  Work on getting wx-console building on MinGW. wxWidgets now builds
+     started adding Makefile ...
+kes  Moved MinGW library objects to src/win32/lib to reduce clutter.
+30Apr06
+kes  Reloading a bad configuration file doesn't kill director any more.
+     Thanks to fix from Eric Bollengier.
+29Apr06
+kes  Fix problem of accents with new Win32 code.
+kes  Integrate Howard's VSS patch. Tweak it a bit. VSS now
+     works in the MinGW build with the exception that there
+     is a problem with accented characters -kes  i.e. there is
+     some mapping problem with wide characters.
+kes  The code no longer compiles with Microsoft VC++.
+28Apr06
+kes  Start implementing Christopher's St.Bernard code.
+kes  Add Christopher's mods for opening files.
+kes  Strip \r \n from Win32 error messages (Christopher)
+kes  Add more info about Win32 system if unknown (Christopher)
+kes  Use bstrn(cpy, cat) routines to avoid overrun in compat.cpp
+kes  Fix a number of incorrect strings marked for translation, when
+     they should not be (e.g. commands).
+kes  Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
+     Patches supplied by user in bugs #608 and #599.
+kes  Use most recent of st_ctime and st_mtime in restore tree DIR
+     listing. This fixes some problems with Win32 printing incorrect
+     values.
+kes  Correct the clock shift comm time calculation between the DIR
+     and the FD. It was added rather than subtracted.
+kes  Strip all backslashes in filenames to be restored on Win32
+     machines -kes  the names should all be in Unix format, and if
+     there are any backslashes it is most likely due to an improper
+     FileSet definition, and the files will not otherwise be 
+     restorable.
+kes  Remove lib/regex.c (replaced by bregex.c).
+kes  Delete src/win32/License.txt
+kes  Modify installer to install LICENSE
+26Apr06
+kes  Fix bug in build-win32-cross-tools script reported by Howard
+kes  Implement cross compiled bconsole
+25Apr06
+kes  Fix barcode test, eliminate BOOL (doesn't exist on Linux).
+kes  Write first cut of README.mingw32
+kes  Add back ua_label barcode fix from Rufolf Cejka.
+kes  Integrate the majority of the Mingw cross-tools submission
+     made by Howard Thomson. Everything compiles, with zlib, openssl,
+     and VSS turned off. Linking needs a pthreads library ...
+23Apr06
+kes  Add 'Dir Status' button to the gnome console.
+kes  More work on migration.
+kes  Restore non-compatible base64 coding to permit compatibility.
+kes  Display heap stats in Storage daemon without debug level.
+22Apr06
+kes  Integrate most of the MinGW changes -kes  more to do.
+21Apr06
+kes  Implement using pg_config for finding PostgreSQL files.
+     Fixes bug #600. Patch supplied by user.
+kes  Remove -t option from mktemp in mtx_changer.in and use
+     working directory. Fixes bug #578.
+kes  Update job start time after the any run before job so that
+     files created by the script are only backed up once. Fixes
+     bug #599.
+kes  Strip trailing newline only from filenames entered in
+     the restore command when reading a file. This permits
+     the user to enter filenames with trailing spaces. Fixes
+     bug #549. The user supplied a patch that I modified slightly.
+kes  Use the most recent time (st_mtime, st_ctime) in the dir
+     command in restore. This gives the user a better idea of what
+     the newest file really is. This fixes bug #574. The fix
+     was suggested by the user.
+kes  Implement a compatible version of base64. This permits external
+     programs to duplicate Bacula's base64 algorithm using standard
+     routines. This fixes bugs #296, and 565. Patch submitted by   
+     author of bug #565.  
+     ================= Note ========================
+     Previous Signatures stored in the database are no longer
+     compatible with this. The main downside is for Verify jobs,
+     and doing an InitCatalog run will fix the problem. Also, the
+     authentication between the deamons is changed, so all daemons
+     must be simultaneously upgraded.
+     ==============================================
+     If you don't like this fix, set:
+       const bool compatible = true;
+     to
+       const bool compatible = false;
+     in src/lib/base64.c
+20Apr06
+kes  Ensure that DB signature is never NULL.
+kes  Ensure that DB table names are not translated.
+kes  Fix scheduler to handle time skew (eg daylight savings).
+kes  Fix scheduler to use lock_jobs() to avoid most problems
+     with reload. Window is now milliseconds.
+19Apr06
+kes  Apply patch from Christopher Hull
+     kes  Allow multiple connections to database with different
+       parameters.
+     kes  Invalidate the scheduler when doing a reload. Fixes seg
+       fault, but still 60 second window.
+     kes  Additional info in Reschedule message.
+     kes  Use set_jcr_job_status() everywhere to prevent loss of
+       cancel, error.
+     kes  Display peer IP in FD if error from connecting DIR.
+     kes  Don't increment file count for DIRBEGIN.
+     kes  Replace illegal characters in Win32 filename by _.
+     kes  Add SE_CREATE_PERMANENT_NAME privilege in Win32.
+     kes  Hash hard link filenames rather than linked list.
+     kes  Fix for security failure in chdir on Win32.
+     kes  Add CreateDirectoryA/W win32 API entry points.
+kes  Add /silent option to Win32 FD for Install/Remove service.
+kes  Always print Heap statistics in FD.
+18Apr06
+kes  Remove the -f option from the chown in Makefile.in for more
+     portability.
+kes  Change setting the group in Makefile.in to use chgrp for
+     more portability.
+kes  Implement a write_store and read_store to replace
+     dirstore in reserve.c
+kes  Implement a Bacula read/write lock for Python rather
+     than using the Python lock to avoid recursive problems.
+kes  Correct the uninstall directory names in filed/Makefile.in
+     as reported by a user.
+17Apr06
+kes  Correct some problems with database creation (new tables).
+kes  Replace a bunch of old 0x%x by %p.
+kes  Get first cut of Migration with Job selection working.
+16Apr06
+kes  Change store_bit() to store_bool() for the Spooling in 
+     dird_conf.c -kes  bug reported by Robert Nelson.
+15Apr06
+kes  Correct Makefile bug found by Dan Langille.
+14Apr06
+kes  Correct Makefile for Solaris /bin/sh
+kes  Correct mtx-changer.in for Solaris /bin/sh
+kes  Abort if a conf resource does not have a Name =
+12Apr06
+kes  Change the name of the regex program to bregex.
+kes  Add the bwild program to the tools directory. It is similar
+     to the bregex program.
+kes  Implement create bregex.h and bregex.c in src/lib from the
+     Python regexp program.  
+kes  Use the new bregex.c to implement Regex expressions on Win32.
+11Apr06
+kes  More work on migration.
+kes  Implement wild program in tools directory for testing
+     wild-cards. Almost identical to the regex program.
+kes  Up port VSS single thread locking code.
+kes  Replace N_(..) by NT_(...) to inhibit translation of
+     commands.
+kes  Modify Makefile to change the permissions on Working Directory
+     to 770 if the directory is created.
+kes  Do not fail the Makefile if changing the permissions or 
+     owner/group on WorkingDir fails.
+kes  Remove early selection of Scratch Volumes in the recycling
+     algorithm.
+kes  Correct the old recycling algorithm so that Scratch Volumes
+     are selected when looking for a Volume in the changer.
+kes  Correct a typo in the Verify SQL reported by Joe Park.
+10Apr06
+kes  Remove automatic case folding on Windows FDs. You must
+     explictly use the 'Ignore Case = yes' option.
+kes  Remove the code added to 1.38.6 and 1.38.7 that pulls a
+     scratch volume in an Autochanger early in the 'recycling'
+     algorithm.  
+09Apr06
+kes  Make weof() and clrerror() methods of class DEVICE.
+08Apr06
+kes  Tweak license to include Microsoft restrictions.
+kes  Move mysql.reconnect to after real_connect().     Thanks to
+     Frank Sweetser for the patch.
+kes  Disallow a backslash in a File = directive (Windows junk)
+     unless the string is quoted.                     
+kes  Apply Eric's patch to ua_label.c so that daemon protocol
+     is not translated.
+kes  Add NT_ definition for strings that should not be translated.
+kes  Apply NT_() to ua_label.c
+kes  Remove timed wait for VSS on Win2K3 as it is not yet
+     implemented.
+kes  Correct bacula.in script to reference bacula-ctl-xx in the
+     sysconfig directory rather than the bin directory.
+26Mar06
+kes  Fix a long standing bug in the bacula start/stop scripts.
+kes  Attempt to add the new bacula-ctl-* files to the rpm.
+kes  Switch to using typeof() for list traversing to avoid
+     as many FC5 g++ compiler warnings as possible.
+25Mar06
+kes  Split the bacula start/start script into four files:
+      bacula         -kes  starts and stops calling other scripts
+      bacula-ctl-dir -kes  starts/stops the director
+      bacula-ctl-fd  -kes  starts/stops the File daemon
+      bacula-ctl-sd  -kes  starts/stops the Storage daemon
+24Mar06
+kes  Create datestyle fix for PostgreSQL. Fixes bug #574.
+kes  Correct editing of JobId from int to int64 in fd_cmds.c
+kes  Eliminate FileSet name race with bash_spaces() and multiple
+     threads by bashing in a local.
+kes  Fix error return from 'use storage' to print a correct error
+     message rather than nothing.
+kes  Correct false re-read last block error message when two jobs 
+     are simultaneously writing at the end of a tape.
+kes  Simplify exit conditions in the reserve.c code to avoid     
+     possible non-release of reservation_lock().
+kes  Suffle lock order in reserve to avoid deadlock between
+     reservation lock and device mutex.
+21Mar06
+kes  Initialize jcr mutex before first use. Thanks to Thorsten for
+     tracking this down for me !!!! as it broke the Win32 build.
+20Mar06
+kes  Integrate addition of line count limitation to bsmtp -l from
+     Sebastian Stark <stark at tuebingen.mpg.de>
+17Mar06
+kes  Implement regex test program in tools directory.
+kes  Attempt to fix time problem with bsmtp with foreign langs.
+kes  Add strip_trailing_newline() submitted by user.
+kes  Implement regex matching in migrate.c
+16Mar06
+kes  Fix bug #537 to allow arbitrary time to mount a volume for
+     restore, if polling is turned on.     
+kes  If dir_user or dir-group is specified in ./configure apply it to
+     the working-dir. Fixes bug #533.
+kes  If rescheduling a job cancel the previous incarnation with the SD.
+     Fixes bugs #566 and 557.
+kes  Fix bug #567 do_message() definition type conflict.
+
+14Mar06
+kes  Add more jcr methods and make mutex and use_count private.
+kes  Create lock/unlock methods for jcr.
+kes  Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
+     records to get to seek position.
+kes  Integrate patch from bug #561 to correct conio.c signal definitions.
+kes  Fix Rescheduling failed Jobs. Ensure that SD message thread 
+     terminates correctly by doing pthread_kill(). Do not destroy
+     SD cond wait variable between executions of the job. Use local
+     mutex for cond variable to avoid blocking jcr chain. Fix poor 
+     use of jcr use count in jobq.c for restarted jobs.
+kes  Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
+     lib/jcr.c -kes  prevents locking the jcr chaing.
+kes  Apply patch from bug #564, which corrects listing volumes with
+     multiple autochangers. Apply same fix to next volume list.
+kes  Fix bug #562 where restore bootstrap file is not unique.
+kes  More details in implementing David's migration syntax proposal.
+kes  Save and restore dcr when swapping drives so that if we have
+     a write dcr it is not lost.
+kes  Use new routine lock_reservations() to lock the reservations
+     system, and call it while looking for a volume in askdir.c.
+     This could possibly fix bug #543.
+kes  Stop SD command loop if job is canceled.
+
+08Mar06
+kes  Remove old code from findlib/create_file.c
+kes  Rename mac.c migrate.c
+kes  Add user friendly display of VolBytes in job report.
+kes  Rename target... to previous... to make it a bit easier to
+     understand.
+kes  Add selection type and selection pattern to Migration (idea
+     given by David Boyes). 
+
+04Mar06
+kes  The po files should now be current.
+kes  Fix new sql_use_result() code to properly release the
+     buffers in all cases.
+kes  Use the keyword ujobid to mean the unique job id; job or jobname
+     to mean the Job name given on the Name directive, and jobid to
+     be the numeric (non-unique) job id.
+kes  Allow listing by any of the above.
+kes  Add the user friendly job report code for reporting job elapsed time
+     and rates with suffexes from John Kodis <kodis at comcast.net>.
+kes  Add Priority and JobLevel as Python settable items.
+kes  Use TEMPORARY table creation where the table is created by
+     Bacula.
+kes  Add new code submitted by Eric for waiting on specific jobid.
+kes  Add ACL checking for the dot commands.
+kes  Fix restore of writable FIFOs.
+kes  Fix a bug in bpipe where the string was freed too early.
+27Feb06
+kes  Modify the Python class examples to inherit object -kes  new way
+     of defining classes. Patch from Felix Schwarz.
+kes  Implement jobuid to replace old usage of job in keywords as
+     suggested by Eric Bollengier.
+kes  Apply patch for enhancing wait from Eric Bollengier. On can now:
+      wait  (wait for all jobs to stop)
+      wait jobid=nn
+      wait jobuid=unique id
+      wait job=job-name
+kes  Implement write variables for Python to set Priority (anytime), and
+     Job Level, only during JobInit event.
+26Feb06
+kes  Fix the block listing bug pointed out by Arno.
+kes  Update the po files at Eric's request.
+24Feb06
+kes  Fix Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to 
+     accept time qualifiers.
+kes  Make catalog respect ACL.
+kes  Add recycle count to Media record.
+
+Changes to 1.39.6-beta1 24Feb04
+23Feb06
+kes  Add Rudolf Cejka's new rc-chio-changer.
+kes  Implement pulling Volume from Scratch Pool if the
+     Volume is in the autochanger.
+kes  Implement additional command arguments for update Volume.
+
+Changes to 1.39.5 
+22Feb06
+kes  Back port changes to 1.38.5
+kes  Fix recycle SQL for StorageId.
+kes  Fix misplaced quote in mtx-changer script.
+20Feb06
+kes  Note. Your database must be updated, or you must create 
+     a new database. I have not yet incremented the database level.
+kes  Add Location table. 
+kes  Add LocationId, DeviceId, and MediaTypeId to Media record.
+18Feb06
+kes  Implement create/get mac record in database for adding extended
+     Migration data to the job record.
+kes  Add new MAC table to update/make database scripts.
+kes  Return Storage name used when getting VolumeNames for a job.
+kes  Change bsr file keyword Storage to Device, which is more accurate.
+kes  Ensure that Mac records are pruned/purged.
+kes  Tweak SD tools to deal with changing media type.
+kes  Integrate more dev.c subroutines as methods (e.g. strerror, bsr, ...)
+kes  Pass pointer to dcr pointer to acquire_device_for_read() so
+     that the subroutine can switch devices, and hence dcrs.
+kes  Modify the multiple MediaType read code to re-use the same
+     dcr when switching devices. This makes the code much more
+     robust.
+kes  Integrate patch from Karl Hakimian that reads JobIds, FileIndexes
+     from a table for restore.
+kes  Add Storage name to VolParams, but it really should be Device.
+14Feb06
+kes  Add disk-changer to scripts directory + configure/Makefile
+kes  Eliminate PoolId from jcr -kes  it is in jcr->jr.PoolId
+kes  Implement store_bit scanner to replace store_yesno.     Mostly done.
+kes  Implement new store_bool that stores in a bool. 
+kes  Add true/false to yes/no conf directives.
+kes  Make first cut at changing appropriate store_yesno to store_bool.
+kes  Complete implementation of Pool storage devices.
+kes  Move starting clones to job.c
+kes  Move create_restore_bootstrap_file() to job.c
+kes  Make copy_storage() more general to be able to handle
+     Pool storage.
+kes  Cleanup a lot of migration code for manual running, including
+     using Pool storage.
+kes  Move getting a scratch Volume into a subroutine.
+kes  Make all places a Volume that is added to a pool to 
+     respect max vols.
+kes  Fix bug in autochanger recycle code (improper edit 64 bit).
+kes  Fix segfault in restore command when no value specified.
+kes  Start adding code to handle multiple MediaTypes in restore.
+kes  Eliminate race condition in getting Volume name for
+     two drive autochanger.
+kes  More debug code in autochanger.
+kes  Add storage keyword to bootstrap file, add parsing.
+kes  Move slot in bsr file into Volume record as there will be
+     a different slot for each Volume.
+kes  Create reserve.h
+07Feb06
+kes  Implement Pool storage overrides.
+06Feb06
+kes  Implement first cut of Migration.
+kes  Implement mysql_use_result() from patch by Karl Hakimian.
+     This reduces significantly the memory consumption during
+     the restore tree building, and hence runs faster too.
+kes  Implement StorageId patch supplied by user (reggie) in bug
+     #536.  This should permit Bacula to work correctly with two
+     autochangers.
+kes  Implement Job listing variations suggested by a user.
+kes  Move updating bootstrap code in backup.c to subroutine
+     update_bootstrap_file().
+kes  Add new job status elapsed time and bytes written user
+     friendly job report output patch sent by John Kodis
+     <kodis at comcast.ne>.
+kes  Implement a storage list in Pools.
+kes  Separate out setup_job() code from run_job().
+kes  Get migration working -kes  lots of changes in mac.c in both
+     DIR and SD.
+kes  Apply patch from user (Eric Bollengier I think) that fixes a     
+     DIR crash when no arguments are supplied to a dot command.
+kes  Fix typo (strcpy->strcmp) in ua_prune.c as reported by Martin.
+kes  Fix command arg name->volume in label command of gnome-console.
+kes  Fix SD acquire.c to release correct DCR by explicitly testing
+     on the dcr address rather than trying to devine if it is a read
+     or write dcr.  This failed in error conditions when the device was
+     not fully setup.
+30Jan06
+kes  Apply user supplied patch for more readable rate output
+     in job report.
+kes  Continue implementing migration.
+kes  Implement support for removable filesystems in SD.
+kes  Ensure that btraceback scripts can be read by anyone.
+kes  Replace dvd-freespace and dvd-writepart by dvd-handler.
+kes  Correct bug where canceling restore before the FD contacts
+     the SD causes the drive to be left in read mode.
+kes  Move ofline_or_rewind into DEVICE::close().
+kes  Eliminate close_device.
+kes  Convert several dev subroutines to methods (e.g. bsf,
+     eod, ...)
+kes  Eliminate force_close_device().
+kes  Implement Device Type directive in Device resource that
+     can have values File, Tape, Fifo, DVD, or Prog.
+kes  Add has_cap() method to Device.
+Changes to 1.39.4
+17Jan06
+kes  Add patch from bug #527 to allow RedHat user to specify
+     options/user/group for starting each daemon in      
+     /etc/sysconf/bacula.
+16Jan06
+kes  Add two new queries to query.sql provided by Arno. One
+     list volumes known to the Storage device, and the other
+     lists volumes possibly needing replacement (error, ...).
+15Jan06
+kes  Add periodic (every 24 hours) garbage collection of memory 
+     pool by releasing free buffers.
+14Jan06
+kes  Correct bug counting sized (for display only) in smartall.c
+kes  Print FD mempool stats if debug > 0 rather than 5.
+12Jan06
+kes  Make db_lock() mutex error fail the job rather than abort
+     Bacula.  Canceling the job caused the mutex to fail.
+kes  Correct bug in alist.c that re-allocated the list if the
+     number of items goes to zero.
+kes  Move the reservation system thread locking to the top level
+     so that one job at a time tries all possible drives before
+     waiting.
+kes  Implement a reservation 'fail' message queue that is built            
+     and destroyed on each pass through the reservation system.
+     These messages are displayed in a 'Jobs waiting to reserve
+     a drive' list during a 'status storage='.  Note, multiple
+     messages will generally print for each JobId because they
+     represent the different problems with either the same drive
+     or different drives.  If this output proves too confusing
+     of voluminous, I will display it only when debug level 1
+     or greater is enabled in the SD.
+11Jan06
+kes  Add enable/disable job=<job-name>.     This command prevents
+     the specified job from being scheduled. Even when disabled,
+     the job can be manually started from the console.
+kes  During 'update slots' clear all InChanger flags where the
+     StorageId is zero (old Media records).
+
+Beta release 1.38.4:
+09Jan06
+kes  Fix autochanger code to strip leading spaces from returned
+     slots number. Remove bc from chio-changer.
+kes  Back port a bit of 1.39 crypto code to reduce diffs.
+kes  Fix first call to autochanger that missed close()ing the
+     drive. Put close() just before each run_program().  Fixes
+     Arno's changer bug.
+07Jan06
+kes  Add PoolId to Job record when updating it at job start time.
+06Jan06
+kes  Pull in more code from 1.39 so that there are fewer file
+     differences (the new ua_dotcmds.c, base64.h, crypto.h
+     hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
+     util.c. Aside from ua_dotcmds.c these are mostly crypto
+     upgrades.
+kes  Implement new method of walking the jcr chain. The
+     incr/dec of the use_count is done within the walking
+     routines.  This should prevent a jcr from being freed
+     from under the walk routines.
+
+
+Changes to 1.39.3:
+04Jan06
+kes  Start implementing Verify list output.
+kes  Move the suitable_drive flag to a better place to prevent
+     premature termination of the reservation if all drives
+     are busy -kes  should fix Arno's diff/inc pool failures.
+26Dec05
+kes  Add mutex to single thread VSS code in Win32.
+22Dec05
+kes  Simplify code in askdir.c that waits for creating an appendable
+     volume so that it can handle multiple returns from the wait
+     code.
+kes  Modify the wait code to permit multiple returns.
+kes  Return a zero when 'autochanger drives' is called and
+     it is not an autochanger.
+kes  Make rewind_dev() a method taking a DCR as an argument.
+     This permits closing and reopening the drive if the
+     rewind fails as happens if the drive was loaded while the
+     file descriptor was open. This refreshes the file descriptor.
+kes  Remove the ST_OPENED flag and always rely on fd < 0 for knowing
+     if the device is open or not.  This should eliminate
+     Arnos problem.
+kes  Return error if reserve cannot find at least one suitable device.
+kes  Make wait_for_sysop() return correct state information.
+kes  Fix Win32 state file problem. write was not using compat
+     code. This should fix bug #500.
+21Dec05
+kes  Modify gui on command to set only GUI mode and not batch.
+kes  Modify .messages command to always print messages regardless
+     of the mode.
+kes  If GUI mode is on, suppress automatic printing of 
+     You have messages. 
+kes  Delete old bnet packet code.
+kes  Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
+     wx-console. -kes  not implemented because bconsole must be updated.
+kes  Modify restore command in wx-console to set gui on and to use
+     only .messages instead of messages.  Hopefully this fixes bug
+     #514.
+kes  Fix seg fault in exit of acquire when canceling a job --
+     reported by Wolfgang Denk
+kes  Pull in latest reservation system changes from 1.38
+kes  Make .messages command always print messages regardless
+     of the automessages flag.
+17Dec05
+kes  Fix seg fault if user labels a drive directory bug #513
+kes  Remove quotes around Version as it breaks things.
+16Dec05
+kes  Merge in Aleksandar Milivojevic's mods to the spec file.
+kes  Apply sparse code fix for raw drives and fifos. Bug 506
+kes  Thorsten fixed Unicode cd problem with wx-console bug 505.
+14Dec05
+kes  Correct reservation system to do a last ditch try
+     for any mounted volume, then anyone anywhere.
+kes  Add quotes around table Version because of
+     error in MySQL 4.1.15 -kes  bug report submitted.
+kes  Correct some minor problems with btape in the fill
+     command.
+kes  Updates to ssh-tunnel from Joshua Kugler.
+kes  Added a report.pl program from Jonas Bjorklund.               
+kes  Simplify the O_NONBLOCK open() code for tape drives,
+     and always open nonblocking.
+kes  Do not wait for open() if EIO returned (shouldn't happen).
+kes  Eliminate 3 argument to tape open().
+kes  Correct the slot # edited in the 3995 Bad autochanger unload
+     message.
+kes  With -S on bscan (show progress) do not divide by zero.
+13Dec05
+kes  Make cancel pthread_cond_signal() pthread_cond_broadcast().
+kes  When dcr is freed, also broadcast dev->wait_next_vol signal.
+kes  Remove unused code in wait_for_device.     
+kes  Make wait_for_device() always return after 60 seconds of wait.
+
+Changes to 1.39.2:
+13Dec05
+kes  Add stubs for non-crypto build.
+12Dec05
+kes  Use localhost if no network configured
+11Dec05
+kes  Eliminated duplicate MaxVolBytes in cat update -kes  bug 509.
+kes  Remove debug print.
+kes  Add bail_out in error during state file reading.
+10Dec05
+kes  Merge changes made to 1.38.3 into HEAD
+kes  Add stubs for pygtk-console code
+kes  Create Makefile.in for pygtk-console code
+09Dec05
+kes  Merge updates into 1.38 branch
+kes  Update specs to include mysql4 define.
+kes  Fix when attributes are sent, must be after binit().
+kes  Stop read_record() if status not ok in second loop.
+kes  Return rec->FileIndex in dcr->VolLastIndex for normal
+     and partial records in read_record().  This allows bscan
+     to get FileIndex at EOT correct.
+kes  Fix butil.c to correctly set dcr -kes  fixes seg fault in bls.
+08Dec05
+kes  Fix Win32 built to work with new crypto code.
+kes  Apply patch supplied by user (slightly modified) to fix
+     correct detection of holes in block devices and FIFOs. 
+     Bug # 506.
+kes  Apply patch supplied by user (slightly modified) 
+     to fix SD hang with multiple pools and bad client
+     IP. Fixes bug # 508.
+07Dec05
+kes  Add nagios plugin to the examples directory. Submitted by
+     Christian Masopust.
+kes  Remove warning message about multiple saves of hardlinked files
+     from find_one.c as it can generate too many warning messages.
+kes  Modify most restore error messages to be queued so that they
+     appear at the end of the job rather than mixted with the restore
+     listing where they could be 'lost'.
+06Dec05
+kes  Reset timeout values before select() per patch from 
+     Frank Sweetser for problems with non-blocking sockets.
+kes  Unlink the state file if either reading or writing it gets
+     errors.  Hopefully this will fix Win32 exit problems.
+kes  Add sanity check in append.c to ensure that dcr is not NULL.
+     This can happen if multiple drive autochanger SCSI control
+     channel and drive indicies do not correspond.
+05Dec05
+kes  Get next volume from Scratch pool before creating a volume.
+kes  Set new Pool defaults in Vol when moved from Scratch Pool.
+kes  Remove argument from create_bacula_database for SQLite as it
+     caused an error.
+kes  Add back index code so that two drive autochangers can get
+     a second tape.
+kes  Change a bunch of debug levels to aid debugging autochangers.
+kes  Fix reservation so that mutexes are properly applied.
+kes  Rework reservation algorithm so that two drives can be used
+     at the same time.
+04Dec05
+kes  Landon merged his data encription changes into the HEAD
+kes  Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
+     If this patch is applied, the number of days can be specified with
+     'list nextvol days=xx'
+     or
+     'status dir days=xx'
+     My use case is to be able to preview the next scheduled job (and the 
+     next tape to be used) on fridays if there are no scheduled jobs during 
+     the weekend.
+Changes to 1.39.1:
+03Dec05
+kes  Fix font code in gnome2 console user patch. Fixes bug #501.
+kes  Fix malformatted bnet error message that caused seg fault
+     fixes bug 502
+kes  Applied user patch to improve README.vc8 in src/win32.
+29Nov05
+kes  Add Migrate, Copy, Archive Job types (some where there)
+kes  Correct some more editing of JobId's (for 64 bit compatibility).
+kes  Ensure that StorageId is stored in Media record when ever possible.
+kes  Add Migration Job to Job.
+kes  Add Migration Time, Migration High Bytes, Migration Low Bytes
+     Next Pool to Pool resource.
+kes  Add more code to mac.c (migration archive copy).
+kes  Change Start Storage daemon job to require read and write storage
+     pointers.
+kes  Pass read storage data to SD as well as write storage data.
+kes  Remove old code from winservice.cpp
+kes  Break on error in scan.
+kes  Fix typo in signal.c
+kes  Separate read/write DCR in SD.     Add jcr->read_dcr.
+kes  Cleanup how find_device() works.
+kes  Add read output to Status in SD.
+Changes to 1.39.0:
+23Nov05
+kes  Add red-black btree routines
+21Nov05
+kes  Remove abs() in bfile.c so that it compiles on Solaris. 
+     Bug #491.
+20Nov05
+kes  Fix crash in tray-monitor when daemon disconnects. Bug #479.
+kes  Fix bnet-server bug found on OpenBSD. Bug #486
+kes  Fix cancel failure bug. Bug #481
+kes  Fix failure when Pool name has spaces. Bug #487      
+kes  Fix SD crash in autochanger code. Mutex failure. Bug #488
+kes  Fix a couple of free()s in src/filed/acl.c
+kes  Fix memory overrun in bfile.c in building OS X resource
+     fork filename. Bug #489 
+kes  Add Pool name to SD status output.
+14Nov05
+kes  Apply SunOS patch for ACLs submitted by David Duchscher.                     
+kes  Make sure to set storage before trying to set drive.
+kes  Add bacula_mail_summary.sh to examples directory. It makes
+     a single email summary of any number of jobs. Submitted
+     by Adrew J. Millar.
+kes  Make sure when we do a mount to unblock the device even
+     if the drive could not be opened.  
+13Nov05
+kes  Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
+     and correct a few minor problems to make it build on Linux.
+10Nov05
+kes  Remove delete of CVS from all Makefiles
+kes  Fix seg fault when clicking on Add button in wx-console
+     restore panel.  Bug #470.
+kes  Fix copyright date and URL typo -kes  bug #468.
+kes  Change autostart install for FreeBSD to look for rc.conf     
+     rather than rc.local as suggested fix for bug #466.
+kes  Apply patch supplied by Eric Bollengier to fix PostgreSQL       
+     grant on status. Bug #465
+kes  Apply patch supplied by Eric Bollengier to fix PostgreSQL
+     update script. Bug #464
+kes  Tweak #ifdefing a bit in new Win32 stream code.
+kes  Fix #ifdeffing for FD_NO_SEND_TEST.
+kes  Add documentation of performance #defines
diff --git a/bacula/technotes-2.0 b/bacula/technotes-2.0
new file mode 100644 (file)
index 0000000..65f245c
--- /dev/null
@@ -0,0 +1,27 @@
+              Technical notes on version 2.0
+
+General:
+Version 2.0.1
+12Jan07
+kes  Fix Bacula->Documentation link on Win32 to point to index.html
+     instead of bacula.html. Fixed bug #750.
+kes  Return JobId in db_get_job_record() when JobId==0. This should
+     fix bug #741.
+kes  Do not release source pointers when restarting a failed job.
+11Jan07
+kes  Add dynamic dll entry point for SHGetFolderPath to Win32 code.
+     This *should* fix bug #747.
+kes  Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
+     bug #742.
+09Jan07
+kes  Modify USTORE constructor to set an empty store_source string, 
+     and don't copy the store_source string in a cancel.  Hopefully
+     this will fix Arno's seg fault, bug #744.
+kes  Add back code to disable conio in configure. Fixes bug #743.
+kes  Correct the Options scanner in the FD to correctly handle  
+     SHA1 option, which was eating the next option.  Reported by    
+     Sebastien Guilbaud.
+kes  Add code to indicate when the SD is spooling, spool wait, and 
+     despooling as requested by Alan Brown.
+
+Version 2.0.0 released: 4 January 2007
diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1
deleted file mode 100644 (file)
index 65f245c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-              Technical notes on version 2.0
-
-General:
-Version 2.0.1
-12Jan07
-kes  Fix Bacula->Documentation link on Win32 to point to index.html
-     instead of bacula.html. Fixed bug #750.
-kes  Return JobId in db_get_job_record() when JobId==0. This should
-     fix bug #741.
-kes  Do not release source pointers when restarting a failed job.
-11Jan07
-kes  Add dynamic dll entry point for SHGetFolderPath to Win32 code.
-     This *should* fix bug #747.
-kes  Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix
-     bug #742.
-09Jan07
-kes  Modify USTORE constructor to set an empty store_source string, 
-     and don't copy the store_source string in a cancel.  Hopefully
-     this will fix Arno's seg fault, bug #744.
-kes  Add back code to disable conio in configure. Fixes bug #743.
-kes  Correct the Options scanner in the FD to correctly handle  
-     SHA1 option, which was eating the next option.  Reported by    
-     Sebastien Guilbaud.
-kes  Add code to indicate when the SD is spooling, spool wait, and 
-     despooling as requested by Alan Brown.
-
-Version 2.0.0 released: 4 January 2007
diff --git a/regress/.cvsignore b/regress/.cvsignore
deleted file mode 100644 (file)
index 90b65e5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-config.out
-build
-bin
-test.out
-weird-files
-weird-files2
-diff
-tmp
-working
-Makefile
-test1.out
-time.out
diff --git a/regress/Makefile.in b/regress/Makefile.in
deleted file mode 100644 (file)
index be5940a..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Makefile for Bacula regression testing
-#
-#  Note, Makefile is built from Makefile.in, which you should not really 
-#    need to change, by envoking:
-#
-#  ./config <user's configuration>
-# e.g.
-#
-#  ./config kern.conf
-#
-#
-
-# suck in user's configuration
-@CONFIG@
-
-first_rule: all
-
-all:
-
-setup: bacula sed
-
-# 
-# Some machines cannot handle the sticky bit and other garbage that
-#  is in weird-files, so we load and run it only on Linux machines.
-#
-bacula: all
-       @rm -rf bin build weird-files tmp
-       (if test x`uname` = xLinux -o x`uname` = xFreeBSD ; then \
-          tar xfz weird-files.tar.gz ;\
-        fi)
-       rm -rf tmp working
-       mkdir tmp working
-       echo "Doing: scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${OPENSSL}"
-       scripts/setup ${BACULA_SOURCE} ${EMAIL} ${WHICHDB} ${TCPWRAPPERS} ${SMTP_HOST} ${OPENSSL}
-
-sed:
-       echo "Doing: scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1} ${SMTP_HOST}"
-       scripts/do_sed ${EMAIL} ${TAPE_DRIVE} ${AUTOCHANGER} ${AUTOCHANGER_PATH} ${TAPE_DRIVE1} ${SMTP_HOST}
-
-# Run all non-root userid tests
-test: 
-       ./all-non-root-tests
-
-# run all file and tape tests
-full_test:
-       ./all-tape-and-file-tests
-
-# These tests require you to run as root
-root_test:
-       ./all-root-tests
-
-clean:
-       scripts/cleanup
-       rm -f /tmp/file-list
-       rm -fr tmp/* working/*
-       rm -f test.out
-       rm -f diff
-       rm -f 1 2 3 scripts/1 scripts/2 scripts/3 tests/1 tests/2 tests/3
-       find . -name .#* -exec rm -rf {} \;
-
-# Reset our userid after running as root
-reset:
-       chown -R ${USER}:${USER} . tmp working
-       scripts/cleanup
-       rm -f /tmp/file-list tmp/file-list
-       rm -f tmp/* working/*
-
-distclean: clean
-       rm -rf bin build weird-files weird-files weird-files2 tmp working
-       rm -f scripts/*.conf
-                     
diff --git a/regress/README b/regress/README
deleted file mode 100644 (file)
index 040f87f..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
-             Bacula Regression
-               Kern Sibbald
-
-This is Bacula's regression script directory.
-
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-Warning!!!! Make sure not to run it on the same system 
-with your production Catalog because the tables will all
-be cleared. You can run it on the your production system
-if you use a different database. E.g. if your production
-system uses MySQL, you can use SQLite here.
-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-
-
-To set it up, create your personal configuration file, by
-copying prototype.conf to xxx.conf or simply editing prototype.conf
-directly.
-
-Then edit your conf file and define appropriate values
-for the variables that are in that file.  If you want to see
-a real example, look at kern.conf, but please don't use my
-email address!
-
-If you are using SQLite, make sure that depkgs is pre-built if it
-isn't already: (cd your-depkgs; make sqlite).
-
-Note, if you use any database other than SQLite, be sure it is not              
-your production database because Bacula will delete all the tables
-and recreate them.  With SQLite, a new different database is created,
-so it will not affect your production system.
-
-Using the .conf file, you can now select between any Catalog type:
-SQLite, SQLite3, MySQL, or PostgreSQL.  Be aware, however, if you
-use an installed database on a production server, running these
-tests will delete all the tables !!!!!!!!!!!!!!!!!!  I run my
-tests on a non-production machine, and in addition, I normally use
-SQLite as the database, while my production uses MySQL.
-
-Then do:
-
-   ./config xxx.conf
-   make setup
-
-You run the above one time.  This will build a Makefile from
-Makefile.in and your xxx.conf file, copy the Bacula source,
-configure, build it, and configure all the Bacula scripts
-and conf files.  If you change your source, you will need to
-redo this command.
-
-Then you can run any of the tests in the tests subdirectory.
-Each test whose name ends in -root requires you to be root for
-a resonable run.  Each test is totally independent of any other
-test. Aside from the required "make setup", each test is totally
-self-initalizing and should clean up after itself.
-
-All the tests expect you to execute them from the main regress 
-directory!               
-
-You can run all the disk based tests by doing:
-
-  ./do_file
-
-The disk based tests are totally separate from any production
-system, provided you have configured the database appropriately     
-as noted above.
-
-You can run all the disk and most of the tape tests by doing:
-
-  ./do_all
-
-======== Important !!! ============
-When running the tape tests, Bacula will write on any tape that
-is in the tape drive that you have configured.  If it is a production
-Bacula tape, it will be destroyed.  If you have configured an Autochanger,
-Bacula will write on the tapes in slots 1 and 2 thus destroying any
-information on those tapes, even if they are Bacula production tapes.
-=================================== 
-
-Each of the above calls one or more scripts. By looking at the
-scripts available in this directory, you can see that there are a number
-of options for running tests.
-
-You can run them individually as:
-
-   tests/two-jobs-test
-
-or all non-root tests (my normal testing under my account)
-
-  ./all-non-root-tests
-
-or all tests (I only run these before a production release):
-
-   su
-   ./all-tests
-
-
-after running the root tests, while still root, it is a good idea
-to do:
-
-   make reset
-
-this cleans up any files that may be created with root permissions.
-
-If you want to add more tests, do so by putting the shell script 
-in the tests subdirectory. Be careful when adding (or better not)
-new clients, pools, and such to the test-bacula-dir.conf.in file
-as it may invalidate a good number of tests, which respond to
-questions by answering with a number (i.e. the order of the selection
-list is known). It might be better to add your own testb-bacula...
-configuration file.  
-
-To avoid re-doing a make setup if you have made a change to the
-conf files, and you do not need a new copy of the source, you can simply do:
-
-   make sed
-
-Debugging failed tests:
-The simplest thing to do is to edit tests/xxxx where xxxx is the name of
-the test, and change the line "set_debug 0" to "set_debug 1".  If the test has
-not been updated to have the debug variable, please notify Kern, and I
-will be happy to fix it -- I am upgrading them one at a time.
-
-Also, if you run from time to time on a computer that is not connected
-to the network, please be sure that "hostname" is set to "localhost",
-otherwise, your tests may fail because the hostname used by Bacula's
-./configure cannot be properly resolved.
diff --git a/regress/all-non-root-2tape-tests b/regress/all-non-root-2tape-tests
deleted file mode 100755 (executable)
index 5201731..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-#
-# Run all tape tests
-#
-tests/test0
-tests/two-volume-tape
-tests/incremental-2tape
-echo " "
-echo " "
-echo "2 Tape Test results"
-cat test.out
-scripts/cleanup
diff --git a/regress/all-non-root-tape-tests b/regress/all-non-root-tape-tests
deleted file mode 100755 (executable)
index 5e57ebb..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# Run all tape tests
-#
-. ./config.out
-if test ! x$AUTOCHANGER = x/dev/null ; then
-   mtx -f $AUTOCHANGER load 1 >/dev/null &2>/dev/null
-fi
-cp test.out test1.out
-tests/test0
-tests/backup-bacula-tape
-tests/btape-fill-tape
-tests/fixed-block-size-tape
-tests/four-concurrent-jobs-tape
-tests/four-jobs-tape
-tests/incremental-tape
-tests/relabel-tape
-tests/restore-by-file-tape
-tests/small-file-size-tape
-tests/truncate-bug-tape
-tests/two-pool-tape
-tests/2drive-incremental-2tape
-tests/bscan-tape
-tests/verify-vol-tape
-echo " "
-echo " "
-echo "Test results"
-cat test.out
-scripts/cleanup
diff --git a/regress/all-non-root-tests b/regress/all-non-root-tests
deleted file mode 100755 (executable)
index 783c887..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-#
-# Run all tests
-#
-rm -f test1.out
-tests/test0
-echo " "
-tests/auto-label-test
-tests/backup-bacula-test
-tests/bextract-test
-tests/bscan-test
-tests/bsr-opt-test
-tests/compressed-test
-tests/compressed-encrypt-test
-tests/concurrent-jobs-test
-tests/data-encrypt-test
-#tests/sparse-encrypt-test
-#tests/gigaslam-sparse-test
-tests/differential-test
-tests/four-concurrent-jobs-test
-tests/four-jobs-test
-tests/incremental-test
-tests/query-test
-tests/recycle-test
-tests/restore2-by-file-test
-tests/restore-by-file-test
-tests/restore-disk-seek-test
-tests/six-vol-test
-tests/span-vol-test
-tests/sparse-compressed-test
-tests/sparse-test
-tests/two-jobs-test
-tests/two-vol-test
-tests/verify-vol-test
-tests/weird-files2-test
-tests/weird-files-test
-tests/migration-job-test
-tests/migration-jobspan-test
-tests/migration-volume-test
-tests/migration-time-test
-tests/hardlink-test
-# 
-# The following are Virtual Disk Autochanger tests
-tests/two-pool-test
-tests/two-volume-test
-tests/incremental-2disk
-tests/2drive-incremental-2disk
-tests/scratch-pool-test
-echo " "
-echo "Test results"
-cat test.out
-scripts/cleanup
diff --git a/regress/all-root-tests b/regress/all-root-tests
deleted file mode 100755 (executable)
index 3f077bb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-#
-# Run all root tests
-#
-rm -f test.out
-tests/dev-test-root
-tests/etc-test-root
-tests/lib-test-root
-tests/usr-tape-root
-cat test.out
-scripts/cleanup
diff --git a/regress/all-tape-and-file-tests b/regress/all-tape-and-file-tests
deleted file mode 100755 (executable)
index f3e7269..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-#
-# Run all tests
-#
-./all-non-root-tests
-./endtime
-./all-non-root-tape-tests
diff --git a/regress/all-tests b/regress/all-tests
deleted file mode 100755 (executable)
index b1b2b35..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# Run all tests
-#
-./all-non-root-tests
-./all-root-tests
-cat test.out
-scripts/cleanup
diff --git a/regress/config b/regress/config
deleted file mode 100755 (executable)
index 4bc4f52..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#/bin/sh
-#
-# First argument is expected to be a user's configuration file
-#
-if ! test -e $1 ; then
-   echo "Arg1 must specify a config file (e.g. prototype.conf)"
-   exit 1
-fi
-sed -e "/@CONFIG@/r $1" -e "s/@CONFIG@//" Makefile.in >Makefile
diff --git a/regress/do_all b/regress/do_all
deleted file mode 100755 (executable)
index cc89df2..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-/home/kern/bacula/bin/startmysql
-make setup
-./starttime
-if [ ! -e bin/tape_options ] ; then
-  touch bin/tape_options
-fi
-./all-tape-and-file-tests
-./endtime
-./all-non-root-2tape-tests
-./endtime
diff --git a/regress/do_all_tapes b/regress/do_all_tapes
deleted file mode 100755 (executable)
index dd07d2e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-make setup
-./all-non-root-tape-tests
diff --git a/regress/do_file b/regress/do_file
deleted file mode 100755 (executable)
index 5fe0a82..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-#  /home/kern/bacula/bin/startmysql
-make setup
-./starttime
-./all-non-root-tests
-./endtime
diff --git a/regress/endtime b/regress/endtime
deleted file mode 100755 (executable)
index faf419f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/python
-from time import time as now 
-t = now()
-fn = open('time.out', 'r')
-s = fn.readline()     
-fn.close()
-diff = t - float(s)
-h = int(diff / 3600)
-m = int((diff - h * 3600) / 60)
-sec = diff - h * 3600 - m * 60
-print 'Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s))
diff --git a/regress/file b/regress/file
deleted file mode 100755 (executable)
index 8f20890..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./all-non-root-tests
diff --git a/regress/freebsd.conf b/regress/freebsd.conf
deleted file mode 100644 (file)
index 823eb9c..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-# Where to get the source to be tested
-# BACULA_SOURCE="${HOME}/bacula/branch-1.36.2"
-BACULA_SOURCE="${HOME}/bacula/k"
-
-# Where to send email   !!!!! Change me !!!!!!!
-EMAIL=kern@sibbald.com
-SMTP_HOST="matou.sibbald.com"
-
-# Full "default" path where to find sqlite (no quotes!)
-SQLITE_DIR=${HOME}/bacula/depkgs/sqlite
-
-TAPE_DRIVE="/dev/nsa0"
-# if you don't have an autochanger set AUTOCHANGER to /dev/null
-AUTOCHANGER="/dev/sg0"
-# For two drive tests -- set to /dev/null if you do not have it
-TAPE_DRIVE1="/dev/null"
-
-# This must be the path to the autochanger including its name
-AUTOCHANGER_PATH="/usr/local/sbin/mtx"
-
-# Set your database here
-WHICHDB?="--with-sqlite=${SQLITE_DIR}"
-#WHICHDB="--with-mysql=${HOME}/mysql"
-
-# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
-TCPWRAPPERS="--with-tcp-wrappers"
-
-# Set this to "" to disable OpenSSL support, "--with-openssl=yes"
-# to enable it, or provide the path to the OpenSSL installation,
-# eg "--with-openssl=/usr/local"
-OPENSSL=""
diff --git a/regress/kern.conf b/regress/kern.conf
deleted file mode 100644 (file)
index 11c2c51..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# Where to get the source to be tested
-# BACULA_SOURCE="${HOME}/bacula/branch-1.38"
-#BACULA_SOURCE="${HOME}/bacula/bacula-1.39.22-20060908"
-BACULA_SOURCE="${HOME}/bacula/k"
-
-# Where to send email   !!!!! Change me !!!!!!!
-EMAIL=kern@sibbald.com
-SMTP_HOST="localhost"
-
-# Full "default" path where to find sqlite (no quotes!)
-#SQLITE_DIR=${HOME}/bacula/depkgs/sqlite3
-SQLITE_DIR=${HOME}/bacula/depkgs/sqlite
-
-TAPE_DRIVE="/dev/nst0"
-# if you don't have an autochanger set AUTOCHANGER to /dev/null
-AUTOCHANGER="/dev/sg0"
-# For two drive tests -- set to /dev/null if you do not have it 
-TAPE_DRIVE1="/dev/null"
-
-# This must be the path to the autochanger including its name
-AUTOCHANGER_PATH="/usr/sbin/mtx"
-
-# Set your database here
-#WHICHDB="--with-sqlite=${SQLITE_DIR}"
-WHICHDB="--with-mysql"
-#WHICHDB="--with-postgresql"
-#WHICHDB="--with-sqlite3=${SQLITE_DIR}"
-
-# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
-TCPWRAPPERS="--with-tcp-wrappers"
-
-# Set this to "" to disable OpenSSL support, "--with-openssl=yes"
-# to enable it, or provide the path to the OpenSSL installation,
-# eg "--with-openssl=/usr/local"
-OPENSSL="--with-openssl"
diff --git a/regress/misc-tests b/regress/misc-tests
deleted file mode 100644 (file)
index dd2734c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-tests/btape-fill-full-tape
-tests/eot-fail-tape
diff --git a/regress/prototype.conf b/regress/prototype.conf
deleted file mode 100644 (file)
index 2ea5a70..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# Prototype personal configuration file for the regression 
-#  scripts.  Either edit this file directly, or better copy
-#  it elsewhere so it won't get overwritten.          
-#
-
-#
-# Put the full path to the Bacula source code to be tested
-#
-BACULA_SOURCE=
-
-# Where to send email messages
-#
-EMAIL=
-SMTP_HOST=localhost
-
-# Full "default" path where to find sqlite. 
-# This is only used if you do not specify a database override on the
-# make command.  
-#
-#    N.B. DON'T PUT QOUTES AROUND THE PATH.
-#
-SQLITE_DIR=${HOME}/bacula/depkgs/sqlite
-
-#
-# The device name of your tape drive if you have one
-#
-TAPE_DRIVE=/dev/nst0
-TAPE_DRIVE1=/dev/null
-
-#
-# if you don't have an autochanger set AUTOCHANGER to /dev/null
-#
-AUTOCHANGER=/dev/sg0
-
-#
-# This must be the path to the autochanger including its name
-#
-AUTOCHANGER_PATH=/bin/mtx
-
-# Set your database here
-WHICHDB="--with-sqlite=${SQLITE_DIR}"
-#WHICHDB="--with-mysql"
-#WHICHDB="--with-postgresql"
-
-# Set this to "--with-tcp-wrappers" or "--without-tcp-wrappers"
-TCPWRAPPERS="--with-tcp-wrappers"
-
-# Set this to "" to disable OpenSSL support, "--with-openssl=yes"
-# to enable it, or provide the path to the OpenSSL installation,
-# eg "--with-openssl=/usr/local"
-OPENSSL=""
diff --git a/regress/run b/regress/run
deleted file mode 100755 (executable)
index d48e262..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-bin/bacula start
-bin/bconsole -c bin/bconsole.conf
diff --git a/regress/scripts/.cvsignore b/regress/scripts/.cvsignore
deleted file mode 100644 (file)
index 9b411b0..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-bacula-dir-migration.conf
-bacula-sd-migration.conf
-crypto-bacula-fd.conf
-new-test-bacula-dir.conf
-bacula-dir.conf
-bacula-fd.conf
-bacula-sd.conf
-console.conf
-bconsole.conf
-test-bacula-dir.conf
-test-bacula-fd.conf
-test-bacula-sd.conf
-test-console.conf
-testa-bacula-dir.conf
-bacula-dir-tape.conf
-bacula-sd-tape.conf
-bacula-sd-2tape.conf
-cleanup-tape
-cleanup-2tape
-prepare-two-tapes
-cleanup-2drive
-bacula-sd-2drive.conf
-bacula-sd-win32-tape.conf
-bacula-sd-2drive.conf
-bacula-dir-win32-tape.conf
-win32-bacula-dir-tape.conf
diff --git a/regress/scripts/bacula-dir-migration.conf.in b/regress/scripts/bacula-dir-migration.conf.in
deleted file mode 100644 (file)
index fb577c7..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-Job {
-  Name = "migrate-job"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratejob.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = Job 
-  Selection Pattern = ".*Save"
-}
-
-Job {
-  Name = "migrate-volume"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratevol.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = Volume
-  Selection Pattern = "File*"
-}
-
-Job {
-  Name = "migrate-occupancy"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratejob.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = PoolOccupancy
-}
-
-Job {
-  Name = "migrate-time"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratejob.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = PoolTime
-}
-
-
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include { Options { signature=MD5 }
-    File =  </tmp/file-list
-  }
-}
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS Virtual tape disk storage device
-Storage {
-  Name = DiskChanger
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DiskChanger                      # must be same as Device in Storage daemon
-  Media Type = DiskChanger                  # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
-  Autochanger = yes
-}
-
-# Definition of file storage device
-Storage {           
-  Name = File
-  Address = @hostname@
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 5
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-  NextPool = Full
-  Storage = File
-  Migration High Bytes = 40M
-  Migration Low Bytes = 20M
-  Migration Time = 60
-}
-
-Pool {
-  Name = Full
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-  Storage = DiskChanger
-}
diff --git a/regress/scripts/bacula-dir-tape.conf.in b/regress/scripts/bacula-dir-tape.conf.in
deleted file mode 100644 (file)
index 02321c1..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.33
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-Job {
-  Name = "NightlySave1"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-  Client Run Before Job = "/bin/sleep 120"
-}
-
-Job {
-  Name = "NightlySave2"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-Job {
-  Name = "VerifyTape"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Verify Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include { Options { signature=MD5 }
-    File =  </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "Verify Set"
-  Include { 
-    Options { 
-       signature=MD5
-       verify=pins1
-    }
-    File =  </tmp/file-list
-  }
-}
-
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS tape storage device
-Storage {
-  Name = DDS-4
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DDS-4                      # must be same as Device in Storage daemon
-  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
-# Autochanger = yes
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = Full
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = Inc
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = Scratch
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/scripts/bacula-dir-win32-tape.conf.in b/regress/scripts/bacula-dir-win32-tape.conf.in
deleted file mode 100644 (file)
index bf29899..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.33
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-}
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Enable VSS = yes
-  Include { Options { signature=MD5 }
-    File =  "c:"
-  }
-}
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = Tibs
-  Address = tibs
-  FDPort = 9102
-  Catalog = MyCatalog
-  Password = "xBzFq+a9llZyGyfMaNO9e3outP86/1AUAT8P34RoT62G"
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS tape storage device
-Storage {
-  Name = DDS-4
-  Address = 192.168.68.112            # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DDS-4                      # must be same as Device in Storage daemon
-  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  AutoChanger = yes
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/scripts/bacula-dir.conf.testrunscript.in b/regress/scripts/bacula-dir.conf.testrunscript.in
deleted file mode 100644 (file)
index 9efaf66..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39.27 (24 October 2006) -- debian testing/unstable
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Standard
-}
-
-JobDefs {
-  Name = "DefaultJob"
-  Type = Backup
-  Level = Incremental
-  Client = @hostname@-fd 
-  FileSet = FS_TESTJOB
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Priority = 10
-  Maximum Concurrent Jobs = 16
-}
-
-FileSet {
- Name = FS_TESTJOB
- Include {
-   File=</tmp/file-list
- }
-}
-
-#dir: BeforeJob: run command "/bin/echo RunBeforeJob"
-#fd: ClientRunBeforeJob: ClientRunBeforeJob
-#fd: ClientAfterJob: run command "/bin/echo ClientRunAfterJob"
-#dir: AfterJob: run command "/bin/echo RunAfterJob"
-
-Job {
-  Name = "RUN_ALL_OK"
-  JobDefs = DefaultJob
-  FileSet = FS_TESTJOB
-  RunBeforeJob = "/bin/echo RunBeforeJob"
-  ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
-  Run After Job = "/bin/echo RunAfterJob"
-  ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
-}
-
-#After job are after before job
-Job {
-  Name = "RUN_DIR_FAILED_BUG"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-  RunBeforeJob = "/bin/false"
-}
-
-#@hostname@-dir: BeforeJob: run command "/bin/false"
-#@hostname@-dir: BeforeJob: RunAfterFailedJob
-Job {
-  Name = "RUN_DIR_FAILED"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  RunBeforeJob = "/bin/false RUN_DIR_FAILED"
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-}
-
-#@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED1"
-#@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED2"
-#@hostname@-dir: AfterJob: run command "/bin/echo RunAfterFailedJob"
-Job {
-  Name = "RUN_FD_FAILED"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  RunScript {
-    Command = "/bin/false RUN_FD_FAILED1"
-    abortjobonerror = no
-    RunsWhen = Before
-  }
-  RunScript {
-    Command = "/bin/false RUN_FD_FAILED2"
-    abortjobonerror = yes
-    RunsWhen = Before
-  }
-
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-}
-
-#@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_WARNING"
-#Backup OK -- with warnings
-Job {
-  Name = "RUN_FD_WARNING"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  RunScript {
-    Command = "/bin/false RUN_FD_WARNING"
-    abortjobonerror = no
-    RunsWhen = Before
-  }
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 4
-}
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-
-Messages {
-  Name = Standard
-  stdout = all, !skipped
-}
-
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/scripts/bacula-sd-2disk-drive.conf.in b/regress/scripts/bacula-sd-2disk-drive.conf.in
deleted file mode 100644 (file)
index 6f6acce..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-Autochanger {
-  Name = DDS-4
-  Changer Device = @disk_drive@/conf
-  Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
-  Device = Drive-0, Drive-1
-}
-
-Device {
-  Name = Drive-0
-  Device Type = File
-  Media Type = DDS-4
-  Archive Device = @disk_drive@/drive0
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-Device {
-  Name = Drive-1
-  Device Type = File
-  Media Type = DDS-4
-  Archive Device = @disk_drive@/drive1
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 1
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/bacula-sd-2disk.conf.in b/regress/scripts/bacula-sd-2disk.conf.in
deleted file mode 100644 (file)
index 5a1d8d8..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-Autochanger {
-  Name = DDS-4
-  Changer Device = @disk_drive@/conf
-  Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
-  Device = Drive-0
-}
-
-Device {
-  Name = Drive-0                   # 
-  Device Type = File
-  Media Type = DDS-4
-  Archive Device = @disk_drive@/drive0
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/bacula-sd-2drive.conf.in b/regress/scripts/bacula-sd-2drive.conf.in
deleted file mode 100644 (file)
index cf3d543..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# 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 %d"
-  Device = Drive-0, Drive-1
-}
-
-Device {
-  Name = Drive-0
-  Media Type = DDS-4
-  Archive Device = @tape_drive@
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-}
-
-Device {
-  Name = Drive-1
-  Media Type = DDS-4
-  Archive Device = @tape_drive1@
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 1
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-}
-
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/bacula-sd-2tape.conf.in b/regress/scripts/bacula-sd-2tape.conf.in
deleted file mode 100644 (file)
index 84e4c91..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# 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 %d"
-  Device = Drive-0
-}
-
-Device {
-  Name = Drive-0                   # 
-  Media Type = DDS-4
-  Archive Device = @tape_drive@
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/bacula-sd-migration.conf.in b/regress/scripts/bacula-sd-migration.conf.in
deleted file mode 100644 (file)
index db45c6b..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-Autochanger {
-  Name = DiskChanger
-  Changer Device = @disk_drive@/conf
-  Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
-  Device = Drive-0
-}
-
-Device {
-  Name = Drive-0                   # 
-  Device Type = File
-  Media Type = DiskChanger
-  Archive Device = @disk_drive@/drive0
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-Device {
-  Name = FileStorage
-  Media Type = File
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabeled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/bacula-sd-tape.conf.in b/regress/scripts/bacula-sd-tape.conf.in
deleted file mode 100644 (file)
index ea3c0ae..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = DDS-4                     # 
-  Media Type = DDS-4
-  Archive Device = @tape_drive@
-  AutomaticMount = yes;               # when device opened, read it
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-# MaximumVolumeSize = 400M
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/bacula-sd.conf.in b/regress/scripts/bacula-sd.conf.in
deleted file mode 100644 (file)
index c035ea9..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = rufus-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "/home/kern/bacula/regress/working"
-  Pid Directory = "/home/kern/bacula/regress/working"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = rufus-dir
-  Password = "BzlEl8haeFmnv/Lv8V6zDzUBgFFQNsUtny6VkmccQpOy"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = FileStorage
-  Media Type = File
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabeled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-}
-
-#Device {
-#  Name = DDS-4                        # 
-#  Media Type = DDS-4
-#  Archive Device = /dev/nst0
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = yes;
-#  RemovableMedia = yes;
-#}
-
-#
-# A very old Exabyte with no end of media detection
-#
-#Device {
-#  Name = "Exabyte 8mm"
-#  Media Type = "8mm"
-#  Archive Device = /dev/nst0
-#  Hardware end of medium = No;
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = Yes;
-#  RemovableMedia = yes;
-#}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = rufus-dir = all, !terminate
-}
diff --git a/regress/scripts/check_for_zombie_jobs b/regress/scripts/check_for_zombie_jobs
deleted file mode 100755 (executable)
index 1542f0f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# Check for zombie jobs (not terminated).
-# Also scan logs for ERROR messages
-#
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA 2>&1 >/dev/null
-@output tmp/dir.out
-status dir
-@output tmp/fd.out
-status client
-@output tmp/sd.out
-status $1
-@output
-quit
-END_OF_DATA
-grep "No Jobs running." tmp/dir.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-  echo " "
-  echo "  !!!! Zombie Jobs in Director !!!!"
-  echo "  !!!! Zombie Jobs in Director !!!!" >>test.out
-  echo " "
-fi
-grep "No Jobs running." tmp/fd.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-  echo " "
-  echo "  !!!! Zombie Jobs in File daemon !!!!"
-  echo "  !!!! Zombie Jobs in File daemon !!!!" >>test.out
-  echo " "
-fi
-grep "No Jobs running." tmp/sd.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-  echo " "
-  echo "  !!!! Zombie Jobs in Storage daemon !!!!"
-  echo "  !!!! Zombie Jobs in Storage daemon !!!!" >>test.out
-  echo " "
-fi
-grep "ERROR" tmp/log*.out 2>&1 >/dev/null
-if [ $? = 0 ] ; then
-  echo " "
-  echo "  !!!! ERROR in log output !!!!"
-  echo "  !!!! ERROR in log output !!!!" >>test.out
-  echo " "
-fi
-grep "Fatal Error" tmp/log*.out 2>&1 >/dev/null
-if [ $? = 0 ] ; then
-  echo " "
-  echo "  !!!! Fatal Error in log output !!!!"
-  echo "  !!!! Fatal Error in log output !!!!" >>test.out
-  echo " "
-fi
-
diff --git a/regress/scripts/cleanup b/regress/scripts/cleanup
deleted file mode 100755 (executable)
index 46079e4..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# Cleanup left over files -- both before and after test run
-#
-rm -rf /tmp/FileVolume* tmp/FileVolume*  
-rm -rf /tmp/TestVolume001 /tmp/bacula-restores /tmp/Small*
-rm -rf tmp/original tmp/bacula-restores tmp/Small* tmp/TestVolume*
-rm -rf tmp/restored tmp/largefile tmp/bscan.bsr tmp/log*.out
-rm -rf /tmp/sed_tmp /tmp/file-list
-rm -rf tmp/build tmp/restore-list tmp/restore2-list
-rm -rf tmp/fd.out tmp/dir.out tmp/sd.out
-rm -rf working/log tmp/TEST-*
-rm -rf working/*.bsr
-rm -rf tmp/disk-changer /tmp/disk-changer
-find . -name "gigaslam.gif" -exec rm -f {} \;
-
-bin/bacula stop 2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges >/dev/null 2>&1
-cd ..
diff --git a/regress/scripts/cleanup-2drive.in b/regress/scripts/cleanup-2drive.in
deleted file mode 100755 (executable)
index 32b27c0..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# Cleanup left over files -- both before and after test run
-#
-scripts/cleanup
-
-if test x@autochanger@ != x/dev/null; then
-   slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive1@ 1`
-   echo "Slot $slot in drive 1"
-   if test x$slot != x0 ; then
-      echo "unload slot $slot in drive 1"
-      bin/mtx-changer @autochanger@ unload $slot @tape_drive1@ 1
-   fi
-   slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive@ 0`
-   echo "Slot $slot in drive 0"
-   if test x$slot != x0 ; then
-      echo "unload slot $slot in drive 0"
-      bin/mtx-changer @autochanger@ unload $slot @tape_drive@ 0
-   fi
-
-
-   slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive1@ 1`
-   if test x$slot != x2; then
-      echo "load slot 2 in drive 1"
-      bin/mtx-changer @autochanger@ load 2 @tape_drive1@ 1
-   fi
-   echo "WEOF drive 1"
-   mt -f @tape_drive1@ rewind
-   mt -f @tape_drive1@ weof
-   echo "unload slot 2 in drive 1"
-   bin/mtx-changer @autochanger@ unload 2 @tape_drive1@ 1
-
-   slot=`bin/mtx-changer @autochanger@ loaded 0 @tape_drive@ 0`
-   echo "Slot $slot in drive 0"
-   if test x$slot != x1; then
-      echo "load slot 1 in drive 0"
-      bin/mtx-changer @autochanger@ load 1 @tape_drive@ 0
-   fi
-   echo "WEOF drive 0"
-   mt -f @tape_drive@ rewind
-   mt -f @tape_drive@ weof
-   echo "unload slot 1 from drive 0"
-   bin/mtx-changer @autochanger@ unload 1 @tape_drive@ 0
-fi
diff --git a/regress/scripts/cleanup-2tape.in b/regress/scripts/cleanup-2tape.in
deleted file mode 100755 (executable)
index 0f33ec9..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-#
-# Cleanup left over files -- both before and after test run
-#
-scripts/cleanup
-
-if test x@autochanger@ != x/dev/null; then
-   drive=`bin/mtx-changer @autochanger@ loaded 0 dummy 0`
-   if test x${drive} != x2; then
-      bin/mtx-changer @autochanger@ unload 0 @tape_drive@ 0
-      bin/mtx-changer @autochanger@ load 2 @tape_drive@ 0
-   fi
-   mt -f @tape_drive@ rewind
-   mt -f @tape_drive@ weof
-fi
-
-
-#
-# If we have an autochanger always load tape in slot 1
-#
-if test x@autochanger@ != x/dev/null; then
-   drive=`bin/mtx-changer @autochanger@ loaded 0 dummy 0`
-   if test x${drive} != x1; then
-      bin/mtx-changer @autochanger@ unload 0 @tape_drive@ 0
-      bin/mtx-changer @autochanger@ load 1 @tape_drive@ 0
-   fi
-fi
-
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
diff --git a/regress/scripts/cleanup-tape.in b/regress/scripts/cleanup-tape.in
deleted file mode 100755 (executable)
index 98ed537..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# Cleanup left over files -- both before and after test run
-#
-scripts/cleanup
-
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
diff --git a/regress/scripts/copy-2disk-confs b/regress/scripts/copy-2disk-confs
deleted file mode 100755 (executable)
index 8779095..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-#
-# Setup for using the Virtual Disk Changer (simulates tape changer)
-#
-/bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd-2disk.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-outf="tmp/sed_tmp"
-echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
-cp bin/bacula-dir.conf tmp/1
-sed -f ${outf} tmp/1 >bin/bacula-dir.conf
diff --git a/regress/scripts/copy-2disk-drive-confs b/regress/scripts/copy-2disk-drive-confs
deleted file mode 100755 (executable)
index 7a5dcd3..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd-2disk-drive.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-outf="tmp/sed_tmp"
-echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
-cp bin/bacula-dir.conf tmp/1
-sed -f ${outf} tmp/1 >bin/bacula-dir.conf
-
diff --git a/regress/scripts/copy-2drive-confs b/regress/scripts/copy-2drive-confs
deleted file mode 100755 (executable)
index 0388c4c..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd-2drive.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-outf="tmp/sed_tmp"
-echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
-cp bin/bacula-dir.conf tmp/1
-sed -f ${outf} tmp/1 >bin/bacula-dir.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/copy-2tape-confs b/regress/scripts/copy-2tape-confs
deleted file mode 100755 (executable)
index e23adc5..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd-2tape.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-outf="tmp/sed_tmp"
-echo "s%# Autochanger = yes%  Autochanger = yes%g" >${outf}
-cp bin/bacula-dir.conf tmp/1
-sed -f ${outf} tmp/1 >bin/bacula-dir.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/copy-confs b/regress/scripts/copy-confs
deleted file mode 100755 (executable)
index c12a20a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/bacula-dir.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd.conf bin/bacula-sd.conf
-/bin/cp -f scripts/bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/bconsole.conf bin/bconsole.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/copy-crypto-confs b/regress/scripts/copy-crypto-confs
deleted file mode 100755 (executable)
index 28df20c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/new-test-bacula-dir.conf bin/bacula-dir.conf
-/bin/cp -f scripts/test-bacula-sd.conf bin/bacula-sd.conf
-/bin/cp -f scripts/crypto-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-/bin/cp -f scripts/cryptokeypair.pem bin/cryptokeypair.pem
diff --git a/regress/scripts/copy-migration-confs b/regress/scripts/copy-migration-confs
deleted file mode 100755 (executable)
index c7680bc..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# Setup for using the Virtual Disk Changer (simulates tape changer)
-#
-/bin/cp -f scripts/bacula-dir-migration.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd-migration.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
diff --git a/regress/scripts/copy-tape-confs b/regress/scripts/copy-tape-confs
deleted file mode 100755 (executable)
index c8dae32..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/bacula-dir-tape.conf bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-sd-tape.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/copy-test-confs b/regress/scripts/copy-test-confs
deleted file mode 100755 (executable)
index 5552c77..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/new-test-bacula-dir.conf bin/bacula-dir.conf
-/bin/cp -f scripts/test-bacula-sd.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/copy-testa-confs b/regress/scripts/copy-testa-confs
deleted file mode 100755 (executable)
index 46116b9..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/testa-bacula-dir.conf bin/bacula-dir.conf
-/bin/cp -f scripts/test-bacula-sd.conf bin/bacula-sd.conf
-/bin/cp -f scripts/test-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/copy-win32-confs b/regress/scripts/copy-win32-confs
deleted file mode 100755 (executable)
index 7cda59a..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-/bin/cp -f scripts/win32-bacula-dir-tape.conf bin/bacula-dir.conf
-/bin/cp -f scripts/win32-bacula-sd-tape.conf bin/bacula-sd.conf
-/bin/cp -f scripts/win32-bacula-fd.conf bin/bacula-fd.conf
-/bin/cp -f scripts/test-console.conf bin/bconsole.conf
-
-# get proper SD tape definitions
-cp -f scripts/linux_tape_options bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f scripts/freebsd_tape_options bin/tape_options
-fi
diff --git a/regress/scripts/crypto-bacula-fd.conf.in b/regress/scripts/crypto-bacula-fd.conf.in
deleted file mode 100644 (file)
index ec4152d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Default  Bacula File Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# There is not much to change here except perhaps the
-# File daemon Name to
-#
-
-#
-# List Directors who are permitted to contact this File daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-}
-
-#
-# "Global" File daemon configuration specifications
-#
-FileDaemon {                          # this is me
-  Name = @hostname@-fd
-  FDport = 8102                  # where we listen for the director
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  SubSys Directory = "@subsysdir@"
-  PKI Signatures = Yes
-  PKI Encryption = Yes
-  PKI Keypair = "@scriptdir@/cryptokeypair.pem"
-}
-
-# Send all messages except skipped files back to Director
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/cryptokeypair.pem b/regress/scripts/cryptokeypair.pem
deleted file mode 100644 (file)
index 440dcce..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIBOgIBAAJBAKIc649Amif6weq+c8rVtS7jyn7E9oZ9Irrl9WviQZi0+J2OLgCi
-PNaj/FzPhTIgBBRFEP0ZU5DfVv6CoXKbpr8CAwEAAQJAQbvUUFvzpi5pnxPmw+Jv
-+zlmjIy1Icdv47UHFN3Dl3V0+X05g12xUlnyNKzo2jlSwkBi1w8AJCMV6/TnnLiI
-AQIhAM4SH9cb01DUH+1O5gk90GgNYW1Aq2vL1vygm02kppi/AiEAyWQ9eAILPXhX
-H3a7mEj8z1bCTBiVrhe73NUjim4QcgECIEC3hHRj8ruBwv0eODRSy27CNQTAuJVE
-ESKJtfxuZzu1AiEAotXYFbahW/x3hUs9d25ca1EdHOYr8G3kSjRT3lQMHAECIHBl
-uX+Ywc1jjWhc+vN2ZrLWkKMVbrd+SWOPUQGroM0j
------END RSA PRIVATE KEY-----
------BEGIN CERTIFICATE-----
-MIICKzCCAdWgAwIBAgIJAO4x/m+tHX8HMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
-BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
-aWRnaXRzIFB0eSBMdGQwHhcNMDYxMjA0MDMxMzUwWhcNMDcwMTAzMDMxMzUwWjBF
-MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
-ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKIc
-649Amif6weq+c8rVtS7jyn7E9oZ9Irrl9WviQZi0+J2OLgCiPNaj/FzPhTIgBBRF
-EP0ZU5DfVv6CoXKbpr8CAwEAAaOBpzCBpDAdBgNVHQ4EFgQUiGz2I+bks0nCHyCI
-IwuV3DpDPMwwdQYDVR0jBG4wbIAUiGz2I+bks0nCHyCIIwuV3DpDPMyhSaRHMEUx
-CzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRl
-cm5ldCBXaWRnaXRzIFB0eSBMdGSCCQDuMf5vrR1/BzAMBgNVHRMEBTADAQH/MA0G
-CSqGSIb3DQEBBQUAA0EAkjFYcs9rrpdURlBaNlbud68VlA5rU+Bv4keYx41DUmqo
-sXtkQZENR9iYYYhOUso1/1dwQgrt3egjTZTtq7o5zw==
------END CERTIFICATE-----
diff --git a/regress/scripts/do_sed b/regress/scripts/do_sed
deleted file mode 100755 (executable)
index c471970..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-#
-if test $# != 6 ; then
-   echo "First arg must be email name"
-   echo "  and the second must be a tape drive"
-   echo "  and the third must be a tape control name or /dev/null"
-   echo "  and the fourth must be the full path to the mtx program"
-   echo "  and the fifth must be tape drive 1 or /dev/null"
-   echo "  and the sixth must be the smtp or email host"
-   exit 1
-fi
-cwd=`pwd`
-mkdir -p ${cwd}/bin
-out="/tmp/sed_tmp"
-HOST="localhost"
-# Create sed command script
-echo "s%@sbindir@%${cwd}/bin%g" >${out}
-echo "s%@scriptdir@%${cwd}/bin%g" >>${out}
-echo "s%@working_dir@%${cwd}/working%g" >>${out}
-echo "s%@piddir@%${cwd}/working%g" >>${out}
-echo "s%@subsysdir@%${cwd}/working%g" >>${out}
-echo "s%@job_email@%${1}%g" >>${out}
-echo "s%@tape_drive@%${2}%g" >>${out}
-echo "s%@autochanger@%${3}%g" >>${out}
-echo "s%@tmpdir@%${cwd}/tmp%g" >>${out}
-echo "s%@hostname@%${HOST}%g" >>${out}
-echo "s%@changer_path@%${4}%g" >>${out}
-echo "s%@tape_drive1@%${5}%g" >>${out}
-echo "s%@smtp_host@%${6}%g" >>${out}
-echo "s%@disk_drive@%${cwd}/tmp/disk-changer%g" >>${out}
-
-echo "AUTOCHANGER=\"${3}\"" >config.out
-echo "TAPE_DRIVE1=\"${5}\"" >>config.out
-
-
-# process .in files with sed script
-sed -f ${out} ${cwd}/scripts/test-bacula-dir.conf.in >${cwd}/scripts/test-bacula-dir.conf
-sed -f ${out} ${cwd}/scripts/new-test-bacula-dir.conf.in >${cwd}/scripts/new-test-bacula-dir.conf
-sed -f ${out} ${cwd}/scripts/testa-bacula-dir.conf.in >${cwd}/scripts/testa-bacula-dir.conf
-sed -f ${out} ${cwd}/scripts/test-bacula-fd.conf.in >${cwd}/scripts/test-bacula-fd.conf
-sed -f ${out} ${cwd}/scripts/test-bacula-sd.conf.in >${cwd}/scripts/test-bacula-sd.conf
-sed -f ${out} ${cwd}/scripts/test-console.conf.in >${cwd}/scripts/test-console.conf
-sed -f ${out} ${cwd}/scripts/crypto-bacula-fd.conf.in >${cwd}/scripts/crypto-bacula-fd.conf
-sed -f ${out} ${cwd}/scripts/bacula-dir-tape.conf.in >${cwd}/scripts/bacula-dir-tape.conf
-sed -f ${out} ${cwd}/scripts/bacula-dir-migration.conf.in >${cwd}/scripts/bacula-dir-migration.conf
-sed -f ${out} ${cwd}/scripts/win32-bacula-dir-tape.conf.in >${cwd}/scripts/win32-bacula-dir-tape.conf
-sed -f ${out} ${cwd}/scripts/bacula-sd-tape.conf.in >${cwd}/scripts/bacula-sd-tape.conf
-sed -f ${out} ${cwd}/scripts/bacula-sd-2tape.conf.in >${cwd}/scripts/bacula-sd-2tape.conf
-sed -f ${out} ${cwd}/scripts/bacula-sd-migration.conf.in >${cwd}/scripts/bacula-sd-migration.conf
-sed -f ${out} ${cwd}/scripts/bacula-sd-2disk.conf.in >${cwd}/scripts/bacula-sd-2disk.conf
-sed -f ${out} ${cwd}/scripts/bacula-sd-2drive.conf.in >${cwd}/scripts/bacula-sd-2drive.conf
-sed -f ${out} ${cwd}/scripts/bacula-sd-2disk-drive.conf.in >${cwd}/scripts/bacula-sd-2disk-drive.conf
-sed -f ${out} ${cwd}/scripts/cleanup-tape.in >${cwd}/scripts/cleanup-tape
-sed -f ${out} ${cwd}/scripts/cleanup-2tape.in >${cwd}/scripts/cleanup-2tape
-sed -f ${out} ${cwd}/scripts/cleanup-2drive.in >${cwd}/scripts/cleanup-2drive
-sed -f ${out} ${cwd}/scripts/prepare-two-tapes.in >${cwd}/scripts/prepare-two-tapes
-sed -f ${out} ${cwd}/scripts/bacula-dir.conf.testrunscript.in >${cwd}/scripts/bacula-dir.conf.testrunscript
-
-cp ${cwd}/bin/bacula-sd.conf /tmp/bac$$
-sed s%/tmp%${cwd}/tmp%g /tmp/bac$$ >${cwd}/bin/bacula-sd.conf
-chmod 777 ${cwd}/scripts/cleanup-*tape ${cwd}/scripts/cleanup-*drive ${cwd}/scripts/prepare-two-tapes
-rm -f /tmp/bac$$
-cp ${cwd}/bin/mtx-changer /tmp/bac$$
-sed "s%^MTX.*$%MTX=${4}%g" /tmp/bac$$ >${cwd}/bin/mtx-changer
-chmod 777 ${cwd}/bin/mtx-changer
-
-# get proper SD tape definitions
-cp -f ${cwd}/scripts/linux_tape_options ${cwd}/bin/tape_options
-if test x`uname` = xFreeBSD ; then
-   cp -f ${cwd}/scripts/freebsd_tape_options ${cwd}/bin/tape_options
-fi
-
-rm -f ${out}
-rm -f /tmp/bac$$
diff --git a/regress/scripts/exclude-dev-test b/regress/scripts/exclude-dev-test
deleted file mode 100644 (file)
index 4165ea1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-dev/ptmx
-dev/pts
-dev/rd/c5d2
-dev/rd
-dev/shm
diff --git a/regress/scripts/exclude-etc-test b/regress/scripts/exclude-etc-test
deleted file mode 100644 (file)
index f59ca8d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-etc/mail/statistics
diff --git a/regress/scripts/exclude-lib-test b/regress/scripts/exclude-lib-test
deleted file mode 100644 (file)
index 5be32f4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-lib/ld-2.2.5.so
-lib/libtermcap.so.2.0.8
-lib/libc-2.2.5.so
-lib/libnsl-2.2.5.so
-lib/libnss_files-2.2.5.so
diff --git a/regress/scripts/flist b/regress/scripts/flist
deleted file mode 100644 (file)
index 87f103d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/build/configure
-/build/src/stored/bextract
-/build/src/tools/testfind
-/build/Makefile.in
-/build/src/dird/bacula-dir
-/build/src/console/bconsole
-/build/src/filed/bacula-fd
-/build/src/findlib/find_one.c
-/build/src/jcr.h
-/build/platforms/Makefile.in
-/build/platforms/redhat/Makefile.in
-/build/scripts/Makefile.in
-/build/src/win32/filed/winservice.cpp
-/build/src/filed/restore.c
-/build/autoconf/configure.in
-/build/examples/afs-bacula
-/build/src/win32/Makefile.inc.in
-/build/src/win32/installer/winbacula.nsi
-/build/autoconf/configure.in
-/build/src/version.h
-/build/src/lib/message.c
-/build/src/lib/bnet_server.c
-/build/src/lib/libbac.a
diff --git a/regress/scripts/freebsd_tape_options b/regress/scripts/freebsd_tape_options
deleted file mode 100644 (file)
index 05be344..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-#
-# FreeBSD tape drive options
-#
-Hardware End of Medium = no
-Fast Forward Space File = no
-BSF at EOM = yes
-Backward Space Record = no
-TWO EOF = yes
diff --git a/regress/scripts/functions b/regress/scripts/functions
deleted file mode 100644 (file)
index 7da6d38..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#
-# A set of useful functions to be sourced in each test
-#
-
-start_test()
-{
-   echo " "
-   echo " "
-   echo " === Starting $TestName at `date +%R:%S` ==="
-   echo " === Starting $TestName at `date +%R:%S` ===" >>working/log
-   echo " "
-}
-
-set_debug()
-{
-   debug=$1
-   if test "$debug" -eq 1 ; then
-     out="tee"
-   else
-     out="output"
-   fi
-} 
-
-run_bacula()
-{
-   if test "$debug" -eq 1 ; then
-     bin/bacula start
-     cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-   else
-     bin/bacula start 2>&1 >/dev/null
-     cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-   fi
-}
-
-run_bconsole()
-{
-   if test "$debug" -eq 1 ; then
-     cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-   else
-     cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-   fi
-}
-
-run_btape()
-{
-   if test "$debug" -eq 1 ; then
-     cat tmp/bconcmds | bin/btape -c bin/bacula-sd.conf DDS-4 | tee tmp/log1.out
-   else
-     cat tmp/bconcmds | bin/btape -c bin/bacula-sd.conf DDS-4 2>&1 >tmp/log1.out
-   fi
-}
-
-run_bscan()
-{
-   if test "$debug" -eq 1 ; then
-      bin/bscan $* | tee tmp/log.out
-   else
-      bin/bscan $* 2>&1 >/dev/null
-   fi
-}
-
-
-stop_bacula()
-{
-   bin/bacula stop 2>&1 >/dev/null
-}
-
-check_for_zombie_jobs()
-{
-   scripts/check_for_zombie_jobs $1
-}
-
-change_jobname()
-{
-   if test $# -eq 1; then
-      oldname=NightlySave
-      newname=$1
-   else
-      oldname=$1
-      newname=$2
-   fi
-   rm -f bin/1
-   mv bin/bacula-dir.conf bin/1
-   echo "s%${oldname}%${newname}%g" >tmp/1
-   sed -f tmp/1 bin/1 >bin/bacula-dir.conf
-#  echo "Job ${oldname} changed to ${newname}"
-}
-
-check_two_logs()
-{
-   grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
-   bstat=$?
-   grep "^  Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null
-   rstat=$?
-}
-
-check_restore_diff()
-{
-   diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null
-   dstat=$?
-}
-
-check_restore_tmp_build_diff()
-{
-   diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build 2>&1 >/dev/null
-   dstat=$?
-}
-
-end_test()
-{
-   if [ $dstat != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
-      echo " "
-      echo " "
-      echo "  !!!!! $TestName Bacula source failed!!! !!!!! "
-      echo "  !!!!! $TestName failed!!! !!!!! " >>test.out
-      if [ $bstat != 0 -o $rstat != 0 ] ; then
-         echo "  !!!!! Bad Job termination status     !!!!! "
-         echo "  !!!!! Bad Job termination status     !!!!! " >>test.out
-      else
-         echo "  !!!!! Restored files differ          !!!!! "
-         echo "  !!!!! Restored files differ          !!!!! " >>test.out
-      fi
-      echo " "
-   else
-      echo "  ===== $TestName Bacula source OK `date +%R:%S` ===== "
-      echo "  ===== $TestName OK `date +%R:%S` ===== " >>test.out
-      if test "$debug" -eq 0 ; then
-         scripts/cleanup
-      fi
-   fi
-}
-
-copy_tape_confs()
-{
-   scripts/copy-tape-confs
-   scripts/cleanup-tape
-}
-
-copy_test_confs()
-{
-   scripts/copy-test-confs
-   scripts/cleanup
-}
-
-
-# Save current directory
-cwd=`pwd`
diff --git a/regress/scripts/linux_osst_tape_options b/regress/scripts/linux_osst_tape_options
deleted file mode 100644 (file)
index 5def0c0..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-  Minimum Block Size = 32768
-  Maximum Block Size = 32768
-  Hardware End of Medium = yes
-  BSF at EOM = yes
-  Fast Forward Space File = yes
-  Two EOF = no
-
diff --git a/regress/scripts/linux_tape_options b/regress/scripts/linux_tape_options
deleted file mode 100644 (file)
index 601eb82..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# nothing needed for Linux
diff --git a/regress/scripts/new-test-bacula-dir.conf.in b/regress/scripts/new-test-bacula-dir.conf.in
deleted file mode 100644 (file)
index f190724..0000000
+++ /dev/null
@@ -1,342 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39 or later
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Standard
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData=yes
-}
-
-Job {
-  Name = "MonsterSave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File1
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "VerifyVolume"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "SparseTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-Job {
-  Name = "CompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="CompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-Job {
-  Name = "SparseCompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseCompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-# Backup the catalog database (after the nightly save)
-Job {
-  Name = "BackupCatalog"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Catalog"
-#  Schedule = "WeeklyCycleAfterBackup"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  # This creates an ASCII copy of the catalog
-  RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
-  # This deletes the copy of the catalog
-  RunAfterJob  = "@sbindir@/delete_catalog_backup"
-  Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
-}
-
-JobDefs {
-  Name = "BackupJob"
-  Type = Backup
-  Pool = Default
-  Storage = File
-  Messages = Standard
-  Priority = 10
-}
-
-Job {
-  JobDefs = "BackupJob"
-  Name = "bug621-job-1"
-  Client = @hostname@-fd
-  FileSet="Full Set"
-  ClientRunBeforeJob = "/bin/sleep 60"
-}
-
-Job {
-  JobDefs = "BackupJob"
-  Name = "bug621-job-2"
-  Client = @hostname@-fd
-  FileSet = "Full Set"
-  Max Run Time = 30
-  Priority = 15
-}
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include {  Options { signature=MD5 }
-     File =  </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseSet"
-  Include {
-    Options {
-      signature=MD5
-      sparse=yes
-    }
-    File = </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "CompressedSet"
-  Include {
-    Options {
-      signature=MD5 
-      compression=GZIP 
-    }
-    File = </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseCompressedSet"
-  Include {
-    Options {
-      signature=MD5 
-      compression=GZIP
-      sparse=yes
-    }
-    File = </tmp/file-list
-  }
-}
-
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Level=Full 1st sun at 1:05
-  Run = Level=Differential 2nd-5th sun at 1:05
-  Run = Level=Incremental mon-sat at 1:05
-}
-
-# This schedule does the catalog. It starts after the WeeklyCycle
-Schedule {
-  Name = "WeeklyCycleAfterBackup"
-  Run = Level=Full sun-sat at 1:10
-}
-
-# This is the backup of the catalog
-FileSet {
-  Name = "Catalog"
-  Include {
-    Options {
-      signature=MD5
-    }
-    File = /home/kern/bacula/regress/bin/working/bacula.sql
-  }
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 4
-}
-
-Storage {
-  Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage1
-  Media Type = File1
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Definition of DLT tape storage device
-#Storage {
-#  Name = DLTDrive
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = "HP DLT 80"                # must be same as Device in Storage daemon
-#  Media Type = DLT8000                # must be same as MediaType in Storage daemon
-#}
-
-# Definition of DDS tape storage device
-#Storage {
-#  Name = SDT-10000
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = SDT-10000                  # must be same as Device in Storage daemon
-#  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-#}
-
-# Definition of 8mm tape storage device
-#Storage {
-#  Name = "8mmDrive"
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-#  Device = "Exabyte 8mm"
-#  MediaType = "8mm"
-#}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-Messages {
-  Name = NoEmail
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  console = all, !skipped, !terminate
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-# Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
-}
diff --git a/regress/scripts/prepare-two-disks b/regress/scripts/prepare-two-disks
deleted file mode 100755 (executable)
index 959daa4..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-#
-# Create fresh virtual disk changer directory
-#
-rm -rf tmp/disk-changer
-mkdir tmp/disk-changer
diff --git a/regress/scripts/prepare-two-tapes.in b/regress/scripts/prepare-two-tapes.in
deleted file mode 100755 (executable)
index 8d47b7e..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-#
-# Create two blank tapes
-#
-# mt -f @tape_drive@ offline
-@changer_path@ -f @autochanger@ unload
-@changer_path@ -f @autochanger@ load 1
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
-@changer_path@ -f @autochanger@ unload
-@changer_path@ -f @autochanger@ load 2
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
-#@changer_path@ -f @autochanger@ unload
diff --git a/regress/scripts/regress-config b/regress/scripts/regress-config
deleted file mode 100755 (executable)
index 7fdae76..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# This is the configuration script for regression testing
-#
-
-CFLAGS="-g -O2 -Wall" \
- ./configure \
-    --sbindir=$1/bin \
-    --sysconfdir=$1/bin \
-    --mandir=$1/bin \
-    --with-pid-dir=$1/working \
-    --with-subsys-dir=$1/working \
-    --enable-smartalloc \
-    --disable-readline \
-    --with-working-dir=$1/working \
-    --with-dump-email=$2 \
-    --with-job-email=$2 \
-    --with-smtp-host=$5 \
-    $3 \
-    --with-baseport=8101 \
-    $4 \
-    $6
-
-exit 0
diff --git a/regress/scripts/setup b/regress/scripts/setup
deleted file mode 100755 (executable)
index 3ab7ce3..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/sh
-#
-# Script to setup running Bacula regression tests
-#
-
-check_exit_code()
-{
-   if [ $? != 0 ] ; then
-      echo "Bad exit code giving up"
-      exit 1 
-   fi
-}
-
-cwd=`pwd`
-if [ $# != 6 ] ; then
-   echo "Incorrect number of arguments. Got $#. Need:"
-   echo "setup bacula-src email-address --with-DBNAME --with-tcp-wrappers"
-   echo " "
-   exit 1
-fi
-if [ ! -d $1 ] ; then
-   echo "Arg 1 must be a Bacula release directory."
-   echo " "
-   exit 1
-fi
-rm -rf build bin
-# Copy new source
-echo "Copying source from $1"
-cp -rp $1 build
-cp scripts/regress-config build
-cd build
-rm -f Makefile config.cache
-# Run Bacula configuration, make, install
-./regress-config ${cwd} $2 $3 $4 $5 $6
-check_exit_code
-make
-check_exit_code
-make install
-check_exit_code
-cp src/tools/testls ../bin
-check_exit_code
-
-cd ${cwd}
-bin/bacula stop
-
-mkdir -p working
-cd bin
-echo "Running database creation scripts"
-./create_bacula_database bacula
-./drop_bacula_tables bacula
-./make_bacula_tables
-./grant_bacula_privileges bacula
-cd ${cwd}
-# Start and stop Bacula to ensure conf files are OK
-bin/bacula start
-bin/bacula stop
-#
-# Save Bacula default conf files for later use
-#
-cp -f bin/*.conf scripts
diff --git a/regress/scripts/test-bacula-dir.conf.in b/regress/scripts/test-bacula-dir.conf.in
deleted file mode 100644 (file)
index 59dbc6f..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.33 
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData=yes
-}
-
-Job {
-  Name = "MonsterSave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File1
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "VerifyVolume"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "SparseTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-Job {
-  Name = "CompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="CompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-# Max Run Time = 15 seconds
-}
-
-Job {
-  Name = "SparseCompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseCompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-# Backup the catalog database (after the nightly save)
-Job {
-  Name = "BackupCatalog"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Catalog"
-#  Schedule = "WeeklyCycleAfterBackup"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  # This creates an ASCII copy of the catalog
-  RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
-  # This deletes the copy of the catalog
-  RunAfterJob  = "@sbindir@/delete_catalog_backup"
-  Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
-}
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include  { Options { signature=MD5 }
-    File = </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseSet"
-  Include { Options { signature=MD5; sparse=yes }
-    File=</tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "CompressedSet"
-  Include {
-    Options { signature=MD5; compression=GZIP }
-    File =</tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseCompressedSet"
-  Include {
-    Options {
-      signature=MD5; compression=GZIP
-    }
-    File= </tmp/file-list
-  }
-}
-
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Level=Full 1st sun at 1:05
-  Run = Level=Differential 2nd-5th sun at 1:05
-  Run = Level=Incremental mon-sat at 1:05
-}
-
-# This schedule does the catalog. It starts after the WeeklyCycle
-Schedule {
-  Name = "WeeklyCycleAfterBackup"
-  Run = Level=Full sun-sat at 1:10
-}
-
-# This is the backup of the catalog
-FileSet {
-  Name = "Catalog"
-  Include { Options { signature=MD5 }
-     File=/home/kern/bacula/regress/bin/working/bacula.sql
-  }
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 4
-}
-
-Storage {
-  Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage1
-  Media Type = File1
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Definition of DLT tape storage device
-#Storage {
-#  Name = DLTDrive
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = "HP DLT 80"                # must be same as Device in Storage daemon
-#  Media Type = DLT8000                # must be same as MediaType in Storage daemon
-#}
-
-# Definition of DDS tape storage device
-#Storage {
-#  Name = SDT-10000
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = SDT-10000                  # must be same as Device in Storage daemon
-#  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-#}
-
-# Definition of 8mm tape storage device
-#Storage {
-#  Name = "8mmDrive"
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-#  Device = "Exabyte 8mm"
-#  MediaType = "8mm"
-#}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-Messages {
-  Name = NoEmail
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  console = all, !skipped, !terminate
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/scripts/test-bacula-fd.conf.in b/regress/scripts/test-bacula-fd.conf.in
deleted file mode 100644 (file)
index 1879119..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Default  Bacula File Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# There is not much to change here except perhaps the
-# File daemon Name to
-#
-
-#
-# List Directors who are permitted to contact this File daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-}
-
-#
-# "Global" File daemon configuration specifications
-#
-FileDaemon {                          # this is me
-  Name = @hostname@-fd
-  FDport = 8102                  # where we listen for the director
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  SubSys Directory = "@subsysdir@"
-}
-
-# Send all messages except skipped files back to Director
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/test-bacula-sd.conf.in b/regress/scripts/test-bacula-sd.conf.in
deleted file mode 100644 (file)
index 390e0fb..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = FileStorage
-  Media Type = File
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabelled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-# Maximum File Size = 10KB
-}
-
-Device {
-  Name = FileStorage1
-  Media Type = File1
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabelled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-}
-
-
-#Device {
-#  Name = "HP DLT 80"
-#  Media Type = DLT8000
-#  Archive Device = /dev/nst0
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = yes;
-#  RemovableMedia = yes;
-#}
-
-#Device {
-#  Name = SDT-7000                     # 
-#  Media Type = DDS-2
-#  Archive Device = /dev/nst0
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = yes;
-#  RemovableMedia = yes;
-#}
-
-#Device {
-#  Name = Floppy
-#  Media Type = Floppy
-#  Archive Device = /mnt/floppy
-#  RemovableMedia = yes;
-#  Random Access = Yes;
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = no;
-#}
-
-#
-# A very old Exabyte with no end of media detection
-#
-#Device {
-#  Name = "Exabyte 8mm"
-#  Media Type = "8mm"
-#  Archive Device = /dev/nst0
-#  Hardware end of medium = No;
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = Yes;
-#  RemovableMedia = yes;
-#}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/scripts/test-console.conf.in b/regress/scripts/test-console.conf.in
deleted file mode 100644 (file)
index 0fe916b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Bacula User Agent (or Console) Configuration File
-#
-
-Director {
-  Name = @hostname@-dir
-  DIRport = 8101
-  address = @hostname@
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-}
diff --git a/regress/scripts/testa-bacula-dir.conf.in b/regress/scripts/testa-bacula-dir.conf.in
deleted file mode 100644 (file)
index ce43385..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#
-# TestA   Bacula Director Configuration file
-#
-#  For Bacula release 1.30 (12 April 2003) -- redhat 7.3
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 1
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Standard
-}
-
-
-Job {
-  Name = "MultiVol"
-  Type = Backup
-  Client=@hostname@-fd 
-  Level = Full
-  FileSet="Full Set"
-  Storage = File 
-  Messages = Standard
-  Write Bootstrap = "@working_dir@/SmallVols.bsr"
-  Pool = SmallVols
-  SpoolData = yes
-}
-
-
-Job {
-  Name = "VerifyVolume"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include { Options { signature=SHA1 }
-    File =</tmp/file-list
-  }
-}
-
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-}
-
-Storage {
-  Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage1
-  Media Type = File1
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate
-
-  append = "@working_dir@/log" = all, !skipped
-}
-
-Messages {
-  Name = NoEmail
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  console = all, !skipped, !terminate, !restored
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = SmallVols
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-  Maximum Volumes = 10
-  MaximumVolumeBytes = 10M
-  LabelFormat = Small
-}
diff --git a/regress/scripts/win32-bacula-dir-tape.conf.in b/regress/scripts/win32-bacula-dir-tape.conf.in
deleted file mode 100644 (file)
index 692e845..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39.23
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = localhost-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-}
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Enable VSS = yes
-  Include { Options { signature=MD5; portable=no  
-      compression=GZIP }
-#   File =  "c:/cygwin"   # big   
-    File =  "c:/cygwin/home/kern/bacula/k"
-  }
-}
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = Tibs
-  Address = tibs
-  FDPort = 9102
-  Catalog = MyCatalog
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-Client {
-  Name = localhost-fd
-  Address = localhost
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Definition of DDS tape storage device
-Storage {
-  Name = DDS-4
-  Address = 192.168.68.112            # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DDS-4                      # must be same as Device in Storage daemon
-  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  AutoChanger = yes
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@sbindir@/bsmtp -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/scripts/win32-bacula-fd.conf b/regress/scripts/win32-bacula-fd.conf
deleted file mode 100644 (file)
index 115b83d..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Default  Bacula File Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# There is not much to change here except perhaps the
-# File daemon Name to
-#
-
-#
-# List Directors who are permitted to contact this File daemon
-#
-Director {
-  Name = rufus-dir
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-}
-
-#
-# "Global" File daemon configuration specifications
-#
-FileDaemon {                          # this is me
-  Name = localhost-fd
-  FDport = 8102                  # where we listen for the director
-  WorkingDirectory = "/home/kern/bacula/regress/working"
-  Pid Directory = "/home/kern/bacula/regress/working"
-  SubSys Directory = "/home/kern/bacula/regress/working"
-}
-
-# Send all messages except skipped files back to Director
-Messages {
-  Name = Standard
-  director = rufus-dir = all, !terminate
-}
diff --git a/regress/scripts/win32-bacula-sd-tape.conf b/regress/scripts/win32-bacula-sd-tape.conf
deleted file mode 100644 (file)
index 638b402..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39.23
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = localhost-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "/home/kern/bacula/regress/working"
-  Pid Directory = "/home/kern/bacula/regress/working"
-  Subsys Directory = "/home/kern/bacula/regress/working"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = localhost-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = DDS-4                     # 
-  Media Type = DDS-4
-  Archive Device = /dev/nst0
-  AutomaticMount = yes;               # when device opened, read it
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @/home/kern/bacula/regress/bin/tape_options
-# Maximum File Size = 1000000
-# MaximumVolumeSize = 100M
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = rufus-dir = all, !terminate
-}
diff --git a/regress/starttime b/regress/starttime
deleted file mode 100755 (executable)
index 5c2bd41..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/python
-from time import time as now 
-
-fn = open('time.out', 'w+')
-fn.write('%s' % now())
-fn.close()
diff --git a/regress/tape b/regress/tape
deleted file mode 100755 (executable)
index 718cefe..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-./all-non-root-tape-tests
diff --git a/regress/tests/.cvsignore b/regress/tests/.cvsignore
deleted file mode 100644 (file)
index 1191247..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-1
-2
diff --git a/regress/tests/2drive-incremental-2disk b/regress/tests/2drive-incremental-2disk
deleted file mode 100755 (executable)
index 248308d..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-# This script uses the virtual disk autochanger and two drives
-#
-. config.out
-TestName="2drive-incremental-2disk"
-JobName="2drive2disk"
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-
-scripts/cleanup
-scripts/copy-2disk-drive-confs
-scripts/prepare-two-disks
-
-change_jobname localhost-fd $JobName
-start_test
-
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-# Turn off Prefer Mounted Volumes so we use 2 drives
-outf="tmp/sed_tmp"
-echo "s%# Prefer Mounted Volumes%  Prefer Mounted Volumes%g" >${outf}
-cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
-# Comment the next line out to write everything to one drive
-#  otherwise, it writes the two jobs to different drives
-sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=1
-status storage=DDS-4
-@#setdebug level=120 storage=DDS-4
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-@sleep 3
-status storage=DDS-4
-wait
-list volumes
-list jobs
-status storage=DDS-4
-messages
-quit
-END_OF_DATA
-
-run_bacula
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-status storage=DDS-4
-@#setdebug level=120 storage=DDS-4
-run level=Incremental job=NightlySave yes
-wait
-list volumes
-status storage=DDS-4
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores 
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-# The restore should read from TestVolume002, which was on drive 1
-grep tmp/log2.out TestVolume002
-if [ $? != 0 ] ; then
-   rstat=$?
-fi
-
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-check_restore_tmp_build_diff
-
-end_test
diff --git a/regress/tests/2drive-incremental-2tape b/regress/tests/2drive-incremental-2tape
deleted file mode 100755 (executable)
index a301c1c..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-# This script uses the autochanger and two tapes
-#
-. config.out
-if test x${TAPE_DRIVE1} = x/dev/null ; then
-   echo "Skipping 2drive-incremenatal-2tape test. No second drive."
-   exit
-fi
-TestName="2drive-incremental-2tape"
-JobName="2drive2tape"
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-
-scripts/copy-2drive-confs
-scripts/cleanup-2drive
-
-change_jobname localhost-fd $JobName
-
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-# Turn off Prefer Mounted Volumes so we use 2 drives
-outf="tmp/sed_tmp"
-echo "s%# Prefer Mounted Volumes%  Prefer Mounted Volumes%g" >${outf}
-cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
-# Comment the next line out to write everything to one drive
-#  otherwise, it writes the two jobs to different drives
-sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
-
-start_test
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=1
-@#setdebug level=100 storage=DDS-4
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-@sleep 3
-status storage=DDS-4
-wait
-list volumes
-list jobs
-status storage=DDS-4
-messages
-quit
-END_OF_DATA
-
-run_bacula
-
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-status storage=DDS-4
-@#setdebug level=400 storage=DDS-4
-run level=Incremental job=NightlySave yes
-wait
-list volumes
-status storage=DDS-4
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores 
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-check_restore_tmp_build_diff
-
-end_test
diff --git a/regress/tests/auto-label-test b/regress/tests/auto-label-test
deleted file mode 100755 (executable)
index 6583937..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-#
-#  Test if Bacula can automatically create a Volume label.
-#
-
-TestName="auto-label-test"
-JobName=AutoLabel
-. scripts/functions
-set_debug 0
-copy_test_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
-sed "s%# Label Format%  Label Format%" ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_SCRIPT >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-status all
-status all
-list pools
-messages
-@#setdebug level=110 storage=File
-run job=$JobName storage=File yes
-list pools
-list volumes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-count
-ls *
-dir *
-find Makefile
-pwd
-lsmark
-estimate
-?
-help
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_SCRIPT
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/backup-bacula-tape b/regress/tests/backup-bacula-tape
deleted file mode 100755 (executable)
index 21d521d..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-# We also use the purge and the relabel commands as
-#   well as a pile of status storage commands.
-#
-TestName="backup-bacula-tape"
-JobName=backuptape
-. scripts/functions
-set_debug 0
-
-scripts/copy-tape-confs
-scripts/cleanup-tape
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-@#setdebug level=200 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-purge volume=TestVolume001
-relabel pool=Default storage=DDS-4 oldVolume=TestVolume001 volume=TestVolume002 slot=0
-purge volume=TestVolume002
-relabel pool=Default storage=DDS-4 oldVolume=TestVolume002 volume=TestVolume001 slot=0
-run job=$JobName yes
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-list volumes
-messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-#
-# Now do a second backup after making a few changes
-#
-touch ${cwd}/build/src/dird/*.c
-echo "test test" > ${cwd}/build/src/dird/xxx
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-list volumes
-run job=$JobName yes
-wait
-list volumes
-messages
-@# 
-@# now do a second restore
-@#
-@$out tmp/log2.out
-list volumes
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-list volumes
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/backup-bacula-test b/regress/tests/backup-bacula-test
deleted file mode 100755 (executable)
index 7f50f46..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="backup-bacula-test"
-JobName=backup
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-confs
-
-change_jobname Client1 $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label volume=TestVolume001
-@#setdebug level=100 storage=File
-run job=$JobName yes
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-@sleep 1
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-@sleep 1
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out  
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/backup-win32-tape b/regress/tests/backup-win32-tape
deleted file mode 100755 (executable)
index f6f6c3b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-#
-TestName="backup-win32-tape"
-JobName=backupwintape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-win32-confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=NightlySave yes
-@sleep 10
-status storage=DDS-4
-@sleep 30
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$outt tmp/log2.out
-@#restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-@#yes
-@#wait
-@#messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/bextract-test b/regress/tests/bextract-test
deleted file mode 100755 (executable)
index 904a392..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory but 
-#   split the archive into two volumes, then build a BSR with
-#   the restore command and use bextract to restore the files.
-#
-TestName="bextract-test"
-JobName="bextract"
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName 
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-update Volume=TestVolume001 MaxVolBytes=3000000
-@#setdebug level=400 dir
-@#setdebug level=400 storage=File1
-run job=$JobName storage=File1 yes
-wait
-messages
-@# 
-@# now build the bsr file
-@#
-@$out tmp/log2.out
-restore bootstrap=${cwd}/working/restore.bsr where=${cwd}/tmp/bacula-restores select all storage=File1 done
-no
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-mkdir -p ${cwd}/tmp/bacula-restores
-bin/bextract -b working/restore.bsr -c bin/bacula-sd.conf ${cwd}/tmp ${cwd}/tmp/bacula-restores 2>&1 >/dev/null
-rstat=$?
-grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
-bstat=$?
-check_restore_diff
-end_test
diff --git a/regress/tests/bscan-fast-tape b/regress/tests/bscan-fast-tape
deleted file mode 100755 (executable)
index 2c81218..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then 
-#   do a bscan and restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="bscan-tape"
-JobName=bscantape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-# sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-setdebug level=2 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-echo "Starting Bacula tape writing"
-#bin/btape -c bin/bacula-sd.conf /dev/nst0 <<END_OF_DATA
-#rewind
-#label
-#Test001
-#wr
-#wr
-#wr
-#wr
-#wr
-#wr
-#weof
-#quit
-#END_OF_DATA
-#run_bacula
-#check_for_zombie_jobs storage=DDS-4
-#stop_bacula
-echo "End writing tape"
-
-#
-# now drop and recreate the database
-#
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-echo "Begin attempt to read tape that crashes the system"
-echo "volume=TestVolume001" >tmp/bscan.bsr
-strace -o strace.new bin/bscan -d200 -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4
-exit
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-rm -f  ${cwd}/build/src/lib/dummy
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/bscan-tape b/regress/tests/bscan-tape
deleted file mode 100755 (executable)
index 7f7e708..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then 
-#   do a bscan and restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="bscan-tape"
-JobName=bscantape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-estimate job=$JobName listing
-estimate job=$JobName listing
-estimate job=$JobName listing
-messages
-@$out tmp/log1.out
-setdebug level=2 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-run job=$JobName level=Full yes
-wait
-run job=$JobName level=Full yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-
-echo "Backup 1 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/dird/*.c ${cwd}/build/src/dird/*.o
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-   
-#
-# run a second job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-scripts/check_for_zombie_jobs storage=DDS-4
-
-echo "Backup 2 done"
-touch ${cwd}/build/src/dird/*.c
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a third job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-scripts/check_for_zombie_jobs storage=DDS-4
-
-echo "Backup 3 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#echo "abc" > ${cwd}/build/src/lib/dummy
-#
-# run a fourth job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-
-scripts/check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-echo "Backup 4 done"
-#
-# now drop and recreate the database
-#
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-echo "volume=TestVolume001" >tmp/bscan.bsr
-bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 2>&1 >/dev/null
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-rm -f  ${cwd}/build/src/lib/dummy
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/bscan-test b/regress/tests/bscan-test
deleted file mode 100755 (executable)
index 91fa859..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory but 
-#   split the archive into two volumes then bscan it
-#   into the catalog after the backup. It also to a limited
-#   extent tests the purge volume and delete volume commands.
-#
-
-TestName="bscan-test"
-JobName=bscan
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File1
-TestVolume001
-label storage=File1
-TestVolume002
-update Volume=TestVolume001 MaxVolBytes=3000000
-run job=$JobName storage=File1
-yes
-wait
-messages
-@$out /dev/null
-@#
-@# now purge the Volume
-@#
-purge volume=TestVolume001
-purge volume=TestVolume002
-delete volume=TestVolume001
-yes
-delete volume=TestVolume002
-yes
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-echo "volume=TestVolume001|TestVolume002" >tmp/bscan.bsr
-
-if test "$debug" -eq 1 ; then
-  bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp
-else
-  bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf ${cwd}/tmp 2>&1 >/dev/null
-fi
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-@#setdebug level=400 storage=File1
-restore bootstrap=${cwd}/tmp/kern.bsr where=${cwd}/tmp/bacula-restores select all storage=File1 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-# now run restore
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/bsr-opt-test b/regress/tests/bsr-opt-test
deleted file mode 100755 (executable)
index c2dfd74..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory but 
-#   split the archive into two volumes, then restore
-#   files on only one of the volumes and ensure that
-#   the other volume is not used.  I.e. bsr optimization
-#   works.
-#
-TestName="bsr-opt-test"
-JobName=bsr-opt
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-update Volume=TestVolume001 MaxVolBytes=3000000
-run job=$JobName storage=File1 yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore bootstrap=${cwd}/working/restore.bsr where=${cwd}/tmp/bacula-restores select storage=File1
-unmark *
-cd ${cwd}/build/src/cats
-mark *
-ls
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-#
-# This test is not really reliable. What we want to do is
-#   to select files on only one Volume, then insure here
-#   that only one Volume is chosen.
-#
-grep TestVolume002 working/restore.bsr 2>&1 >/dev/null
-bsrstat=$?
-check_two_logs
-
-diff -r build/src/cats  tmp/bacula-restores${cwd}/build/src/cats 2>&1 >/dev/null
-if [ $? != 0 -o $bsrstat != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  !!!!! bsr-opt-test Bacula source failed!!! !!!!! "
-   echo "  !!!!! bsr-opt-test failed!!! !!!!! " >>test.out
-   if [ $bstat != 0 -o $rstat != 0 ] ; then
-      echo "  !!!!! Bad Job termination status     !!!!! "
-      echo "  !!!!! Bad Job termination status     !!!!! " >>test.out
-   elif [ $bsrstat != 0 ] ; then
-      echo "  !!!!! Volume selection error         !!!!! "
-      echo "  !!!!! Volume selection error         !!!!! " >>test.out
-   else
-      echo "  !!!!! Restored files differ          !!!!! "
-      echo "  !!!!! Restored files differ          !!!!! " >>test.out
-   fi
-   echo " "
-else
-   echo "  ===== bsr-opt-test Bacula source OK `date +%R:%S` ===== "
-   echo "  ===== bsr-opt-test OK `date +%R:%S` ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/btape-fill-full-tape b/regress/tests/btape-fill-full-tape
deleted file mode 100755 (executable)
index f4ba59f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# Test the fill command in btape
-#
-TestName="btape-fill-full-tape"
-JobName=AutoLabel
-. scripts/functions
-set_debug 0
-
-scripts/copy-tape-confs
-scripts/cleanup-tape
-
-change_jobname $JobName
-start_test
-
-bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >tmp/log1.out
-fill
-s
-
-quit
-END_OF_DATA
-
-
-grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  !!!!! btape fill test failed!!! !!!!! "
-   echo "  !!!!! btape fill test failed!!! !!!!! " >>test.out
-   echo " "
-else
-   echo "  ===== btape fill test OK ===== "
-   echo "  ===== btape fill test OK ===== " >>test.out
-#  scripts/cleanup
-fi
diff --git a/regress/tests/btape-fill-tape b/regress/tests/btape-fill-tape
deleted file mode 100755 (executable)
index b3fb4e5..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# Test the fill command in btape
-#
-TestName="btape-fill-tape"
-JobName=filltape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# MaximumVolumeSize%  MaximumVolumeSize%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-fill
-s
-quit
-END_OF_DATA
-
-run_btape DDS-4
-
-grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  !!!!! btape fill test failed!!! !!!!! "
-   echo "  !!!!! btape fill test failed!!! !!!!! " >>test.out
-   echo " "
-else
-   echo "  ===== btape fill test OK ===== "
-   echo "  ===== btape fill test OK ===== " >>test.out
-#  scripts/cleanup
-fi
diff --git a/regress/tests/compress-encrypt-test b/regress/tests/compress-encrypt-test
deleted file mode 100755 (executable)
index 265512b..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup with encryption and compression of the Bacula build directory
-#   then verify the signatures.
-#
-TestName="compressed-encrypt-test"
-JobName=CompressedTest
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-crypto-confs
-echo "${cwd}/build" >/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-setdebug level=10 fd
-run job=$JobName yes
-wait
-messages
-list volumes
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-@# setdebug level=0 fd
-restore where=${cwd}/tmp/bacula-restores storage=File
-5
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-sleep 2
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/compressed-test b/regress/tests/compressed-test
deleted file mode 100755 (executable)
index ff92a49..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then restore it.
-#
-TestName="compressed-test"
-JobName=compressed
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname CompressedTest $JobName
-start_test
-      
-cat <<END_OF_DATA >tmp/bconcmds
-@output
-messages
-@$out tmp/log1.out
-status all
-status all
-messages
-label storage=File volume=TestVolume001
-run job=$JobName storage=File yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/concurrent-jobs-test b/regress/tests/concurrent-jobs-test
deleted file mode 100755 (executable)
index 1cb0580..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# Run two jobs at the same time
-#
-
-TestName="concurrent-jobs-test"
-JobName=concurrent-jobs
-. scripts/functions
-set_debug 0
-
-copy_test_confs
-
-echo "${cwd}/tmp/largefile" >/tmp/file-list
-if test -c /dev/urandom ; then
-# Create 56MB file with random data
-   echo "Creating a 56MB file with random data ..."
-   dd if=/dev/urandom of=${cwd}/tmp/largefile bs=1024 count=55000
-else
-   echo "Creating a 56MB file with bacula-dir data ..."
-   dd if=bin/bacula-dir of=${cwd}/tmp/1 bs=1024 count=1000
-   cat ${cwd}/tmp/1 ${cwd}/tmp/1 ${cwd}/tmp/1 ${cwd}/tmp/1 ${cwd}/tmp/1 >${cwd}/tmp/2
-   rm -f ${cwd}/tmp/1
-   cat ${cwd}/tmp/2 ${cwd}/tmp/2 ${cwd}/tmp/2 ${cwd}/tmp/2 ${cwd}/tmp/2 >>${cwd}/tmp/3
-   rm -f ${cwd}/tmp/2
-   cat ${cwd}/tmp/3 ${cwd}/tmp/3 ${cwd}/tmp/3 ${cwd}/tmp/3 ${cwd}/tmp/3 >${cwd}/tmp/largefile
-   rm -f ${cwd}/tmp/3
-fi 
-
-echo "largefile created"
-
-change_jobname CompressedTest $JobName
-start_test
-     
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out  tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName level=Full yes
-run job=$JobName level=Full yes
-run job=$JobName level=Full yes
-run job=$JobName level=Full yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-diff tmp/largefile  tmp/bacula-restores${cwd}/tmp/largefile 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/tests/data-encrypt-test b/regress/tests/data-encrypt-test
deleted file mode 100755 (executable)
index d184c97..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup with encryption and no other options 
-#    (i.e. no compression and no sparse handling) of the 
-#    Bacula build directory.
-#
-TestName="data-encrypt-test"
-JobName=Crypto
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-crypto-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-@#setdebug level=10 fd
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-@#setdebug level=10 fd
-restore where=${cwd}/tmp/bacula-restores storage=File
-5
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-sleep 2
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-du -s build
-du -s tmp/bacula-restores/
-
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/dev-test-root b/regress/tests/dev-test-root
deleted file mode 100755 (executable)
index 26ae6fe..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-MUID=`/usr/bin/id -u`
-if [ $MUID != 0 ] ; then
-   echo " "
-   echo "You must be root to run this test."
-   echo "  ===== !!!! dev-test-root not run !!!! ===== "
-   echo "  ===== !!!! dev-test-root not run !!!! ===== " >>test.out
-   echo " "
-   exit 1
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "/dev" >/tmp/file-list
-
-echo " "
-echo " "
-echo " ===     Starting dev-test-root test       ==="
-echo " "
-echo " ===  Note, this test can fail for trivial ==="
-echo " ===  reasons on non-Linux systems.        ==="
-echo " "
-echo " "
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File volume=TestVolume001
-run job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test dev >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test dev >${cwd}/tmp/restored
-cd ${cwd}/tmp
-#
-# Use sed to cut out parts that *always* change
-#
-cat >sed.scr <<END_OF_DATA
-s%.*dev$%dev%
-s%.*[0-9][0-9]:[0-9][0-9]:[0-9][0-9] dev/ptmx%dev/ptmx%
-s%.*[0-9][0-9]:[0-9][0-9]:[0-9][0-9] dev/ttyp1%dev/ttyp1%
-s%.*[0-9][0-9]:[0-9][0-9]:[0-9][0-9] dev/null%dev/null%
-END_OF_DATA
-
-# strip file system change messages then sed and sort
-grep -v "Skip: File system change prohibited." original >1
-sed -f sed.scr 1 | sort >original
-#
-mv -f restored 1
-sed -f sed.scr 1 | sort >restored
-rm -f sed.scr
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! dev-test-root failed !!!! ===== "
-   echo "  ===== !!!! dev-test-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== dev-test-root OK ===== "
-   echo "  ===== dev-test-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/differential-test b/regress/tests/differential-test
deleted file mode 100755 (executable)
index 4949bfe..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do a differential and restore those two files.
-#
-TestName="differential-test"
-JobName=differential
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/tmp/build" >/tmp/file-list
-mkdir ${cwd}/tmp/build
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume002
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula  
-
-scripts/check_for_zombie_jobs storage=File
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-@# Force differential on the second Volume
-update volume=TestVolume002 VolStatus=Used
-run level=differential job=$JobName yes
-wait
-messages
-@$out
-END_OF_DATA
-
-run_bconsole
-
-scripts/check_for_zombie_jobs storage=File
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run level=incremental job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File file=<${cwd}/tmp/restore-list
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-scripts/check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-#
-# Delete .c files because we will only restore the txt files
-#
-rm -f tmp/build/*.c
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/eot-fail-tape b/regress/tests/eot-fail-tape
deleted file mode 100755 (executable)
index 4907e8d..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#  to two tapes where the maximum tape file size is set to 1M
-#
-TestName="eot-fail-tape"
-JobName=eotfailtape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "${cwd}/build" >/tmp/file-list
-
-out="tmp/sed_tmp"
-echo "s%# Maximum File Size%  Maximum File Size%g" >${out}
-cp -f ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed -f ${out} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-update Volume=TestVolume001 MaxVolBytes=3000000
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@tee
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/etc-test-root b/regress/tests/etc-test-root
deleted file mode 100755 (executable)
index e3a4495..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-MUID=`/usr/bin/id -u`
-if [ $MUID != 0 ] ; then
-   echo " "
-   echo "You must be root to run this test."
-   echo "  ===== !!!! etc-test-root not run !!!! ===== "
-   echo "  ===== !!!! etc-test-root not run !!!! ===== " >>test.out
-   echo " "
-   exit 1
-fi
-echo " "
-echo " "
-echo " === Starting /etc save/restore test ==="
-echo " "
-echo " "
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "/etc" >/tmp/file-list
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File
-TestVolume001
-run job=NightlySave
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select    
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test etc >${cwd}/tmp/1       
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test etc >${cwd}/tmp/2
-sort <${cwd}/tmp/1 >${cwd}/tmp/original
-sort <${cwd}/tmp/2 >${cwd}/tmp/restored
-rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! etc-test-root failed !!!! ===== "
-   echo "  ===== !!!! etc-test-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== etc-test-root OK ===== "
-   echo "  ===== etc-test-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/fixed-block-size-tape b/regress/tests/fixed-block-size-tape
deleted file mode 100755 (executable)
index 10de2c4..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where we set the minimum and maximum block
-#   sizes.
-#
-TestName="fixed-block-size-tape"
-JobName=fixedblocksize
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-echo "s%# Maximum Block Size%  Maximum Block Size%" >${cwd}/tmp/2
-echo "s%# Minimum Block Size%  Minimum Block Size%" >>${cwd}/tmp/2
-sed -f ${cwd}/tmp/2 ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "!!!! sed problem in Fixed Block Size test !!!!!"
-   echo " "
-   exit 1
-fi
-rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
-
-change_jobname NightlySave $JobName
-start_test
-
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/four-concurrent-jobs-tape b/regress/tests/four-concurrent-jobs-tape
deleted file mode 100755 (executable)
index 0d0918f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# Run four jobs at the same time
-#
-TestName="four-concurrent-jobs-tape"
-JobName=FourConcurrentJobs
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName level=Full Storage=DDS-4 yes
-run job=$JobName level=Full Storage=DDS-4 yes
-run job=$JobName level=Full Storage=DDS-4 yes
-run job=$JobName level=Full Storage=DDS-4 yes
-@sleep 2
-status dir
-@sleep 5
-status dir
-status storage=DDS-4
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/four-concurrent-jobs-test b/regress/tests/four-concurrent-jobs-test
deleted file mode 100755 (executable)
index bd7e20f..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Run two jobs at the same time
-#
-TestName="four-concurrent-jobs-test"
-JobName=Four-concurrent-jobs
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=File1
-TestVolume001
-label storage=File1
-TestVolume002
-update Volume=TestVolume001 MaxVolBytes=100000000
-@#50000000
-@#12
-run job=$JobName level=Full Storage=File1
-yes
-reload
-run job=$JobName level=Full Storage=File1
-yes
-reload
-run job=$JobName level=Full Storage=File1
-yes
-reload
-run job=$JobName level=Full Storage=File1
-yes
-reload
-reload
-reload
-reload
-@sleep 2
-status dir
-reload
-@sleep 5
-messages
-reload
-reload
-wait
-reload
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File1
-unmark *
-mark *
-done
-yes
-wait
-reload
-reload
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/four-jobs-tape b/regress/tests/four-jobs-tape
deleted file mode 100755 (executable)
index 4252ba2..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then finally restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="four-jobs-tape"
-JobName=fourjobstape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-estimate job=$JobName listing
-estimate job=$JobName listing
-estimate job=$JobName listing
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 1 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/dird/*.c ${cwd}/build/src/dird/*.o
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-   
-#
-# run a second job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 2 done"
-touch ${cwd}/build/src/dird/*.c
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a third job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 3 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a fourth job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 4 done"
-# 
-# now do several restores to ensure we cleanup between jobs
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-@$out tmp/log2.out
-@#
-@# now unmount the tape and start two restores
-@#  at the same time
-@#
-unmount storage=DDS-4
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-restore where=${cwd}/tmp/bacula-restores select
-unmark *
-mark *
-done
-yes
-mount storage=DDS-4
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/four-jobs-test b/regress/tests/four-jobs-test
deleted file mode 100755 (executable)
index 20fdc05..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then finally restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="four-jobs-test"
-JobName=SpanVol
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-estimate job=$JobName listing
-estimate job=$JobName listing
-estimate job=$JobName listing
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-echo "Backup 1 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/dird/*.c ${cwd}/build/src/dird/*.o
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-   
-#
-# run a second job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out  tmp/log1.out
-run job=$JobName
-yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File
-
-echo "Backup 2 done"
-touch ${cwd}/build/src/dird/*.c
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a third job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File
-
-echo "Backup 3 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a fourth job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File
-
-echo "Backup 4 done"
-# 
-# now do several restores to ensure we cleanup between jobs
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-restore where=${cwd}/tmp/bacula-restores select all storage=File done
-yes
-wait
-restore where=${cwd}/tmp/bacula-restores select all storage=File done
-yes
-wait
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/gigaslam-sparse-test b/regress/tests/gigaslam-sparse-test
deleted file mode 100755 (executable)
index f638735..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the Sparse option
-#   then restore it.
-#
-TestName="gigaslam-sparse-test"
-JobName=SparseTest
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-cd ${cwd}/build/src/tools
-./gigaslam
-if [ $? != 0 ]; then
-   echo "Execute of ${cwd}/build/src/tools/gigaslam failed."
-   rm -f ${cwd}/build/src/tools/gigaslam.gif
-   exit 1
-fi
-cd ${cwd}
-
-start_test
-
-cat >tmp/bconcmds <<END_OF_DATA
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-list volumes
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-size=`du ${cwd}/tmp/bacula-restores/${cwd}/build/src/tools/gigaslam.gif | cut -f 1`
-if [ $size -gt 120 ]; then
-   echo "========== restored sparse file gigaslam.gif too big ========="
-   echo "      size is ${size}K it should be 120K"
-fi
-
-check_two_logs
-check_restore_diff
-end_test
-rm -f ${cwd}/build/src/tools/gigaslam.gif
-rm -f ${cwd}/build/gigaslam.gif
diff --git a/regress/tests/hardlink-test b/regress/tests/hardlink-test
deleted file mode 100755 (executable)
index 42e38bc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="hardlink-test"
-JobName=hardlink
-. scripts/functions
-set_debug 0
-
-if test ! -d weird-files ; then
-   echo " "
-   echo "Weird files not configured. Test not run."
-   exit 0
-fi
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-change_jobname NightlySave $JobName
-#
-# Note, we save the weird-files directory twice on purpose
-#  because this causes problems with hard linked files 
-#  that are only saved once.  In 1.33, Bacula now deals
-#  with this situation.
-#
-echo "${cwd}/weird-files" >/tmp/file-list
-echo "${cwd}/weird-files" >>/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File
-TestVolume001
-run job=$JobName    
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File
-5
-cd ${cwd}/weird-files/subdir
-mark another-hardlink      
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-check_two_logs
-diff ${cwd}/weird-files/subdir/another-hardlink \
-  ${cwd}/tmp/bacula-restores/${cwd}/weird-files/subdir/another-hardlink 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/tests/incremental-2disk b/regress/tests/incremental-2disk
deleted file mode 100755 (executable)
index a2227f7..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-# This script uses the virtual disk autochanger
-#
-TestName="incremental-2disk"
-JobName=Inc2disk
-. scripts/functions
-set_debug 0
-
-. config.out
-
-stop_bacula
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-scripts/copy-2disk-confs
-scripts/prepare-two-disks
-
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-change_jobname $JobName
-start_test
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=0
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=Incremental job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores 
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-
-check_for_zombie_jobs storage=File
-stop_bacula
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/incremental-2tape b/regress/tests/incremental-2tape
deleted file mode 100755 (executable)
index 1ee97cd..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-# This script uses the autochanger and two tapes
-#
-. config.out
-if test x${AUTOCHANGER} = x/dev/null ; then
-   echo "incremental-2tape test skipped. No autochanger."
-   exit
-fi
-debug=0
-if test "$debug" -eq 1 ; then
-  out="tee"
-else
-  out="output"
-fi
-cwd=`pwd`
-bin/bacula stop  2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-scripts/copy-2tape-confs
-scripts/cleanup-2tape
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-echo " "
-echo " "
-echo " === Starting incremental-2tape test ==="
-echo " === Starting incremental-2tape test ===" >>working/log
-echo " "
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=0
-run job=NightlySave yes
-wait
-messages
-quit
-END_OF_DATA
-
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@$out /dev/null
-messages
-@$out tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=Incremental job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores 
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
-bstat=$?
-grep "^  Termination: *Restore OK" tmp/log2.out 2>&1 >/dev/null
-rstat=$?
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-diff -r tmp/build tmp/bacula-restores${cwd}/tmp/build 2>&1 >/dev/null
-if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  !!!!! incremental-2tape test Bacula source failed!!! !!!!! "
-   echo "  !!!!! incremental-2tape test failed!!! !!!!! " >>test.out
-   echo " "
-else
-   echo "  ===== incremental-2tape test Bacula source OK ===== "
-   echo "  ===== incremental-2tape test OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/incremental-tape b/regress/tests/incremental-tape
deleted file mode 100755 (executable)
index 3b7264d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-TestName="incremental-tape"
-JobName=IncTape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=DDS-4
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/incremental-test b/regress/tests/incremental-test
deleted file mode 100755 (executable)
index 80ac6ee..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-TestName="incremental-test"
-JobName=Incremental 
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/tmp/build" >/tmp/file-list
-mkdir ${cwd}/tmp/build
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-label storage=File volume=TestVolume002
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-#
-# Now create two new files to be restored later
-#
-sleep 1
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-cp -f ${cwd}/tmp/build/dird.c ${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=Differential job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-
-sleep 1
-touch ${cwd}/tmp/build/ficheriro1.txt
-touch ${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-
-sleep 1
-cd ${cwd}/tmp/build
-cp -f ficheriro2.txt 1
-sed "s%a%b%g" 1 >ficheriro2.txt
-rm -f 1
-cd ${cwd}
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=Differential job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-
-sleep 1
-touch ${cwd}/tmp/build/ficheriro1.txt
-touch ${cwd}/tmp/build/ficheriro2.txt
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-
-sleep 1
-touch ${cwd}/tmp/build/ficheriro1.txt
-touch ${cwd}/tmp/build/ficheriro2.txt
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-
-sleep 1
-touch ${cwd}/tmp/build/ficheriro1.txt
-touch ${cwd}/tmp/build/ficheriro2.txt
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-sleep 1
-touch ${cwd}/tmp/build/ficheriro1.txt
-touch ${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File file=<${cwd}/tmp/restore-list
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/lib-tape-root b/regress/tests/lib-tape-root
deleted file mode 100755 (executable)
index 06289cd..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the /lib directory
-#   then restore it.
-#
-cwd=`pwd`
-bin/bacula stop 2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "/lib" >/tmp/file-list
-echo " "
-echo " "
-echo " === Starting lib-tape-root test ==="
-echo " "
-echo " "
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=DDS-4 Volume=TestVolume001 slot=0
-run job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/restored
-cd ${cwd}/tmp
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% original >1
-sort <1 >original
-#
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% restored >1
-sort <1 >restored
-rm -f 1
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== lib-tape-root failed!!! ===== "
-   echo "  ===== lib-tape-root failed!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== lib-tape-root OK ===== "
-   echo "  ===== lib-tape-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/lib-test-root b/regress/tests/lib-test-root
deleted file mode 100755 (executable)
index 4f41954..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-MUID=`/usr/bin/id -u`
-if [ $MUID != 0 ] ; then
-   echo " "
-   echo "You must be root to run this test."
-   echo "  ===== !!!! lib-test-root not run !!!! ===== "
-   echo "  ===== !!!! lib-test-root not run !!!! ===== " >>test.out
-   echo " "
-   exit 1
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "/lib" >/tmp/file-list
-
-echo " "
-echo " "
-echo " === Starting /lib save/restore test ==="
-echo " "
-echo " "
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File
-TestVolume001
-run job=NightlySave
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select    
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-lib-test lib >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-lib-test lib >${cwd}/tmp/restored
-cd ${cwd}/tmp
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% original >1
-sort <1 >original
-#
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% restored >1
-sort <1 >restored
-rm -f 1
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! lib-test-root failed !!!! ===== "
-   echo "  ===== !!!! lib-test-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== lib-test-root OK ===== "
-   echo "  ===== lib-test-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/migration-job-test b/regress/tests/migration-job-test
deleted file mode 100755 (executable)
index 0b6cb19..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then migrate it
-#   to another device.
-#
-# This script uses the virtual disk autochanger
-#
-TestName="migration-job-test"
-JobName=MigrationJobSave
-. scripts/functions
-set_debug 0
-
-. config.out
-
-scripts/cleanup
-scripts/copy-migration-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-#
-# Note, we first backup into Pool Default, 
-#          then Migrate into Pool Full. 
-#              Pool Default uses Storage=File
-#              Pool Full    uses Storage=DiskChanger
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output
-messages
-@$out tmp/log1.out
-label storage=File volume=FileVolume001 Pool=Default
-label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
-label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
-@# run two jobs (both will be migrated)
-run job=$JobName yes
-run job=$JobName yes
-wait
-list jobs
-list volumes
-@#setdebug level=100 dir
-@# should migrate two jobs
-run job=migrate-job yes
-wait
-messages
-@# purge volume=FileVolume001
-list jobs 
-list volumes
-wait
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/migration-jobspan-test b/regress/tests/migration-jobspan-test
deleted file mode 100755 (executable)
index 63a8ce1..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then migrate it
-#   to another device.
-#
-# Test migrating a job that spans two Volumes
-#
-# This script uses the virtual disk autochanger
-#
-TestName="migration-jobspan-test"
-JobName=MigrationJobSpanSave
-. scripts/functions
-set_debug 0
-
-. config.out
-
-scripts/cleanup
-scripts/copy-migration-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-
-change_jobname NightlySave $JobName
-start_test
-
-#
-# Note, we first backup into Pool Default, 
-#          then Migrate into Pool Full. 
-#              Pool Default uses Storage=File
-#              Pool Full    uses Storage=DiskChanger
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output
-messages
-@$out tmp/log1.out
-@#setdebug level=10 dir
-@#setdebug level=100 storage=File
-label storage=File volume=FileVolume001 Pool=Default
-label storage=File volume=FileVolume002 Pool=Default
-update Volume=FileVolume001 MaxVolBytes=3000000 pool=Default
-label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
-label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
-list volumes
-@#
-run job=$JobName yes
-@#run job=$JobName yes
-wait
-list volumes
-@#setdebug level=200 dir
-@# should migrate both Volumes
-run job=migrate-job yes
-wait
-purge volume=FileVolume001
-purge volume=FileVolume002
-list volumes
-list jobs
-messages
-wait
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/migration-occupancy-test b/regress/tests/migration-occupancy-test
deleted file mode 100755 (executable)
index aed2298..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then migrate it
-#   to another device.
-#
-# This script uses the virtual disk autochanger
-#
-TestName="migration-occupancy-test"
-JobName=MigrationJobSave
-. scripts/functions
-set_debug 0
-
-. config.out
-
-scripts/cleanup
-scripts/copy-migration-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-#
-# Note, we first backup into Pool Default, 
-#          then Migrate into Pool Full. 
-#              Pool Default uses Storage=File
-#              Pool Full    uses Storage=DiskChanger
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output
-messages
-@$out tmp/log1.out
-label storage=File volume=FileVolume001 Pool=Default
-label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
-label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
-list volumes
-@# run two jobs (both will be migrated)
-run job=$JobName yes
-run job=$JobName yes
-wait
-update volume=FileVolume001 VolStatus=Used
-list volumes
-@# should migrate two jobs
-run job=migrate-occupancy yes
-list volumes
-wait
-messages
-purge volume=FileVolume001
-wait
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/migration-time-test b/regress/tests/migration-time-test
deleted file mode 100755 (executable)
index 1adbb0e..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then migrate it
-#   to another device.
-#
-# This script uses the virtual disk autochanger
-#
-TestName="migration-time-test"
-JobName=MigrationJobSave
-. scripts/functions
-set_debug 0
-
-. config.out
-
-scripts/cleanup
-scripts/copy-migration-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-#
-# Note, we first backup into Pool Default, 
-#          then Migrate into Pool Full. 
-#              Pool Default uses Storage=File
-#              Pool Full    uses Storage=DiskChanger
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output
-messages
-@$out tmp/log1.out
-label storage=File volume=FileVolume001 Pool=Default
-label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
-label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
-list volumes
-@# run three jobs
-run job=$JobName level=Full yes
-run job=$JobName level=Full yes
-run job=$JobName level=Full yes
-wait
-update volume=FileVolume001 VolStatus=Used
-sql
-update Job SET RealEndTime='2004-01-01 12:01:01' WHERE JobId IN (2,3);
-
-llist jobid=2,3
-list jobs
-list volumes
-@# should migrate only jobid=2 and 3
-run job=migrate-time yes
-wait
-messages
-wait
-purge volume=FileVolume001
-list jobs
-list volumes
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/migration-volume-test b/regress/tests/migration-volume-test
deleted file mode 100755 (executable)
index bdcc87f..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/sh
-#
-# Run a backup of the Bacula build directory on two Volumes
-#   then migrate it to another device.             
-#
-# This script uses the virtual disk autochanger
-#
-TestName="migration-volume-test"
-JobName=MigVolBackup
-. scripts/functions
-set_debug 0 
-
-. config.out
-
-scripts/cleanup
-scripts/copy-migration-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-#cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-#sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-#
-# Note, we first backup into Pool Default, 
-#          then Migrate into Pool Full. 
-#              Pool Default uses Storage=File
-#              Pool Full    uses Storage=DiskChanger
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output
-messages
-@$out tmp/log1.out
-label storage=File volume=FileVolume001 Pool=Default
-label storage=File volume=FileVolume002 Pool=Default
-update Volume=FileVolume001 MaxVolBytes=3000000 pool=Default
-label storage=DiskChanger volume=ChangerVolume001 slot=1 Pool=Full drive=0
-label storage=DiskChanger volume=ChangerVolume002 slot=2 Pool=Full drive=0
-@# 
-run job=$JobName yes
-wait
-run job=$JobName yes
-wait
-update volume=FileVolume001 VolStatus=Used
-update volume=FileVolume002 VolStatus=Used
-@#list volumes
-@#list jobs
-@# should migrate two jobs
-@# setdebug level=11 dir
-@echo "Run migrate-volume Job"
-@#setdebug level=100 dir
-run job=migrate-volume yes
-@sleep 5 
-list jobs
-llist jobid=1
-llist jobid=2
-llist jobid=3
-llist jobid=4
-llist jobid=5
-status storage=DiskChanger
-wait
-list volumes
-list jobs
-llist jobid=1
-llist jobid=2
-llist jobid=3
-llist jobid=4
-llist jobid=5
-sql
-select * from JobMedia where JobId=1;
-
-@# Now run a second Migration job, which should do nothing
-run job=migrate-volume yes
-wait
-list jobs
-@# ensure we don't pickup old backup by purging volume
-@# purge volume=FileVolume001
-@# purge volume=FileVolume002
-@echo "Now do a restore"
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DiskChanger
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-exit
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/query-test b/regress/tests/query-test
deleted file mode 100755 (executable)
index 43b450b..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do a Differental then a bunch of query commands
-#   and finally restore the two files.
-#
-TestName="query-test"
-JobName=query
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/tmp/build" >/tmp/file-list
-mkdir ${cwd}/tmp/build
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-label storage=File volume=TestVolume002
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-@# Force differental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=differental job=$JobName yes
-wait
-messages
-@output
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run level=incremental job=$JobName yes
-wait
-messages
-@#
-@# Now do the queries
-@#
-query
-1
-ficheriro1.txt
-query
-2
-${cwd}/tmp/build/
-ficheriro1.txt
-localhost-fd
-query
-6
-TestVolume001
-query
-7
-1
-query
-8
-localhost-fd
-query
-9
-Default
-query
-10
-query
-11
-query
-12
-1
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File file=<${cwd}/tmp/restore-list
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/recycle-test b/regress/tests/recycle-test
deleted file mode 100755 (executable)
index 244b0df..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory but 
-#   create three volumes and do six backups causing the
-#   volumes to be recycled, and cycling through the volumes
-#   twice. Tests maxvoljobs and volretention.
-#
-TestName="recycle-test"
-JobName=Recycle
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume003
-update Volume=TestVolume001 volretention=10s
-update Volume=TestVolume001 maxvoljobs=1
-update Volume=TestVolume002 volretention=10s
-update Volume=TestVolume002 maxvoljobs=1
-update Volume=TestVolume003 volretention=10s
-update Volume=TestVolume003 maxvoljobs=1
-list volumes
-run job=$JobName storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=$JobName storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=$JobName storage=File1 level=full yes
-wait
-messages
-list volumes
-@sleep 10
-run job=$JobName storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=$JobName storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=$JobName storage=File1 level=full yes
-wait
-messages
-list volumes
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File1
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/relabel-tape b/regress/tests/relabel-tape
deleted file mode 100755 (executable)
index 2a1ce85..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then finally restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="relabel-tape"
-JobName=Relabeltape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName level=Full yes
-wait
-messages
-add pool=Default
-0
-TestVolume002
-@# set status to append
-update volume=TestVolume001
-1
-.
-run job=NightlySave level=Full yes
-@sleep 20
-unmount
-unmount
-purge volume=TestVolume001
-relabel oldvolume=TestVolume001 volume=TestVolume003 slot=0 pool=Default
-list volumes
-mount
-messages
-wait
-run job=$JobName level=Full yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-
-
-echo "Backup done"
-# 
-# now do several restores to ensure we cleanup between jobs
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-@$out tmp/log2.out
-@#
-@# now unmount the tape and start two restores
-@#  at the same time
-@#
-unmount storage=DDS-4
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-restore where=${cwd}/tmp/bacula-restores select
-unmark *
-mark *
-done
-yes
-mount storage=DDS-4
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/restore-by-file-tape b/regress/tests/restore-by-file-tape
deleted file mode 100755 (executable)
index 9882795..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where the maximum tape file size is set to 1M
-#   then restore a few files from it.  Note, by setting the maximum 
-#   file size to 1M, it runs very slow. There are about 64 files that
-#   are created during each of the two backups.
-#
-TestName="restore-by-file-tape"
-JobName=restorebyfile
-. scripts/functions
-set_debug 0
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-sed s%\^%${cwd}% ${cwd}/scripts/flist >${cwd}/tmp/restore2-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName level=Full yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=DDS-4 file=<${cwd}/tmp/restore2-list
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-dstat=0
-#
-# We need to stop and start Bacula to
-#  test appending to a previously written tape
-#
-for i in `cat ${cwd}/tmp/restore2-list`; do
-   diff $i ${cwd}/tmp/bacula-restores$i
-   if [ $? != 0 ] ; then
-      dstat=1
-   fi
-done
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-run job=$JobName  level=Full yes
-wait
-messages
-@#
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores
-7
-<${cwd}/tmp/restore2-list
-                                                                                        
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-#
-# Bacula was stopped, but we must restart it to
-#  test appending to a previously written tape
-#
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-
-scripts/check_for_zombie_jobs storage=DDS-4
-bin/bacula stop 2>&1 >/dev/null
-for i in `cat ${cwd}/tmp/restore2-list`; do
-   diff $i ${cwd}/tmp/bacula-restores$i
-   if [ $? != 0 ] ; then
-      dstat=1
-   fi
-done
-
-end_test
diff --git a/regress/tests/restore-by-file-test b/regress/tests/restore-by-file-test
deleted file mode 100755 (executable)
index 16078fe..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then restore it.
-#
-
-TestName="restore-by-file-test"
-JobName=restorebyfile
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/tmp/build" >/tmp/file-list
-mkdir ${cwd}/tmp/build
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp/build
-ls >../1
-cd ..
-sed s%\^%${cwd}/tmp/build/% 1 >restore-list
-rm -f 1
-cd ${cwd}
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/restore-disk-seek-test b/regress/tests/restore-disk-seek-test
deleted file mode 100755 (executable)
index 72183a6..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-#
-# Run a backup of the full bacula build directory, but with the
-#   Maximum File Size set. Then do a restore of a few files to kick in
-#   disk seeking (not yet enabled), and ensure that the restored files
-#   match. Even though disk seeking is not yet enabled, this is a good test,
-#   and once it is enabled, this will test it.
-#
-TestName="restore-disk-seek-test"
-JobName=restore-disk-seek
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/tmp/build" >/tmp/file-list
-rm -rf ${cwd}/tmp/build
-mkdir ${cwd}/tmp/build
-# Copy only the .c files (to be restored)
-#  set files to "*.c" for all c files
-files="ua_tree.c ua_update.c"
-#  files="*.c"
-for i in ${files}; do
-   cp -p ${cwd}/build/src/dird/${i} ${cwd}/tmp/build
-done
-cd ${cwd}/tmp/build
-ls >../1
-cd ..
-sed s%\^%${cwd}/tmp/build/% 1 >restore-list
-#
-# At this point restore-list contains the list
-#  of files we will restore
-#
-rm -f 1
-cd ${cwd}
-#
-# Now arrange to backup *everything* 
-#
-rm -rf  ${cwd}/tmp/build
-mkdir ${cwd}/tmp/build
-cp -fp ${cwd}/build/src/dird/* ${cwd}/tmp/build
-#
-# Enable MaximumFileSize to ensure lots of JobMedia records and thus
-#  lots of seeking
-#
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-setdebug level=30 fd     
-setdebug level=11 storage=File
-sql
-@# print the JobMedia records
-select * from JobMedia;
-
-restore bootstrap=${cwd}/tmp/kern.bsr where=${cwd}/tmp/bacula-restores storage=File
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-# Now setup a control directory of only what we *should* restore
-rm -rf ${cwd}/tmp/build
-mkdir  ${cwd}/tmp/build
-for i in ${files}; do
-   cp -p ${cwd}/build/src/dird/${i} ${cwd}/tmp/build
-done
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/restore-seek-tape b/regress/tests/restore-seek-tape
deleted file mode 100755 (executable)
index fe3fe3c..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where the maximum tape file size is set to 1M
-#   then restore a few files from it.  Note, by setting the maximum 
-#   file size to 1M, it runs very slow. This tests the
-#   seeking capability
-#
-TestName="restore-seek-tape"
-JobName=restore-tape-seek
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-echo "${cwd}/tmp/build" >/tmp/file-list
-rm -rf ${cwd}/tmp/build
-mkdir ${cwd}/tmp/build
-# Copy only the .c files (to be restored)
-#  set files to "*.c" for all c files
-files="ua_tree.c ua_update.c"
-# files="*.c"
-for i in ${files}; do
-   cp -p ${cwd}/build/src/dird/${i} ${cwd}/tmp/build
-done
-cd ${cwd}/tmp/build
-ls >../1
-cd ..
-sed s%\^%${cwd}/tmp/build/% 1 >restore-list
-#
-# At this point restore-list contains the list
-#  of files we will restore
-#
-rm -f 1
-cd ${cwd}
-#
-# Now arrange to backup *everything*
-#
-rm -rf  ${cwd}/tmp/build
-mkdir ${cwd}/tmp/build
-cp -fp ${cwd}/build/src/dird/* ${cwd}/tmp/build
-#
-# Enable MaximumFileSize to ensure lots of JobMedia records and thus
-#  lots of seeking
-#
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size = 1000000%  Maximum File Size = 10KB%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 pool=Default
-run job=$JobName yes
-wait
-messages
-@#
-@# now do a restore
-@#
-@$out tmp/log2.out
-setdebug level=30 fd
-setdebug level=10 storage=DDS-4
-sql
-@# print the JobMedia records
-select * from JobMedia;
-
-restore bootstrap=${cwd}/tmp/kern.bsr where=${cwd}/tmp/bacula-restores storage=DDS-4
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-# Now setup a control directory of only what we *should* restore
-rm -rf ${cwd}/tmp/build
-mkdir  ${cwd}/tmp/build
-for i in ${files}; do
-   cp -p ${cwd}/build/src/dird/${i} ${cwd}/tmp/build
-done
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/tests/restore2-by-file-test b/regress/tests/restore2-by-file-test
deleted file mode 100755 (executable)
index 77b4e37..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then restore a few selected files.
-#
-TestName="restore2-by-file-test"
-JobName=restore2byfile
-. scripts/functions
-set_debug 0
-copy_test_confs
-
-echo "${cwd}/build" >/tmp/file-list
-sed s%\^%${cwd}% ${cwd}/scripts/flist >${cwd}/tmp/restore2-list
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File file=<${cwd}/tmp/restore2-list
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-dstat=0
-for i in `cat ${cwd}/tmp/restore2-list`; do  
-   diff $i ${cwd}/tmp/bacula-restores$i
-   if [ $? != 0 ] ; then
-      dstat=1
-   fi
-done
-end_test
diff --git a/regress/tests/runscript-test b/regress/tests/runscript-test
deleted file mode 100755 (executable)
index 7721262..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-#
-#  Test if Bacula can automatically create a Volume label.
-#
-
-TestName="runscript-test"
-
-. scripts/functions
-set_debug 0
-copy_test_confs
-
-rm -f bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-dir.conf.testrunscript bin/bacula-dir.conf
-
-echo "${cwd}/build" >/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-label volume=TestVolume001
-@#setdebug level=100 storage=File
-@output tmp/log.RUN2.out
-run job=RUN_FD_WARNING yes
-wait
-@sleep 5
-messages
-run job=RUN_ALL_OK yes
-wait
-@sleep 5
-messages
-run job=RUN_FD_FAILED yes
-wait
-@sleep 5
-messages
-run job=RUN_DIR_FAILED yes
-wait
-@sleep 5
-messages
-st dir
-quit
-END_OF_DATA
-
-
-bin/bacula start
-cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf &> tmp/log.RUN1.out
-
-stop_bacula
-
-if grep -q 'dir: BeforeJob: run command "/bin/echo RunBeforeJob"'          tmp/log.RUN1.out   &&
-   grep -q 'fd: ClientRunBeforeJob: ClientRunBeforeJob'                    tmp/log.RUN1.out   &&
-   grep -q 'fd: ClientAfterJob: run command "/bin/echo ClientRunAfterJob'  tmp/log.RUN1.out   &&
-   grep -q 'dir: AfterJob: run command "/bin/echo RunAfterJob'             tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_ALL_OK ok
-else
-   echo "RUN_ALL_OK in error"
-   rstat=1
-fi
-
-if grep -q 'dir: BeforeJob: run command "/bin/false RUN_DIR_FAILED"' tmp/log.RUN1.out   &&
-   grep -q 'dir: BeforeJob: RunAfterFailedJob'                       tmp/log.RUN1.out   &&
-   true # grep -q 'Backup OK -- with warnings'                       tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_DIR_FAILED ok
-else
-   echo "RUN_DIR_FAILED in error"
-   rstat=1
-fi
-
-if grep -q 'fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED1"'  tmp/log.RUN1.out   &&
-   grep -q 'fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED2"'  tmp/log.RUN1.out   &&
-   grep -q 'dir: AfterJob: run command "/bin/echo RunAfterFailedJob"'      tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_FD_FAILED ok
-else
-   echo "RUN_FD_FAILED in error"
-   rstat=1
-fi
-
-if grep -q 'fd: ClientBeforeJob: run command "/bin/false RUN_FD_WARNING"' tmp/log.RUN1.out   &&
-   grep -q 'Backup OK -- with warnings'                                   tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_FD_WARNING ok
-else
-   echo "RUN_FD_WARNING in error"
-   rstat=1
-fi
-
diff --git a/regress/tests/scratch-pool-test b/regress/tests/scratch-pool-test
deleted file mode 100755 (executable)
index f8fb24f..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#  to two tapes where the maximum tape file size is set to 1M
-#  Note, this test simulates the tape filling and writing to
-#   the next tape. One minor wrinkle: we create the two tapes
-#   in the Scratch pool, so they should be switched to the Default
-#   Pool automatically.
-# We set TestVolume001 to not in the changer, so the algorithm
-#   should find TestVolume002 and use it rather than blocking.
-#
-#  Note we use the viritual disk autochanger
-#
-TestName="scratch-pool-test"
-JobName=scratch-pool
-. scripts/functions
-set_debug 0
-
-. config.out
-if test x${AUTOCHANGER} = x/dev/null ; then
-   echo "two-volume-test skipped. No autochanger."
-   exit
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-2disk-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-
-outf="tmp/sed_tmp"
-echo "s%# Maximum File Size%  Maximum File Size%g" >${outf}
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Scratch drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Scratch drive=0
-update Volume=TestVolume001 MaxVolBytes=2000000 pool=Scratch drive=0
-update Volume=TestVolume001 inchanger=no pool=Scratch drive=0
-@#setdebug level=200 storage=DDS-4
-llist volume=TestVolume001
-llist volume=TestVolume002
-run job=$JobName yes
-wait
-messages
-list volumes
-llist volume=TestVolume001
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/six-vol-test b/regress/tests/six-vol-test
deleted file mode 100755 (executable)
index 6969c3c..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# Create a 60MB file with random bytes. Back it up to 6 Volumes
-#   each constrained to 10MB using the automatic labeling feature.
-#
-TestName="six-vol-test"
-JobName=SixVol
-. scripts/functions
-set_debug 0
-
-if test ! -c /dev/urandom ; then
-   echo "No random device. Test skipped.\n"
-   exit 0
-fi
-
-scripts/cleanup
-scripts/copy-testa-confs
-echo "${cwd}/tmp/largefile" >/tmp/file-list
-# Create 56MB file with random data
-echo "Creating a 56MB file with random data ..."
-dd if=/dev/urandom of=${cwd}/tmp/largefile bs=1024 count=55000
-echo "largefile created"
-
-change_jobname MultiVol $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName storage=File yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-diff tmp/largefile  tmp/bacula-restores${cwd}/tmp/largefile 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/tests/small-file-size-tape b/regress/tests/small-file-size-tape
deleted file mode 100755 (executable)
index 9c68cad..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where the maximum tape file size is set to 1M
-#
-TestName="small-file-size-tape"
-JobName=smallfilesize
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-setdebug level=2 storage=DDS-4
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/span-vol-test b/regress/tests/span-vol-test
deleted file mode 100755 (executable)
index c5ec639..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory but 
-#   split the archive into four volumes, two of which are
-#   totally full. I.e. make sure that bsr selects all tapes 
-#   including those fully spanned.
-#
-TestName="span-vol-test"
-JobName=SpanVol
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File1 volume=TestVolume004
-label storage=File1 volume=TestVolume003
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume001
-update Volume=TestVolume004 MaxVolBytes=3000000
-update Volume=TestVolume003 MaxVolBytes=3000000
-update Volume=TestVolume002 MaxVolBytes=3000000
-run job=$JobName storage=File1 yes
-wait
-list volumes
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File1
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/sparse-compressed-test b/regress/tests/sparse-compressed-test
deleted file mode 100755 (executable)
index bcbb6bf..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the Sparse option
-#   then restore it.
-#
-TestName="sparse-compressed-test"
-JobName=Sparse-conpressed
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-start_test
-
-cat >tmp/bconcmds <<END_OF_DATA
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=SparseCompressedTest yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out   
-restore where=${cwd}/tmp/bacula-restores select all storage=File done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/sparse-encrypt-test b/regress/tests/sparse-encrypt-test
deleted file mode 100755 (executable)
index 13dca21..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup with encryption and a real sparse file.
-#
-TestName="sparse-encrypt-test"
-JobName=Crypto
-. scripts/functions
-set_debug 0
-
-scripts/cleanup
-scripts/copy-crypto-confs
-echo "${cwd}/build" >/tmp/file-list
-cd ${cwd}/build/src/tools
-./gigaslam
-if [ $? != 0 ]; then
-   echo "Execute of ${cwd}/build/src/tools/gigaslam failed."
-   rm -f ${cwd}/build/src/tools/gigaslam.gif
-   exit 1
-fi
-cd ${cwd}
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-setdebug level=10 fd
-run job=$JobName yes
-wait
-messages
-list volumes
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-@# setdebug level=0 fd
-restore where=${cwd}/tmp/bacula-restores storage=File
-5
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-sleep 2
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-size=`du ${cwd}/tmp/bacula-restores/${cwd}/build/src/tools/gigaslam.gif | cut -f 1`
-if [ $size -gt 120 ]; then
-   echo "========== restored sparse file: gigaslam.gif too big ========="
-   echo "      size is ${size}K it should be 120K"
-fi
-
-check_two_logs
-check_restore_diff
-end_test
-rm -f ${cwd}/build/src/tools/gigaslam.gif
-rm -r ${cwd}/build/gigaslam.gif
diff --git a/regress/tests/sparse-test b/regress/tests/sparse-test
deleted file mode 100755 (executable)
index 9ff464a..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the Sparse option
-#   then restore it.
-#
-TestName="sparse-test"
-JobName=SparseTest
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-start_test
-
-cat >tmp/bconcmds <<END_OF_DATA
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/test0 b/regress/tests/test0
deleted file mode 100755 (executable)
index 0d0edd0..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-echo " " >test.out
-rm -f bin/working/*
diff --git a/regress/tests/truncate-bug-tape b/regress/tests/truncate-bug-tape
deleted file mode 100755 (executable)
index acfda15..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-#
-# Test for a tape truncation bug.
-#
-TestName="truncate-bug-tape" 
-JobName=truncatebug
-. scripts/functions
-
-set_debug 0
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-@# do a bunch of saves so we have 12 files on the tape
-run job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-@#setdebug level=100 storage=DDS-4
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-scripts/check_for_zombie_jobs storage=DDS-4
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-restore where=${cwd}/tmp/bacula-restores storage=DDS-4
-3
-@# select JobId=4 (i.e. file five on the tape)
-4
-cd ${cwd}/build
-@# mark a single file
-mark configure
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-scripts/check_for_zombie_jobs storage=DDS-4
-
-# Now write to tape one more time
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log3.out
-run level=Full job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-grep "^  Termination: *Backup OK" tmp/log3.out 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/tests/two-jobs-test b/regress/tests/two-jobs-test
deleted file mode 100755 (executable)
index 9c20ca0..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup a second time and finally restore it
-#
-TestName="two-jobs-test"
-JobName=Two-Jobs
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname CompressedTest $JobName
-start_test
-
-cat >tmp/bconcmds <<END_OF_DATA
-setdebug level=15  storage=File
-@output /dev/null
-messages
-@output/dev/null
-estimate job=$JobName listing
-estimate job=$JobName listing
-estimate job=$JobName listing
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-
-echo "Backup 1 done"
-touch ${cwd}/build/src/dird/*.c
-#
-# run a second job
-#
-cat >tmp/bconcmds <<END_OF_DATA
-@output /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName
-yes
-wait
-messages
-@# 
-@# now do several restores to ensure we cleanup between jobs
-@#
-@output /dev/null
-restore where=${cwd}/tmp/bacula-restores select all storage=File done
-yes
-wait
-restore where=${cwd}/tmp/bacula-restores select all storage=File done
-yes
-wait
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/two-pool-tape b/regress/tests/two-pool-tape
deleted file mode 100755 (executable)
index 9da395a..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-#
-# This is Arno's test.  It uses two pools, two tapes, and
-#  an autochanger. Note, the Director has three Pools in its 
-#  conf:  Default, Full, and Inc.  Default is used in the
-#  NightlySave job by default.  What is backed up is what
-#  is in /tmp/file-list, which is by default the Bacula
-#  source code (i.e. the build directory).
-#
-TestName="two-pool-tape"
-JobName=twopooltape
-. scripts/functions
-set_debug 0
-
-. config.out
-if test x${AUTOCHANGER} = x/dev/null ; then
-   echo "two-pool-tape test skipped. No autochanger."
-   exit
-fi
-
-scripts/cleanup
-scripts/copy-2tape-confs
-echo "Prepare two tapes"
-scripts/prepare-two-tapes
-echo "Done prepare two tapes"
-# Make a relatively large backup set 5 x source code directory
-echo "${cwd}/build" >/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-
-start_test
-
-# Write out bconsole commands to a file
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Full drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-list volumes
-@# Start job with Client run before and sleep
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-@# wait between starting jobs
-@sleep 60
-@#setdebug level=100 storage=DDS-4
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-@sleep 10
-messages
-@sleep 10
-messages
-@sleep 10
-status storage=DDS-4
-messages
-wait
-list volumes
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/two-pool-test b/regress/tests/two-pool-test
deleted file mode 100755 (executable)
index 4cd29d8..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/sh
-#
-# This is Arno's test.  It uses two pools, two tapes, and
-#  an autochanger. Note, the Director has three Pools in its 
-#  conf:  Default, Full, and Inc.  Default is used in the
-#  NightlySave job by default.  What is backed up is what
-#  is in /tmp/file-list, which is by default the Bacula
-#  source code (i.e. the build directory).
-#
-#  Note, we use the virtual disk autochanger.
-#
-TestName="two-pool-test"
-JobName=Two-pool
-. scripts/functions
-set_debug 0
-
-. config.out
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-2disk-confs
-scripts/prepare-two-disks
-# Make a relatively large backup set 5 x source code directory
-#  Reduced to 1 for portable
-echo "${cwd}/build" >/tmp/file-list
-
-start_test
-
-# Write out bconsole commands to a file
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Full drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-list volumes
-@# Start job with Client run before and sleep
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-@# wait between starting jobs
-@sleep 60
-@#setdebug level=100 storage=DDS-4
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-@sleep 10
-messages
-@sleep 10
-messages
-@sleep 10
-status storage=DDS-4
-messages
-wait
-list volumes
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/two-vol-test b/regress/tests/two-vol-test
deleted file mode 100755 (executable)
index a7ad2d5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory but 
-#   split the archive into two volumes
-#
-TestName="two-vol-test"
-JobName=TwoVol
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume001
-update Volume=TestVolume002 MaxVolBytes=3000000
-run job=$JobName storage=File1 yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=File1 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File1
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/two-volume-tape b/regress/tests/two-volume-tape
deleted file mode 100755 (executable)
index b26e0a9..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#  to two tapes where the maximum tape file size is set to 1M
-#  Note, this test simulates the tape filling and writing to
-#   the next tape.
-#
-TestName="two-volume-tape"
-JobName=twovoltape
-. scripts/functions
-set_debug 0
-
-
-. config.out
-if test x${AUTOCHANGER} = x/dev/null ; then
-   echo "two-volume-tape test skipped. No autochanger."
-   exit
-fi
-
-scripts/cleanup
-scripts/copy-2tape-confs
-scripts/prepare-two-tapes
-echo "${cwd}/build" >/tmp/file-list
-
-outf="tmp/sed_tmp"
-echo "s%# Maximum File Size%  Maximum File Size%g" >${outf}
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname $JobName
-start_test
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-update Volume=TestVolume001 MaxVolBytes=3000000 pool=Default drive=0
-@#setdebug level=1000 client 
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-mt -f ${TAPE_DRIVE} rewind
-mtx -f ${AUTOCHANGER} unload
-sleep 15
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/two-volume-test b/regress/tests/two-volume-test
deleted file mode 100755 (executable)
index 7c2c51a..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#  to two tapes where the maximum tape file size is set to 1M
-#  Note, this test simulates the tape filling and writing to
-#   the next tape.
-#
-#  Note we use the viritual disk autochanger
-#
-TestName="two-volume-test"
-JobName=TwoVolume
-. scripts/functions
-set_debug 0
-. config.out
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-2disk-confs
-scripts/prepare-two-disks
-echo "${cwd}/build" >/tmp/file-list
-
-outf="tmp/sed_tmp"
-echo "s%# Maximum File Size%  Maximum File Size%g" >${outf}
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-update Volume=TestVolume001 MaxVolBytes=3000000 pool=Default drive=0
-@#setdebug level=1000 client 
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/tests/usr-tape-root b/regress/tests/usr-tape-root
deleted file mode 100755 (executable)
index 0f5002d..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the /usr directory
-#   then restore it.
-#
-cwd=`pwd`
-scripts/copy-tape-confs
-scripts/cleanup-tape
-echo "/usr" >/tmp/file-list
-
-echo " "
-echo " "
-echo " === Starting usr-tape-root test ==="
-echo " "
-echo " "
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=DDS-4 Volume=TestVolume001 slot=0
-run job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/restored
-cd ${cwd}/tmp
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% original >1
-sort <1 >original
-#
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% restored >1
-sort <1 >restored
-rm -f 1
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! usr-tape-root failed !!!! ===== "
-   echo "  ===== !!!! usr-tape-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== usr-tape-root OK ===== "
-   echo "  ===== usr-tape-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/tests/verify-vol-tape b/regress/tests/verify-vol-tape
deleted file mode 100755 (executable)
index c544bc6..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then verify the catalog.           
-#
-TestName="verify-vol-tape"
-JobName=VerifyVol
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-setdebug level=1 storage=DDS-4 sd
-label storage=DDS-4 volume=TestVolume001 pool=Default
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a verify volume
-@#
-@$out ${cwd}/tmp/original
-run job=VerifyTape pool=Default
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-
-sleep 2
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
-bstat=$?
-grep "^  Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null
-rstat=$?
-dstat=0
-end_test
diff --git a/regress/tests/verify-vol-test b/regress/tests/verify-vol-test
deleted file mode 100755 (executable)
index af899b4..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then verify the catalog.           
-#
-TestName="verify-vol-test"
-JobName=VerifyVol
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-setdebug level=1 storage=File sd
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a verify volume
-@#
-@$out ${cwd}/tmp/original
-run job=VerifyVolume
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-
-sleep 2
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
-bstat=$?
-grep "^  Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null
-rstat=$?
-dstat=0
-end_test
diff --git a/regress/tests/weird-files-test b/regress/tests/weird-files-test
deleted file mode 100755 (executable)
index 96fed89..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="weird-files-test"
-JobName=wierd-files
-. scripts/functions
-set_debug 0
-
-if test ! -d weird-files ; then
-   echo " "
-   echo "Weird files not configured. Test not run."
-   exit 0
-fi
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-change_jobname NightlySave $JobName
-#
-# Note, we save the weird-files directory twice on purpose
-#  because this causes problems with hard linked files 
-#  that are only saved once.  In 1.33, Bacula now deals
-#  with this situation.
-#
-echo "${cwd}/weird-files" >/tmp/file-list
-echo "${cwd}/weird-files" >>/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File
-TestVolume001
-run job=$JobName    
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-${cwd}/bin/testls weird-files | sort >${cwd}/tmp/original
-cd tmp/bacula-restores${cwd}
-${cwd}/bin/testls weird-files | sort >${cwd}/tmp/restored
-cd ${cwd}
-
-check_two_logs
-diff ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/tests/weird-files2-test b/regress/tests/weird-files2-test
deleted file mode 100755 (executable)
index ec32815..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="weird-files2-test"
-JobName=weird-files2
-. scripts/functions
-set_debug 0
-
-if test ! -d weird-files ; then
-   echo " "
-   echo "weird files not configured. Test not run."
-   exit 0
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-rm -rf weird-files2
-cp -Rp weird-files weird-files2
-echo "${cwd}/weird-files2" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-bin/testls weird-files2 >${cwd}/tmp/original
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-#
-# Now mess up the a hard link, and a soft link
-#
-cd weird-files2
-rm -f hard-file2
-ln hard-file3 hard-file2
-rm -f soft-file2
-ln -s soft-file3 soft-file2
-cd ${cwd}
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where= storage=File
-5
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-bin/testls weird-files2 >${cwd}/tmp/restored
-
-check_two_logs
-diff ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 >/dev/null
-dstat=$?
-
-end_test
diff --git a/regress/tests/win32-backup-tape b/regress/tests/win32-backup-tape
deleted file mode 100755 (executable)
index 3322da8..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-#
-TestName="win32-backup-tape"
-JobName=win32tape
-. scripts/functions
-set_debug 0
-
-scripts/copy-win32-confs
-scripts/cleanup-tape
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default drive=0
-run job=$JobName yes
-@sleep 10
-status storage=DDS-4
-@sleep 30
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=c:/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-# no diff for now
-dstat=0 
-end_test
diff --git a/regress/tests/win32-to-linux-tape b/regress/tests/win32-to-linux-tape
deleted file mode 100755 (executable)
index 5640e9f..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-#
-TestName="win32-to-linux-tape"
-JobName=AutoLabel
-. scripts/functions
-set_debug 0
-
-scripts/copy-win32-confs
-scripts/cleanup-tape
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_job $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default drive=0
-run job=NightlySave yes
-@sleep 10
-status storage=DDS-4
-@sleep 30
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=/tmp/bacula-restores client=Tibs select all storage=DDS-4 done
-yes
-wait
-messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-# No diff for the moment
-dstat=0
-end_test
diff --git a/regress/weird-files.tar.gz b/regress/weird-files.tar.gz
deleted file mode 100644 (file)
index 78f7158..0000000
Binary files a/regress/weird-files.tar.gz and /dev/null differ
diff --git a/regress/win32/all-non-root-2tape-tests.cmd b/regress/win32/all-non-root-2tape-tests.cmd
deleted file mode 100644 (file)
index 28ba14e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-REM
-REM Run all tape tests
-REM
-CALL tests\test0
-CALL tests\two-volume-tape
-CALL tests\incremental-2tape
-ECHO.
-ECHO.
-echo 2 Tape Test results
-TYPE test.out
-CALL scripts\cleanup
diff --git a/regress/win32/all-non-root-tape-tests.cmd b/regress/win32/all-non-root-tape-tests.cmd
deleted file mode 100644 (file)
index 5eec40d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-REM
-REM Run all tape tests
-REM
-CALL config_var
-IF NOT "%AUTOCHANGER%" == "nul" mtx -f %AUTOCHANGER% load 1 >nul 2>&1
-COPY test.out test1.out
-CALL tests\test0
-CALL tests\backup-bacula-tape
-CALL tests\btape-fill-tape
-CALL tests\fixed-block-size-tape
-CALL tests\four-concurrent-jobs-tape
-CALL tests\four-jobs-tape
-CALL tests\incremental-tape
-CALL tests\relabel-tape
-CALL tests\restore-by-file-tape
-CALL tests\small-file-size-tape
-CALL tests\truncate-bug-tape
-CALL tests\two-pool-tape
-CALL tests\2drive-incremental-2tape
-CALL tests\bscan-tape
-CALL tests\verify-vol-tape
-ECHO.
-ECHO.
-ECHO Test results
-TYPE test.out
-CALL scripts\cleanup
diff --git a/regress/win32/all-non-root-tests.cmd b/regress/win32/all-non-root-tests.cmd
deleted file mode 100644 (file)
index faeb469..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-REM
-REM Run all tests
-REM
-DEL test1.out
-CALL tests\test0
-ECHO.
-CALL tests\auto-label-test
-CALL tests\backup-bacula-test
-CALL tests\bextract-test
-CALL tests\bscan-test
-CALL tests\bsr-opt-test
-CALL tests\compressed-test
-CALL tests\concurrent-jobs-test
-CALL tests\data-encrypt-test
-CALL tests\differential-test
-CALL tests\four-concurrent-jobs-test
-CALL tests\four-jobs-test
-CALL tests\incremental-test
-CALL tests\query-test
-CALL tests\recycle-test
-CALL tests\restore2-by-file-test
-CALL tests\restore-by-file-test
-CALL tests\restore-disk-seek-test
-CALL tests\six-vol-test
-CALL tests\span-vol-test
-CALL tests\sparse-compressed-test
-CALL tests\sparse-test
-CALL tests\two-jobs-test
-CALL tests\two-vol-test
-CALL tests\verify-vol-test
-REM CALL tests\weird-files2-test
-REM CALL tests\weird-files-test
-CALL tests\migration-job-test
-CALL tests\migration-jobspan-test
-CALL tests\migration-volume-test
-CALL tests\migration-time-test
-REM CALL tests\hardlink-test
-REM 
-REM The following are Virtual Disk Autochanger tests
-CALL tests\two-pool-test
-CALL tests\two-volume-test
-CALL tests\incremental-2disk
-CALL tests\2drive-incremental-2disk
-CALL tests\scratch-pool-test
-ECHO.
-ECHO Test results
-TYPE test.out
-CALL scripts\cleanup
diff --git a/regress/win32/all-root-tests.cmd b/regress/win32/all-root-tests.cmd
deleted file mode 100644 (file)
index 20061b1..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-REM
-REM Run all root tests
-REM
-DEL test.out
-CALL tests\dev-test-root
-CALL tests\etc-test-root
-CALL tests\lib-test-root
-CALL tests\usr-tape-root
-TYPE test.out
-CALL scripts\cleanup
diff --git a/regress/win32/all-tape-and-file-tests.cmd b/regress/win32/all-tape-and-file-tests.cmd
deleted file mode 100644 (file)
index cbbebf2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-REM
-REM Run all tests
-REM
-CALL all-non-root-tests
-CALL all-non-root-tape-tests
diff --git a/regress/win32/all-tests.cmd b/regress/win32/all-tests.cmd
deleted file mode 100644 (file)
index 62ffa6e..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-REM
-REM Run all tests
-REM
-CALL all-non-root-tests
-CALL all-root-tests
-TYPE test.out
-CALL scripts\cleanup
diff --git a/regress/win32/config.cmd b/regress/win32/config.cmd
deleted file mode 100644 (file)
index 95a4113..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-@ECHO off
-REM
-REM First argument is expected to be a user's configuration file
-REM
-IF "%1" == "" (
-   ECHO Arg1 must specify a config file ^(e.g. prototype.conf^)
-   EXIT /b 1
-)
-
-COPY %1 config_var.cmd
diff --git a/regress/win32/make.cmd b/regress/win32/make.cmd
deleted file mode 100644 (file)
index eaf74b1..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-@ECHO off
-REM
-REM Makefile for Bacula regression testing
-REM
-REM  Note, Makefile is built from Makefile.in, which you should not really 
-REM    need to change, by invoking:
-REM
-REM  config <user's configuration>
-REM
-REM e.g.
-REM  config kern.conf
-REM
-
-SETLOCAL
-
-IF EXIST config_var.cmd GOTO :already_configured
-ECHO You must run config first and supply the name of your conf file.
-ECHO Use prototype.conf as a template.
-EXIT /B 1
-
-:already_configured
-
-SET PATH=%PATH%;%CD%\bin;%CD%\tools
-
-REM suck in user's configuration
-CALL config_var.cmd
-
-IF EXIST "%BACULA_SOURCE%\configure" GOTO :source_ok
-ECHO Unable to access the Bacula source in %BACULA_SOURCE%.  Update 
-ECHO BACULA_SOURCE in your configuration file and rerun config.
-EXIT /B 1
-
-:source_ok
-IF "%1" == "setup" GOTO :setup
-IF "%1" == "bacula" GOTO :bacula
-IF "%1" == "sed" GOTO :sed
-IF "%1" == "test" GOTO :test
-IF "%1" == "full_test" GOTO :full_test
-IF "%1" == "root_test" GOTO :root_test
-IF "%1" == "clean" GOTO :clean
-IF "%1" == "reset" GOTO :reset
-IF "%1" == "distclean" GOTO :distclean
-
-IF EXIST "%1" (
-   %1
-) ELSE IF EXIST "%1.cmd" (
-   %1
-) ELSE IF EXIST tests\%1 (
-   tests\%1
-) ELSE IF EXIST tests\%1.cmd (
-   tests\%1
-) ELSE (
-   ECHO Unsupported option: %1
-   ECHO Valid options are: 
-   ECHO    setup, bacula, sed, test, full_test, root_test, clean, reset, distclean
-   EXIT /b 1
-)
-
-:setup
-CALL :bacula %2
-CALL :sed
-GOTO :EOF
-
-:bacula
-RD /s /q build bin weird-files tmp working 2>nul
-MKDIR tmp working
-SET BUILD_TYPE=%1
-IF "%BUILD_TYPE%"=="" SET BUILD_TYPE=release
-ECHO Doing: scripts\setup "%BACULA_SOURCE%" %BUILD_TYPE% %EMAIL% %SMTP_HOST% %TAPE_DRIVE% %AUTOCHANGER% %AUTOCHANGER_PATH% %TAPE_DRIVE1%
-CALL scripts\setup "%BACULA_SOURCE%" %BUILD_TYPE% %EMAIL% %SMTP_HOST% %TAPE_DRIVE% %AUTOCHANGER% %AUTOCHANGER_PATH% %TAPE_DRIVE1%
-GOTO :EOF
-
-:sed
-ECHO Doing: scripts\do_sed %EMAIL% %SMTP_HOST% %TAPE_DRIVE% %AUTOCHANGER% %AUTOCHANGER_PATH% %TAPE_DRIVE1%
-CALL scripts\do_sed %EMAIL% %SMTP_HOST% %TAPE_DRIVE% %AUTOCHANGER% %AUTOCHANGER_PATH% %TAPE_DRIVE1%
-GOTO :EOF
-
-:test
-REM Run all non-root userid tests
-CALL all-non-root-tests
-GOTO :EOF
-
-:full_test
-REM run all file and tape tests
-CALL all-tape-and-file-tests
-GOTO :EOF
-
-:root_test
-REM These tests require you to run as root
-CALL all-root-tests
-GOTO :EOF
-
-:clean
-CALL scripts\cleanup
-DEL \tmp\file-list tmp\* working\* test.out diff >nul 2>&1
-DEL 1 2 3 scripts\1 scripts\2 scripts\3 tests\1 tests\2 tests\3 >nul 2>&1
-DEL .#* /s >nul 2>&1
-GOTO :EOF
-
-:reset
-REM Reset our userid after running as root
-CALL scripts\cleanup
-DEL \tmp\file-list tmp\file-list
-DEL tmp\* working\*
-GOTO :EOF
-
-:distclean
-RD /s /q bin build weird-files weird-files weird-files2 tmp working 2>nul
-DEL scripts\*.conf
-CALL :clean
-GOTO :EOF
diff --git a/regress/win32/prototype.conf b/regress/win32/prototype.conf
deleted file mode 100644 (file)
index e6658fe..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-REM
-REM Prototype personal configuration file for the regression 
-REM  scripts.  Either edit this file directly, or better copy
-REM  it elsewhere so it won't get overwritten.          
-REM
-
-REM
-REM Put the full path to the Bacula source code to be tested
-REM
-SET BACULA_SOURCE=
-
-REM Where to send email messages
-REM
-SET EMAIL=
-SET SMTP_HOST=localhost
-
-REM
-REM The device name of your tape drive if you have one
-REM
-SET TAPE_DRIVE=tape0
-SET TAPE_DRIVE1=nul
-
-REM
-REM if you don't have an autochanger set AUTOCHANGER to nul
-REM
-SET AUTOCHANGER=changer0
-
-REM
-REM This must be the path to the autochanger including its name
-REM
-SET AUTOCHANGER_PATH=%CD%\bin\mtx
diff --git a/regress/win32/scripts/bacula-dir-migration.conf.in b/regress/win32/scripts/bacula-dir-migration.conf.in
deleted file mode 100644 (file)
index 312feb5..0000000
+++ /dev/null
@@ -1,229 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-Job {
-  Name = "migrate-job"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratejob.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = Job 
-  Selection Pattern = ".*Save"
-}
-
-Job {
-  Name = "migrate-volume"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratevol.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = Volume
-  Selection Pattern = "File*"
-}
-
-Job {
-  Name = "migrate-occupancy"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratejob.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = PoolOccupancy
-}
-
-Job {
-  Name = "migrate-time"
-  Type = Migrate
-  Level = Full
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Messages = Standard
-  Storage = DiskChanger
-  Write Bootstrap = "@working_dir@/migratejob.bsr"
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Selection Type = PoolTime
-}
-
-
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include { Options { signature=MD5 }
-    File =  </tmp/file-list
-  }
-}
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS Virtual tape disk storage device
-Storage {
-  Name = DiskChanger
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DiskChanger                      # must be same as Device in Storage daemon
-  Media Type = DiskChanger                  # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
-  Autochanger = yes
-}
-
-# Definition of file storage device
-Storage {           
-  Name = File
-  Address = @hostname@
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 5
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-  NextPool = Full
-  Storage = File
-  Migration High Bytes = 40M
-  Migration Low Bytes = 20M
-  Migration Time = 60
-}
-
-Pool {
-  Name = Full
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-  Storage = DiskChanger
-}
diff --git a/regress/win32/scripts/bacula-dir-tape.conf.in b/regress/win32/scripts/bacula-dir-tape.conf.in
deleted file mode 100644 (file)
index 153fd61..0000000
+++ /dev/null
@@ -1,226 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.33
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-Job {
-  Name = "NightlySave1"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-  Client Run Before Job = "@sbindir@/bsleep 120"
-}
-
-Job {
-  Name = "NightlySave2"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-Job {
-  Name = "VerifyTape"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Verify Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-# Prefer Mounted Volumes = no
-}
-
-
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include { Options { signature=MD5 }
-    File =  </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "Verify Set"
-  Include { 
-    Options { 
-       signature=MD5
-       verify=pins1
-    }
-    File =  </tmp/file-list
-  }
-}
-
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS tape storage device
-Storage {
-  Name = DDS-4
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DDS-4                      # must be same as Device in Storage daemon
-  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  Maximum Concurrent Jobs = 4
-# Autochanger = yes
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = Full
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = Inc
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = Scratch
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/win32/scripts/bacula-dir-win32-tape.conf.in b/regress/win32/scripts/bacula-dir-win32-tape.conf.in
deleted file mode 100644 (file)
index 19bbd18..0000000
+++ /dev/null
@@ -1,144 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.33
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-}
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Enable VSS = yes
-  Include { Options { signature=MD5 }
-    File =  "c:"
-  }
-}
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = Tibs
-  Address = tibs
-  FDPort = 9102
-  Catalog = MyCatalog
-  Password = "xBzFq+a9llZyGyfMaNO9e3outP86/1AUAT8P34RoT62G"
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definition of DDS tape storage device
-Storage {
-  Name = DDS-4
-  Address = 192.168.68.112            # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DDS-4                      # must be same as Device in Storage daemon
-  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  AutoChanger = yes
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression Job %j\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/win32/scripts/bacula-dir.conf.testrunscript.in b/regress/win32/scripts/bacula-dir.conf.testrunscript.in
deleted file mode 100644 (file)
index 9efaf66..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39.27 (24 October 2006) -- debian testing/unstable
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Standard
-}
-
-JobDefs {
-  Name = "DefaultJob"
-  Type = Backup
-  Level = Incremental
-  Client = @hostname@-fd 
-  FileSet = FS_TESTJOB
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Priority = 10
-  Maximum Concurrent Jobs = 16
-}
-
-FileSet {
- Name = FS_TESTJOB
- Include {
-   File=</tmp/file-list
- }
-}
-
-#dir: BeforeJob: run command "/bin/echo RunBeforeJob"
-#fd: ClientRunBeforeJob: ClientRunBeforeJob
-#fd: ClientAfterJob: run command "/bin/echo ClientRunAfterJob"
-#dir: AfterJob: run command "/bin/echo RunAfterJob"
-
-Job {
-  Name = "RUN_ALL_OK"
-  JobDefs = DefaultJob
-  FileSet = FS_TESTJOB
-  RunBeforeJob = "/bin/echo RunBeforeJob"
-  ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
-  Run After Job = "/bin/echo RunAfterJob"
-  ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
-}
-
-#After job are after before job
-Job {
-  Name = "RUN_DIR_FAILED_BUG"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-  RunBeforeJob = "/bin/false"
-}
-
-#@hostname@-dir: BeforeJob: run command "/bin/false"
-#@hostname@-dir: BeforeJob: RunAfterFailedJob
-Job {
-  Name = "RUN_DIR_FAILED"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  RunBeforeJob = "/bin/false RUN_DIR_FAILED"
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-}
-
-#@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED1"
-#@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED2"
-#@hostname@-dir: AfterJob: run command "/bin/echo RunAfterFailedJob"
-Job {
-  Name = "RUN_FD_FAILED"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  RunScript {
-    Command = "/bin/false RUN_FD_FAILED1"
-    abortjobonerror = no
-    RunsWhen = Before
-  }
-  RunScript {
-    Command = "/bin/false RUN_FD_FAILED2"
-    abortjobonerror = yes
-    RunsWhen = Before
-  }
-
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-}
-
-#@hostname@-fd: ClientBeforeJob: run command "/bin/false RUN_FD_WARNING"
-#Backup OK -- with warnings
-Job {
-  Name = "RUN_FD_WARNING"
-  FileSet = FS_TESTJOB  
-  JobDefs = DefaultJob
-  RunScript {
-    Command = "/bin/false RUN_FD_WARNING"
-    abortjobonerror = no
-    RunsWhen = Before
-  }
-  Run After Failed Job = "/bin/echo RunAfterFailedJob"
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 4
-}
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-
-Messages {
-  Name = Standard
-  stdout = all, !skipped
-}
-
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/win32/scripts/bacula-sd-2disk-drive.conf.in b/regress/win32/scripts/bacula-sd-2disk-drive.conf.in
deleted file mode 100644 (file)
index 36996f9..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-Autochanger {
-  Name = DDS-4
-  Changer Device = @disk_drive@/conf
-  Changer Command ="\"@scriptdir@\\disk-changer\" %c %o %S %a %d"
-  Device = Drive-0, Drive-1
-}
-
-Device {
-  Name = Drive-0
-  Device Type = File
-  Media Type = DDS-4
-  Archive Device = @disk_drive@/drive0
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-Device {
-  Name = Drive-1
-  Device Type = File
-  Media Type = DDS-4
-  Archive Device = @disk_drive@/drive1
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 1
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula-sd-2disk.conf.in b/regress/win32/scripts/bacula-sd-2disk.conf.in
deleted file mode 100644 (file)
index 26c01d6..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-Autochanger {
-  Name = DDS-4
-  Changer Device = "@disk_drive@\\conf"
-  Changer Command ="\"@scriptdir@\\disk-changer\" %c %o %S %a %d"
-  Device = Drive-0
-}
-
-Device {
-  Name = Drive-0                   # 
-  Device Type = File
-  Media Type = DDS-4
-  Archive Device = "@disk_drive@\\drive0"
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula-sd-2drive.conf.in b/regress/win32/scripts/bacula-sd-2drive.conf.in
deleted file mode 100644 (file)
index cf3d543..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# 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 %d"
-  Device = Drive-0, Drive-1
-}
-
-Device {
-  Name = Drive-0
-  Media Type = DDS-4
-  Archive Device = @tape_drive@
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-}
-
-Device {
-  Name = Drive-1
-  Media Type = DDS-4
-  Archive Device = @tape_drive1@
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 1
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-}
-
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula-sd-2tape.conf.in b/regress/win32/scripts/bacula-sd-2tape.conf.in
deleted file mode 100644 (file)
index 84e4c91..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# 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 %d"
-  Device = Drive-0
-}
-
-Device {
-  Name = Drive-0                   # 
-  Media Type = DDS-4
-  Archive Device = @tape_drive@
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula-sd-migration.conf.in b/regress/win32/scripts/bacula-sd-migration.conf.in
deleted file mode 100644 (file)
index db45c6b..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.39
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-Autochanger {
-  Name = DiskChanger
-  Changer Device = @disk_drive@/conf
-  Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
-  Device = Drive-0
-}
-
-Device {
-  Name = Drive-0                   # 
-  Device Type = File
-  Media Type = DiskChanger
-  Archive Device = @disk_drive@/drive0
-  AutomaticMount = yes;               # when device opened, read it
-  Autochanger = yes
-  Drive Index = 0
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-# Maximum File Size = 1000000
-}
-
-Device {
-  Name = FileStorage
-  Media Type = File
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabeled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula-sd-tape.conf.in b/regress/win32/scripts/bacula-sd-tape.conf.in
deleted file mode 100644 (file)
index ea3c0ae..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = DDS-4                     # 
-  Media Type = DDS-4
-  Archive Device = @tape_drive@
-  AutomaticMount = yes;               # when device opened, read it
-  AlwaysOpen = yes;
-  RemovableMedia = yes;
-  @@sbindir@/tape_options
-# Maximum File Size = 1000000
-# MaximumVolumeSize = 400M
-}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula-sd.conf.in b/regress/win32/scripts/bacula-sd.conf.in
deleted file mode 100644 (file)
index c035ea9..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = rufus-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "/home/kern/bacula/regress/working"
-  Pid Directory = "/home/kern/bacula/regress/working"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = rufus-dir
-  Password = "BzlEl8haeFmnv/Lv8V6zDzUBgFFQNsUtny6VkmccQpOy"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = FileStorage
-  Media Type = File
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabeled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-}
-
-#Device {
-#  Name = DDS-4                        # 
-#  Media Type = DDS-4
-#  Archive Device = /dev/nst0
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = yes;
-#  RemovableMedia = yes;
-#}
-
-#
-# A very old Exabyte with no end of media detection
-#
-#Device {
-#  Name = "Exabyte 8mm"
-#  Media Type = "8mm"
-#  Archive Device = /dev/nst0
-#  Hardware end of medium = No;
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = Yes;
-#  RemovableMedia = yes;
-#}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = rufus-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/bacula.cmd b/regress/win32/scripts/bacula.cmd
deleted file mode 100644 (file)
index 431196d..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-@ECHO off
-IF "%1" == "start" (
-   net start bacula-dir
-   net start bacula-sd
-   net start bacula-fd
-) ELSE IF "%1" == "stop" (
-   net stop bacula-dir
-   net stop bacula-sd
-   net stop bacula-fd
-) ELSE IF "%1" == "install" (
-   bacula-dir /install -c %2\bacula-dir.conf
-   bacula-sd /install -c %2\bacula-sd.conf
-   bacula-fd /install -c %2\bacula-fd.conf
-) ELSE IF "%1" == "uninstall" (
-   bacula-dir /remove
-   bacula-sd /remove
-   bacula-fd /remove
-)
diff --git a/regress/win32/scripts/check_for_zombie_jobs.bscr b/regress/win32/scripts/check_for_zombie_jobs.bscr
deleted file mode 100644 (file)
index fd8c5a3..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-@output tmp/dir.out
-status dir
-@output tmp/fd.out
-status client
-@output tmp/sd.out
-status @storage@
-@output
-quit
diff --git a/regress/win32/scripts/check_for_zombie_jobs.cmd b/regress/win32/scripts/check_for_zombie_jobs.cmd
deleted file mode 100644 (file)
index 22c9cae..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-REM
-REM Check for zombie jobs (not terminated).
-REM Also scan logs for ERROR messages
-
-sed -e "s;@storage@;%1=%2;" scripts\check_for_zombie_jobs.bscr >tmp\bconcmds
-CALL scripts\functions run_bconsole
-grep "No Jobs running." tmp\dir.out >nul 2>&1
-IF %ERRORLEVEL% NEQ 0 (
-  ECHO.
-  ECHO   !!!! Zombie Jobs in Director !!!!
-  ECHO   !!!! Zombie Jobs in Director !!!! >>test.out
-  ECHO.
-)
-grep "No Jobs running." tmp\fd.out >nul 2>&1
-IF %ERRORLEVEL% NEQ 0 (
-  ECHO.
-  ECHO   !!!! Zombie Jobs in File daemon !!!!
-  ECHO   !!!! Zombie Jobs in File daemon !!!! >>test.out
-  ECHO.
-)
-grep "No Jobs running." tmp\sd.out >nul 2>&1
-IF %ERRORLEVEL% NEQ 0 (
-  ECHO.
-  ECHO   !!!! Zombie Jobs in Storage daemon !!!!
-  ECHO   !!!! Zombie Jobs in Storage daemon !!!! >>test.out
-  ECHO.
-)
-grep "ERROR" tmp/log*.out >nul 2>&1
-IF %ERRORLEVEL% EQU 0 (
-  ECHO.
-  ECHO   !!!! ERROR in log output !!!!
-  ECHO   !!!! ERROR in log output !!!! >>test.out
-  ECHO.
-)
-grep "Fatal Error" tmp\log*.out >nul 2>&1
-IF %ERRORLEVEL% EQU 0 (
-  ECHO.
-  ECHO   !!!! Fatal Error in log output !!!!
-  ECHO   !!!! Fatal Error in log output !!!! >>test.out
-  ECHO.
-)
diff --git a/regress/win32/scripts/cleanup-2drive.cmd.in b/regress/win32/scripts/cleanup-2drive.cmd.in
deleted file mode 100644 (file)
index c49d6db..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-REM
-REM Cleanup left over files -- both before and after test run
-REM
-CALL scripts\cleanup
-
-IF NOT "@autochanger@" == "nul" (
-   SET slot=0
-   FOR /f %%i in ( 'bin\mtx-changer @autochanger@ loaded 0 @tape_drive1@ 1' ) DO SET slot=%%i
-   ECHO Slot %slot% in drive 1
-   IF !slot! NEQ 0 (
-      ECHO unload slot !slot! in drive 1
-      bin\mtx-changer @autochanger@ unload !slot! @tape_drive1@ 1
-   )
-   FOR /f %%i in ( 'bin\mtx-changer @autochanger@ loaded 0 @tape_drive@ 0' ) DO SET slot=%%i
-   ECHO Slot !slot! in drive 0
-   IF !slot! NEQ 0 (
-      echo "unload slot !slot! in drive 0"
-      bin\mtx-changer @autochanger@ unload !slot! @tape_drive@ 0
-   )
-
-   FOR /f %%i in ( 'bin\mtx-changer @autochanger@ loaded 0 @tape_drive1@ 1' ) DO SET slot=%%i
-   IF !slot! NEQ 2 (
-      ECHO load slot 2 in drive 1
-      bin\mtx-changer @autochanger@ load 2 @tape_drive1@ 1
-   )
-   ECHO WEOF drive 1
-   mt -f @tape_drive1@ rewind
-   mt -f @tape_drive1@ weof
-   ECHO unload slot 2 in drive 1
-   bin\mtx-changer @autochanger@ unload 2 @tape_drive1@ 1
-
-   FOR /f %%i in ( 'bin\mtx-changer @autochanger@ loaded 0 @tape_drive@ 0' ) DO SET slot=%%i
-   ECHO Slot !slot! in drive 0
-   IF !slot! NEQ 1 (
-      ECHO load slot 1 in drive 0
-      bin\mtx-changer @autochanger@ load 1 @tape_drive@ 0
-   )
-   ECHO WEOF drive 0
-   mt -f @tape_drive@ rewind
-   mt -f @tape_drive@ weof
-   ECHO unload slot 1 from drive 0
-   bin\mtx-changer @autochanger@ unload 1 @tape_drive@ 0
-)
diff --git a/regress/win32/scripts/cleanup-2tape.cmd.in b/regress/win32/scripts/cleanup-2tape.cmd.in
deleted file mode 100644 (file)
index a572d7f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-REM
-REM Cleanup left over files -- both before and after test run
-REM
-
-setlocal ENABLEDELAYEDEXPANSION
-
-CALL scripts\cleanup
-
-IF NOT "@autochanger@" == "nul" (
-   SET slot=0
-   FOR /f %%i in ( 'bin\mtx-changer @autochanger@ loaded 0 dummy 0' ) DO SET slot=%%i
-   IF !slot! NEQ 2 (
-      bin\mtx-changer @autochanger@ unload 0 @tape_drive@ 0
-      bin\mtx-changer @autochanger@ load 2 @tape_drive@ 0
-   )
-   mt -f @tape_drive@ rewind
-   mt -f @tape_drive@ weof
-
-   REM
-   REM If we have an autochanger always load tape in slot 1
-   REM
-   FOR /f %%i in ( 'bin\mtx-changer @autochanger@ loaded 0 dummy 0' ) DO SET slot=%%i
-   IF !slot! NEQ 1 (
-      bin\mtx-changer @autochanger@ unload 0 @tape_drive@ 0
-      bin\mtx-changer @autochanger@ load 1 @tape_drive@ 0
-   )
-)
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
diff --git a/regress/win32/scripts/cleanup-tape.cmd.in b/regress/win32/scripts/cleanup-tape.cmd.in
deleted file mode 100644 (file)
index 46ce41a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-REM
-REM Cleanup left over files -- both before and after test run
-REM
-CALL scripts\cleanup
-
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
diff --git a/regress/win32/scripts/cleanup.cmd b/regress/win32/scripts/cleanup.cmd
deleted file mode 100644 (file)
index 0125175..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-@ECHO off
-REM
-REM Cleanup left over files -- both before and after test run
-REM
-
-CALL scripts\bacula stop >nul 2>&1
-
-DEL /q /f \tmp\FileVolume* tmp\FileVolume* >nul 2>&1
-DEL /q /f \tmp\TestVolume001 \tmp\Small* >nul 2>&1
-RD /s /q \tmp\bacula-restores tmp\bacula-restores >nul 2>&1
-DEL /q /f tmp\original tmp\Small* tmp\TestVolume* >nul 2>&1
-DEL /q /f tmp\restored tmp\largefile tmp\bscan.bsr tmp\log*.out >nul 2>&1
-DEL /q /f \tmp\sed_tmp \tmp\file-list >nul 2>&1
-RD /s /q tmp\build >nul 2>&1
-DEL /q /f tmp\restore-list tmp\restore2-list >nul 2>&1
-DEL /q /f tmp\fd.out tmp\dir.out tmp\sd.out >nul 2>&1
-DEL /q /f working\log tmp\TEST-* >nul 2>&1
-DEL /q /f working\*.bsr >nul 2>&1
-DEL /q /f tmp\disk-changer.cmd \tmp\disk-changer.cmd >nul 2>&1
-
-CALL bin\drop_bacula_tables >nul 2>&1
-CALL bin\make_bacula_tables >nul 2>&1
-CALL bin\grant_bacula_privileges >nul 2>&1
diff --git a/regress/win32/scripts/copy-2disk-confs.cmd b/regress/win32/scripts/copy-2disk-confs.cmd
deleted file mode 100644 (file)
index e759a41..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-REM
-REM Setup for using the Virtual Disk Changer (simulates tape changer)
-REM
-COPY scripts\bacula-dir-tape.conf bin\bacula-dir.conf
-COPY scripts\bacula-sd-2disk.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-COPY bin\bacula-dir.conf tmp\1
-bin\sed -e "s;# Autochanger = yes;  Autochanger = yes;g" tmp\1 >bin\bacula-dir.conf
diff --git a/regress/win32/scripts/copy-2disk-drive-confs.cmd b/regress/win32/scripts/copy-2disk-drive-confs.cmd
deleted file mode 100644 (file)
index 173eec2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-COPY scripts\bacula-dir-tape.conf bin\bacula-dir.conf
-COPY scripts\bacula-sd-2disk-drive.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-COPY bin\bacula-dir.conf tmp\1
-bin\sed -e "s;# Autochanger = yes;  Autochanger = yes;g" tmp\1 >bin\bacula-dir.conf
diff --git a/regress/win32/scripts/copy-2drive-confs.cmd b/regress/win32/scripts/copy-2drive-confs.cmd
deleted file mode 100644 (file)
index d20bf19..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-COPY scripts\bacula-dir-tape.conf bin\bacula-dir.conf
-COPY scripts\bacula-sd-2drive.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-
-COPY bin\bacula-dir.conf tmp\1
-bin\sed -e "s;# Autochanger = yes;  Autochanger = yes;g" >bin\bacula-dir.conf
-
-REM get proper SD tape definitions
-COPY scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/copy-2tape-confs.cmd b/regress/win32/scripts/copy-2tape-confs.cmd
deleted file mode 100644 (file)
index 3e5af7a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-COPY scripts\bacula-dir-tape.conf bin\bacula-dir.conf
-COPY scripts\bacula-sd-2tape.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-
-COPY bin\bacula-dir.conf tmp\1
-bin\sed -e "s;# Autochanger = yes;  Autochanger = yes;g" tmp\1 >bin\bacula-dir.conf
-
-REM get proper SD tape definitions
-COPY scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/copy-confs.cmd b/regress/win32/scripts/copy-confs.cmd
deleted file mode 100644 (file)
index 359839c..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-COPY scripts\bacula-dir.conf bin\bacula-dir.conf
-COPY scripts\bacula-sd.conf bin\bacula-sd.conf
-COPY scripts\bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\bconsole.conf bin\bconsole.conf
-
-REM get proper SD tape definitions
-COPY scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/copy-crypto-confs.cmd b/regress/win32/scripts/copy-crypto-confs.cmd
deleted file mode 100644 (file)
index 7166399..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-COPY scripts\new-test-bacula-dir.conf bin\bacula-dir.conf
-COPY scripts\test-bacula-sd.conf bin\bacula-sd.conf
-COPY scripts\crypto-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-COPY scripts\cryptokeypair.pem bin\cryptokeypair.pem
diff --git a/regress/win32/scripts/copy-migration-confs.cmd b/regress/win32/scripts/copy-migration-confs.cmd
deleted file mode 100644 (file)
index 7bf12dd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-REM
-REM Setup for migration tests
-REM
-COPY scripts\bacula-dir-migration.conf bin\bacula-dir.conf
-COPY scripts\bacula-sd-migration.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
diff --git a/regress/win32/scripts/copy-tape-confs.cmd b/regress/win32/scripts/copy-tape-confs.cmd
deleted file mode 100644 (file)
index 0a7a50a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-copy scripts\bacula-dir-tape.conf bin\bacula-dir.conf
-copy scripts\bacula-sd-tape.conf bin\bacula-sd.conf
-copy scripts\test-bacula-fd.conf bin\bacula-fd.conf
-copy scripts\test-console.conf bin\bconsole.conf
-
-REM get proper SD tape definitions
-copy scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/copy-test-confs.cmd b/regress/win32/scripts/copy-test-confs.cmd
deleted file mode 100644 (file)
index c07c5d6..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-COPY scripts\new-test-bacula-dir.conf bin\bacula-dir.conf
-COPY scripts\test-bacula-sd.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-
-REM get proper SD tape definitions
-COPY scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/copy-testa-confs.cmd b/regress/win32/scripts/copy-testa-confs.cmd
deleted file mode 100644 (file)
index 4cc89ff..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-COPY scripts\testa-bacula-dir.conf bin\bacula-dir.conf
-COPY scripts\test-bacula-sd.conf bin\bacula-sd.conf
-COPY scripts\test-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-
-REM get proper SD tape definitions
-COPY scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/copy-win32-confs.cmd b/regress/win32/scripts/copy-win32-confs.cmd
deleted file mode 100644 (file)
index b9f0ab7..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-COPY scripts\win32-bacula-dir-tape.conf bin\bacula-dir.conf
-COPY scripts\win32-bacula-sd-tape.conf bin\bacula-sd.conf
-COPY scripts\win32-bacula-fd.conf bin\bacula-fd.conf
-COPY scripts\test-console.conf bin\bconsole.conf
-
-REM get proper SD tape definitions
-COPY scripts\win32_tape_options bin\tape_options
diff --git a/regress/win32/scripts/crypto-bacula-fd.conf.in b/regress/win32/scripts/crypto-bacula-fd.conf.in
deleted file mode 100644 (file)
index ec4152d..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Default  Bacula File Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# There is not much to change here except perhaps the
-# File daemon Name to
-#
-
-#
-# List Directors who are permitted to contact this File daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-}
-
-#
-# "Global" File daemon configuration specifications
-#
-FileDaemon {                          # this is me
-  Name = @hostname@-fd
-  FDport = 8102                  # where we listen for the director
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  SubSys Directory = "@subsysdir@"
-  PKI Signatures = Yes
-  PKI Encryption = Yes
-  PKI Keypair = "@scriptdir@/cryptokeypair.pem"
-}
-
-# Send all messages except skipped files back to Director
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/cryptokeypair.pem b/regress/win32/scripts/cryptokeypair.pem
deleted file mode 100644 (file)
index 440dcce..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIBOgIBAAJBAKIc649Amif6weq+c8rVtS7jyn7E9oZ9Irrl9WviQZi0+J2OLgCi
-PNaj/FzPhTIgBBRFEP0ZU5DfVv6CoXKbpr8CAwEAAQJAQbvUUFvzpi5pnxPmw+Jv
-+zlmjIy1Icdv47UHFN3Dl3V0+X05g12xUlnyNKzo2jlSwkBi1w8AJCMV6/TnnLiI
-AQIhAM4SH9cb01DUH+1O5gk90GgNYW1Aq2vL1vygm02kppi/AiEAyWQ9eAILPXhX
-H3a7mEj8z1bCTBiVrhe73NUjim4QcgECIEC3hHRj8ruBwv0eODRSy27CNQTAuJVE
-ESKJtfxuZzu1AiEAotXYFbahW/x3hUs9d25ca1EdHOYr8G3kSjRT3lQMHAECIHBl
-uX+Ywc1jjWhc+vN2ZrLWkKMVbrd+SWOPUQGroM0j
------END RSA PRIVATE KEY-----
------BEGIN CERTIFICATE-----
-MIICKzCCAdWgAwIBAgIJAO4x/m+tHX8HMA0GCSqGSIb3DQEBBQUAMEUxCzAJBgNV
-BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
-aWRnaXRzIFB0eSBMdGQwHhcNMDYxMjA0MDMxMzUwWhcNMDcwMTAzMDMxMzUwWjBF
-MQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50
-ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKIc
-649Amif6weq+c8rVtS7jyn7E9oZ9Irrl9WviQZi0+J2OLgCiPNaj/FzPhTIgBBRF
-EP0ZU5DfVv6CoXKbpr8CAwEAAaOBpzCBpDAdBgNVHQ4EFgQUiGz2I+bks0nCHyCI
-IwuV3DpDPMwwdQYDVR0jBG4wbIAUiGz2I+bks0nCHyCIIwuV3DpDPMyhSaRHMEUx
-CzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRl
-cm5ldCBXaWRnaXRzIFB0eSBMdGSCCQDuMf5vrR1/BzAMBgNVHRMEBTADAQH/MA0G
-CSqGSIb3DQEBBQUAA0EAkjFYcs9rrpdURlBaNlbud68VlA5rU+Bv4keYx41DUmqo
-sXtkQZENR9iYYYhOUso1/1dwQgrt3egjTZTtq7o5zw==
------END CERTIFICATE-----
diff --git a/regress/win32/scripts/disk-changer.cmd b/regress/win32/scripts/disk-changer.cmd
deleted file mode 100644 (file)
index 3efb193..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-@ECHO off
-setlocal ENABLEDELAYEDEXPANSION
-REM
-REM
-REM Bacula interface to virtual autoloader using disk storage
-REM
-REM  $Id$
-REM
-REM  If you set in your Device resource
-REM
-REM  Changer Command = "disk-changer %c %o %S %a %d"
-REM    you will have the following input to this script:
-REM
-REM  So Bacula will always call with all the following arguments, even though
-REM    in some cases, not all are used.
-REM
-REM  disk-changer "changer-device" "command" "slot" "archive-device" "drive-index"
-REM                      %1           %2       %3          %4             %5
-REM
-REM By default the autochanger has 10 Volumes and 1 Drive.
-REM
-REM Note: For this script to work, you *must" specify
-REM    Device Type = File 
-REM in each of the Devices associated with your AutoChanger resource.
-REM
-REM changer-device is the name of a file that overrides the default
-REM   volumes and drives.  It may have:
-REM       maxslot=n   where n is one based (default 10)
-REM       maxdrive=m  where m is zero based (default 1 -- i.e. 2 drives)
-REM  
-REM   This code can also simulate barcodes. You simply put
-REM   a list of the slots and barcodes in the "base" directory/barcodes.
-REM   See below for the base directory definition.  Example of a 
-REM   barcodes file:
-REM      C:\TEMP\bacula\barcodes
-REM      1:Vol001
-REM      2:Vol002
-REM      ...
-REM 
-REM archive-device is the name of the base directory where you want the
-REM  Volumes stored appended with \drive0 for the first drive; \drive1
-REM  for the second drive, ... For example, you might use
-REM  C:\Temp\bacula\drive0  Note: you must not have a trailing slash, and
-REM  the string (e.g. \drive0) must be unique, and it must not match
-REM  any other part of the directory name. These restrictions could be
-REM  easily removed by any clever script jockey.
-REM
-REM  Full example: disk-changer C:\Temp\bacula\conf load 1 C:\Temp\bacula\drive0 0
-REM
-REM The Volumes will be created with names slot1, slot2, slot3, ... maxslot in the
-REM  base directory. In the above example the base directory is C:\Temp\bacula.
-REM  However, as with tapes, their Bacula Volume names will be stored inside the
-REM  Volume label. In addition to the Volumes (e.g. C:\Temp\bacula\slot1, 
-REM  C:\Temp\bacula\slot3, ...) this script will create a C:\Temp\bacula\loadedn
-REM  file to keep track of what Slot is loaded. You should not change this file.
-REM
-
-SET dbgfile=%CD%\disk-changer.log
-
-REM to turn on logging, uncomment the following line
-IF NOT EXIST %dbgfile% COPY nul %dbgfile% >nul
-
-REM
-REM check parameter count on commandline
-REM
-REM Check for special cases where only 2 arguments are needed, 
-REM  all others are a minimum of 5
-REM
-IF "%1" EQU "" goto :param_count_invalid
-IF "%2" EQU "" goto :param_count_invalid
-IF "%2" EQU "list" goto :param_count_valid
-IF "%2" EQU "slots" goto :param_count_valid
-IF "%3" EQU "" goto :param_count_invalid
-IF "%4" EQU "" goto :param_count_invalid
-IF "%5" EQU "" goto :param_count_invalid
-GOTO :param_count_valid
-
-:param_count_invalid
-   echo Insufficient number of arguments given.
-   IF "%2" EQU "" (
-      echo   At least two arguments must be specified.
-   ) else echo   Command expected 5 arguments.
-:usage
-   ECHO.
-   ECHO usage: disk-changer ctl-device command [slot archive-device drive-index]
-   ECHO        Valid commands are: unload, load, list, loaded, and slots.
-   EXIT /B 1
-
-:param_count_valid
-
-REM Setup arguments
-SET ctl=%1
-SET cmd=%2
-SET slot=%3
-SET device=%4
-SET drive=%5
-
-REM set defaults
-SET maxdrive=1
-SET maxslot=10
-
-SET ctl=%ctl:/=\%
-SET ctl=%ctl:\\=\%
-
-SET device=%device:/=\%
-SET device=%device:\\=\%
-
-REM Pull in conf file
-IF EXIST %ctl% CALL %ctl%
-
-FOR %%i IN ( %ctl% ) DO SET dirname=%%~dpi
-IF NOT EXIST %dirname%nul (
-   ECHO ERROR: Autochanger directory "%dirname%" does not exist.
-   ECHO        You must create it.
-   EXIT /b 1
-)
-
-CALL :debug "Parms: %ctl% %cmd% %slot% %device% %drive%"
-IF "%cmd%" EQU "unload" GOTO :cmdUnload
-IF "%cmd%" EQU "load" GOTO :cmdLoad
-IF "%cmd%" EQU "list" GOTO :cmdList
-IF "%cmd%" EQU "loaded" GOTO :cmdLoaded
-IF "%cmd%" EQU "slots" GOTO :cmdSlots
-GOTO :cmdUnknown
-
-:cmdUnload
-   CALL :debug "Doing disk -f %ctl% unload %slot% %device% %drive%"
-   IF NOT EXIST %dirname%loaded%drive% ECHO 0 >%dirname%loaded%drive%
-   FOR /f %%i IN ( %dirname%loaded%drive% ) DO SET ld=%%i
-
-   IF "%slot%" EQU "%ld%" ( 
-      CALL :debug "Unloaded slot %ld% from drive %drive%"
-      ECHO 0 >%dirname%loaded%drive%
-      DEL %dirname%%device% >nul 2>nul
-      SET rtn=0
-   ) ELSE (
-      ECHO Storage Element %slot% is Already Full
-      CALL :debug "Storage Element %slot% is Already Full"
-      SET rtn=1
-   )
-   GOTO :cmdExit
-
-:cmdLoad
-   CALL :debug "Doing disk -f %ctl% load %slot% %device% %drive%"
-   SET ld=0
-   IF NOT EXIST %dirname%loaded%drive% ECHO 0 >%dirname%loaded%drive%
-   FOR /f %%i IN ( %dirname%loaded%drive% ) DO SET ld=%%i
-   IF %ld% EQU 0 (
-      IF NOT EXIST %dirname%slot%slot% COPY nul %dirname%slot%slot% >nul
-      DEL %device%
-      fsutil hardlink create %device% %dirname%slot%slot% >nul 2>&1
-      SET rtn=%ERRORLEVEL%
-      IF !rtn! EQU 0 (
-         ECHO %slot% >%dirname%loaded%drive%
-         CALL :debug "Loaded slot %slot% into drive %drive%"
-      ) ELSE (
-         CALL :debug "Create hardlink failed, return = !rtn!"
-      )
-   ) ELSE (
-      ECHO Drive %drive% Full - Storage element %ld% loaded
-      CALL :debug "Drive %drive% Full - Storage element %ld% loaded"
-   )
-   GOTO :cmdExit
-
-:cmdList
-   CALL :debug "Doing disk -f %ctl% -- to list volumes"
-   IF EXIST %dirname%barcodes (
-      TYPE %dirname%barcodes 
-   ) ELSE (
-      FOR /l %%i IN ( 1, 1, %maxslot% ) DO ECHO %%i:
-   )
-   SET rtn=0
-   GOTO :cmdExit
-
-:cmdLoaded
-   CALL :debug "Doing disk -f %ctl% %drive% -- to find what is loaded"
-   IF EXIST %dirname%loaded%drive% ( TYPE %dirname%loaded%drive% ) ELSE ECHO 0
-   SET rtn=0
-   GOTO :cmdExit
-
-:cmdSlots
-   CALL :debug "Doing disk -f %ctl% -- to get count of slots"
-   ECHO %maxslot%
-   SET rtn=0
-   GOTO :cmdExit
-
-:cmdExit
-   EXIT /b %rtn%
-
-:cmdUnknown
-   ECHO '%cmd%' is an invalid command.
-   GOTO :usage
-
-REM
-REM log whats done
-REM
-:debug
-   IF NOT EXIST %dbgfile% GOTO :EOF
-   FOR /f "usebackq tokens=2-4,5-7 delims=/:. " %%i IN ( '%DATE% %TIME%' ) do SET TIMESTAMP=%%k%%i%%j-%%l:%%m:%%n
-   ECHO %TIMESTAMP% %* >> %dbgfile%
-   GOTO :EOF
diff --git a/regress/win32/scripts/do_sed.cmd b/regress/win32/scripts/do_sed.cmd
deleted file mode 100644 (file)
index a533a30..0000000
+++ /dev/null
@@ -1,73 +0,0 @@
-IF "%1" == "" GOTO :usage
-IF "%2" == "" GOTO :usage
-IF "%3" == "" GOTO :usage
-IF "%4" == "" GOTO :usage
-IF "%5" == "" GOTO :usage
-IF "%6" == "" GOTO :usage
-GOTO :args_ok
-
-:usage
-ECHO First arg must be email name
-ECHO   and the second must be the smtp or email host
-ECHO   and the third must be a tape drive
-ECHO   and the fourth must be a tape control name or nul
-ECHO   and the fifth must be the full path to the mtx program
-ECHO   and the sixth must be tape drive 1 or nul
-EXIT /b 1
-
-:args_ok
-SET out=tmp\sed_tmp
-
-REM Create sed command script
-
-ECHO s;@sbindir@;%CD:\=/%/bin;g >%out%
-ECHO s;@scriptdir@;%CD:\=/%/scripts;g >>%out%
-ECHO s;@working_dir@;%CD:\=/%/working;g >>%out%
-ECHO s;@piddir@;%CD:\=/%/working;g >>%out%
-ECHO s;@subsysdir@;%CD:\=/%/working;g >>%out%
-ECHO s;@job_email@;%1;g >>%out%
-ECHO s;@smtp_host@;%2;g >>%out%
-ECHO s;@tape_drive@;%3;g >>%out%
-ECHO s;@autochanger@;%4;g >>%out%
-ECHO s;@tmpdir@;%CD:\=/%/tmp;g >>%out%
-ECHO s;@hostname@;localhost;g >>%out%
-ECHO s;@changer_path@;%5;g >>%out%
-ECHO s;@tape_drive1@;%6;g >>%out%
-ECHO s;@disk_drive@;%CD:\=/%/tmp/disk-changer;g >>%out%
-ECHO s;@smtp_program@;%CD:\=/%/bin/bsmtp;g >>%out%
-
-ECHO SET AUTOCHANGER=%4 >config_out.cmd
-ECHO SET AUTOCHANGER_PATH=%5 >>config_out.cmd
-ECHO SET TAPE_DRIVE1=%6 >>config_out.cmd
-
-REM process .in files with sed script
-sed -f %out% %CD%\scripts\test-bacula-dir.conf.in >%CD%\scripts\test-bacula-dir.conf
-sed -f %out% %CD%\scripts\new-test-bacula-dir.conf.in >%CD%\scripts\new-test-bacula-dir.conf
-sed -f %out% %CD%\scripts\testa-bacula-dir.conf.in >%CD%\scripts\testa-bacula-dir.conf
-sed -f %out% %CD%\scripts\test-bacula-fd.conf.in >%CD%\scripts\test-bacula-fd.conf
-sed -f %out% %CD%\scripts\test-bacula-sd.conf.in >%CD%\scripts\test-bacula-sd.conf
-sed -f %out% %CD%\scripts\test-console.conf.in >%CD%\scripts\test-console.conf
-sed -f %out% %CD%\scripts\crypto-bacula-fd.conf.in >%CD%\scripts\crypto-bacula-fd.conf
-sed -f %out% %CD%\scripts\bacula-dir-tape.conf.in >%CD%\scripts\bacula-dir-tape.conf
-sed -f %out% %CD%\scripts\bacula-dir-migration.conf.in >%CD%\scripts\bacula-dir-migration.conf
-sed -f %out% %CD%\scripts\win32-bacula-dir-tape.conf.in >%CD%\scripts\win32-bacula-dir-tape.conf
-sed -f %out% %CD%\scripts\bacula-sd-tape.conf.in >%CD%\scripts\bacula-sd-tape.conf
-sed -f %out% %CD%\scripts\bacula-sd-2tape.conf.in >%CD%\scripts\bacula-sd-2tape.conf
-sed -f %out% %CD%\scripts\bacula-sd-migration.conf.in >%CD%\scripts\bacula-sd-migration.conf
-sed -f %out% %CD%\scripts\bacula-sd-2disk.conf.in >%CD%\scripts\bacula-sd-2disk.conf
-sed -f %out% %CD%\scripts\bacula-sd-2drive.conf.in >%CD%\scripts\bacula-sd-2drive.conf
-sed -f %out% %CD%\scripts\bacula-sd-2disk-drive.conf.in >%CD%\scripts\bacula-sd-2disk-drive.conf
-sed -f %out% %CD%\scripts\cleanup-tape.cmd.in >%CD%\scripts\cleanup-tape.cmd
-sed -f %out% %CD%\scripts\cleanup-2tape.cmd.in >%CD%\scripts\cleanup-2tape.cmd
-sed -f %out% %CD%\scripts\cleanup-2drive.cmd.in >%CD%\scripts\cleanup-2drive.cmd
-sed -f %out% %CD%\scripts\prepare-two-tapes.cmd.in >%CD%\scripts\prepare-two-tapes.cmd
-sed -f %out% %CD%\scripts\bacula-dir.conf.testrunscript.in >%CD%\scripts\bacula-dir.conf.testrunscript
-
-COPY %CD%\bin\bacula-sd.conf tmp\bacula-sd.tmp >nul
-sed -e "s;C:\\Temp;%CD:\=/%/tmp;g" tmp\bacula-sd.tmp >%CD%\bin\bacula-sd.conf
-
-REM get proper SD tape definitions
-COPY %CD%\scripts\win32_tape_options %CD%\bin\tape_options >nul
-
-DEL %out%
-DEL tmp\*.tmp
diff --git a/regress/win32/scripts/exclude-dev-test b/regress/win32/scripts/exclude-dev-test
deleted file mode 100644 (file)
index 4165ea1..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-dev/ptmx
-dev/pts
-dev/rd/c5d2
-dev/rd
-dev/shm
diff --git a/regress/win32/scripts/exclude-etc-test b/regress/win32/scripts/exclude-etc-test
deleted file mode 100644 (file)
index f59ca8d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-etc/mail/statistics
diff --git a/regress/win32/scripts/exclude-lib-test b/regress/win32/scripts/exclude-lib-test
deleted file mode 100644 (file)
index 5be32f4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-lib/ld-2.2.5.so
-lib/libtermcap.so.2.0.8
-lib/libc-2.2.5.so
-lib/libnsl-2.2.5.so
-lib/libnss_files-2.2.5.so
diff --git a/regress/win32/scripts/flist b/regress/win32/scripts/flist
deleted file mode 100644 (file)
index 87f103d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/build/configure
-/build/src/stored/bextract
-/build/src/tools/testfind
-/build/Makefile.in
-/build/src/dird/bacula-dir
-/build/src/console/bconsole
-/build/src/filed/bacula-fd
-/build/src/findlib/find_one.c
-/build/src/jcr.h
-/build/platforms/Makefile.in
-/build/platforms/redhat/Makefile.in
-/build/scripts/Makefile.in
-/build/src/win32/filed/winservice.cpp
-/build/src/filed/restore.c
-/build/autoconf/configure.in
-/build/examples/afs-bacula
-/build/src/win32/Makefile.inc.in
-/build/src/win32/installer/winbacula.nsi
-/build/autoconf/configure.in
-/build/src/version.h
-/build/src/lib/message.c
-/build/src/lib/bnet_server.c
-/build/src/lib/libbac.a
diff --git a/regress/win32/scripts/functions.cmd b/regress/win32/scripts/functions.cmd
deleted file mode 100644 (file)
index 1a03141..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-REM
-REM A set of useful functions to be sourced in each test
-REM
-
-SET routine=%1
-SHIFT
-
-GOTO %routine%
-
-:start_test
-   ECHO.
-   ECHO.
-   ECHO  === Starting %TestName% at %TIME% ===
-   ECHO  === Starting %TestName% at %TIME% === >>working\log
-   ECHO.
-   GOTO :EOF
-
-:set_debug
-   SET debug=%1
-   IF "%debug%" EQU 1 (
-     SET out=tee
-   ) ELSE (
-     SET out=output
-   )
-   GOTO :EOF
-
-:run_bacula
-   IF %debug% EQU 1 (
-      CALL scripts\bacula start
-      bin\bconsole -c bin\bconsole.conf <tmp\bconcmds
-   ) ELSE (
-      CALL scripts\bacula start >nul 2>&1
-      bin\bconsole -c bin\bconsole.conf <tmp\bconcmds >nul 2>&1
-   )
-   GOTO :EOF
-
-:run_bconsole
-   IF %debug% EQU 1 (
-      bin\bconsole -c bin\bconsole.conf <tmp\bconcmds
-   ) ELSE (
-      bin\bconsole -c bin\bconsole.conf <tmp\bconcmds >nul 2>&1
-   )
-   GOTO :EOF
-
-:run_btape
-   IF %debug% EQU 1 (
-      bin\btape -c bin\bacula-sd.conf DDS-4 <tmp\bconcmds | tee tmp\log1.out
-   ) ELSE (
-      bin\btape -c bin\bacula-sd.conf DDS-4 <tmp\bconcmds >tmp\log1.out 2>&1
-   )
-   GOTO :EOF
-
-:run_bscan
-   IF %debug% EQU 1 (
-      bin\bscan %1 %2 %3 %4 %5 %6 %7 %8 %9 | tools\tee tmp\log.out
-   ) ELSE (
-      bin\bscan %1 %2 %3 %4 %5 %6 %7 %8 %9 >nul 2>&1
-   )
-   GOTO :EOF
-
-:stop_bacula
-   CALL scripts\bacula stop >nul 2>&1
-   GOTO :EOF
-
-:check_for_zombie_jobs
-   CALL scripts\check_for_zombie_jobs %1 %2
-   GOTO :EOF
-
-:change_jobname
-   IF "%2" == "" (
-      SET oldname=NightlySave
-      SET newname=%1
-   ) ELSE (
-      SET oldname=%1
-      SET newname=%2
-   )
-   IF EXIST bin\1 DEL /f bin\1
-   REN bin\bacula-dir.conf 1
-   bin\sed -e "s;%oldname%;%newname%;g" bin\1 >bin\bacula-dir.conf
-REM  ECHO Job %oldname% changed to %newname%
-   GOTO :EOF
-
-:check_two_logs
-   tools\grep "^  Termination: *Backup OK" tmp\log1.out >nul 2>&1
-   SET bstat=%ERRORLEVEL%
-   tools\grep "^  Termination: *Restore OK" tmp\log2.out >nul 2>&1
-   SET rstat=%ERRORLEVEL%
-   GOTO :EOF
-
-:check_restore_diff
-   tools\diff -r build tmp\bacula-restores\%CD::=%\build >nul 2>&1
-   SET dstat=%ERRORLEVEL%
-   GOTO :EOF
-
-:check_restore_tmp_build_diff
-   tools\diff -r tmp\build tmp\bacula-restores\%CD::=%\tmp\build >nul 2>&1
-   SET dstat=%ERRORLEVEL%
-   GOTO :EOF
-
-:end_test
-   SET /a errcount=%bstat% + %rstat% + %dstat%
-   IF %errcount% NEQ 0 (
-      ECHO.
-      ECHO.
-      ECHO   !!!!! %TestName% Bacula source failed!!! !!!!!
-      ECHO   !!!!! %TestName% failed!!! !!!!! >>test.out
-      IF %dstat% NEQ 0 (
-         ECHO   !!!!! Restored files differ          !!!!!
-         ECHO   !!!!! Restored files differ          !!!!! >>test.out
-      ) ELSE (
-         ECHO   !!!!! Bad Job termination status     !!!!!
-         ECHO   !!!!! Bad Job termination status     !!!!! >>test.out
-      )
-      ECHO.
-   ) ELSE (
-      ECHO   ===== %TestName% Bacula source OK %TIME% =====
-      ECHO   ===== %TestName% OK %TIME% ===== >>test.out
-      IF %debug% EQU 0 scripts\cleanup
-   )
-   SET errcount=
-   GOTO :EOF
-
-:copy_tape_confs
-   CALL scripts\copy-tape-confs >nul 2>&1
-   CALL scripts\cleanup-tape
-   GOTO :EOF
-
-:copy_test_confs
-   CALL scripts\copy-test-confs >nul 2>&1
-   CALL scripts\cleanup
-   GOTO :EOF
diff --git a/regress/win32/scripts/install_bacula.cmd b/regress/win32/scripts/install_bacula.cmd
deleted file mode 100644 (file)
index fa7dad4..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-REM Arguments:
-REM    1 = Debug or Release
-REM    2 = email address
-REM    3 = mail server
-REM    4 = tape device
-REM    5 = changer device or nul
-REM    6 = tape1 device or nul
-
-SETLOCAL ENABLEDELAYEDEXPANSION
-
-SET CATS=create_sqlite3_database.cmd drop_sqlite3_database.cmd drop_sqlite3_tables.cmd grant_sqlite3_privileges.cmd make_sqlite3_catalog_backup.cmd make_sqlite3_tables.cmd
-
-SET CONFS=bacula-dir.conf.in bacula-fd.conf.in bacula-sd.conf.in bconsole.conf.in
-
-CALL scripts\bacula stop
-
-IF NOT EXIST bin MKDIR bin
-
-COPY build\src\win32\installer\%1\*.exe bin >nul
-COPY build\src\win32\installer\%1\*.dll bin >nul
-COPY build\src\win32\installer\%1\*.manifest bin >nul
-COPY build\src\win32\%1\*.pdb bin >nul
-COPY build\src\win32\installer\%1\query.sql bin >nul
-
-COPY bin\cats_sqlite.dll bin\bacula_cats.dll >nul
-
-FOR /f %%i IN ( 'cmd /c openssl.exe rand -base64 33 2^>nul' ) DO SET CLIENT_PASSWORD=%%i
-FOR /f %%i IN ( 'cmd /c openssl.exe rand -base64 33 2^>nul' ) DO SET STORAGE_PASSWORD=%%i
-FOR /f %%i IN ( 'cmd /c openssl.exe rand -base64 33 2^>nul' ) DO SET DIRECTOR_PASSWORD=%%i
-FOR /f %%i IN ( 'cmd /c openssl.exe rand -base64 33 2^>nul' ) DO SET MONITOR_PASSWORD=%%i
-
-ECHO s;@director_name@;localhost-dir;g >install.sed
-ECHO s;@director_port@;8101;g >>install.sed
-ECHO s;@storage_name@;localhost-sd;g >>install.sed
-ECHO s;@storage_port@;8103;g >>install.sed
-ECHO s;@client_name@;localhost-fd;g >>install.sed
-ECHO s;@client_port@;8102;g >>install.sed
-
-REM ECHO s;@DISTVER@;$R2;
-
-ECHO s;@working_dir@;%CD:\=\\\\%\\\\working;g >>install.sed
-ECHO s;@working_dir_cmd@;%CD:\=\\%\\working;g >>install.sed
-ECHO s;@bin_dir@;%CD:\=\\\\%\\\\bin;g >>install.sed;
-ECHO s;@bin_dir_cmd@;%CD:\=\\%\\bin;g >>install.sed
-ECHO s;@BUILD_DIR@;%CD:\=/%/build;g >>install.sed
-ECHO s;@director_address@;localhost;g >>install.sed
-ECHO s;@client_address@;localhost;g >>install.sed
-ECHO s;@storage_address@;localhost;g >>install.sed
-ECHO s;@client_maxjobs@;2;g >>install.sed
-ECHO s;@client_password@;%CLIENT_PASSWORD%;g >>install.sed
-ECHO s;@storage_maxjobs@;10;g >>install.sed
-ECHO s;@storage_password@;%STORAGE_PASSWORD%;g >>install.sed
-ECHO s;@director_maxjobs@;1;g >>install.sed
-ECHO s;@director_password@;%DIRECTOR_PASSWORD%;g >>install.sed
-ECHO s;@job_email@;%2;g >>install.sed
-ECHO s;@smtp_host@;%3;g >>install.sed
-ECHO s;@monitor_name@;localhost-mon;g >>install.sed
-ECHO s;@monitor_password@;%MONITOR_PASSWORD%;g >>install.sed
-ECHO s;@tape_drive@;%4;g >>install.sed
-ECHO s;@autochanger@;%5;g >>install.sed
-ECHO s;@changer_path@;%6;g >>install.sed
-ECHO s;@tape_drive1@;%7;g >>install.sed
-
-FOR %%i in ( %CATS% ) DO (
-   SET NAME=%%i
-   SET TARGET=bin\!NAME:sqlite3=bacula!
-   tools\sed -f install.sed build\src\win32\installer\%1\!NAME! > !TARGET!
-)
-
-FOR %%i in ( %CONFS% ) DO tools\sed -f install.sed build\src\win32\installer\%%i > bin\%%~ni
-
-tools\sed -f install.sed build\src\win32\installer\%1\make_sqlite3_tables.sql > bin\make_sqlite3_tables.sql
-tools\sed -f install.sed build\src\win32\installer\%1\mtx-changer.cmd > bin\mtx-changer.cmd
-
-CALL scripts\bacula uninstall
-CALL scripts\bacula install %CD%\bin
diff --git a/regress/win32/scripts/new-test-bacula-dir.conf.in b/regress/win32/scripts/new-test-bacula-dir.conf.in
deleted file mode 100644 (file)
index 7302f0c..0000000
+++ /dev/null
@@ -1,326 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39 or later
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Standard
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData=yes
-}
-
-Job {
-  Name = "Crypto"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseCompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData=yes
-}
-
-
-Job {
-  Name = "MonsterSave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File1
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "VerifyVolume"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "SparseTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-Job {
-  Name = "CompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="CompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-Job {
-  Name = "SparseCompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseCompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-# Backup the catalog database (after the nightly save)
-Job {
-  Name = "BackupCatalog"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Catalog"
-#  Schedule = "WeeklyCycleAfterBackup"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  # This creates an ASCII copy of the catalog
-  RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
-  # This deletes the copy of the catalog
-  RunAfterJob  = "@sbindir@/delete_catalog_backup"
-  Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
-}
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include {  Options { signature=MD5 }
-     File =  </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseSet"
-  Include {
-    Options {
-      signature=MD5 sparse=yes
-    }
-    File = </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "CompressedSet"
-  Include {
-    Options {
-      signature=MD5 compression=GZIP 
-    }
-    File = </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseCompressedSet"
-  Include {
-    Options {
-      signature=MD5 compression=GZIP
-      sparse=yes
-    }
-    File = </tmp/file-list
-  }
-}
-
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# This schedule does the catalog. It starts after the WeeklyCycle
-Schedule {
-  Name = "WeeklyCycleAfterBackup"
-  Run = Full sun-sat at 1:10
-}
-
-# This is the backup of the catalog
-FileSet {
-  Name = "Catalog"
-  Include {
-    Options {
-      signature=MD5
-    }
-    File = /home/kern/bacula/regress/bin/working/bacula.sql
-  }
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 4
-}
-
-Storage {
-  Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage1
-  Media Type = File1
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Definition of DLT tape storage device
-#Storage {
-#  Name = DLTDrive
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = "HP DLT 80"                # must be same as Device in Storage daemon
-#  Media Type = DLT8000                # must be same as MediaType in Storage daemon
-#}
-
-# Definition of DDS tape storage device
-#Storage {
-#  Name = SDT-10000
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = SDT-10000                  # must be same as Device in Storage daemon
-#  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-#}
-
-# Definition of 8mm tape storage device
-#Storage {
-#  Name = "8mmDrive"
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-#  Device = "Exabyte 8mm"
-#  MediaType = "8mm"
-#}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-Messages {
-  Name = NoEmail
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  console = all, !skipped, !terminate
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-# Label Format = "TEST-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}:${NumVols}"
-}
diff --git a/regress/win32/scripts/prepare-two-disks.cmd b/regress/win32/scripts/prepare-two-disks.cmd
deleted file mode 100644 (file)
index fb570e4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-REM
-REM Create fresh virtual disk changer directory
-REM
-RD /s /q tmp\disk-changer >nul 2>&1
-MKDIR tmp\disk-changer
diff --git a/regress/win32/scripts/prepare-two-tapes.cmd.in b/regress/win32/scripts/prepare-two-tapes.cmd.in
deleted file mode 100644 (file)
index 1bcd818..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-REM
-REM Create two blank tapes
-REM
-REM mt -f @tape_drive@ offline
-@changer_path@ -f @autochanger@ unload
-@changer_path@ -f @autochanger@ load 1
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
-@changer_path@ -f @autochanger@ unload
-@changer_path@ -f @autochanger@ load 2
-mt -f @tape_drive@ rewind
-mt -f @tape_drive@ weof
-REM @changer_path@ -f @autochanger@ unload
diff --git a/regress/win32/scripts/setup.cmd b/regress/win32/scripts/setup.cmd
deleted file mode 100644 (file)
index 53df74d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-REM
-REM Script to setup running Bacula regression tests
-REM
-
-IF "%1" == "" GOTO :usage
-IF "%2" == "" GOTO :usage
-IF "%3" == "" GOTO :usage
-IF "%4" == "" GOTO :usage
-IF "%5" == "" GOTO :usage
-IF "%6" == "" GOTO :usage
-IF "%7" == "" GOTO :usage
-GOTO :param_count_ok
-
-:usage
-ECHO Incorrect number of arguments.
-ECHO setup bacula-src build-type email-address smtp-host tape-device changer-device tape1-device
-ECHO.
-EXIT /b 1
-
-:param_count_ok
-RD /s /q build bin tmp working >nul 2>&1
-MKDIR tmp
-
-REM Copy new source
-ECHO Copying source from %1
-SET SRC=%1
-FOR /r %1 %%i in ( debug release ) do IF EXIST %%i ECHO %%i | sed -e "s;%SRC:\=\\%\\;;" -e "/installer\\%2/d" -e "/win32\\%2/d" >>tmp\exclude_list
-ECHO .bsc >>tmp\exclude_list
-ECHO .ncb >>tmp\exclude_list
-
-XCOPY %1 build\ /EXCLUDE:tmp\exclude_list /e /q
-
-DEL build\src\win32\%2\winbacula*.exe
-
-CALL scripts\install_bacula %2 %3 %4 %5 %6 %7
-
-CALL scripts\bacula stop >nul 2>&1
-
-IF NOT EXIST working MKDIR working
-ECHO Running database creation scripts
-CALL bin\create_bacula_database
-CALL bin\drop_bacula_tables
-CALL bin\make_bacula_tables
-CALL bin\grant_bacula_privileges
-
-REM Start and stop Bacula to ensure conf files are OK
-
-CALL scripts\bacula start
-CALL scripts\bacula stop >nul 2>&1
-
-REM
-REM Save Bacula default conf files for later use
-REM
-COPY bin\*.conf scripts >nul
-GOTO :EOF
diff --git a/regress/win32/scripts/test-bacula-dir.conf.in b/regress/win32/scripts/test-bacula-dir.conf.in
deleted file mode 100644 (file)
index 93008cc..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.33 
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData=yes
-}
-
-Job {
-  Name = "MonsterSave"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File1
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "VerifyVolume"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-Job {
-  Name = "SparseTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-Job {
-  Name = "CompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="CompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Maximum Concurrent Jobs = 4
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-# Max Run Time = 15 seconds
-}
-
-Job {
-  Name = "SparseCompressedTest"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="SparseCompressedSet"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-# Backup the catalog database (after the nightly save)
-Job {
-  Name = "BackupCatalog"
-  Type = Backup
-  Client=@hostname@-fd 
-  FileSet="Catalog"
-#  Schedule = "WeeklyCycleAfterBackup"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  # This creates an ASCII copy of the catalog
-  RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula"
-  # This deletes the copy of the catalog
-  RunAfterJob  = "@sbindir@/delete_catalog_backup"
-  Write Bootstrap = "@working_dir@/BackupCatalog.bsr"
-}
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include  { Options { signature=MD5 }
-    File = </tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseSet"
-  Include { Options { signature=MD5; sparse=yes }
-    File=</tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "CompressedSet"
-  Include {
-    Options { signature=MD5; compression=GZIP }
-    File =</tmp/file-list
-  }
-}
-
-FileSet {
-  Name = "SparseCompressedSet"
-  Include {
-    Options {
-      signature=MD5; compression=GZIP
-    }
-    File= </tmp/file-list
-  }
-}
-
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# This schedule does the catalog. It starts after the WeeklyCycle
-Schedule {
-  Name = "WeeklyCycleAfterBackup"
-  Run = Full sun-sat at 1:10
-}
-
-# This is the backup of the catalog
-FileSet {
-  Name = "Catalog"
-  Include { Options { signature=MD5 }
-     File=/home/kern/bacula/regress/bin/working/bacula.sql
-  }
-}
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-  Maximum Concurrent Jobs = 4
-}
-
-Storage {
-  Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage1
-  Media Type = File1
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Definition of DLT tape storage device
-#Storage {
-#  Name = DLTDrive
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = "HP DLT 80"                # must be same as Device in Storage daemon
-#  Media Type = DLT8000                # must be same as MediaType in Storage daemon
-#}
-
-# Definition of DDS tape storage device
-#Storage {
-#  Name = SDT-10000
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-#  Device = SDT-10000                  # must be same as Device in Storage daemon
-#  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-#}
-
-# Definition of 8mm tape storage device
-#Storage {
-#  Name = "8mmDrive"
-#  Address = @hostname@                # N.B. Use a fully qualified name here
-#  SDPort = 8103
-#  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-#  Device = "Exabyte 8mm"
-#  MediaType = "8mm"
-#}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-Messages {
-  Name = NoEmail
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  console = all, !skipped, !terminate
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/win32/scripts/test-bacula-fd.conf.in b/regress/win32/scripts/test-bacula-fd.conf.in
deleted file mode 100644 (file)
index 1879119..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# Default  Bacula File Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# There is not much to change here except perhaps the
-# File daemon Name to
-#
-
-#
-# List Directors who are permitted to contact this File daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-}
-
-#
-# "Global" File daemon configuration specifications
-#
-FileDaemon {                          # this is me
-  Name = @hostname@-fd
-  FDport = 8102                  # where we listen for the director
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  SubSys Directory = "@subsysdir@"
-}
-
-# Send all messages except skipped files back to Director
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/test-bacula-sd.conf.in b/regress/win32/scripts/test-bacula-sd.conf.in
deleted file mode 100644 (file)
index 390e0fb..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# Default Bacula Storage Daemon Configuration file
-#
-#  For Bacula release 1.33
-#
-# You may need to change the name of your tape drive
-#   on the "Archive Device" directive in the Device
-#   resource.  If you change the Name and/or the 
-#   "Media Type" in the Device resource, please ensure
-#   that dird.conf has corresponding changes.
-#
-
-Storage {                             # definition of myself
-  Name = @hostname@-sd
-  SDPort = 8103                  # Director's port      
-  WorkingDirectory = "@working_dir@"
-  Pid Directory = "@piddir@"
-  Subsys Directory = "@subsysdir@"
-}
-
-#
-# List Directors who are permitted to contact Storage daemon
-#
-Director {
-  Name = @hostname@-dir
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-}
-
-#
-# Devices supported by this Storage daemon
-# To connect, the Director's bacula-dir.conf must have the
-#  same Name and MediaType. 
-#
-
-Device {
-  Name = FileStorage
-  Media Type = File
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabelled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-# Maximum File Size = 10KB
-}
-
-Device {
-  Name = FileStorage1
-  Media Type = File1
-  Archive Device = @tmpdir@
-  LabelMedia = yes;                   # lets Bacula label unlabelled media
-  Random Access = Yes;
-  AutomaticMount = yes;               # when device opened, read it
-  RemovableMedia = no;
-  AlwaysOpen = no;
-}
-
-
-#Device {
-#  Name = "HP DLT 80"
-#  Media Type = DLT8000
-#  Archive Device = /dev/nst0
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = yes;
-#  RemovableMedia = yes;
-#}
-
-#Device {
-#  Name = SDT-7000                     # 
-#  Media Type = DDS-2
-#  Archive Device = /dev/nst0
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = yes;
-#  RemovableMedia = yes;
-#}
-
-#Device {
-#  Name = Floppy
-#  Media Type = Floppy
-#  Archive Device = /mnt/floppy
-#  RemovableMedia = yes;
-#  Random Access = Yes;
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = no;
-#}
-
-#
-# A very old Exabyte with no end of media detection
-#
-#Device {
-#  Name = "Exabyte 8mm"
-#  Media Type = "8mm"
-#  Archive Device = /dev/nst0
-#  Hardware end of medium = No;
-#  AutomaticMount = yes;               # when device opened, read it
-#  AlwaysOpen = Yes;
-#  RemovableMedia = yes;
-#}
-
-# 
-# Send all messages to the Director, 
-# mount messages also are sent to the email address
-#
-Messages {
-  Name = Standard
-  director = @hostname@-dir = all, !terminate
-}
diff --git a/regress/win32/scripts/test-console.conf.in b/regress/win32/scripts/test-console.conf.in
deleted file mode 100644 (file)
index 0fe916b..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Bacula User Agent (or Console) Configuration File
-#
-
-Director {
-  Name = @hostname@-dir
-  DIRport = 8101
-  address = @hostname@
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-}
diff --git a/regress/win32/scripts/testa-bacula-dir.conf.in b/regress/win32/scripts/testa-bacula-dir.conf.in
deleted file mode 100644 (file)
index 1cbd9a3..0000000
+++ /dev/null
@@ -1,147 +0,0 @@
-#
-# TestA   Bacula Director Configuration file
-#
-#  For Bacula release 1.30 (12 April 2003) -- redhat 7.3
-#
-
-Director {                            # define myself
-  Name = @hostname@-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  SubSysDirectory = "@subsysdir@"
-  Maximum Concurrent Jobs = 1
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
-  Messages = Standard
-}
-
-
-Job {
-  Name = "MultiVol"
-  Type = Backup
-  Client=@hostname@-fd 
-  Level = Full
-  FileSet="Full Set"
-  Storage = File 
-  Messages = Standard
-  Write Bootstrap = "@working_dir@/SmallVols.bsr"
-  Pool = SmallVols
-  SpoolData = yes
-}
-
-
-Job {
-  Name = "VerifyVolume"
-  Type = Verify
-  Level = VolumeToCatalog
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-}
-
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=@hostname@-fd 
-  FileSet="Full Set"
-  Storage = File
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Include { Options { signature=SHA1 }
-    File =</tmp/file-list
-  }
-}
-
-
-# Client (File Services) to backup
-Client {
-  Name = @hostname@-fd
-  Address = @hostname@
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-}
-
-# Definiton of file storage device
-Storage {
-  Name = File
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage
-  Media Type = File
-}
-
-Storage {
-  Name = File1
-  Address = @hostname@                # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
-  Device = FileStorage1
-  Media Type = File1
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate
-
-  append = "@working_dir@/log" = all, !skipped
-}
-
-Messages {
-  Name = NoEmail
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  console = all, !skipped, !terminate, !restored
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
-
-Pool {
-  Name = SmallVols
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-  Maximum Volumes = 10
-  MaximumVolumeBytes = 10M
-  LabelFormat = Small
-}
diff --git a/regress/win32/scripts/win32-bacula-dir-tape.conf.in b/regress/win32/scripts/win32-bacula-dir-tape.conf.in
deleted file mode 100644 (file)
index 206e000..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
-#
-# Default Bacula Director Configuration file
-#
-#  The only thing that MUST be changed is to add one or more
-#   file or directory names in the Include directive of the
-#   FileSet resource.
-#
-#  For Bacula release 1.39.23
-#
-#  You might also want to change the default email address
-#   from root to your address.  See the "mail" and "operator"
-#   directives in the Messages resource.
-#
-
-Director {                            # define myself
-  Name = localhost-dir
-  DIRport = 8101                # where we listen for UA connections
-  QueryFile = "@scriptdir@/query.sql"
-  WorkingDirectory = "@working_dir@"
-  PidDirectory = "@piddir@"
-  Maximum Concurrent Jobs = 4
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  Messages = Daemon
-}
-
-#
-# Define the main nightly save backup job
-#   By default, this job will back up to disk in /tmp
-Job {
-  Name = "NightlySave"
-  Type = Backup
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Write Bootstrap = "@working_dir@/NightlySave.bsr"
-  Maximum Concurrent Jobs = 4
-  SpoolData = yes
-}
-
-
-# Standard Restore template, to be changed by Console program
-Job {
-  Name = "RestoreFiles"
-  Type = Restore
-  Client=Tibs
-  FileSet="Full Set"
-  Storage = DDS-4
-  Messages = Standard
-  Pool = Default
-  Where = /tmp/bacula-restores
-}
-
-
-# List of files to be backed up
-FileSet {
-  Name = "Full Set"
-  Enable VSS = yes
-  Include { Options { signature=MD5; portable=no  
-      compression=GZIP }
-#   File =  "c:/cygwin"   # big   
-    File =  "c:/cygwin/home/kern/bacula/k"
-  }
-}
-
-
-#
-# When to do the backups, full backup on first sunday of the month,
-#  differential (i.e. incremental since full) every other sunday,
-#  and incremental backups other days
-Schedule {
-  Name = "WeeklyCycle"
-  Run = Full 1st sun at 1:05
-  Run = Differential 2nd-5th sun at 1:05
-  Run = Incremental mon-sat at 1:05
-}
-
-# Client (File Services) to backup
-Client {
-  Name = Tibs
-  Address = tibs
-  FDPort = 9102
-  Catalog = MyCatalog
-  Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-Client {
-  Name = localhost-fd
-  Address = localhost
-  FDPort = 8102
-  Catalog = MyCatalog
-  Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
-  File Retention = 30d                # 30 days
-  Job Retention = 180d                # six months
-  AutoPrune = yes                     # Prune expired Jobs/Files
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Definition of DDS tape storage device
-Storage {
-  Name = DDS-4
-  Address = 192.168.68.112            # N.B. Use a fully qualified name here
-  SDPort = 8103
-  Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"          # password for Storage daemon
-  Device = DDS-4                      # must be same as Device in Storage daemon
-  Media Type = DDS-4                  # must be same as MediaType in Storage daemon
-  AutoChanger = yes
-  Maximum Concurrent Jobs = 4
-}
-
-
-# Generic catalog service
-Catalog {
-  Name = MyCatalog
-  dbname = bacula; user = bacula; password = ""
-}
-
-# Reasonable message delivery -- send most everything to email address
-#  and to the console
-Messages {
-  Name = Standard
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
-  operatorcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
-  MailOnError = @job_email@ = all, !terminate
-  operator = @job_email@ = mount
-  console = all, !skipped, !terminate, !restored
-#
-# WARNING! the following will create a file that you must cycle from
-#          time to time as it will grow indefinitely. However, it will
-#          also keep all your messages if the scroll off the console.
-#
-  append = "@working_dir@/log" = all, !skipped
-}
-
-#
-# Message delivery for daemon messages (no job).
-Messages {
-  Name = Daemon
-  mailcommand = "@smtp_program@ -h @smtp_host@ -f \"\(Bacula\) %r\" -s \"Bacula daemon message\" %r"
-  mail = @job_email@ = all, !skipped            
-  console = all, !skipped, !saved
-  append = "@working_dir@/log" = all, !skipped
-}
-
-    
-# Default pool definition
-Pool {
-  Name = Default
-  Pool Type = Backup
-  Recycle = yes                       # Bacula can automatically recycle Volumes
-  AutoPrune = yes                     # Prune expired volumes
-  Volume Retention = 365d             # one year
-}
diff --git a/regress/win32/scripts/win32_tape_options b/regress/win32/scripts/win32_tape_options
deleted file mode 100644 (file)
index 601eb82..0000000
+++ /dev/null
@@ -1 +0,0 @@
-# nothing needed for Linux
diff --git a/regress/win32/tests/2drive-incremental-2disk.1.bscr b/regress/win32/tests/2drive-incremental-2disk.1.bscr
deleted file mode 100644 (file)
index 64f7792..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=1
-status storage=DDS-4
-@#setdebug level=120 storage=DDS-4
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-@sleep 3
-status storage=DDS-4
-wait
-list volumes
-list jobs
-status storage=DDS-4
-messages
-quit
diff --git a/regress/win32/tests/2drive-incremental-2disk.2.bscr b/regress/win32/tests/2drive-incremental-2disk.2.bscr
deleted file mode 100644 (file)
index a397754..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-status storage=DDS-4
-@#setdebug level=120 storage=DDS-4
-run level=Incremental job=NightlySave yes
-wait
-list volumes
-status storage=DDS-4
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores 
-7
-<@topdir@/tmp/restore-list
-
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/2drive-incremental-2disk.cmd b/regress/win32/tests/2drive-incremental-2disk.cmd
deleted file mode 100644 (file)
index c8c33a8..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then create some           
-REM   new files, do an Incremental and restore those two files.
-REM
-REM This script uses the virtual disk autochanger and two drives
-REM
-SET TestName=2drive-incremental-2disk
-SET JobName=2drive2disk
-
-CALL config_out
-CALL scripts\functions set_debug 0
-
-CALL scripts\cleanup
-CALL scripts\copy-2disk-drive-confs >nul 2>&1
-CALL scripts\prepare-two-disks
-
-CALL scripts\functions change_jobname localhost-fd %JobName%
-CALL scripts\functions start_test
-
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-IF NOT EXIST tmp\build MKDIR tmp\build
-COPY build\src\dird\*.c tmp\build >nul 2>&1
-
-ECHO %CD:\=/%/tmp/build/ficheriro1.txt>tmp\restore-list
-ECHO %CD:\=/%/tmp/build/ficheriro2.txt>>tmp\restore-list
-
-REM Turn off Prefer Mounted Volumes so we use2 drives
-COPY bin\bacula-dir.conf tmp\1 >nul 2>&1
-REM Comment the next line out to write everything to one drive
-REM  otherwise, it writes the two jobs to different drives
-sed -e "s;# Prefer Mounted Volumes;  Prefer Mounted Volumes;g" tmp\1 >bin\bacula-dir.conf
-
-REM Write out bconsole commands
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\2drive-incremental-2disk.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-ECHO ficheriro1.txt >tmp\build\ficheriro1.txt
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\2drive-incremental-2disk.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=DDS-4
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-REM The restore should read from TestVolume002, which was on drive 1
-grep TestVolume002 tmp\log2.out >nul 2>&1
-IF %ERRORLEVEL% NEQ 0 SET rstat=%ERRORLEVEL%
-
-REM
-REM Delete .c files because we will only restored the txt files
-REM
-DEL tmp\build\*.c
-CALL scripts\functions check_restore_tmp_build_diff
-
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/2drive-incremental-2tape b/regress/win32/tests/2drive-incremental-2tape
deleted file mode 100644 (file)
index a301c1c..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-# This script uses the autochanger and two tapes
-#
-. config.out
-if test x${TAPE_DRIVE1} = x/dev/null ; then
-   echo "Skipping 2drive-incremenatal-2tape test. No second drive."
-   exit
-fi
-TestName="2drive-incremental-2tape"
-JobName="2drive2tape"
-. scripts/functions
-set_debug 0
-
-cwd=`pwd`
-
-scripts/copy-2drive-confs
-scripts/cleanup-2drive
-
-change_jobname localhost-fd $JobName
-
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-# Turn off Prefer Mounted Volumes so we use 2 drives
-outf="tmp/sed_tmp"
-echo "s%# Prefer Mounted Volumes%  Prefer Mounted Volumes%g" >${outf}
-cp ${cwd}/bin/bacula-dir.conf ${cwd}/tmp/1
-# Comment the next line out to write everything to one drive
-#  otherwise, it writes the two jobs to different drives
-sed -f ${outf} ${cwd}/tmp/1 >${cwd}/bin/bacula-dir.conf
-
-start_test
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=1
-@#setdebug level=100 storage=DDS-4
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-run job=NightlySave yes
-@sleep 3
-status storage=DDS-4
-wait
-list volumes
-list jobs
-status storage=DDS-4
-messages
-quit
-END_OF_DATA
-
-run_bacula
-
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-status storage=DDS-4
-@#setdebug level=400 storage=DDS-4
-run level=Incremental job=NightlySave yes
-wait
-list volumes
-status storage=DDS-4
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores 
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-check_restore_tmp_build_diff
-
-end_test
diff --git a/regress/win32/tests/auto-label-test.bscr b/regress/win32/tests/auto-label-test.bscr
deleted file mode 100644 (file)
index c33c0a6..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-status all
-status all
-list pools
-messages
-@#setdebug level=110 storage=File
-run job=@JobName@ storage=File yes
-list pools
-list volumes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-count
-ls *
-dir *
-find Makefile
-pwd
-lsmark
-estimate
-?
-help
-done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/auto-label-test.cmd b/regress/win32/tests/auto-label-test.cmd
deleted file mode 100644 (file)
index 218ded6..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-REM
-REM  Test if Bacula can automatically create a Volume label.
-REM
-
-SET TestName=auto-label-test
-SET JobName=AutoLabel
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-COPY bin\bacula-dir.conf tmp\1
-sed -e "s;# Label Format;  Label Format;" tmp\1 >bin\bacula-dir.conf
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\auto-label-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/backup-bacula-tape b/regress/win32/tests/backup-bacula-tape
deleted file mode 100644 (file)
index 21d521d..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-# We also use the purge and the relabel commands as
-#   well as a pile of status storage commands.
-#
-TestName="backup-bacula-tape"
-JobName=backuptape
-. scripts/functions
-set_debug 0
-
-scripts/copy-tape-confs
-scripts/cleanup-tape
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-
-# Write out bconsole commands
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-@#setdebug level=200 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-purge volume=TestVolume001
-relabel pool=Default storage=DDS-4 oldVolume=TestVolume001 volume=TestVolume002 slot=0
-purge volume=TestVolume002
-relabel pool=Default storage=DDS-4 oldVolume=TestVolume002 volume=TestVolume001 slot=0
-run job=$JobName yes
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-@sleep 1
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-status storage=DDS-4
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-list volumes
-messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-#
-# Now do a second backup after making a few changes
-#
-touch ${cwd}/build/src/dird/*.c
-echo "test test" > ${cwd}/build/src/dird/xxx
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-list volumes
-run job=$JobName yes
-wait
-list volumes
-messages
-@# 
-@# now do a second restore
-@#
-@$out tmp/log2.out
-list volumes
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-list volumes
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/backup-bacula-test.bscr b/regress/win32/tests/backup-bacula-test.bscr
deleted file mode 100644 (file)
index c6c22e9..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label volume=TestVolume001
-@#setdebug level=100 storage=File
-run job=@JobName@ yes
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-@sleep 1
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-@sleep 1
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-status storage=File
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out  
-restore where=@topdir@/tmp/bacula-restores select all done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/backup-bacula-test.cmd b/regress/win32/tests/backup-bacula-test.cmd
deleted file mode 100644 (file)
index dafec1d..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory
-REM   then restore it.
-REM
-
-SET TestName=backup-bacula-test
-SET JobName=backup
-CALL scripts\functions set_debug 0
-
-CALL scripts\cleanup
-CALL scripts\copy-confs >nul 2>&1
-
-CALL scripts\functions change_jobname Client1 %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\backup-bacula-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/backup-win32-tape b/regress/win32/tests/backup-win32-tape
deleted file mode 100644 (file)
index f6f6c3b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-#
-TestName="backup-win32-tape"
-JobName=backupwintape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-win32-confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=NightlySave yes
-@sleep 10
-status storage=DDS-4
-@sleep 30
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$outt tmp/log2.out
-@#restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-@#yes
-@#wait
-@#messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/bextract-test.bscr b/regress/win32/tests/bextract-test.bscr
deleted file mode 100644 (file)
index 090d518..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-update Volume=TestVolume001 MaxVolBytes=3000000
-@#setdebug level=400 dir
-@#setdebug level=400 storage=File1
-run job=@JobName@ storage=File1 yes
-wait
-messages
-@# 
-@# now build the bsr file
-@#
-@@out@ tmp/log2.out
-restore bootstrap=@topdir@/working/restore.bsr where=@topdir@/tmp/bacula-restores select all storage=File1 done
-no
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/bextract-test.cmd b/regress/win32/tests/bextract-test.cmd
deleted file mode 100644 (file)
index c119764..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory but 
-REM   split the archive into two volumes, then build a BSR with
-REM   the restore command and use bextract to restore the files.
-REM
-SET TestName=bextract-test
-SET JobName=bextract
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\bextract-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-MKDIR %CD%\tmp\bacula-restores
-bin\bextract -b working/restore.bsr -c bin/bacula-sd.conf %CD:\=/%/tmp %CD:\=/%/tmp/bacula-restores 2>&1 >nul
-SET rstat=%ERRORLEVEL%
-grep "^  Termination: *Backup OK" tmp\log1.out 2>&1 >nul
-SET bstat=%ERRORLEVEL%
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/bscan-fast-tape b/regress/win32/tests/bscan-fast-tape
deleted file mode 100644 (file)
index fcb7e92..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then 
-#   do a bscan and restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="bscan-tape"
-JobName=bscantape
-. scripts/functions
-set_debug 1
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-# sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-setdebug level=2 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-echo "Starting Bacula tape writing"
-#bin/btape -c bin/bacula-sd.conf /dev/nst0 <<END_OF_DATA
-#rewind
-#label
-#Test001
-#wr
-#wr
-#wr
-#wr
-#wr
-#wr
-#weof
-#quit
-#END_OF_DATA
-#run_bacula
-#check_for_zombie_jobs storage=DDS-4
-#stop_bacula
-echo "End writing tape"
-
-#
-# now drop and recreate the database
-#
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-echo "Begin attempt to read tape that crashes the system"
-echo "volume=TestVolume001" >tmp/bscan.bsr
-strace -o strace.new bin/bscan -d200 -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4
-exit
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-rm -f  ${cwd}/build/src/lib/dummy
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/bscan-tape b/regress/win32/tests/bscan-tape
deleted file mode 100644 (file)
index 7f7e708..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then 
-#   do a bscan and restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="bscan-tape"
-JobName=bscantape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-estimate job=$JobName listing
-estimate job=$JobName listing
-estimate job=$JobName listing
-messages
-@$out tmp/log1.out
-setdebug level=2 storage=DDS-4
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-run job=$JobName level=Full yes
-wait
-run job=$JobName level=Full yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-
-echo "Backup 1 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/dird/*.c ${cwd}/build/src/dird/*.o
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-   
-#
-# run a second job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-scripts/check_for_zombie_jobs storage=DDS-4
-
-echo "Backup 2 done"
-touch ${cwd}/build/src/dird/*.c
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a third job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-scripts/check_for_zombie_jobs storage=DDS-4
-
-echo "Backup 3 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#echo "abc" > ${cwd}/build/src/lib/dummy
-#
-# run a fourth job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-
-scripts/check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-echo "Backup 4 done"
-#
-# now drop and recreate the database
-#
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-echo "volume=TestVolume001" >tmp/bscan.bsr
-bin/bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4 2>&1 >/dev/null
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-rm -f  ${cwd}/build/src/lib/dummy
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/bscan-test.1.bscr b/regress/win32/tests/bscan-test.1.bscr
deleted file mode 100644 (file)
index 2ed6803..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=File1
-TestVolume001
-label storage=File1
-TestVolume002
-update Volume=TestVolume001 MaxVolBytes=3000000
-run job=@JobName@ storage=File1
-yes
-wait
-messages
-@@out@ nul
-@#
-@# now purge the Volume
-@#
-purge volume=TestVolume001
-purge volume=TestVolume002
-delete volume=TestVolume001
-yes
-delete volume=TestVolume002
-yes
-messages
-quit
diff --git a/regress/win32/tests/bscan-test.2.bscr b/regress/win32/tests/bscan-test.2.bscr
deleted file mode 100644 (file)
index 9e80679..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log2.out
-@# 
-@# now do a restore
-@#
-@#setdebug level=400 storage=File1
-restore bootstrap=@topdir@/tmp/bscan.bsr where=@topdir@/tmp/bacula-restores select all storage=File1 done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/bscan-test.cmd b/regress/win32/tests/bscan-test.cmd
deleted file mode 100644 (file)
index 5b71db8..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory but 
-REM   split the archive into two volumes then bscan it
-REM   into the catalog after the backup. It also to a limited
-REM   extent tests the purge volume and delete volume commands.
-REM
-
-SET TestName=bscan-test
-SET JobName=bscan
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\bscan-test.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-ECHO volume=TestVolume001^|TestVolume002 >tmp\bscan.bsr
-
-IF %debug% EQU 1 (
-   bin\bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf %CD:\=/%/tmp | tools\tee tmp\log.out
-) ELSE (
-   bin\bscan -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf %CD:\=/%/tmp >nul 2>&1
-)
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\bscan-test.2.bscr >tmp\bconcmds
-
-REM now run restore
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/bsr-opt-test.bscr b/regress/win32/tests/bsr-opt-test.bscr
deleted file mode 100644 (file)
index 1f0576b..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-update Volume=TestVolume001 MaxVolBytes=3000000
-run job=@JobName@ storage=File1 yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore bootstrap=@topdir@/working/restore.bsr where=@topdir@/tmp/bacula-restores select storage=File1
-unmark *
-cd @topdir@/build/src/cats
-mark *
-ls
-done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/bsr-opt-test.cmd b/regress/win32/tests/bsr-opt-test.cmd
deleted file mode 100644 (file)
index 9f816ab..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory but 
-REM   split the archive into two volumes, then restore
-REM   files on only one of the volumes and ensure that
-REM   the other volume is not used.  I.e. bsr optimization
-REM   works.
-REM
-SET TestName=bsr-opt-test
-SET JobName=bsr-opt
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\bsr-opt-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-REM
-REM This test is not really reliable. What we want to do is
-REM   to select files on only one Volume, then insure here
-REM   that only one Volume is chosen.
-REM
-grep TestVolume002 working\restore.bsr >nul 2>&1
-SET bsrstat=%ERRORLEVEL%
-CALL scripts\functions check_two_logs
-
-diff -r build\src\cats tmp\bacula-restores\%CD::=%\build\src\cats >nul 2>&1
-SET /A errcount = %bsrstat% + %bstat% + %rstat%
-IF %errcount% NEQ 0 (
-   ECHO.
-   ECHO.
-   ECHO   !!!!! bsr-opt-test Bacula source failed!!! !!!!! 
-   ECHO   !!!!! bsr-opt-test failed!!! !!!!!  >>test.out
-
-   SET /A errcount = %bstat% + %rstat%
-   IF %errcount% NEQ 0 (
-      ECHO   !!!!! Bad Job termination status     !!!!! 
-      ECHO   !!!!! Bad Job termination status     !!!!!  >>test.out
-   ) ELSE IF %bsrstat% NEQ 0 (
-      ECHO   !!!!! Volume selection error         !!!!! 
-      ECHO   !!!!! Volume selection error         !!!!!  >>test.out
-   ) ELSE (
-      ECHO   !!!!! Restored files differ          !!!!! 
-      ECHO   !!!!! Restored files differ          !!!!!  >>test.out
-   )
-   ECHO.
-) ELSE (
-   ECHO   ===== bsr-opt-test Bacula source OK %TIME% ===== 
-   ECHO   ===== bsr-opt-test OK %TIME% =====  >>test.out
-   CALL scripts\cleanup
-)
diff --git a/regress/win32/tests/btape-fill-full-tape b/regress/win32/tests/btape-fill-full-tape
deleted file mode 100644 (file)
index f4ba59f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# Test the fill command in btape
-#
-TestName="btape-fill-full-tape"
-JobName=AutoLabel
-. scripts/functions
-set_debug 0
-
-scripts/copy-tape-confs
-scripts/cleanup-tape
-
-change_jobname $JobName
-start_test
-
-bin/btape -c bin/bacula-sd.conf DDS-4 <<END_OF_DATA 2>&1 >tmp/log1.out
-fill
-s
-
-quit
-END_OF_DATA
-
-
-grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  !!!!! btape fill test failed!!! !!!!! "
-   echo "  !!!!! btape fill test failed!!! !!!!! " >>test.out
-   echo " "
-else
-   echo "  ===== btape fill test OK ===== "
-   echo "  ===== btape fill test OK ===== " >>test.out
-#  scripts/cleanup
-fi
diff --git a/regress/win32/tests/btape-fill-tape b/regress/win32/tests/btape-fill-tape
deleted file mode 100644 (file)
index b3fb4e5..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# Test the fill command in btape
-#
-TestName="btape-fill-tape"
-JobName=filltape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# MaximumVolumeSize%  MaximumVolumeSize%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-fill
-s
-quit
-END_OF_DATA
-
-run_btape DDS-4
-
-grep "^The last block on the tape matches\. Test succeeded\." tmp/log1.out 2>&1 >/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  !!!!! btape fill test failed!!! !!!!! "
-   echo "  !!!!! btape fill test failed!!! !!!!! " >>test.out
-   echo " "
-else
-   echo "  ===== btape fill test OK ===== "
-   echo "  ===== btape fill test OK ===== " >>test.out
-#  scripts/cleanup
-fi
diff --git a/regress/win32/tests/compressed-test.bscr b/regress/win32/tests/compressed-test.bscr
deleted file mode 100644 (file)
index d46459f..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-@output
-messages
-@@out@ tmp/log1.out
-status all
-status all
-messages
-label storage=File volume=TestVolume001
-run job=@JobName@ storage=File yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/compressed-test.cmd b/regress/win32/tests/compressed-test.cmd
deleted file mode 100644 (file)
index 2097c61..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the compressed option
-REM   then restore it.
-REM
-SET TestName=compressed-test
-SET JobName=compressed
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-      
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\compressed-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/concurrent-jobs-test.bscr b/regress/win32/tests/concurrent-jobs-test.bscr
deleted file mode 100644 (file)
index 1799fd6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-@output nul
-messages
-@@out@  tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ level=Full yes
-run job=@JobName@ level=Full yes
-run job=@JobName@ level=Full yes
-run job=@JobName@ level=Full yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@   tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/concurrent-jobs-test.cmd b/regress/win32/tests/concurrent-jobs-test.cmd
deleted file mode 100644 (file)
index 9c36b48..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-REM
-REM Run two jobs at the same time
-REM
-
-SET TestName=concurrent-jobs-test
-SET JobName=concurrent-jobs
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/tmp/largefile >\tmp\file-list
-ECHO Creating a 50MB file with bacula-dir data ...
-tools\dd if=bin/bacula-dir.exe of=%CD:\=/%/tmp/1 bs=1024 count=512 >nul 2>&1
-COPY /b %CD%\tmp\1+%CD%\tmp\1+%CD%\tmp\1+%CD%\tmp\1 %CD%\tmp\2 >nul 2>&1
-DEL %CD%\tmp\1
-COPY /b %CD%\tmp\2+%CD%\tmp\2+%CD%\tmp\2+%CD%\tmp\2+%CD%\tmp\2 %CD%\tmp\3 >nul 2>&1
-DEL %CD%\tmp\2
-COPY /b %CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3 %CD%\tmp\largefile >nul 2>&1
-DEL %CD%\tmp\3
-
-ECHO largefile created
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-     
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\concurrent-jobs-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-diff tmp\largefile  tmp\bacula-restores\%CD::=%\tmp\largefile >nul 2>&1
-SET dstat=%ERRORLEVEL%
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/dev-test-root b/regress/win32/tests/dev-test-root
deleted file mode 100644 (file)
index 26ae6fe..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-MUID=`/usr/bin/id -u`
-if [ $MUID != 0 ] ; then
-   echo " "
-   echo "You must be root to run this test."
-   echo "  ===== !!!! dev-test-root not run !!!! ===== "
-   echo "  ===== !!!! dev-test-root not run !!!! ===== " >>test.out
-   echo " "
-   exit 1
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "/dev" >/tmp/file-list
-
-echo " "
-echo " "
-echo " ===     Starting dev-test-root test       ==="
-echo " "
-echo " ===  Note, this test can fail for trivial ==="
-echo " ===  reasons on non-Linux systems.        ==="
-echo " "
-echo " "
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File volume=TestVolume001
-run job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test dev >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test dev >${cwd}/tmp/restored
-cd ${cwd}/tmp
-#
-# Use sed to cut out parts that *always* change
-#
-cat >sed.scr <<END_OF_DATA
-s%.*dev$%dev%
-s%.*[0-9][0-9]:[0-9][0-9]:[0-9][0-9] dev/ptmx%dev/ptmx%
-s%.*[0-9][0-9]:[0-9][0-9]:[0-9][0-9] dev/ttyp1%dev/ttyp1%
-s%.*[0-9][0-9]:[0-9][0-9]:[0-9][0-9] dev/null%dev/null%
-END_OF_DATA
-
-# strip file system change messages then sed and sort
-grep -v "Skip: File system change prohibited." original >1
-sed -f sed.scr 1 | sort >original
-#
-mv -f restored 1
-sed -f sed.scr 1 | sort >restored
-rm -f sed.scr
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! dev-test-root failed !!!! ===== "
-   echo "  ===== !!!! dev-test-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== dev-test-root OK ===== "
-   echo "  ===== dev-test-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/win32/tests/differential-test.1.bscr b/regress/win32/tests/differential-test.1.bscr
deleted file mode 100644 (file)
index 5b23122..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume002
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/differential-test.2.bscr b/regress/win32/tests/differential-test.2.bscr
deleted file mode 100644 (file)
index c8ddb49..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-@# Force differential on the second Volume
-update volume=TestVolume002 VolStatus=Used
-run level=differential job=@JobName@ yes
-wait
-messages
-@@out@
diff --git a/regress/win32/tests/differential-test.3.bscr b/regress/win32/tests/differential-test.3.bscr
deleted file mode 100644 (file)
index 3d2b98e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-run level=incremental job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores storage=File file=<@topdir@/tmp/restore-list
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/differential-test.cmd b/regress/win32/tests/differential-test.cmd
deleted file mode 100644 (file)
index 6ffdff0..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then create some           
-REM   new files, do a differential and restore those two files.
-REM
-SET TestName=differential-test
-SET JobName=differential
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-MKDIR tmp\build
-COPY build\src\dird\*.c tmp\build >nul 2>&1
-
-ECHO %CD:\=/%/tmp/build/ficheriro1.txt>tmp\restore-list
-ECHO %CD:\=/%/tmp/build/ficheriro2.txt>>tmp\restore-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\differential-test.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula  
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO ficheriro1.txt >tmp\build\ficheriro1.txt
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\differential-test.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-CALL scripts\functions check_for_zombie_jobs storage=File
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\differential-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-REM
-REM Delete .c files because we will only restore the txt files
-REM
-DEL tmp\build\*.c
-CALL scripts\functions check_restore_tmp_build_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/eot-fail-tape b/regress/win32/tests/eot-fail-tape
deleted file mode 100644 (file)
index 4907e8d..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#  to two tapes where the maximum tape file size is set to 1M
-#
-TestName="eot-fail-tape"
-JobName=eotfailtape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "${cwd}/build" >/tmp/file-list
-
-out="tmp/sed_tmp"
-echo "s%# Maximum File Size%  Maximum File Size%g" >${out}
-cp -f ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed -f ${out} ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-update Volume=TestVolume001 MaxVolBytes=3000000
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@tee
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/etc-test-root b/regress/win32/tests/etc-test-root
deleted file mode 100644 (file)
index e3a4495..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-MUID=`/usr/bin/id -u`
-if [ $MUID != 0 ] ; then
-   echo " "
-   echo "You must be root to run this test."
-   echo "  ===== !!!! etc-test-root not run !!!! ===== "
-   echo "  ===== !!!! etc-test-root not run !!!! ===== " >>test.out
-   echo " "
-   exit 1
-fi
-echo " "
-echo " "
-echo " === Starting /etc save/restore test ==="
-echo " "
-echo " "
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "/etc" >/tmp/file-list
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File
-TestVolume001
-run job=NightlySave
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select    
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test etc >${cwd}/tmp/1       
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-etc-test etc >${cwd}/tmp/2
-sort <${cwd}/tmp/1 >${cwd}/tmp/original
-sort <${cwd}/tmp/2 >${cwd}/tmp/restored
-rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/null
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! etc-test-root failed !!!! ===== "
-   echo "  ===== !!!! etc-test-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== etc-test-root OK ===== "
-   echo "  ===== etc-test-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/win32/tests/fixed-block-size-tape b/regress/win32/tests/fixed-block-size-tape
deleted file mode 100644 (file)
index 10de2c4..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where we set the minimum and maximum block
-#   sizes.
-#
-TestName="fixed-block-size-tape"
-JobName=fixedblocksize
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-echo "s%# Maximum Block Size%  Maximum Block Size%" >${cwd}/tmp/2
-echo "s%# Minimum Block Size%  Minimum Block Size%" >>${cwd}/tmp/2
-sed -f ${cwd}/tmp/2 ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "!!!! sed problem in Fixed Block Size test !!!!!"
-   echo " "
-   exit 1
-fi
-rm -f ${cwd}/tmp/1 ${cwd}/tmp/2
-
-change_jobname NightlySave $JobName
-start_test
-
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/four-concurrent-jobs-tape b/regress/win32/tests/four-concurrent-jobs-tape
deleted file mode 100644 (file)
index 0d0918f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/sh
-#
-# Run four jobs at the same time
-#
-TestName="four-concurrent-jobs-tape"
-JobName=FourConcurrentJobs
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName level=Full Storage=DDS-4 yes
-run job=$JobName level=Full Storage=DDS-4 yes
-run job=$JobName level=Full Storage=DDS-4 yes
-run job=$JobName level=Full Storage=DDS-4 yes
-@sleep 2
-status dir
-@sleep 5
-status dir
-status storage=DDS-4
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/four-concurrent-jobs-test.bscr b/regress/win32/tests/four-concurrent-jobs-test.bscr
deleted file mode 100644 (file)
index cdae631..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-@output nul
-messages
-@@out@   tmp/log1.out
-label storage=File1
-TestVolume001
-label storage=File1
-TestVolume002
-update Volume=TestVolume001 MaxVolBytes=100000000
-@#50000000
-@#12
-run job=@JobName@ level=Full Storage=File1
-yes
-reload
-run job=@JobName@ level=Full Storage=File1
-yes
-reload
-run job=@JobName@ level=Full Storage=File1
-yes
-reload
-run job=@JobName@ level=Full Storage=File1
-yes
-reload
-reload
-reload
-reload
-@sleep 2
-status dir
-reload
-@sleep 5
-messages
-reload
-reload
-wait
-reload
-messages
-@# 
-@# now do a restore
-@#
-@@out@   tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File1
-unmark *
-mark *
-done
-yes
-wait
-reload
-reload
-messages
-@output
-quit
diff --git a/regress/win32/tests/four-concurrent-jobs-test.cmd b/regress/win32/tests/four-concurrent-jobs-test.cmd
deleted file mode 100644 (file)
index 0530baa..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-REM
-REM Run two jobs at the same time
-REM
-SET TestName=four-concurrent-jobs-test
-SET JobName=Four-concurrent-jobs
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\four-concurrent-jobs-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/four-jobs-tape b/regress/win32/tests/four-jobs-tape
deleted file mode 100644 (file)
index 4252ba2..0000000
+++ /dev/null
@@ -1,153 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then finally restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="four-jobs-tape"
-JobName=fourjobstape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-estimate job=$JobName listing
-estimate job=$JobName listing
-estimate job=$JobName listing
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 1 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/dird/*.c ${cwd}/build/src/dird/*.o
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-   
-#
-# run a second job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 2 done"
-touch ${cwd}/build/src/dird/*.c
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a third job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 3 done"
-# make some files for the incremental to pick up
-touch ${cwd}/build/src/lib/*.c ${cwd}/build/src/lib/*.o
-#
-# run a fourth job
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-run job=$JobName level=Incremental yes
-wait
-messages
-quit
-END_OF_DATA
-if test "$debug" -eq 1 ; then
-  bin/bacula start
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf
-else
-  bin/bacula start 2>&1 >/dev/null
-  cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf  2>&1 >/dev/null
-fi
-
-scripts/check_for_zombie_jobs storage=DDS-4
-echo "Backup 4 done"
-# 
-# now do several restores to ensure we cleanup between jobs
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-@$out tmp/log2.out
-@#
-@# now unmount the tape and start two restores
-@#  at the same time
-@#
-unmount storage=DDS-4
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-restore where=${cwd}/tmp/bacula-restores select
-unmark *
-mark *
-done
-yes
-mount storage=DDS-4
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/four-jobs-test.1.bscr b/regress/win32/tests/four-jobs-test.1.bscr
deleted file mode 100644 (file)
index 462c254..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-@output nul
-estimate job=@JobName@ listing
-estimate job=@JobName@ listing
-estimate job=@JobName@ listing
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/four-jobs-test.2.bscr b/regress/win32/tests/four-jobs-test.2.bscr
deleted file mode 100644 (file)
index 02fdc49..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-@output nul
-messages
-@@out@  tmp/log1.out
-run job=@JobName@
-yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/four-jobs-test.3.bscr b/regress/win32/tests/four-jobs-test.3.bscr
deleted file mode 100644 (file)
index 6da9329..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-@output nul
-messages
-@output tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/four-jobs-test.4.bscr b/regress/win32/tests/four-jobs-test.4.bscr
deleted file mode 100644 (file)
index 6da9329..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-@output nul
-messages
-@output tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/four-jobs-test.5.bscr b/regress/win32/tests/four-jobs-test.5.bscr
deleted file mode 100644 (file)
index 30bf4a7..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-@output nul
-restore where=@topdir@/tmp/bacula-restores select all storage=File done
-yes
-wait
-restore where=@topdir@/tmp/bacula-restores select all storage=File done
-yes
-wait
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/four-jobs-test.cmd b/regress/win32/tests/four-jobs-test.cmd
deleted file mode 100644 (file)
index 7978a7e..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the compressed option
-REM   then backup four times, each with incremental then finally restore.
-REM   It should require at least 4 different bsrs.
-REM
-SET TestName=four-jobs-test
-SET JobName=SpanVol
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >/tmp/file-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\four-jobs-test.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO Backup 1 done
-
-REM make some files for the incremental to pick up
-tools\touch %CD:\=/%/build/src/dird/*.c
-tools\touch %CD:\=/%/build/src/lib/*.c
-   
-REM
-REM run a second job
-REM
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\four-jobs-test.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO Backup 2 done
-
-tools\touch %CD:\=/%/build/src/dird/*.c
-tools\touch %CD:\=/%/build/src/lib/*.c
-
-REM
-REM run a third job
-REM
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\four-jobs-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO Backup 3 done
-
-REM make some files for the incremental to pick up
-tools\touch %CD:\=/%/build/src/lib/*.c
-
-REM
-REM run a fourth job
-REM
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\four-jobs-test.4.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO Backup 4 done
-REM 
-REM now do several restores to ensure we cleanup between jobs
-REM
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\four-jobs-test.5.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/hardlink-test b/regress/win32/tests/hardlink-test
deleted file mode 100644 (file)
index 42e38bc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="hardlink-test"
-JobName=hardlink
-. scripts/functions
-set_debug 0
-
-if test ! -d weird-files ; then
-   echo " "
-   echo "Weird files not configured. Test not run."
-   exit 0
-fi
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-change_jobname NightlySave $JobName
-#
-# Note, we save the weird-files directory twice on purpose
-#  because this causes problems with hard linked files 
-#  that are only saved once.  In 1.33, Bacula now deals
-#  with this situation.
-#
-echo "${cwd}/weird-files" >/tmp/file-list
-echo "${cwd}/weird-files" >>/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File
-TestVolume001
-run job=$JobName    
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=File
-5
-cd ${cwd}/weird-files/subdir
-mark another-hardlink      
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-check_two_logs
-diff ${cwd}/weird-files/subdir/another-hardlink \
-  ${cwd}/tmp/bacula-restores/${cwd}/weird-files/subdir/another-hardlink 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/win32/tests/incremental-2disk.1.bscr b/regress/win32/tests/incremental-2disk.1.bscr
deleted file mode 100644 (file)
index fdbc4a7..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=0
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/incremental-2disk.2.bscr b/regress/win32/tests/incremental-2disk.2.bscr
deleted file mode 100644 (file)
index 76032d1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=Incremental job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores 
-7
-<@topdir@/tmp/restore-list
-
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/incremental-2disk.cmd b/regress/win32/tests/incremental-2disk.cmd
deleted file mode 100644 (file)
index a51fc8a..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then create some           
-REM   new files, do an Incremental and restore those two files.
-REM
-REM This script uses the virtual disk autochanger
-REM
-SET TestName=incremental-2disk
-SET JobName=Inc2disk
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-
-CALL scripts\functions stop_bacula
-
-CALL bin\drop_bacula_tables >nul 2>&1
-CALL bin\make_bacula_tables >nul 2>&1
-CALL bin\grant_bacula_privileges >nul 2>&1
-
-CALL scripts\copy-2disk-confs >nul 2>&1
-CALL scripts\prepare-two-disks
-
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-IF NOT EXIST tmp\build MKDIR tmp\build
-
-COPY build\src\dird\*.c tmp\build >nul 2>&1
-ECHO %CD:\=/%/tmp/build/ficheriro1.txt>tmp\restore-list
-ECHO %CD:\=/%/tmp/build/ficheriro2.txt>>tmp\restore-list
-
-CALL scripts\functions change_jobname %JobName%
-CALL scripts\functions start_test
-
-REM Write out bconsole commands
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-2disk.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-
-ECHO ficheriro1.txt >tmp\build\ficheriro1.txt
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-2disk.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-REM
-REM Delete .c files because we will only restored the txt files
-REM
-DEL tmp\build\*.c
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_tmp_build_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/incremental-2tape.1.bscr b/regress/win32/tests/incremental-2tape.1.bscr
deleted file mode 100644 (file)
index b5fa189..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 Pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 Pool=Default drive=0
-run job=NightlySave yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/incremental-2tape.2.bscr b/regress/win32/tests/incremental-2tape.2.bscr
deleted file mode 100644 (file)
index f57357f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=Incremental job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores 
-7
-<@topdir@/tmp/restore-list
-
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/incremental-2tape.cmd b/regress/win32/tests/incremental-2tape.cmd
deleted file mode 100644 (file)
index 2a646a0..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then create some           
-REM   new files, do an Incremental and restore those two files.
-REM
-REM This script uses the autochanger and two tapes
-REM
-SET TestName=incremental-2tape
-SET JobName=inctwotape
-CALL scripts\functions set_debug 0
-
-CALL config_out
-IF "%AUTOCHANGER%" == "nul" (
-   ECHO incremental-2tape test skipped. No autochanger.
-   EXIT
-)
-
-CALL scripts\functions stop_bacula
-CALL drop_bacula_tables >nul 2>&1
-CALL make_bacula_tables >nul 2>&1
-CALL grant_bacula_privileges >nul 2>&1
-
-CALL scripts\copy-2tape-confs
-CALL scripts\cleanup-2tape
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-IF NOT EXIST tmp\build MKDIR tmp\build
-COPY build\src\dird\*.c tmp\build
-ECHO %CD:\=/%/tmp/build/ficheriro1.txt>tmp\restore-list
-ECHO %CD:\=/%/tmp/build/ficheriro2.txt>>tmp\restore-list
-
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-2tape.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-
-ECHO ficheriro1.txt >tmp\build\ficheriro1.txt
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-2tape.2.bscr >tmp\bconcmds
-CALL scripts\functions run_bconsole
-CALL scripts\bacula stop_bacula
-CALL scripts\bacula check_two_logs
-REM
-REM Delete .c files because we will only restore the txt files
-REM
-DEL tmp\build\*.c
-CALL scripts\bacula check_restore_tmp_build_diff
-CALL scripts\bacula end_test
diff --git a/regress/win32/tests/incremental-tape b/regress/win32/tests/incremental-tape
deleted file mode 100644 (file)
index 3b7264d..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory then create some           
-#   new files, do an Incremental and restore those two files.
-#
-TestName="incremental-tape"
-JobName=IncTape
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/tmp/build" >/tmp/file-list
-if test ! -d ${cwd}/tmp/build ; then
-   mkdir ${cwd}/tmp/build
-fi
-cp -p ${cwd}/build/src/dird/*.c ${cwd}/tmp/build
-cd ${cwd}/tmp
-echo "${cwd}/tmp/build/ficheriro1.txt" >restore-list
-echo "${cwd}/tmp/build/ficheriro2.txt" >>restore-list
-cd ${cwd}
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-
-echo "ficheriro1.txt" >${cwd}/tmp/build/ficheriro1.txt
-echo "ficheriro2.txt" >${cwd}/tmp/build/ficheriro2.txt
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-run level=Incremental job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=DDS-4
-7
-<${cwd}/tmp/restore-list
-
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-#
-# Delete .c files because we will only restored the txt files
-#
-rm -f tmp/build/*.c
-
-check_two_logs
-check_restore_tmp_build_diff
-end_test
diff --git a/regress/win32/tests/incremental-test.1.bscr b/regress/win32/tests/incremental-test.1.bscr
deleted file mode 100644 (file)
index 9ab38bf..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-label storage=File volume=TestVolume002
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/incremental-test.2.bscr b/regress/win32/tests/incremental-test.2.bscr
deleted file mode 100644 (file)
index f716a02..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-@# Force Incremental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=Differential job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/incremental-test.3.bscr b/regress/win32/tests/incremental-test.3.bscr
deleted file mode 100644 (file)
index c4239dd..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-run level=Incremental job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/incremental-test.4.bscr b/regress/win32/tests/incremental-test.4.bscr
deleted file mode 100644 (file)
index 700afcb..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-run level=Differential job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/incremental-test.5.bscr b/regress/win32/tests/incremental-test.5.bscr
deleted file mode 100644 (file)
index 1f093f1..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-run level=Incremental job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores storage=File file=<@topdir@/tmp/restore-list
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/incremental-test.cmd b/regress/win32/tests/incremental-test.cmd
deleted file mode 100644 (file)
index 3bc0ac9..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then create some           
-REM   new files, do an Incremental and restore those two files.
-REM
-SET TestName=incremental-test
-SET JobName=Incremental 
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/tmp/build>/tmp/file-list
-
-MKDIR tmp\build
-COPY build\src\dird\*.c tmp\build >nul 2>&1
-
-ECHO %CD:\=/%/tmp/build/ficheriro1.txt>tmp\restore-list
-ECHO %CD:\=/%/tmp/build/ficheriro2.txt>>tmp\restore-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-REM
-REM Now create two new files to be restored later
-REM
-bin\bsleep 1
-ECHO ficheriro1.txt >tmp\build\ficheriro1.txt
-COPY tmp\build\dird.c tmp\build\ficheriro2.txt >nul 2>&1
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-bin\bsleep 1
-touch tmp\build\ficheriro1.txt
-touch tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-bin\bsleep 1
-
-COPY tmp\build\ficheriro2.txt tmp\build\1 >nul 2>&1
-sed -e "s;a;b;g" tmp\build\1 >tmp\build\ficheriro2.txt
-DEL tmp\build\1
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.4.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-bin\bsleep 1
-touch tmp\build\ficheriro1.txt
-touch tmp\build\ficheriro2.txt
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-bin\bsleep 1
-touch tmp\build\ficheriro1.txt
-touch tmp\build\ficheriro2.txt
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-
-bin\bsleep 1
-touch tmp\build\ficheriro1.txt
-touch tmp\build\ficheriro2.txt
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-bin\bsleep 1
-touch tmp\build\ficheriro1.txt
-touch tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\incremental-test.5.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-REM
-REM Delete .c files because we will only restored the txt files
-REM
-DEL tmp\build\*.c
-CALL scripts\functions check_restore_tmp_build_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/lib-tape-root b/regress/win32/tests/lib-tape-root
deleted file mode 100644 (file)
index 06289cd..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the /lib directory
-#   then restore it.
-#
-cwd=`pwd`
-bin/bacula stop 2>&1 >/dev/null
-cd bin
-./drop_bacula_tables >/dev/null 2>&1
-./make_bacula_tables >/dev/null 2>&1
-./grant_bacula_privileges 2>&1 >/dev/null
-cd ..
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "/lib" >/tmp/file-list
-echo " "
-echo " "
-echo " === Starting lib-tape-root test ==="
-echo " "
-echo " "
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=DDS-4 Volume=TestVolume001 slot=0
-run job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/restored
-cd ${cwd}/tmp
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% original >1
-sort <1 >original
-#
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% restored >1
-sort <1 >restored
-rm -f 1
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== lib-tape-root failed!!! ===== "
-   echo "  ===== lib-tape-root failed!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== lib-tape-root OK ===== "
-   echo "  ===== lib-tape-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/win32/tests/lib-test-root b/regress/win32/tests/lib-test-root
deleted file mode 100644 (file)
index 4f41954..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-MUID=`/usr/bin/id -u`
-if [ $MUID != 0 ] ; then
-   echo " "
-   echo "You must be root to run this test."
-   echo "  ===== !!!! lib-test-root not run !!!! ===== "
-   echo "  ===== !!!! lib-test-root not run !!!! ===== " >>test.out
-   echo " "
-   exit 1
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-echo "/lib" >/tmp/file-list
-
-echo " "
-echo " "
-echo " === Starting /lib save/restore test ==="
-echo " "
-echo " "
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=File
-TestVolume001
-run job=NightlySave
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select    
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-lib-test lib >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-lib-test lib >${cwd}/tmp/restored
-cd ${cwd}/tmp
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% original >1
-sort <1 >original
-#
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% restored >1
-sort <1 >restored
-rm -f 1
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! lib-test-root failed !!!! ===== "
-   echo "  ===== !!!! lib-test-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== lib-test-root OK ===== "
-   echo "  ===== lib-test-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/win32/tests/migration-job-test.cmd b/regress/win32/tests/migration-job-test.cmd
deleted file mode 100644 (file)
index d851fde..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then migrate it
-REM   to another device.
-REM
-REM This script uses the virtual disk autochanger
-REM
-SET TestName=migration-job-test
-SET JobName=MigrationJobSave
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-migration-confs
-CALL scripts\prepare-two-disks
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM
-REM Note, we first backup into Pool Default, 
-REM          then Migrate into Pool Full. 
-REM              Pool Default uses Storage=File
-REM              Pool Full    uses Storage=DiskChanger
-
-REM Write out bconsole commands
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\migration-job-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/migration-jobspan-test.cmd b/regress/win32/tests/migration-jobspan-test.cmd
deleted file mode 100644 (file)
index e21a19a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then migrate it
-REM   to another device.
-REM
-REM Test migrating a job that spans two Volumes
-REM
-REM This script uses the virtual disk autochanger
-REM
-SET TestName=migration-jobspan-test
-SET JobName=MigrationJobSpanSave
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-migration-confs
-CALL scripts\prepare-two-disks
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-COPY bin\bacula-sd.conf tmp\1
-sed "s;# Maximum File Size;  Maximum File Size;" %CD%\tmp\1 >%CD%\bin\bacula-sd.conf
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM
-REM Note, we first backup into Pool Default, 
-REM          then Migrate into Pool Full. 
-REM              Pool Default uses Storage=File
-REM              Pool Full    uses Storage=DiskChanger
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\migration-jobspan-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/migration-occupancy-test.cmd b/regress/win32/tests/migration-occupancy-test.cmd
deleted file mode 100644 (file)
index d68dac5..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then migrate it
-REM   to another device.
-REM
-REM This script uses the virtual disk autochanger
-REM
-SET TestName=migration-occupancy-test
-SET JobName=MigrationJobSave
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-migration-confs
-CALL scripts\prepare-two-disks
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM
-REM Note, we first backup into Pool Default, 
-REM          then Migrate into Pool Full. 
-REM              Pool Default uses Storage=File
-REM              Pool Full    uses Storage=DiskChanger
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\migration-occupancy-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/migration-time-test.cmd b/regress/win32/tests/migration-time-test.cmd
deleted file mode 100644 (file)
index 473ebe6..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then migrate it
-REM   to another device.
-REM
-REM This script uses the virtual disk autochanger
-REM
-SET TestName=migration-time-test
-SET JobName=MigrationJobSave
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-migration-confs
-CALL scripts\prepare-two-disks
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM
-REM Note, we first backup into Pool Default, 
-REM          then Migrate into Pool Full. 
-REM              Pool Default uses Storage=File
-REM              Pool Full    uses Storage=DiskChanger
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\migration-time-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/migration-volume-test.cmd b/regress/win32/tests/migration-volume-test.cmd
deleted file mode 100644 (file)
index 86505d4..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-REM
-REM Run a backup of the Bacula build directory on two Volumes
-REM   then migrate it to another device.             
-REM
-REM This script uses the virtual disk autochanger
-REM
-SET TestName=migration-volume-test
-SET JobName=MigVolBackup
-
-CALL scripts\functions set_debug 0 
-
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-migration-confs
-CALL scripts\prepare-two-disks
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-REM COPY bin\bacula-sd.conf tmp\1
-REM sed "s;# Maximum File Size;  Maximum File Size;" tmp\1 >bin\bacula-sd.conf
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM
-REM Note, we first backup into Pool Default, 
-REM          then Migrate into Pool Full. 
-REM              Pool Default uses Storage=File
-REM              Pool Full    uses Storage=DiskChanger
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\migration-volume-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/query-test.1.bscr b/regress/win32/tests/query-test.1.bscr
deleted file mode 100644 (file)
index 9ab38bf..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-label storage=File volume=TestVolume002
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/query-test.2.bscr b/regress/win32/tests/query-test.2.bscr
deleted file mode 100644 (file)
index 9e1afb7..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-@# Force differental on the second Volume
-update volume=TestVolume001 VolStatus=Used
-run level=differental job=@JobName@ yes
-wait
-messages
-@output
diff --git a/regress/win32/tests/query-test.3.bscr b/regress/win32/tests/query-test.3.bscr
deleted file mode 100644 (file)
index 266f6a4..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-run level=incremental job=@JobName@ yes
-wait
-messages
-@#
-@# Now do the queries
-@#
-query
-1
-ficheriro1.txt
-query
-2
-@topdir@/tmp/build/
-ficheriro1.txt
-localhost-fd
-query
-6
-TestVolume001
-query
-7
-1
-query
-8
-localhost-fd
-query
-9
-Default
-query
-10
-query
-11
-query
-12
-1
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores storage=File file=<@topdir@/tmp/restore-list
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/query-test.cmd b/regress/win32/tests/query-test.cmd
deleted file mode 100644 (file)
index d919bbe..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory then create some           
-REM   new files, do a Differental then a bunch of query commands
-REM   and finally restore the two files.
-REM
-SET TestName=query-test
-SET JobName=query
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-MKDIR tmp\build
-COPY build\src\dird\*.c tmp\build >nul 2>&1
-ECHO %CD:\=/%/tmp/build/ficheriro1.txt>tmp\restore-list
-ECHO %CD:\=/%/tmp/build/ficheriro2.txt>>tmp\restore-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\query-test.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO ficheriro1.txt >tmp\build\ficheriro1.txt
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\query-test.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-
-ECHO ficheriro2.txt >tmp\build\ficheriro2.txt
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\query-test.3.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-REM
-REM Delete .c files because we will only restored the txt files
-REM
-DEL tmp\build\*.c
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_tmp_build_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/recycle-test.bscr b/regress/win32/tests/recycle-test.bscr
deleted file mode 100644 (file)
index 734cc7e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File1 volume=TestVolume001
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume003
-update Volume=TestVolume001 volretention=10s
-update Volume=TestVolume001 maxvoljobs=1
-update Volume=TestVolume002 volretention=10s
-update Volume=TestVolume002 maxvoljobs=1
-update Volume=TestVolume003 volretention=10s
-update Volume=TestVolume003 maxvoljobs=1
-list volumes
-run job=@JobName@ storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=@JobName@ storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=@JobName@ storage=File1 level=full yes
-wait
-messages
-list volumes
-@sleep 10
-run job=@JobName@ storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=@JobName@ storage=File1 level=full yes
-wait
-messages
-list volumes
-run job=@JobName@ storage=File1 level=full yes
-wait
-messages
-list volumes
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File1
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/recycle-test.cmd b/regress/win32/tests/recycle-test.cmd
deleted file mode 100644 (file)
index b006fe4..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory but 
-REM   create three volumes and do six backups causing the
-REM   volumes to be recycled, and cycling through the volumes
-REM   twice. Tests maxvoljobs and volretention.
-REM
-SET TestName=recycle-test
-SET JobName=Recycle
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\recycle-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/relabel-tape b/regress/win32/tests/relabel-tape
deleted file mode 100644 (file)
index 2a1ce85..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory using the compressed option
-#   then backup four times, each with incremental then finally restore.
-#   It should require at least 4 different bsrs.
-#
-TestName="relabel-tape"
-JobName=Relabeltape
-. scripts/functions
-set_debug 0
-
-scripts/cleanup-tape
-scripts/copy-tape-confs
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName level=Full yes
-wait
-messages
-add pool=Default
-0
-TestVolume002
-@# set status to append
-update volume=TestVolume001
-1
-.
-run job=NightlySave level=Full yes
-@sleep 20
-unmount
-unmount
-purge volume=TestVolume001
-relabel oldvolume=TestVolume001 volume=TestVolume003 slot=0 pool=Default
-list volumes
-mount
-messages
-wait
-run job=$JobName level=Full yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-
-
-echo "Backup done"
-# 
-# now do several restores to ensure we cleanup between jobs
-#
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-@$out tmp/log2.out
-@#
-@# now unmount the tape and start two restores
-@#  at the same time
-@#
-unmount storage=DDS-4
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-restore where=${cwd}/tmp/bacula-restores select
-unmark *
-mark *
-done
-yes
-mount storage=DDS-4
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/restore-by-file-tape b/regress/win32/tests/restore-by-file-tape
deleted file mode 100644 (file)
index 9882795..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where the maximum tape file size is set to 1M
-#   then restore a few files from it.  Note, by setting the maximum 
-#   file size to 1M, it runs very slow. There are about 64 files that
-#   are created during each of the two backups.
-#
-TestName="restore-by-file-tape"
-JobName=restorebyfile
-. scripts/functions
-set_debug 0
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-sed s%\^%${cwd}% ${cwd}/scripts/flist >${cwd}/tmp/restore2-list
-
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-run job=$JobName level=Full yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores storage=DDS-4 file=<${cwd}/tmp/restore2-list
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-dstat=0
-#
-# We need to stop and start Bacula to
-#  test appending to a previously written tape
-#
-for i in `cat ${cwd}/tmp/restore2-list`; do
-   diff $i ${cwd}/tmp/bacula-restores$i
-   if [ $? != 0 ] ; then
-      dstat=1
-   fi
-done
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-run job=$JobName  level=Full yes
-wait
-messages
-@#
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores
-7
-<${cwd}/tmp/restore2-list
-                                                                                        
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-#
-# Bacula was stopped, but we must restart it to
-#  test appending to a previously written tape
-#
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-
-scripts/check_for_zombie_jobs storage=DDS-4
-bin/bacula stop 2>&1 >/dev/null
-for i in `cat ${cwd}/tmp/restore2-list`; do
-   diff $i ${cwd}/tmp/bacula-restores$i
-   if [ $? != 0 ] ; then
-      dstat=1
-   fi
-done
-
-end_test
diff --git a/regress/win32/tests/restore-by-file-test.bscr b/regress/win32/tests/restore-by-file-test.bscr
deleted file mode 100644 (file)
index ad4053a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores storage=File
-7
-<@topdir@/tmp/restore-list
-
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/restore-by-file-test.cmd b/regress/win32/tests/restore-by-file-test.cmd
deleted file mode 100644 (file)
index 6691966..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the compressed option
-REM   then restore it.
-REM
-
-SET TestName=restore-by-file-test
-SET JobName=restorebyfile
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-MKDIR tmp\build
-COPY build\src\dird\*.c tmp\build >nul 2>&1
-DIR /b tmp\build >tmp\1
-sed -e "s;^;%CD:\=/%/tmp/build/;" tmp\1 >tmp\restore-list
-DEL tmp\1
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\restore-by-file-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_tmp_build_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/restore-disk-seek-test.bscr b/regress/win32/tests/restore-disk-seek-test.bscr
deleted file mode 100644 (file)
index a6f4ef6..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-sql
-select * from JobMedia;
-
-restore bootstrap=@topdir@/tmp/rbn.bsr where=@topdir@/tmp/bacula-restores storage=File
-7
-<@topdir@/tmp/restore-list
-
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/restore-disk-seek-test.cmd b/regress/win32/tests/restore-disk-seek-test.cmd
deleted file mode 100644 (file)
index 6fdfdbd..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-REM
-REM Run a backup of the full bacula build directory, but with the
-REM   Maximum File Size set. Then do a restore of a few files to kick in
-REM   disk seeking (not yet enabled), and ensure that the restored files
-REM   match. Even though disk seeking is not yet enabled, this is a good test,
-REM   and once it is enabled, this will test it.
-REM
-SET TestName=restore-disk-seek-test
-SET JobName=restore-disk-seek
-
-CALL scripts\functions set_debug 1
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/tmp/build >\tmp\file-list
-
-IF EXIST tmp\build RD /s /q  tmp\build
-MKDIR tmp\build
-
-REM Copy only the .c files (to be restored)
-REM  set files to "*.c" for all c files
-SET files=ua_tree.c ua_update.c
-REM SET files=*.c
-FOR %%i in ( %files% ) DO COPY build\src\dird\%%i tmp\build >nul 2>&1
-DIR /b tmp\build >tmp\1
-sed -e "s;^;%CD:\=/%/tmp/build/;" tmp\1 >tmp\restore-list
-
-REM At this point restore-list contains the list
-REM  of files we will restore
-DEL tmp\1
-
-REM Now backup *everything* 
-IF EXIST tmp\build RD /s /q  tmp\build
-MKDIR tmp\build
-COPY build\src\dird\* tmp\build >nul 2>&1
-REM Enable MaximumFileSize
-COPY bin\bacula-sd.conf tmp\1 >nul 2>&1
-sed "s;# Maximum File Size;  Maximum File Size;" tmp\1 >bin\bacula-sd.conf
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\restore-disk-seek-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-REM Now setup a control directory of only what we *should* restore
-RD /s /q tmp\build
-MKDIR tmp\build
-FOR %%i in ( %files% ) DO COPY build\src\dird\%%i tmp\build >nul 2>&1
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_tmp_build_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/restore2-by-file-test.bscr b/regress/win32/tests/restore2-by-file-test.bscr
deleted file mode 100644 (file)
index 12d2d8f..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores storage=File file=<@topdir@/tmp/restore2-list
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/restore2-by-file-test.cmd b/regress/win32/tests/restore2-by-file-test.cmd
deleted file mode 100644 (file)
index cba7ea3..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the compressed option
-REM   then restore a few selected files.
-REM
-SETLOCAL ENABLEDELAYEDEXPANSION
-SET TestName=restore2-by-file-test
-SET JobName=restore2byfile
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-sed -e "s;^;%CD:\=/%;" scripts/flist >tmp\restore2-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\restore2-by-file-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-SET dstat=0
-FOR /f %%i IN ( tmp\restore2-list ) DO (
-   SET SUBDIR=%%i
-   diff %%i tmp/bacula-restores/!SUBDIR::=!
-   IF %ERRORLEVEL% NEQ 0 SET dstat=1
-)
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/runscript-test b/regress/win32/tests/runscript-test
deleted file mode 100644 (file)
index 7721262..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-#
-#  Test if Bacula can automatically create a Volume label.
-#
-
-TestName="runscript-test"
-
-. scripts/functions
-set_debug 0
-copy_test_confs
-
-rm -f bin/bacula-dir.conf
-/bin/cp -f scripts/bacula-dir.conf.testrunscript bin/bacula-dir.conf
-
-echo "${cwd}/build" >/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-label volume=TestVolume001
-@#setdebug level=100 storage=File
-@output tmp/log.RUN2.out
-run job=RUN_FD_WARNING yes
-wait
-@sleep 5
-messages
-run job=RUN_ALL_OK yes
-wait
-@sleep 5
-messages
-run job=RUN_FD_FAILED yes
-wait
-@sleep 5
-messages
-run job=RUN_DIR_FAILED yes
-wait
-@sleep 5
-messages
-st dir
-quit
-END_OF_DATA
-
-
-bin/bacula start
-cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf &> tmp/log.RUN1.out
-
-stop_bacula
-
-if grep -q 'dir: BeforeJob: run command "/bin/echo RunBeforeJob"'          tmp/log.RUN1.out   &&
-   grep -q 'fd: ClientRunBeforeJob: ClientRunBeforeJob'                    tmp/log.RUN1.out   &&
-   grep -q 'fd: ClientAfterJob: run command "/bin/echo ClientRunAfterJob'  tmp/log.RUN1.out   &&
-   grep -q 'dir: AfterJob: run command "/bin/echo RunAfterJob'             tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_ALL_OK ok
-else
-   echo "RUN_ALL_OK in error"
-   rstat=1
-fi
-
-if grep -q 'dir: BeforeJob: run command "/bin/false RUN_DIR_FAILED"' tmp/log.RUN1.out   &&
-   grep -q 'dir: BeforeJob: RunAfterFailedJob'                       tmp/log.RUN1.out   &&
-   true # grep -q 'Backup OK -- with warnings'                       tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_DIR_FAILED ok
-else
-   echo "RUN_DIR_FAILED in error"
-   rstat=1
-fi
-
-if grep -q 'fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED1"'  tmp/log.RUN1.out   &&
-   grep -q 'fd: ClientBeforeJob: run command "/bin/false RUN_FD_FAILED2"'  tmp/log.RUN1.out   &&
-   grep -q 'dir: AfterJob: run command "/bin/echo RunAfterFailedJob"'      tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_FD_FAILED ok
-else
-   echo "RUN_FD_FAILED in error"
-   rstat=1
-fi
-
-if grep -q 'fd: ClientBeforeJob: run command "/bin/false RUN_FD_WARNING"' tmp/log.RUN1.out   &&
-   grep -q 'Backup OK -- with warnings'                                   tmp/log.RUN1.out
-then
-   [ "$debug" -eq 1 ] && echo RUN_FD_WARNING ok
-else
-   echo "RUN_FD_WARNING in error"
-   rstat=1
-fi
-
diff --git a/regress/win32/tests/scratch-pool-test.bscr b/regress/win32/tests/scratch-pool-test.bscr
deleted file mode 100644 (file)
index 9170fb7..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Scratch drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Scratch drive=0
-update Volume=TestVolume001 MaxVolBytes=2000000 pool=Scratch drive=0
-update Volume=TestVolume001 inchanger=no pool=Scratch drive=0
-@#setdebug level=200 storage=DDS-4
-llist volume=TestVolume001
-llist volume=TestVolume002
-run job=@JobName@ yes
-wait
-messages
-list volumes
-llist volume=TestVolume001
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/scratch-pool-test.cmd b/regress/win32/tests/scratch-pool-test.cmd
deleted file mode 100644 (file)
index d8e88f4..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory 
-REM  to two tapes where the maximum tape file size is set to 1M
-REM  Note, this test simulates the tape filling and writing to
-REM   the next tape. One minor wrinkle: we create the two tapes
-REM   in the Scratch pool, so they should be switched to the Default
-REM   Pool automatically.
-REM We set TestVolume001 to not in the changer, so the algorithm
-REM   should find TestVolume002 and use it rather than blocking.
-REM
-REM  Note we use the viritual disk autochanger
-REM
-SET TestName=scratch-pool-test
-SET JobName=scratch-pool
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-IF "%AUTOCHANGER%" == "nul" (
-   ECHO two-volume-test skipped. No autochanger.
-   EXIT /b 1
-)
-
-CALL scripts\cleanup
-CALL scripts\copy-2disk-confs >nul 2>&1
-CALL scripts\prepare-two-disks
-ECHO %CD:\=/%/build >\tmp\file-list
-
-COPY bin\bacula-sd.conf tmp\1 >nul 2>&1
-sed -e "s;# Maximum File Size;  Maximum File Size;g" tmp\1 >bin\bacula-sd.conf
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM Write out bconsole commands
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\scratch-pool-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=DDS-4
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/six-vol-test.bscr b/regress/win32/tests/six-vol-test.bscr
deleted file mode 100644 (file)
index e6698df..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-run job=@JobName@ storage=File yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/six-vol-test.cmd b/regress/win32/tests/six-vol-test.cmd
deleted file mode 100644 (file)
index ab3ca05..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-REM
-REM Create a 60MB file with random bytes. Back it up to 6 Volumes
-REM   each constrained to 10MB using the automatic labeling feature.
-REM
-SET TestName=six-vol-test
-SET JobName=SixVol
-
-CALL scripts\functions set_debug 0
-
-CALL scripts\cleanup
-CALL scripts\copy-testa-confs >nul 2>&1
-ECHO %CD:\=/%/tmp/largefile >\tmp\file-list
-
-ECHO Creating a 60MB file with bacula-dir data ...
-tools\dd if=bin/bacula-dir.exe of=%CD:\=/%/tmp/1 bs=1024 count=500 >nul 2>&1
-COPY /b %CD%\tmp\1+%CD%\tmp\1+%CD%\tmp\1+%CD%\tmp\1+%CD%\tmp\1 %CD%\tmp\2 >nul 2>&1
-DEL %CD%\tmp\1
-COPY /b %CD%\tmp\2+%CD%\tmp\2 %CD%\tmp\3 >nul 2>&1
-DEL %CD%\tmp\2
-COPY /b %CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3 %CD%\tmp\4 >nul 2>&1
-COPY /b %CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\3+%CD%\tmp\4 %CD%\tmp\largefile >nul 2>&1
-DEL %CD%\tmp\3 %CD%\tmp\4
-
-CALL scripts\functions change_jobname MultiVol %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\six-vol-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-diff tmp\largefile  tmp\bacula-restores\%CD::=%\tmp\largefile >nul 2>&1
-SET dstat=%ERRORLEVEL%
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/small-file-size-tape b/regress/win32/tests/small-file-size-tape
deleted file mode 100644 (file)
index 9c68cad..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape where the maximum tape file size is set to 1M
-#
-TestName="small-file-size-tape"
-JobName=smallfilesize
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/1
-sed "s%# Maximum File Size%  Maximum File Size%" ${cwd}/tmp/1 >${cwd}/bin/bacula-sd.conf
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-setdebug level=2 storage=DDS-4
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out   tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=DDS-4
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/span-vol-test.bscr b/regress/win32/tests/span-vol-test.bscr
deleted file mode 100644 (file)
index 6ec7c37..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File1 volume=TestVolume004
-label storage=File1 volume=TestVolume003
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume001
-update Volume=TestVolume004 MaxVolBytes=3000000
-update Volume=TestVolume003 MaxVolBytes=3000000
-update Volume=TestVolume002 MaxVolBytes=3000000
-run job=@JobName@ storage=File1 yes
-wait
-list volumes
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File1
-unmark *
-mark *
-done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/span-vol-test.cmd b/regress/win32/tests/span-vol-test.cmd
deleted file mode 100644 (file)
index 52cbaff..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory but 
-REM   split the archive into four volumes, two of which are
-REM   totally full. I.e. make sure that bsr selects all tapes 
-REM   including those fully spanned.
-REM
-SET TestName=span-vol-test
-SET JobName=SpanVol
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\span-vol-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/sparse-compressed-test.bscr b/regress/win32/tests/sparse-compressed-test.bscr
deleted file mode 100644 (file)
index e4d1040..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=SparseCompressedTest yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out   
-restore where=@topdir@/tmp/bacula-restores select all storage=File done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/sparse-compressed-test.cmd b/regress/win32/tests/sparse-compressed-test.cmd
deleted file mode 100644 (file)
index e8b701d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the Sparse option
-REM   then restore it.
-REM
-SET TestName=sparse-compressed-test
-SET JobName=Sparse-conpressed
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\sparse-compressed-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File 
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/sparse-test.bscr b/regress/win32/tests/sparse-test.bscr
deleted file mode 100644 (file)
index b7438e9..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/sparse-test.cmd b/regress/win32/tests/sparse-test.cmd
deleted file mode 100644 (file)
index a8ba5d1..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the Sparse option
-REM   then restore it.
-REM
-SET TestName=sparse-test
-SET JobName=SparseTest
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\sparse-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File 
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/test0.cmd b/regress/win32/tests/test0.cmd
deleted file mode 100644 (file)
index e1824b1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-COPY nul test.out >nul 2>&1
-DEL bin\working\* 2>&1
diff --git a/regress/win32/tests/truncate-bug-tape b/regress/win32/tests/truncate-bug-tape
deleted file mode 100644 (file)
index acfda15..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/sh
-#
-# Test for a tape truncation bug.
-#
-TestName="truncate-bug-tape" 
-JobName=truncatebug
-. scripts/functions
-
-set_debug 0
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out   tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
-@# do a bunch of saves so we have 12 files on the tape
-run job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-run level=Full job=$JobName yes
-@#setdebug level=100 storage=DDS-4
-wait
-messages
-quit
-END_OF_DATA
-
-run_bacula
-scripts/check_for_zombie_jobs storage=DDS-4
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log2.out
-@# 
-@# now do a restore
-@#
-restore where=${cwd}/tmp/bacula-restores storage=DDS-4
-3
-@# select JobId=4 (i.e. file five on the tape)
-4
-cd ${cwd}/build
-@# mark a single file
-mark configure
-done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-
-run_bconsole
-scripts/check_for_zombie_jobs storage=DDS-4
-
-# Now write to tape one more time
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log3.out
-run level=Full job=$JobName yes
-wait
-messages
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-grep "^  Termination: *Backup OK" tmp/log3.out 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/win32/tests/two-jobs-test.1.bscr b/regress/win32/tests/two-jobs-test.1.bscr
deleted file mode 100644 (file)
index 745a2e1..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-setdebug level=15  storage=File
-@output nul
-messages
-@output nul
-estimate job=@JobName@ listing
-estimate job=@JobName@ listing
-estimate job=@JobName@ listing
-messages
-@@out@ tmp/log1.out
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/two-jobs-test.2.bscr b/regress/win32/tests/two-jobs-test.2.bscr
deleted file mode 100644 (file)
index 144ac5f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-run job=@JobName@
-yes
-wait
-messages
-@# 
-@# now do several restores to ensure we cleanup between jobs
-@#
-@output nul
-restore where=@topdir@/tmp/bacula-restores select all storage=File done
-yes
-wait
-restore where=@topdir@/tmp/bacula-restores select all storage=File done
-yes
-wait
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@output
-quit
diff --git a/regress/win32/tests/two-jobs-test.cmd b/regress/win32/tests/two-jobs-test.cmd
deleted file mode 100644 (file)
index 3964e90..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory using the compressed option
-REM   then backup a second time and finally restore it
-REM
-SET TestName=two-jobs-test
-SET JobName=Two-Jobs
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname CompressedTest %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-jobs-test.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File 
-
-ECHO Backup 1 done
-tools\touch build\src\dird\*.c
-
-REM
-REM run a second job
-REM
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-jobs-test.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bconsole
-CALL scripts\functions check_for_zombie_jobs storage=File
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/two-pool-tape b/regress/win32/tests/two-pool-tape
deleted file mode 100644 (file)
index 9da395a..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-#
-# This is Arno's test.  It uses two pools, two tapes, and
-#  an autochanger. Note, the Director has three Pools in its 
-#  conf:  Default, Full, and Inc.  Default is used in the
-#  NightlySave job by default.  What is backed up is what
-#  is in /tmp/file-list, which is by default the Bacula
-#  source code (i.e. the build directory).
-#
-TestName="two-pool-tape"
-JobName=twopooltape
-. scripts/functions
-set_debug 0
-
-. config.out
-if test x${AUTOCHANGER} = x/dev/null ; then
-   echo "two-pool-tape test skipped. No autochanger."
-   exit
-fi
-
-scripts/cleanup
-scripts/copy-2tape-confs
-echo "Prepare two tapes"
-scripts/prepare-two-tapes
-echo "Done prepare two tapes"
-# Make a relatively large backup set 5 x source code directory
-echo "${cwd}/build" >/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-echo "${cwd}/build" >>/tmp/file-list
-
-start_test
-
-# Write out bconsole commands to a file
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Full drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-list volumes
-@# Start job with Client run before and sleep
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-@# wait between starting jobs
-@sleep 60
-@#setdebug level=100 storage=DDS-4
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-@sleep 10
-messages
-@sleep 10
-messages
-@sleep 10
-status storage=DDS-4
-messages
-wait
-list volumes
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-check_restore_diff
-end_test
diff --git a/regress/win32/tests/two-pool-test.bscr b/regress/win32/tests/two-pool-test.bscr
deleted file mode 100644 (file)
index 57b3903..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-@output nul
-messages
-@@out@ tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Full drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-list volumes
-@# Start job with Client run before and sleep
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-run job=NightlySave1 level=Full pool=Default yes
-@# wait between starting jobs
-@sleep 60
-@#setdebug level=100 storage=DDS-4
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-run job=NightlySave2 level=Full pool=Full yes
-@sleep 10
-messages
-@sleep 10
-messages
-@sleep 10
-status storage=DDS-4
-messages
-wait
-list volumes
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/two-pool-test.cmd b/regress/win32/tests/two-pool-test.cmd
deleted file mode 100644 (file)
index e2d9904..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-REM
-REM This is Arno's test.  It uses two pools, two tapes, and
-REM  an autochanger. Note, the Director has three Pools in its 
-REM  conf:  Default, Full, and Inc.  Default is used in the
-REM  NightlySave job by default.  What is backed up is what
-REM  is in /tmp/file-list, which is by default the Bacula
-REM  source code (i.e. the build directory).
-REM
-REM  Note, we use the virtual disk autochanger.
-REM
-SET TestName=two-pool-test
-SET JobName=Two-pool
-
-CALL scripts\functions set_debug 0
-
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-2disk-confs >nul 2>&1
-CALL scripts\prepare-two-disks
-REM Make a relatively large backup set 5 x source code directory
-REM  Reduced to 1 for portable
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions start_test
-
-REM Write out bconsole commands to a file
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-pool-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=DDS-4
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/two-vol-test.bscr b/regress/win32/tests/two-vol-test.bscr
deleted file mode 100644 (file)
index 8de06c5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=File1 volume=TestVolume002
-label storage=File1 volume=TestVolume001
-update Volume=TestVolume002 MaxVolBytes=3000000
-run job=@JobName@ storage=File1 yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select all storage=File1 done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/two-vol-test.cmd b/regress/win32/tests/two-vol-test.cmd
deleted file mode 100644 (file)
index ce59794..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory but 
-REM   split the archive into two volumes
-REM
-SET TestName=two-vol-test
-SET JobName=TwoVol
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-vol-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=File1
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/two-volume-tape.1.bscr b/regress/win32/tests/two-volume-tape.1.bscr
deleted file mode 100644 (file)
index 30ebdf9..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-@@out@ nul
-messages
-@@out@ @topdir@/tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-update Volume=TestVolume001 MaxVolBytes=3000000 pool=Default drive=0
-@#setdebug level=1000 client 
-run job=@JobName@ yes
-wait
-messages
-quit
diff --git a/regress/win32/tests/two-volume-tape.2.bscr b/regress/win32/tests/two-volume-tape.2.bscr
deleted file mode 100644 (file)
index 6af471c..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-@@out@ nul
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/two-volume-tape.cmd b/regress/win32/tests/two-volume-tape.cmd
deleted file mode 100644 (file)
index 62e80ec..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory 
-REM  to two tapes where the maximum tape file size is set to 1M
-REM  Note, this test simulates the tape filling and writing to
-REM   the next tape.
-REM
-SET TestName=two-volume-tape
-SET JobName=twovoltape
-CALL scripts\functions set_debug 0
-
-CALL config_out
-IF "%AUTOCHANGER%" == "nul" (
-   ECHO two-volume-tape test skipped. No autochanger.
-   EXIT /b 1
-)
-
-CALL scripts\cleanup
-CALL scripts\copy-2tape-confs
-CALL scripts\prepare-two-tapes
-ECHO %CD:\=/%/build >\tmp\file-list
-
-COPY bin\bacula-sd.conf tmp\1
-sed -e "s%# Maximum File Size%  Maximum File Size%g" >bin\bacula-sd.conf
-
-CALL scripts\functions change_jobname %JobName%
-CALL scripts\functions start_test
-
-REM Write out bconsole commands
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-volume-tape.1.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=DDS-4
-CALL scripts\functions stop_bacula
-
-mt -f %TAPE_DRIVE% rewind
-mtx -f %AUTOCHANGER% unload
-bin\bsleep 15
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-volume-tape.2.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=DDS-4
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/two-volume-test.bscr b/regress/win32/tests/two-volume-test.bscr
deleted file mode 100644 (file)
index bd08ef3..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=1 pool=Default drive=0
-label storage=DDS-4 volume=TestVolume002 slot=2 pool=Default drive=0
-update Volume=TestVolume001 MaxVolBytes=3000000 pool=Default drive=0
-@#setdebug level=1000 client 
-run job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@@out@ tmp/log2.out
-restore where=@topdir@/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-@@out@
-quit
-
diff --git a/regress/win32/tests/two-volume-test.cmd b/regress/win32/tests/two-volume-test.cmd
deleted file mode 100644 (file)
index 9bfe9c8..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-REM 
-REM  Run a simple backup of the Bacula build directory 
-REM   to two tapes where the maximum tape file size is set to 1M
-REM   Note, this test simulates the tape filling and writing to
-REM    the next tape.
-REM 
-REM   Note we use the viritual disk autochanger
-REM 
-SET TestName=two-volume-test
-SET JobName=TwoVolume
-CALL scripts\functions set_debug 1
-CALL config_out
-
-CALL scripts\cleanup
-CALL scripts\copy-2disk-confs >nul 2>&1
-CALL scripts\prepare-two-disks
-ECHO %CD:\=/%/build >\tmp\file-list
-
-COPY bin\bacula-sd.conf tmp\1
-sed -e "s;# Maximum File Size;  Maximum File Size;g" tmp\1 >bin\bacula-sd.conf
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-REM  Write out bconsole commands
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\two-volume-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-CALL scripts\functions check_for_zombie_jobs storage=DDS-4
-CALL scripts\functions stop_bacula
-
-CALL scripts\functions check_two_logs
-CALL scripts\functions check_restore_diff
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/usr-tape-root b/regress/win32/tests/usr-tape-root
deleted file mode 100644 (file)
index 0f5002d..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the /usr directory
-#   then restore it.
-#
-cwd=`pwd`
-scripts/copy-tape-confs
-scripts/cleanup-tape
-echo "/usr" >/tmp/file-list
-
-echo " "
-echo " "
-echo " === Starting usr-tape-root test ==="
-echo " "
-echo " "
-
-bin/bacula start 2>&1 >/dev/null
-bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
-@output /dev/null
-messages
-@output tmp/log1.out
-label storage=DDS-4 Volume=TestVolume001 slot=0
-run job=NightlySave yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@output tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select all done
-yes
-wait
-messages
-@output
-quit
-END_OF_DATA
-bin/bacula stop 2>&1 >/dev/null
-cd /
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/original
-cd ${cwd}/tmp/bacula-restores
-${cwd}/bin/testls -e ${cwd}/scripts/exclude-usr-test lib >${cwd}/tmp/restored
-cd ${cwd}/tmp
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% original >1
-sort <1 >original
-#
-sed s%.*lib/kbd/consolefonts$%lib/kbd/consolefonts% restored >1
-sort <1 >restored
-rm -f 1
-#
-cd ${cwd}
-diff tmp/original tmp/restored 2>&1 1>/dev/nul
-if [ $? != 0 ] ; then
-   echo " "
-   echo " "
-   echo "  ===== !!!! usr-tape-root failed !!!! ===== "
-   echo "  ===== !!!! usr-tape-root failed !!!! ===== " >>test.out
-   echo " "
-else
-   echo "  ===== usr-tape-root OK ===== "
-   echo "  ===== usr-tape-root OK ===== " >>test.out
-   scripts/cleanup
-fi
diff --git a/regress/win32/tests/verify-vol-tape b/regress/win32/tests/verify-vol-tape
deleted file mode 100644 (file)
index c544bc6..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then verify the catalog.           
-#
-TestName="verify-vol-tape"
-JobName=VerifyVol
-. scripts/functions
-set_debug 0
-
-copy_tape_confs
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-setdebug level=1 storage=DDS-4 sd
-label storage=DDS-4 volume=TestVolume001 pool=Default
-run job=$JobName yes
-wait
-messages
-@# 
-@# now do a verify volume
-@#
-@$out ${cwd}/tmp/original
-run job=VerifyTape pool=Default
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-
-sleep 2
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-grep "^  Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null
-bstat=$?
-grep "^  Termination: *Verify OK" ${cwd}/tmp/original 2>&1 >/dev/null
-rstat=$?
-dstat=0
-end_test
diff --git a/regress/win32/tests/verify-vol-test.bscr b/regress/win32/tests/verify-vol-test.bscr
deleted file mode 100644 (file)
index 8c73bbc..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-@@out@ nul
-messages
-@@out@ tmp/log1.out
-setdebug level=1 storage=File sd
-label storage=File volume=TestVolume001
-run job=@JobName@ yes
-wait
-messages
-@# 
-@# now do a verify volume
-@#
-@@out@ @topdir@/tmp/original
-run job=VerifyVolume
-yes
-wait
-messages
-@@out@
-quit
diff --git a/regress/win32/tests/verify-vol-test.cmd b/regress/win32/tests/verify-vol-test.cmd
deleted file mode 100644 (file)
index 377fb34..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-REM
-REM Run a simple backup of the Bacula build directory
-REM   then verify the catalog.           
-REM
-SET TestName=verify-vol-test
-SET JobName=VerifyVol
-
-CALL scripts\functions set_debug 0
-CALL scripts\functions copy_test_confs
-
-ECHO %CD:\=/%/build >\tmp\file-list
-
-CALL scripts\functions change_jobname NightlySave %JobName%
-CALL scripts\functions start_test
-
-sed -e "s;@JobName@;%JobName%;g" -e "s;@out@;%out%;g" -e "s;@topdir@;%CD:\=/%;g" tests\verify-vol-test.bscr >tmp\bconcmds
-
-CALL scripts\functions run_bacula
-
-bin\bsleep 2
-CALL scripts\functions check_for_zombie_jobs storage=File 
-CALL scripts\functions stop_bacula
-
-grep "^  Termination: *Backup OK" tmp\log1.out 2>&1 >nul
-SET bstat=%ERRORLEVEL%
-grep "^  Termination: *Verify OK" tmp\original 2>&1 >nul
-SET rstat=%ERRORLEVEL%
-SET dstat=0
-CALL scripts\functions end_test
diff --git a/regress/win32/tests/weird-files-test b/regress/win32/tests/weird-files-test
deleted file mode 100644 (file)
index 96fed89..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="weird-files-test"
-JobName=wierd-files
-. scripts/functions
-set_debug 0
-
-if test ! -d weird-files ; then
-   echo " "
-   echo "Weird files not configured. Test not run."
-   exit 0
-fi
-
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-change_jobname NightlySave $JobName
-#
-# Note, we save the weird-files directory twice on purpose
-#  because this causes problems with hard linked files 
-#  that are only saved once.  In 1.33, Bacula now deals
-#  with this situation.
-#
-echo "${cwd}/weird-files" >/tmp/file-list
-echo "${cwd}/weird-files" >>/tmp/file-list
-
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File
-TestVolume001
-run job=$JobName    
-yes
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=${cwd}/tmp/bacula-restores select storage=File
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-${cwd}/bin/testls weird-files | sort >${cwd}/tmp/original
-cd tmp/bacula-restores${cwd}
-${cwd}/bin/testls weird-files | sort >${cwd}/tmp/restored
-cd ${cwd}
-
-check_two_logs
-diff ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 >/dev/null
-dstat=$?
-end_test
diff --git a/regress/win32/tests/weird-files2-test b/regress/win32/tests/weird-files2-test
deleted file mode 100644 (file)
index ec32815..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory
-#   then restore it.
-#
-TestName="weird-files2-test"
-JobName=weird-files2
-. scripts/functions
-set_debug 0
-
-if test ! -d weird-files ; then
-   echo " "
-   echo "weird files not configured. Test not run."
-   exit 0
-fi
-cwd=`pwd`
-scripts/cleanup
-scripts/copy-test-confs
-rm -rf weird-files2
-cp -Rp weird-files weird-files2
-echo "${cwd}/weird-files2" >/tmp/file-list
-
-change_jobname NightlySave $JobName
-start_test
-
-bin/testls weird-files2 >${cwd}/tmp/original
-
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@$out tmp/log1.out
-label storage=File volume=TestVolume001
-run job=$JobName yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=File 
-#
-# Now mess up the a hard link, and a soft link
-#
-cd weird-files2
-rm -f hard-file2
-ln hard-file3 hard-file2
-rm -f soft-file2
-ln -s soft-file3 soft-file2
-cd ${cwd}
-cat <<END_OF_DATA >tmp/bconcmds
-@$out /dev/null
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where= storage=File
-5
-unmark *
-mark *
-done
-yes
-wait
-messages
-@$out
-quit
-END_OF_DATA
-
-run_bconsole
-check_for_zombie_jobs storage=File 
-stop_bacula
-
-bin/testls weird-files2 >${cwd}/tmp/restored
-
-check_two_logs
-diff ${cwd}/tmp/original ${cwd}/tmp/restored 2>&1 >/dev/null
-dstat=$?
-
-end_test
diff --git a/regress/win32/tests/win32-backup-tape b/regress/win32/tests/win32-backup-tape
deleted file mode 100644 (file)
index 3322da8..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-#
-TestName="win32-backup-tape"
-JobName=win32tape
-. scripts/functions
-set_debug 0
-
-scripts/copy-win32-confs
-scripts/cleanup-tape
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_jobname $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default drive=0
-run job=$JobName yes
-@sleep 10
-status storage=DDS-4
-@sleep 30
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=c:/tmp/bacula-restores select all storage=DDS-4 done
-yes
-wait
-messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-# no diff for now
-dstat=0 
-end_test
diff --git a/regress/win32/tests/win32-to-linux-tape b/regress/win32/tests/win32-to-linux-tape
deleted file mode 100644 (file)
index 780c7df..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Run a simple backup of the Bacula build directory 
-#   to a tape then restore it, we do that twice to ensure that
-#   we can correctly append to a tape.
-#
-TestName="win32-to-linux-tape"
-JobName=AutoLabel
-. scripts/functions
-set_debug 1
-
-scripts/copy-win32-confs
-scripts/cleanup-tape
-
-echo "${cwd}/build" >/tmp/file-list
-
-change_job $JobName
-start_test
-
-cat <<END_OF_DATA >tmp/bconcmds
-@output /dev/null
-messages
-@$out tmp/log1.out
-label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default drive=0
-run job=NightlySave yes
-@sleep 10
-status storage=DDS-4
-@sleep 30
-messages
-wait
-messages
-@# 
-@# now do a restore
-@#
-@$out tmp/log2.out
-restore where=/tmp/bacula-restores client=Tibs select all storage=DDS-4 done
-yes
-wait
-messages
-END_OF_DATA
-
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
-
-check_two_logs
-# No diff for the moment
-dstat=0
-end_test