[Bacula-users] Spooled backup to tape blows away spooler directory after first client...

2007-12-07 Thread David Gardner
Hey guys,

I thought it an artifact last week that the spooler directory was "blown away" 
while having trouble with the tape backup job. It happened again last night 
without any other apparent issues.

The first clients files were spooled to /tmp/BUspool directory then put onto 
tape. The next client tried to spool files to the same directory but it was 
gone and the job failed as did the subsequent client backups. For the record, 
the only difference between the daily and weekly backups is that the Dailies 
are incrementals stored to disk while the weekly is a full backup to tape. All 
jobs use the /tmp/BUspool directory to spool the jobs despite the settings in 
bacula-sd.conf (see below).

I guess I have two questions:
1) Why is the BUspool folder getting "blown away" on spooled tape backups? and
2) How is it the disk-to-disk backups know to spool to the BUspool directory?

-==-=-=-=-=-=-=-===-=-=-=-=-=--=-=
#
# Bacula Storage Daemon Configuration file
#
#  For Bacula release 2.2.5 (09 October 2007) -- redhat (Zod)
#

Storage {
  Name = DURANGO-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = "/var/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}


#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = DURANGO-dir
  Password = ".."
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = DURANGO-mon
  Password = ".."
  Monitor = yes
}


#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

Device {
Name = FileStorage
Media Type = File
Archive Device = /tmp
LabelMedia = yes;   # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes;   # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}

#
# An HP DAT72e USB tape drive with spooling
#
Device {
Name = DAT72
Media Type = DAT-72 # from Bacula documentation
Description = "HP DAT72e USB tape drive"
Archive Device = /dev/tape
LabelMedia = yes;   # lets Bacula label unlabeled media
RandomAccess = no;
AutomaticMount = yes;   # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
AutoChanger = no
Spool Directory = /tmp/BUspool
}


Messages {
  Name = Standard
  director = DURANGO-dir = all
}


 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
David Gardner
email: djgardner(at)yahoo.com
Yahoo! IM: djgardner
AIM: dgardner09 
"Everything is a learning experience, even a mistake."





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Spooled backup to tape blows away spooler directory after first client...

2007-12-10 Thread Martin Simmons
> On Fri, 7 Dec 2007 09:02:07 -0800 (PST), David Gardner said:
> 
> Hey guys,
> 
> I thought it an artifact last week that the spooler directory was "blown
> away" while having trouble with the tape backup job. It happened again last
> night without any other apparent issues.
> 
> The first clients files were spooled to /tmp/BUspool directory then put onto
> tape. The next client tried to spool files to the same directory but it was
> gone and the job failed as did the subsequent client backups. For the
> record, the only difference between the daily and weekly backups is that the
> Dailies are incrementals stored to disk while the weekly is a full backup to
> tape. All jobs use the /tmp/BUspool directory to spool the jobs despite the
> settings in bacula-sd.conf (see below).
> 
> I guess I have two questions:
> 1) Why is the BUspool folder getting "blown away" on spooled tape backups? and

Possible /tmp is being cleaned on boot or via a cron job?


> 2) How is it the disk-to-disk backups know to spool to the BUspool directory?

That is very strange.  Are you definitely running that configuration?  Try
changing BUspool to something else to check that it uses that instead.

__Martin

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users