Bacula-users

[Bacula-users] A couple of related pool questions

2013-01-25 10:10:13
Subject: [Bacula-users] A couple of related pool questions
From: Alan McKay <alan.mckay+bacula AT gmail DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Fri, 25 Jan 2013 10:07:37 -0500
Well, they are related in my head at least :-)

I wiped all the labels on my tapes and did "label barcodes" and
everything seems to have gone fine and they all got added to the
default pool.

Except for 2 tapes.  000006L4 and 000100L4

The latter I can understand because it is a cleaning tape.  So I'm
poking around to try to figure out how to deal with cleaning tapes and
I see "Cleaning Prefix".  I don't have a barcode with a special prefix
on that tape (though I can look to see whether I have one if that
simplifies things), but this page suggests I can just put the whole
barcode into the pool definition and be done

http://www.bacula.org/en/dev-manual/main/main/Autochanger_Resource.html

So I did that  but I"m not sure how to tell whether or not that did
anything (I did restart services after adding it)

Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 31 days
  Purge Oldest Volume = yes
  Maximum Volumes = 24
  JobRetention = 90 days
  FileRetention = 60 days
  CleaningPrefix = 000100L4
}

Also there is the matter of the other tape, which is in slot 8.  I am
not sure why it did not get added.   Now I'd like to manually add it
to the pool but when I use the "add" command it gives me some odd
options which don't seem to make sense.   What the heck does "Enter
Base Volume Name" mean?  I want it to keep the name it has, I don't
want a new name.

*add
You probably don't want to be using this command since it
creates database records without labeling the Volumes.
You probably want to use the "label" command.

Defined Pools:
     1: Default
     2: File
     3: Scratch
     4: Autochanger
Select the Pool (1-4): 1
The defined Storage resources are:
     1: File
     2: SL24
Select Storage resource (1-2): 2
Enter number of Volumes to create. 0=>fixed name. Max=3: 1
Enter base volume name:

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>