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
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/
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
}
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;
#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
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users