On 12/09/2021 3:27 pm, Bill Arlofski via Bacula-users wrote:
On 12/9/21 09:03, Larry Rosenman wrote:
On 12/09/2021 9:42 am, Bill Arlofski via Bacula-users wrote:
On 12/8/21 07:08, Larry Rosenman wrote:
I have a bunch of volumes that bacula seems to have forgotten about.
Can you explain why?

Also, what SQL/etc can I do to fix it?

Attached are a DB list for the volumes, and the ls -l.


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Hello Larry,

Can you show `list pools` ?

I suspect that you have not set a "MaximumVolumes" in your pool(s).

If there is mo maximum volumes set, Bacula will continue to create new
volumes in favor of using existing volumes, even if
they are pruned/purged. (at least this is how it is documented and how
it is taught in Bacula Systems' Admin I course)


Hope this helps,
Bill

--
Bill Arlofski
w...@protonmail.com



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
➜ bconsole
Connecting to Director borg:9101
1000 OK: 10002 borg-dir Version: 11.0.5 (03 June 2021)
Enter a period to cancel a command.
*list pools
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
+--------+---------+---------+---------+----------+-------------+
| poolid | name    | numvols | maxvols | pooltype | labelformat |
+--------+---------+---------+---------+----------+-------------+
|      1 | Default |     787 |       0 | Backup   | LERCTR-     |
|      2 | Scratch |       0 |       0 | Backup   | *           |
+--------+---------+---------+---------+----------+-------------+
You have messages.
*

It HAS recycled LOTS of other volumes.  So, I don't know why these are
"special".

Thanks.

Please re-read my last email.

"MaximumVolume = 0" means unlimited, so as I said Bacula will just
continue to create more volumes.


That's not my experience it recycles/reuses all the other volumes.


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: l...@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106


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

Reply via email to