|
From: Heitor F. <he...@ba...> - 2016-04-02 17:10:53
|
> Is there one command to purge a pool? It's tedious going through each single > volume for large sets. Hello, Bill: I think there is not. You can purge a volume with a single line command in bconsole (purge volume=volume_name), or use the bellow script changing the Pool Name: for volname in $(echo "list media pool=File" |bconsole | cut -f 3 -d '|' | tail -3 | tr -d " " | grep -v -e "+-----"); do echo purge volume=$volname |bconsole; done Regards, -- =========================================================================== Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified Administrator II Do you need Bacula training? http://bacula.us/video-classes/ +55 61 8268-4220 Site: http://bacula.us FB: heitor.faria =========================================================================== |