[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-users
Subject:    [Bacula-users] Can't backup to tapes with existing bacula volumes.
From:       Justin Francesconi <jfrancesconi () themusiclink ! net>
Date:       2008-02-28 19:32:16
Message-ID: A5FDAFAA7644CE4DAC156836E915022803013F6E () vader ! MLC
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I really don't understand this.

I can run a backup to a tape, using my 'Server' volume/pool.  It completes.
It moves on to the next client, which belongs to the same volume/pool, and
then Bacula reports that there are no appendable volumes and that I should
use the label command to resolve this.  The label command can't label
anything because the volume is already labeled.  I purge the volume and try
to relabel it, but it's still 'already labeled' and cannot do it.  I delete
the volume and try to label again and it's still 'already labeled'.  My only
choice is to use the mt tool to rewind the tapes, which obviously doesn't do
me much good.  

What am I missing here?  

Here are the importants parts of bacula-dir.conf:

JobDefs {
  Name = "Servers"
  Type = Backup
  Level = Incremental
  Schedule = "Servers"
  Storage = DellDrive
  Messages = Standard
  Pool = Servers
  Priority = 10
}

Job {
  Name = "Leo"
  JobDefs = "Servers"
  Client = leo-fd
  Fileset = Leo
  Write Bootstrap = "/usr/local/bacula//%c_%n.bsr"
}

Job {
  Name = "Cubert"
  JobDefs = "Servers"
  Client = cubert-fd
  Fileset = Cubert
  Write Bootstrap = "/usr/local/bacula//%c_%n.bsr"
}

Pool {
  Name = Servers
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle
Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 365 days         # one year
  Storage = DellDrive
} 
------------------------------------------
And bacula-sd.conf:

Device {
  Name = DellDrive
  Drive Index = 0
  Media Type = DLT-8000
  Archive Device = /dev/nst0
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  LabelMedia = Yes;
  RandomAccess = no;
  AutoChanger = no;
}

Any help is greatly appreciated.  

Thanks,

Justin Francesconi


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Can't backup to tapes with existing bacula volumes.</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2 FACE="Arial">I really don't understand this.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I can run a backup to a tape, using my 'Server' \
volume/pool.&nbsp; It completes.&nbsp; It moves on to the next client, which belongs \
to the same volume/pool, and then Bacula reports that there are no appendable volumes \
and that I should use the label command to resolve this.&nbsp; The label command \
can't label anything because the volume is already labeled.&nbsp; I purge the volume \
and try to relabel it, but it's still 'already labeled' and cannot do it.&nbsp; I \
delete the volume and try to label again and it's still 'already labeled'.&nbsp; My \
only choice is to use the mt tool to rewind the tapes, which obviously doesn't do me \
much good.&nbsp; </FONT></P>

<P><FONT SIZE=2 FACE="Arial">What am I missing here?&nbsp; </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Here are the importants parts of bacula-dir.conf:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">JobDefs {</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Name = &quot;Servers&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Type = Backup</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Level = Incremental</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Schedule = &quot;Servers&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Storage = DellDrive</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Messages = Standard</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Pool = Servers</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Priority = 10</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Job {</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Name = &quot;Leo&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; JobDefs = &quot;Servers&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Client = leo-fd</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Fileset = Leo</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Write Bootstrap = \
&quot;/usr/local/bacula//%c_%n.bsr&quot;</FONT> <BR><FONT SIZE=2 \
FACE="Arial">}</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">Job {</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Name = &quot;Cubert&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; JobDefs = &quot;Servers&quot;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Client = cubert-fd</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Fileset = Cubert</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Write Bootstrap = \
&quot;/usr/local/bacula//%c_%n.bsr&quot;</FONT> <BR><FONT SIZE=2 \
FACE="Arial">}</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">Pool {</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Name = Servers</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Pool Type = Backup</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Recycle = \
yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
# Bacula can automatically recycle Volumes</FONT> <BR><FONT SIZE=2 \
FACE="Arial">&nbsp; AutoPrune = \
yes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
# Prune expired volumes</FONT> <BR><FONT SIZE=2 FACE="Arial">&nbsp; Volume Retention \
= 365 days&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # one year</FONT> \
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Storage = DellDrive</FONT> <BR><FONT SIZE=2 \
FACE="Arial">} </FONT> <BR><FONT SIZE=2 \
FACE="Arial">------------------------------------------</FONT> <BR><FONT SIZE=2 \
FACE="Arial">And bacula-sd.conf:</FONT> </P>

<P><FONT SIZE=2 FACE="Arial">Device {</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Name = DellDrive</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Drive Index = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Media Type = DLT-8000</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; Archive Device = /dev/nst0</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; AutomaticMount = \
yes;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
# when device opened, read it</FONT> <BR><FONT SIZE=2 FACE="Arial">&nbsp; AlwaysOpen \
= yes;</FONT> <BR><FONT SIZE=2 FACE="Arial">&nbsp; RemovableMedia = yes;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; LabelMedia = Yes;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; RandomAccess = no;</FONT>
<BR><FONT SIZE=2 FACE="Arial">&nbsp; AutoChanger = no;</FONT>
<BR><FONT SIZE=2 FACE="Arial">}</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Any help is greatly appreciated.&nbsp; </FONT>
</P>

<P><FONT COLOR="#808080" SIZE=2 FACE="Arial">Thanks,</FONT>
</P>

<P><FONT COLOR="#808080" SIZE=2 FACE="Arial">Justin Francesconi</FONT>
</P>

</BODY>
</HTML>



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic