Bacula-users

Re: [Bacula-users] How to remove disk volumes.

2013-03-11 04:27:21
Subject: Re: [Bacula-users] How to remove disk volumes.
From: Tilman Schmidt <t.schmidt AT phoenixsoftware DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 11 Mar 2013 09:23:57 +0100
Am 11.03.2013 01:13, schrieb Bill Arlofski:
> or in a script to remove several:
> 
> for vol in "list of volumes"; do
>   echo "delete volume=$vol yes" | bconsole
> done

May I suggest a slight optimization?

for vol in "list of volumes"; do
  echo "delete volume=$vol yes"
done | bconsole

avoids starting a separate bconsole process for each volume.

SCNR
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users