you could try this:

truncate pool=mypool storage=mystorage

> On 30. Mar 2023, at 18:10, Chris Wilkinson <[email protected]> wrote:
> 
> Do I need to do this for each volume in the pool individually?
> 
> I was hoping to purge and delete all the volumes belonging to the pool as 
> there are quite a large number of volumes.
> 
> I guess I could script the procedure if not.
> 
> Chris.
> 
> On Thu, 30 Mar 2023, 4:59 pm Phil Stracchino, <[email protected] 
> <mailto:[email protected]>> wrote:
> On 3/30/23 06:40, Chris Wilkinson wrote:
> > I have an old job that is no longer needed that is consuming some disk 
> > space that I'd like to recover. This storage for this job is on S3 cloud 
> > and the job has full/diff/incr pools associated.
> > 
> > The full backup pool/volumes of this job have a retention time of 365 
> > days so would not normally get pruned out for another year almost. The 
> > incr/diff pool/volumes have a retention time of 7days/31days respectively.
> > 
> > I'd like to truncate these now, delete the job resources and rm the 
> > actual disk volumes, deleting all traces of the defunct job.
> > 
> > What would I need to do to truncate these out now?
> > 
> > I haven't been able to find bconsole commands that would do this. I 
> > tried the truncate command but the volumes status remains unchanged at 
> > full or used or append. Thanks for any suggestions.
> 
> Fundamentally:
> 
> purge jobs volume=...
> delete volume=...
> 
> then rm the file.
> 
> -- 
>    Phil Stracchino
>    Babylon Communications
>    [email protected] <mailto:[email protected]>
>    [email protected] <mailto:[email protected]>
>    Landline: +1.603.293.8485
>    Mobile:   +1.603.998.6958
> 
> 
> 
> _______________________________________________
> Bacula-users mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/bacula-users 
> <https://lists.sourceforge.net/lists/listinfo/bacula-users>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users

_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to