X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=regress%2Fscripts%2Fbacula-dir-migration.conf.in;h=5c35fe686da0af7f4124c1b24b33d026512f24b4;hb=51177a9062ef493f368995b6ca0c0723fdb1d335;hp=41385283fdd6facefd5d408c23837b727361d175;hpb=21670c06664088d7fa45b24306b0b1232682eb1d;p=bacula%2Fbacula diff --git a/regress/scripts/bacula-dir-migration.conf.in b/regress/scripts/bacula-dir-migration.conf.in index 41385283fd..5c35fe686d 100644 --- a/regress/scripts/bacula-dir-migration.conf.in +++ b/regress/scripts/bacula-dir-migration.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@" @@ -25,7 +25,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 @@ -37,6 +37,7 @@ Job { Write Bootstrap = "@working_dir@/NightlySave.bsr" Maximum Concurrent Jobs = 4 SpoolData = yes + Allow Duplicate Jobs = No # Prefer Mounted Volumes = no } @@ -53,6 +54,7 @@ Job { Maximum Concurrent Jobs = 4 Selection Type = Job Selection Pattern = ".*Save" + Allow Duplicate Jobs = No } Job { @@ -68,6 +70,22 @@ Job { Maximum Concurrent Jobs = 4 Selection Type = Volume Selection Pattern = "File*" + Allow Duplicate Jobs = No +} + +Job { + Name = "copy-uncopied" + Type = Copy + 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 = PoolUncopiedJobs + Allow Duplicate Jobs = No } Job { @@ -82,6 +100,7 @@ Job { Pool = Default Maximum Concurrent Jobs = 4 Selection Type = PoolOccupancy + Allow Duplicate Jobs = No } Job { @@ -96,6 +115,7 @@ Job { Pool = Default Maximum Concurrent Jobs = 4 Selection Type = PoolTime + Allow Duplicate Jobs = No } @@ -110,7 +130,7 @@ Job { Storage = File Messages = Standard Pool = Default - Where = /tmp/bacula-restores + Where = @tmpdir@/bacula-restores } @@ -118,7 +138,7 @@ Job { FileSet { Name = "Full Set" Include { Options { signature=MD5 } - File =