Thanks !
From: Kees Bakker via Bacula-users
Sent: Monday, June 23, 2025 1:34 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] running bconsole commands in bash script
CAUTION: This is an external email. Please be very careful when clicking links
or opening attachments
Perhaps you want to do it like this
for vol in `echo ${vol_list}`
do
echo “purge volume=$vol yes”
done | bconsole
or
for vol in ${vol_list}
do
Thanks Josh !!
From: Josh Fisher
Sent: Friday, June 20, 2025 7:54 PM
To: Yateen Shaligram Bhagat (Nokia) ;
bacula-users
Subject: Re: [Bacula-users] running bconsole commands in bash script
CAUTION: This is an external email. Please be very careful when clicking links
or opening attachments
On 6/20/25 08:11, Yateen Shaligram Bhagat (Nokia) via Bacula-users wrote:
Hi All,
We are using bacula 13.x.
As part of the periodic garbage collection activity, we do purging and
truncating of the stranded disk volumes (volumes that have no jobs
associated with them) to conserve the disk s
Hi All,
We are using bacula 13.x.
As part of the periodic garbage collection activity, we do purging and
truncating of the stranded disk volumes (volumes that have no jobs associated
with them) to conserve the disk space.
We do it running a bash script that first identifies such stranded volum