Re: [Bacula-users] Tape check

2018-08-09 Thread Bill Arlofski
(we are using version > 9.06).  Any suggestions would be greatly appreciated. Hi Steve, There is a "comment" field in the db for media table. This might be useful for your case. In bconsole, you can: * update volume=x comment="Files restored from this volume on 20180809&qu

[Bacula-users] Tape check

2018-08-09 Thread Steven Hammond
We are looking at implementing a tape check procedure.  Essentially, once a quarter we will routinely verify that various tapes are still readable and we can actually restore files from them (as a test). Our volumes are YEARLY, MONTHLY, WEEKLY, and DAILY.  I was wondering if there might be a

Re: [Bacula-users] read tape label from bash

2018-08-09 Thread Bill Arlofski
On 08/09/2018 04:13 AM, Adam Weremczuk wrote: > Hi all, > > What's the best way to read Bacula label of a currently mounted tape directly > from bash? > > In our environment I can fairly reliably determine it with: > > tail -1 /var/lib/bacula/log > 08-Aug 14:19 bacula_dir JobId 0: Recycled

Re: [Bacula-users] any way to "collapse" back to a single director?

2018-08-09 Thread Matthew Arguin
But then you lose the historical stuff? Was hoping for a way to sort of migrate everything from one to another. I will say that I don’t expect that this is doable with out more work than it is worth. From: Uwe Schuerkamp [mailto:uwe.schuerk...@gmail.com] Sent: Thursday, August 9, 2018

Re: [Bacula-users] any way to "collapse" back to a single director?

2018-08-09 Thread Uwe Schuerkamp
As long as you keep the "old" director running you should be fine. Simply move the client to the new director once the next "full" is up and remove it (or disable the job) from the old one. Once you have all your stuff on the new director, you should be good to go. If you have ancient tapes and /

Re: [Bacula-users] any way to "collapse" back to a single director?

2018-08-09 Thread Uwe Schuerkamp
I guess the easiest way would be to migrate your clients back to a single (new) director one by one. Takes longer, but should be more reliable than trying to merge several different catalogues back into a single instance. All the best, Uwe On 9 August 2018 at 17:03, Matthew Arguin wrote: >

[Bacula-users] any way to "collapse" back to a single director?

2018-08-09 Thread Matthew Arguin
Looking for a way to (if at a feasible) collapse multiple bacula directors in to a single one. Anyone done this or "seen" this done? -matt -- Check out the vibrant tech community on one of the world's most engaging

Re: [Bacula-users] read tape label from bash

2018-08-09 Thread Heiko Schellhorn
Hi I'm aware of bconsole, btape etc. but they are all interactive consoles. You could use that: bconsole < <(echo "status storage") Or if you want something more specific, you could use the expect command. Perhaps the data pieces you want can be retrieved through sg_utils, but I don't know

Re: [Bacula-users] read tape label from bash

2018-08-09 Thread Pedro Oliveira
Please have a look on https://www.bacula.org/5.1.x-manuals/de/utility/utility/Volume_Utility_Tools.html 2018-08-09 11:26 GMT+01:00 Jérôme Blion : > > I'm aware of bconsole, btape etc. but they are all interactive consoles. >> > > You could use that: bconsole < <(echo "status storage") > Or if

Re: [Bacula-users] read tape label from bash

2018-08-09 Thread Jérôme Blion
I'm aware of bconsole, btape etc. but they are all interactive consoles. You could use that: bconsole < <(echo "status storage") Or if you want something more specific, you could use the expect command. Perhaps the data pieces you want can be retrieved through sg_utils, but I don't know how

[Bacula-users] read tape label from bash

2018-08-09 Thread Adam Weremczuk
Hi all, What's the best way to read Bacula label of a currently mounted tape directly from bash? In our environment I can fairly reliably determine it with: tail -1 /var/lib/bacula/log 08-Aug 14:19 bacula_dir JobId 0: Recycled volume "LTO-W20110914A" but ideally I would prefer Bacula to