Hello Chris,

Whats your Bacula version?
I have an environment with the exact same problem.
The "prune expired volume yes" and "purge action=truncate ..." commands find 
zero volumes to purge.
BTW: a command or a sqlquery example to fetch the amount of media jobs would be 
great.

Regards,
--
MSc Heitor Faria (Miami/USA)
CIO Bacula LatAm
mobile1: + 1 909 655-8971
mobile2: + 55 61 98268-4220
[ http://bacula.lat/]

-------- Original Message --------
From: Chris Wilkinson <winstonia...@gmail.com>
Sent: Monday, September 26, 2022 05:21 AM
To: bacula-users <bacula-users@lists.sourceforge.net>
Subject: [Bacula-users] Prune all volumes

>After a series of failed backups I am left with a number of volumes not
>used by any job but still within their expiry time. They exist on disk and
>in the database but no job is using them. I would like to delete them first
>in the database and then truncate the physical volumes to recover the space.
>
>I need the prune command for this but it seems I have to specify the
>volume. Is there a prune option that will cycle through and prune all
>volumes?
>
>Regards
>
>Chris Wilkinson
>
>
>_______________________________________________
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to