From 07daebd6aa15d60d16f8ce0ce00b2ecc63da8836 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 20 Dec 2008 11:12:55 +0000 Subject: [PATCH] Updates git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8197 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/create_sed | 1 + regress/scripts/win32-bacula-dir.conf.in | 22 +++++----------------- regress/tests/copy-job-test | 2 +- regress/tests/migration-job-test | 3 ++- regress/tests/win32-test | 4 +++- regress/weird-files.tar.gz | Bin 1957 -> 2029 bytes 6 files changed, 12 insertions(+), 20 deletions(-) diff --git a/regress/scripts/create_sed b/regress/scripts/create_sed index 9baebcdca3..d78de95aa3 100755 --- a/regress/scripts/create_sed +++ b/regress/scripts/create_sed @@ -72,6 +72,7 @@ echo "s%@bdate@%${bdate}%g" >>${out} echo "s%@libdbi@%${libdbi}%g" >>${out} echo "s%@win32_client@%${WIN32_CLIENT}%g" >>${out} echo "s%@win32_addr@%${WIN32_ADDR}%g" >>${out} +echo "s%@win32_store_addr@%${WIN32_STORE_ADDR}%g" >>${out} echo "s%@win32_file@%${WIN32_FILE}%g" >>${out} echo "s%@win32_port@%${WIN32_PORT}%g" >>${out} echo "s%@win32_password@%${WIN32_PASSWORD}%g" >>${out} diff --git a/regress/scripts/win32-bacula-dir.conf.in b/regress/scripts/win32-bacula-dir.conf.in index d8cbe04407..54bcca711b 100644 --- a/regress/scripts/win32-bacula-dir.conf.in +++ b/regress/scripts/win32-bacula-dir.conf.in @@ -57,7 +57,7 @@ FileSet { Include { Options { signature=MD5; portable=no - compression=GZIP +# compression=GZIP } File = "@win32_file@" } @@ -88,28 +88,16 @@ Client { Maximum Concurrent Jobs = 4 } -Client { - Name = localhost-fd - Address = localhost - FDPort = @fdport@ - 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 +# Definition of File storage device Storage { Name = File - Address = @hostname@-sd # N.B. Use a fully qualified name here + Address = @win32_store_addr@ # N.B. Use a fully qualified name here SDPort = @sdport@ Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" # password for Storage daemon - Device = File # must be same as Device in Storage daemon + Device = FileStorage # must be same as Device in Storage daemon Media Type = File # must be same as MediaType in Storage daemon - AutoChanger = yes +# AutoChanger = yes Maximum Concurrent Jobs = 4 } diff --git a/regress/tests/copy-job-test b/regress/tests/copy-job-test index a157eae40e..7724cac352 100755 --- a/regress/tests/copy-job-test +++ b/regress/tests/copy-job-test @@ -48,7 +48,7 @@ list volumes run job=copy-job yes wait messages -purge volume=FileVolume001 +@#purge volume=FileVolume001 list jobs list volumes wait diff --git a/regress/tests/migration-job-test b/regress/tests/migration-job-test index 2fc38a8509..1115ef0910 100755 --- a/regress/tests/migration-job-test +++ b/regress/tests/migration-job-test @@ -29,7 +29,7 @@ cat <${cwd}/tmp/bconcmds @output messages @$out ${cwd}/tmp/log1.out -setdebug level=100 storage=File +setdebug level=000 storage=File 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 @@ -48,6 +48,7 @@ messages @# purge volume=FileVolume001 list jobs list volumes +list joblog jobid=6 wait @# @# Now do another backup, but level Incremental diff --git a/regress/tests/win32-test b/regress/tests/win32-test index 1e847b4ac8..9f1568b62c 100755 --- a/regress/tests/win32-test +++ b/regress/tests/win32-test @@ -22,6 +22,7 @@ status all status all messages label storage=File volume=TestVolume001 +setdebug level=100 dir run job=$JobName storage=File yes wait messages @@ -29,7 +30,8 @@ messages @# now do a restore @# @$out ${cwd}/tmp/log2.out -restore where=${cwd}/tmp/bacula-restores select storage=File +setdebug level=400 trace=1 client=Tibs +restore where=c:/tmp/xxx select storage=File unmark * mark * done diff --git a/regress/weird-files.tar.gz b/regress/weird-files.tar.gz index 09d1ebd486fdf534076682651a40270ed8c1cd51..0315a5ec453faa77e5a63dc90ed4c56c5f00276d 100644 GIT binary patch literal 2029 zcmY+DX*iU91I34m5wi5OSV}xeNgFPb<)($m7M_ZlCM_s3j5L+Zoh?P0B1vN!+k|9k zd8~04;*~InxfqPdHiNOwFw6aay&vE6?R+>N&bfX^ClQM|_~w)&X3aFMJ%wGisVTe& zU4OMpqsb(36Im^QddljtWlB%DNg1^{%Vhh>2B(bFlkvG^t0X`rexUK3ZuegIL>dS8-#g2k+ZflGEC^-`;S@y61>&jNyF1i ztxhi1Lw^EuB67f;cI`A*JL_9qa~Fxmx+Qr^^zK43^w$vy9nM?w?=TGB+BzouNVhAv z_)561Uco5tPBmJ0qgbyk?n%(Ptra;5Dyoz7kjQMN5bbKni|H@a+w z=ILr0Fk$hd#L>g9^E1^^4ol$V)z(1)`YI4uTu~Rnx)t_tq@n~$Y*0fHMLI^L!$nRb zpZqdw&?neHFg5kwyc}7#h}-~F+squ}zH;DoG62Mc(9r8=+MEY*`|ePd-PD*6cFDoY z_3d)?c0ZXfXsjvkKyG$I-!f&7+z7DC=jrfn-B2bcST0JR_Dn-bK`y1!NTaoxB+wSn zz=4$J?^;%_KZ08V7J+ln6#m_RdZDvUUzZ738)-w8^p@AphknK_%w{8tsJZ@#hBs0w zF}-0x+;1izgf2iYJWGM<11X0f7=t$)A>))W|MG!?=AH=?Rp@y0-5v)G2d>-W;pZN~5{hFm8}4mt z)s_{p=3xVs%VC3eHTEs0<^BLUvW;+zI}1>)sAKm&++l{Urufm2{lHu|Zo*L7OFb%idC2D9{-O2Y)T`_j1ZoQ711^j8y)22&zH}_dVh&6Zi{nn1^H^b)OLf zJ-yXd5(zx)hYq-6`~!sLg;*PtOXvIof^MhF?0WeA0p(%+636@|Fd|AJUA;%EzNSXX67Q@?{ zqV#ai*sZewRDF1J!3bX@RR5&*{qFVozNjqMD_%c8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