Re: [Bacula-users] How to get free hard disk space back ?

2012-05-04 Thread Konstantin Khomoutov
On Wed, 2 May 2012 11:40:52 +1100 Jerome Alet jerome.a...@univ-nc.nc wrote: [...] Attached to this message you'll find the shell script I'm now using. [...] The correct way to deal with temporary files in shell scripts is using mktemp to generate a temporary file with unique name:

Re: [Bacula-users] How to get free hard disk space back ?

2012-05-01 Thread Jerome Alet
Hi, On Sat, Apr 28, 2012 at 09:16:00AM +0100, Dermot Beirne wrote: Glad to hear it was useful. Would you mind sharing your other solution as it might be useful to me in future. Attached to this message you'll find the shell script I'm now using. Beware to adapt it to your needs : I use

Re: [Bacula-users] How to get free hard disk space back ?

2012-04-19 Thread Josh Fisher
On 4/18/2012 10:18 PM, Jerome Alet wrote: Hi, We've got a Bacula 5.0.2 setup here under Debian (standard packages). We only use hard disk storage pools, and have created 3 of them on a single partition : FileFull, FileDifferential, and FileIncremental. The problem is, after adding more

Re: [Bacula-users] How to get free hard disk space back ?

2012-04-19 Thread Jerome Alet
On Thu, Apr 19, 2012 at 10:11:20AM -0400, Josh Fisher wrote: Changing the action on purge for the pool does not change it for the old volumes that were created before the change was made. You have to individually update the action on purge for each of those old volumes. Sorry I didn't mention

Re: [Bacula-users] How to get free hard disk space back ?

2012-04-19 Thread Phil Stracchino
On 04/19/2012 05:04 PM, Jerome Alet wrote: On Thu, Apr 19, 2012 at 10:11:20AM -0400, Josh Fisher wrote: Changing the action on purge for the pool does not change it for the old volumes that were created before the change was made. You have to individually update the action on purge for each

Re: [Bacula-users] How to get free hard disk space back ?

2012-04-19 Thread Jerome Alet
On Thu, Apr 19, 2012 at 05:14:35PM -0400, John Drescher wrote: How big of a limit have you set on volume size? I usually set this to 10GB or so. Or do you have use volume once or some other way to limit volume size / use duration? My volume size is limited to 2 GB. My SD is configured like

Re: [Bacula-users] How to get free hard disk space back ?

2012-04-19 Thread Jerome Alet
Hi, On Thu, Apr 19, 2012 at 05:30:41PM -0400, Phil Stracchino wrote: I gather you are creating a new volume for every job, and never reusing the old ones. So write a simple shell script that will connect to the bacula DB, select VolumeName from Media where VolStatus = 'Purged', save the

[Bacula-users] How to get free hard disk space back ?

2012-04-18 Thread Jerome Alet
Hi, We've got a Bacula 5.0.2 setup here under Debian (standard packages). We only use hard disk storage pools, and have created 3 of them on a single partition : FileFull, FileDifferential, and FileIncremental. The problem is, after adding more and more servers to our backup strategy over the