Bacula-users

Re: [Bacula-users] Checking Storage Daemon file system free space before mounting/creating a volume and before running a job

2012-06-15 05:42:38
Subject: Re: [Bacula-users] Checking Storage Daemon file system free space before mounting/creating a volume and before running a job
From: Uwe Schuerkamp <uwe.schuerkamp AT nionex DOT net>
To: Yougo <hugo.let.35 AT gmail DOT com>
Date: Fri, 15 Jun 2012 11:40:53 +0200
On Thu, Jun 14, 2012 at 11:25:03PM +0200, Yougo wrote:

> Is it possible to check a free space ratio on the storage daemon,
>  fail a job if required instead of failing also the volumes, waiting
>  for a mount… and thus avoid a lot of successive error that could
>  cause miscomprehension for the operator. Else have you got a
>  solution to avoid my issue. I will have more space in few weeks but
>  my backups are also being much larger due to enterprise expansion.

For the moment I think your best bet would be a RunBeforeJob script
that checks the free space on the filesystem, retrieves the size of
the last full backup for the client being backed up and then does some
comparisons based on these parameters. 

If the question is allowed: Why do you have so many pools defined? I
usually only have my incremental an full pools, but of course once the
PHBs start bugging you with different backup "classes" and
"strategies", that's the first thing that usually goes out of the
window.

All the best, Uwe 



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users