If they are tape volumes you want to recycle, you can just use the purge command.
If they are disk volumes you want to go away bareos won’t delete them,
So I would do
purge volume=<volumename>
delete volume=<volumename>
rm -f /mnt/baroes/<volumename> # update for location of volumes
The purge/delete is important so that baroes don’t think files exist for backup jobs.
If you have a list of volumes in a file you can do:
for x in $(cat /tmp/volumes)
do
echo “purge volume=$x” | bconsole
echo “delete volume=$x” | bconsole
rm -f /mnt/baroes/$x
done
Brock Palen
bro...@mlds-networks.com
www.mlds-networks.com
Websites, Linux, Hosting, Joomla, Consulting
> --
> You received this message because you are subscribed to the Google Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
bareos-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/0cfe4f9afe164702859b6a19455e16a7%40srvmail2.bruckmatten.rinklin-naturkost.de.