You can speed it up a little I use a script that uses the truncate command. It’s imperfect but I call this as part of a migrate job that moves from disk volumes to tape volumes (there are bugs related to that but that’s another issue).
#!/bin/bash
#POOL=AI-Incremental
#POOL=AI-Consolidated
POOL=$1
for x in `echo "list volumes pool=${POOL}" | bconsole | grep -v "list volumes" | grep $POOL | awk -F\| '{print $3}'`
do
echo "prune volume=$x yes"
done | bconsole
# actaully free up disk space
echo "truncate volstatus=Purged pool=$POOL yes" \
| bconsole
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/600d8bae-a647-4436-85cc-409bcbda11fen%40googlegroups.com.