On Wed, Jan 23, 2013 at 3:35 PM, Alan McKay <alan.mckay+bacula AT gmail DOT
com> wrote:
> On Wed, Jan 23, 2013 at 3:31 PM, Alan McKay <alan.mckay+bacula AT gmail DOT
> com> wrote:
>> Default by the looks of it.
>
> Well, I sort of have all the tapes in 2 pools by the looks of it. I
> recall futzing around and setting up a pool with a prefix of "BACULA"
> but I did not think I had it working. So here is what I have now.
> Each tape seems to be in there twice - once with the BACULA prefix in
> the "Autochanger" pool, and once with its proper barcode in the
> Default pool (I have a barcode reader)
>
> How do I get rid of the "Autochanger" pool and all references to it?
> I guess in the config file but will there be stuff in the DB that will
> get futzed?
>
> # Autochanger Pool definition
> Pool {
> Name = Autochanger
> Pool Type = Backup
> Recycle = yes # Bacula can automatically recycle
> Volumes
> AutoPrune = yes # Prune expired volumes
> Volume Retention = 31 days
> Maximum Volumes = 100 # Limit number of Volumes in Pool
> }
>
>
>
>
> *list media pool=Default
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | 1 | BACULA0001 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 0 | 0 | File | 0000-00-00
> 00:00:00 |
> | 2 | BACULA0002 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 1 | 0 | File | 0000-00-00
> 00:00:00 |
> | 3 | BACULA0003 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 2 | 0 | File | 0000-00-00
> 00:00:00 |
> | 4 | BACULA0004 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 3 | 0 | File | 0000-00-00
> 00:00:00 |
> | 5 | BACULA0005 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 4 | 0 | File | 0000-00-00
> 00:00:00 |
> | 6 | BACULA0006 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 5 | 0 | File | 0000-00-00
> 00:00:00 |
> | 7 | BACULA0007 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 6 | 0 | File | 0000-00-00
> 00:00:00 |
> | 8 | BACULA0008 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 7 | 0 | File | 0000-00-00
> 00:00:00 |
> | 9 | BACULA0009 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 8 | 0 | File | 0000-00-00
> 00:00:00 |
> | 10 | BACULA0010 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 9 | 0 | File | 0000-00-00
> 00:00:00 |
> | 11 | BACULA0011 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 10 | 0 | File | 0000-00-00
> 00:00:00 |
> | 12 | BACULA0012 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 11 | 0 | File | 0000-00-00
> 00:00:00 |
> | 13 | BACULA0013 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 12 | 0 | File | 0000-00-00
> 00:00:00 |
> | 14 | BACULA0014 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 13 | 0 | File | 0000-00-00
> 00:00:00 |
> | 15 | BACULA0015 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 14 | 0 | File | 0000-00-00
> 00:00:00 |
> | 16 | BACULA0016 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 15 | 0 | File | 0000-00-00
> 00:00:00 |
> | 17 | BACULA0017 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 16 | 0 | File | 0000-00-00
> 00:00:00 |
> | 18 | BACULA0018 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 17 | 0 | File | 0000-00-00
> 00:00:00 |
> | 19 | BACULA0019 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 18 | 0 | File | 0000-00-00
> 00:00:00 |
> | 20 | BACULA0020 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 19 | 0 | File | 0000-00-00
> 00:00:00 |
> | 21 | BACULA0021 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 20 | 0 | File | 0000-00-00
> 00:00:00 |
> | 22 | BACULA0022 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 21 | 0 | File | 0000-00-00
> 00:00:00 |
> | 23 | BACULA0023 | Append | 1 | 0 | 0 |
> 31,536,000 | 1 | 22 | 0 | File | 0000-00-00
> 00:00:00 |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> *list media pool=Autochanger
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles |
> VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> | 24 | 000040L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 3 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 25 | 000018L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 4 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 26 | 000001L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 5 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 27 | 000052L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 6 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 28 | 000012L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 7 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 29 | 000006L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 8 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 30 | 000051L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 9 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 31 | 000019L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 10 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 32 | 000002L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 11 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 33 | 000008L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 12 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 34 | 000011L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 13 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 35 | 000014L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 14 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 36 | 000037L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 15 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 37 | 000039L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 16 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 38 | 000031L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 17 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 39 | 000015L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 18 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 40 | 000030L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 19 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 41 | 000026L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 20 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 42 | 000013L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 21 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> | 43 | 000023L4 | Append | 1 | 1,024 | 0 |
> 2,678,400 | 1 | 22 | 1 | LTO-4 | 0000-00-00
> 00:00:00 |
> +---------+------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
> *
This is the problem. See that the Default pool only has media type
"File" volumes and the Autochanger pool has LTO-4 volumes. However the
job wants tapes from the Default pool with media type being "LTO-4".
Fix the job to use the Autochanger pool instead of the default pool.
Or move the tapes to the default pool.
John
------------------------------------------------------------------------------
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
|