Hi, On 5/28/2007 10:12 PM, Doug Breshears wrote: > Hi, > I am having trouble getting data spooling to work, is seems like the > director is completely > ignoring it because it does not say anything about it, failure or no. > Below is what I believe > to be the pertinent data on the system. > The data is long but I think this is more efficient than trying to drag > the info out of me one > question at a time. > > I would appreciate any help I can get here if you can spot where I went > wrong or "drag" > any more info out of me. > > Thanks > Doug Breshears. > > > > Example: With Tape in drive, a backup will write directly to tape, no > data shows up in spool directory, no "spool" references show up in log. > Example: w/o tape in drive the director says to "please mount Volume > ..." and the backup waits until tape is inserted and mounted. > > Bacula Version: 1.39.30
This is not a released version but a beta version. I strongly recommend upgrading to 2.0. > Tape Device: DAT72 > Spool Device: 500GB USB hard drive (mount point /backup) > Spool Directory: /backup/cache > Spool Directory attribs: drwxrwxr-x 2 bacula root 4096 2007-05-25 17:38 > /backup/cache/ > Mount Point Attribs: drwxrwx--- 5 bacula root 4096 2007-05-28 10:11 /backup/ Ok, this looks fine. But s your spool device actually mounted to /backup and has space available? > Director and Storage Daemons have been restarted several times.. > > > Job Definition: (bacula-dir.conf) > ------------------------- > Job { > Name = "Ex1" > JobDefs = "DefaultJob" > Write Bootstrap = "/var/lib/bacula/Ex1.bsr" > Type = Backup > Level = Incremental > Client = Ex1-fd > FileSet = "Full Set" > Storage = DAT-72 > Messages = Standard > Pool = Default > Priority = 10 > Spool Data = yes Good > } > > Device Definition (bacula-sd.conf) > ----------------------------------------- > Device { > Name = DAT-72 > Media Type = Tape > Archive Device = /dev/st0 > AutomaticMount = yes; > AlwaysOpen = no; > RemovableMedia = yes; > RandomAccess = no; > Maximum Spool Size = 400gb; > Maximum Job Spool Size = 300gb; > Spool Directory = /backup/cache; Ok, these three directives look good. > #Offline On Unmount = yes; > ## Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d" > ## Changer Device = /dev/sg0 > ## AutoChanger = yes > ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" > } > > > Test Job run script... > ---------------------------------- > [EMAIL PROTECTED]:/usr/local/sbin# cat trun > cd /etc/bacula > /usr/bin/bconsole << EOF > mount storage=DAT-72 > run job=Ex1 pool=Daily level=Incremental yes > EOF > > > Sample Output Command Line after running test script: > ---------------------------------------------------------- > [EMAIL PROTECTED]:/etc/bacula# trun > Connecting to Director Ex1:9101 > 1000 OK: Ex1-dir Version: 1.39.30 (08 December 2006) > Enter a period to cancel a command. > mount storage=DAT-72 > Automatically selected Catalog: MyCatalog > 3001 OK mount. Device="DAT-72" (/dev/st0) > run job=Ex1 pool=Daily level=Incremental yes > Job queued. JobId=811 > You have messages. > > Message that shows up in bconsole after test script is run > ------------------------------------------------------------ > 28-May 12:56 Ex1-sd: Please mount Volume "Daily-04" on Storage Device > "DAT-72" (/dev/st0) for Job Ex1.2007-05-28_12.56.56 The job is not yet running. When you have Bacula 2.0 setup, and the job actually runs, the output of 'sta sd' will show you if data is spooled; in the top of the output, there is a line for each job showing what it's doing - spooling, despooling, or waiting for despooling. At the bottom is a summary of the space used for spooled data. Actually, I believe this output is present in 1.39.30, too, but you would have to mount a usable tape first... Arno -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users