Bacula-users

Re: [Bacula-users] Spool Directory 7.4.0

2016-02-15 07:11:18
Subject: Re: [Bacula-users] Spool Directory 7.4.0
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Dan Langille <dan AT langille DOT org>
Date: Mon, 15 Feb 2016 10:08:36 -0200 (BRST)
I find that spooling occurs in Working Directory not Spool Directory.
Hello Dan: if it's the same log from your other thread your Data Spooling isn't actually enabled (data spooling messages =! from attribute spooling ones).
Is anyone able to reproduce this based on the following incomplete example:

Storage {                             # definition of myself
  Name = File1
  SDPort = 9103                  # Director's port
  WorkingDirectory = "/var/db/bacula"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}


Device {
  Name = FileChgr1-Dev1
  Media Type = File1
  Archive Device = /tmp
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 5

  Spool Directory = /usr/local/bacula
}
Did you restart bacula-sd? (it doest not harm to ask). =)
While the job is running, I see:
Make sure you have SpoolData=yes in your Job, JobDef or Schedule resource (bacula-dir.conf).
# ls -l /usr/local/bacula /var/db/bacula
/usr/local/bacula:
total 0

/var/db/bacula:
total 16
-rw-r-----  1 bacula  bacula    0 Feb 14 17:35 File1.attr.BackupClient1.2016-02-14_17.35.48_06.5.spool
-rw-r-----  1 bacula  bacula  196 Feb 14 17:23 bacula-dir.9101.state
-rw-r-----  1 bacula  bacula    0 Feb 14 17:35 bacula-dir.BackupClient1.2016-02-14_17.35.48_06.63042264.mail
-rw-------  1 bacula  bacula  485 Feb 14 17:35 bacula-dir.conmsg
-rw-r-----  1 root    bacula  196 Feb 14 17:23 bacula-fd.9102.state
-rw-r-----  1 bacula  bacula  196 Feb 14 17:26 bacula-sd.9103.state


Clearly, the .spool file is in the Working Directory.  I'm working off http://www.bacula.org/7.4.x-manuals/en/main/Storage_Daemon_Configuratio.html

-- 
Dan Langille - BSDCan / PGCon
Regards,
--
=======================================================================
Heitor Medrado de Faria  - LPIC-III | ITIL-F |  Bacula Systems Certified Administrator II
Próximas aulas telepresencial ao-vivo - 15 de fevereiro: http://www.bacula.com.br/agenda/
Ministro treinamento e implementação in-company Bacula: http://www.bacula.com.br/in-company/
Ou assista minhas videoaulas on-line: http://www.bacula.com.br/treinamento-bacula-ed/
Site: www.bacula.com.br | Facebook: heitor.faria
========================================================================
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users