X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=regress%2Fscripts%2Fnew-test-bacula-dir.conf.in;h=38ce5586e36ad80286246f07d5efe88096cc6cf0;hb=ef03f877b1ff24233766a62bea9cee8d6e2d2621;hp=81e520fc23a00a0aa9398b7b3fc99ba09f4efbc2;hpb=bae64f704ebeb4139b729ae9e19c423aae1c3d9c;p=bacula%2Fbacula diff --git a/regress/scripts/new-test-bacula-dir.conf.in b/regress/scripts/new-test-bacula-dir.conf.in index 81e520fc23..38ce5586e3 100644 --- a/regress/scripts/new-test-bacula-dir.conf.in +++ b/regress/scripts/new-test-bacula-dir.conf.in @@ -14,7 +14,7 @@ Director { # define myself Name = @hostname@-dir - DIRport = 8101 # where we listen for UA connections + DIRPort = @dirport@ # where we listen for UA connections QueryFile = "@scriptdir@/query.sql" WorkingDirectory = "@working_dir@" PidDirectory = "@piddir@" @@ -26,7 +26,7 @@ Director { # define myself # # Define the main nightly save backup job -# By default, this job will back up to disk in /tmp +# By default, this job will back up to disk in @tmpdir@ Job { Name = "NightlySave" Type = Backup @@ -41,31 +41,30 @@ Job { } Job { - Name = "Crypto" + Name = "MonsterSave" Type = Backup Client=@hostname@-fd - FileSet="SparseCompressedSet" - Storage = File + FileSet="Full Set" + Storage = File1 Messages = Standard Pool = Default Write Bootstrap = "@working_dir@/NightlySave.bsr" - Maximum Concurrent Jobs = 4 - SpoolData=yes } - Job { - Name = "MonsterSave" + Name = "MonsterFileSet" Type = Backup Client=@hostname@-fd - FileSet="Full Set" - Storage = File1 + FileSet="MonsterFileSet" + Storage = File Messages = Standard Pool = Default + Maximum Concurrent Jobs = 4 Write Bootstrap = "@working_dir@/NightlySave.bsr" } + Job { Name = "VerifyVolume" Type = Verify @@ -113,6 +112,19 @@ Job { Write Bootstrap = "@working_dir@/NightlySave.bsr" } +Job { + Name = "FIFOTest" + Type = Backup + Client=@hostname@-fd + FileSet="FIFOSet" + Storage = File + Messages = Standard + Pool = Default + Write Bootstrap = "@working_dir@/NightlySave.bsr" + ClientRunBeforeJob = "/bin/sleep 60" +} + + # Backup the catalog database (after the nightly save) Job { @@ -125,12 +137,39 @@ Job { Messages = Standard Pool = Default # This creates an ASCII copy of the catalog - RunBeforeJob = "@sbindir@/make_catalog_backup -u bacula" + RunBeforeJob = "@sbindir@/make_catalog_backup -u regress" # 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" @@ -140,7 +179,7 @@ Job { Storage = File Messages = Standard Pool = Default - Where = /tmp/bacula-restores + Where = @tmpdir@/bacula-restores } @@ -148,7 +187,7 @@ Job { FileSet { Name = "Full Set" Include { Options { signature=MD5 } - File =