Moritz Bunkus wrote:
> Hey,
>
> similar problem on my end. Debian packages 1.36.3. I have to recycle
> tapes exactly twice before they're marked as 'purged'. The first run
> takes quite some time, so it does its job, but it leaves the tapes as
> 'full' or 'appendable'. The second run finishes instantly and changes
> the status to 'purged'.
>
> So basically I do
>
>   ( echo -e 'prune volume='$1'\nmod\n0\nyes'
>     echo -e 'prune volume='$1'\nmod\n0\nyes'
>   ) | /usr/sbin/bacula-console -f /etc/bacula/bconsole.conf
>
> from a script...
>
> Regards,
> Mosu
>

Hi Mosu,

Pruning the volume manually beforehand would be cumbersome solution. How
do you determine the volume name which needs to be pruned (the $1
variable)?

Regards,

-- 
Patrick Van der Veken
Qtris BV



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to