Re: [Bacula-users] Deleting Read Only Volumes

2022-02-24 Thread Chris Wilkinson
I guess I should bite the bullet and upgrade -). Best -Chris- > On 24 Feb 2022, at 11:55, Marcin Haba wrote: > > Hello Chris, > > This function is available from Baculum 11.0.5.2. > > Best regards, > Marcin Haba (gani) > > On Thu, 24 Feb 2022 at 12:19, Chris Wilkinson

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-24 Thread Marcin Haba
Hello Chris, This function is available from Baculum 11.0.5.2. Best regards, Marcin Haba (gani) On Thu, 24 Feb 2022 at 12:19, Chris Wilkinson wrote: > I’m only seeing purge and prune as the possible actions in the action > drop-down (v9.6.6.3)? > > Best > -Chris- > > > > > On 24 Feb 2022, at 0

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-24 Thread Chris Wilkinson
I’m only seeing purge and prune as the possible actions in the action drop-down (v9.6.6.3)? Best -Chris- > On 24 Feb 2022, at 09:47, Marcin Haba wrote: > > Hello Chris, > > You can select volumes from many pages. Also filters, sorting and pagination > works with selected volumes the same

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-24 Thread Marcin Haba
Hello Chris, You can select volumes from many pages. Also filters, sorting and pagination works with selected volumes the same well as without any selection. At the bottom of the table you can see how many volumes is selected and there you can also find tips about possible selection ways (with CTR

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-24 Thread Chris Wilkinson
Thanks for that suggestion. Am I correct that I can only select multiple records from one page? I had a large number of volumes to delete that spread over several pages so wrote the little script. I also use the Bacula Webmin module to delete the odd volume but it’s a one at a time operation.

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-23 Thread Marcin Haba
Hello Chris, If you use Baculum and you want to delete Purged volumes only from the catalog you can go to Volumes page, then in 'Vol. status' filter select 'Purged', after that select volumes that you want to delete. If you want to delete all Purged volumes, please select all filtered jobs (for ex

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-23 Thread Chris Wilkinson
Your suggestion was perfect. This little bash script has the desired effect. It can be altered to find/delete other types of unwanted records such as Error or Read-Only or restricted to a particular pool as you suggested. It doesn’t delete anything on disk, only from the catalog. #!/bin/bash

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-21 Thread Chris Wilkinson
Thanks for that, I'll give it a try. I also found some volumes marked as 'Error' so I could use the same technique. Best Chris On Mon, 21 Feb 2022, 11:25 am Josip Deanovic, wrote: > On 2022-02-21 11:46, Chris Wilkinson wrote: > > Following a failure of a storage device, I have a number of reco

Re: [Bacula-users] Deleting Read Only Volumes

2022-02-21 Thread Josip Deanovic
On 2022-02-21 11:46, Chris Wilkinson wrote: Following a failure of a storage device, I have a number of records marked as ‘read-only’ in the database. The backup jobs has been moved to a new storage so these records are now redundant and I’d like to clean them out. I looked through bconsole com

[Bacula-users] Deleting Read Only Volumes

2022-02-21 Thread Chris Wilkinson
Following a failure of a storage device, I have a number of records marked as ‘read-only’ in the database. The backup jobs has been moved to a new storage so these records are now redundant and I’d like to clean them out. I looked through bconsole commands but didn’t find a command to do this e