[Bacula-users] [Bacula-users sql-querries for documentation

2011-09-27 Thread Joris Heinrich
Hello,

my current job is the documentation of our bacula-installation.

Are there any useful sql commands like this:

select client 

or

select schedule ?

Thanks for your help

Greetings


JHN




--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Maximum Concurrent Jobs exceeded on the FD

2011-08-16 Thread Joris Heinrich

Hallo List,

in our company we use 2. directors with the same jobdefinitions. one is 
responsible for the on site backup and the other one for the off site 
backup.


All file daemons are configured with Maximum Concurrent Jobs = 1. This 
is necessary because concurrent jobs will copy the same files.


Now my problem... i get this error:

16-Aug 09:30 bacula6-dir JobId 305037: Fatal error: Unable to authenticate with File 
daemon at "XX:9102". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).

Ok this happened, if an other job from other director is running.

Now my question, how can i solve the problem, that the second job is waiting 
until the first job from the other director is finished.


Thanks for help.


Best regards


JHN


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Python Startup Script

2011-07-15 Thread Joris Heinrich
ry buffer (mem)
   110  #  return length read. 0 => EOF, -1 => error
   111  #  NOT YET IMPLEMENTED
   112  def read(self, mem):
   113 print "Read called\n"
   114 len = self.fd.readinto(mem)
   115 print "Read %s bytes into mem.\n" % len
   116 return len
   117
   118  # Close file
   119  #  NOT YET IMPLEMENTED
   120  def close(self):
   121 self.fd.close()
   122

but i get this error if i start the next job...

15-Jul 22:07 stf-bac1-dir JobId 304487: Traceback (most recent call last):
15-Jul 22:07 stf-bac1-dir JobId 304487:   File 
"/etc/bacula/scripts/DirStartUp.py", line 71, in JobInit

15-Jul 22:07 stf-bac1-dir JobId 304487:
15-Jul 22:07 stf-bac1-dir JobId 304487: AttributeError

Any pythen experts are there wich can help me to get this script working?

Thanks for help.

JHN

Am 14.07.11 18:54, schrieb Joris Heinrich:

Hello All,

I m looking for examples about phyton startup scripts... My issue is, 
that i will change the priority of jobs to the starting time.


the script should look for an fullbackup-job and if this job exists 
and run... all other jobs should get an higher priority. If this job 
not running, configured priority should not changed.


Any one have an idea or implemented similar solution?

Thanks for help and

Best Regards


JHN


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Python Startup Script

2011-07-14 Thread Joris Heinrich

Hello All,

I m looking for examples about phyton startup scripts... My issue is, 
that i will change the priority of jobs to the starting time.


the script should look for an fullbackup-job and if this job exists and 
run... all other jobs should get an higher priority. If this job not 
running, configured priority should not changed.


Any one have an idea or implemented similar solution?

Thanks for help and

Best Regards


JHN
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Second Instance of Bacula Direcktor

2011-06-08 Thread Joris Heinrich
Hello Martin,

thanks for your help... i will try this..

Best regards

JHN

Am 08.06.11 13:57, schrieb Martin Simmons:
>>>>>> On Wed, 08 Jun 2011 11:02:47 +0200, Joris Heinrich said:
>> It is possible to install an second director on the same machine?
> Yes -- use a different bacula-dir.conf containing a different port number.
>
>
>>   Can
>> this instance use the same mysql-database, or i have to install an new
>> database...? If so, how can i migrate all off-site database entries to
>> the new one? Are there an migration path?.
> It must use a different database.  Migrating individual entries is difficult,
> so possibly the simplest way is to clone the entire database using MySQL tools
> and then use bconsole to delete the entries for the on-site jobs, volumes and
> pools.
>
> __Martin


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Second Instance of Bacula Direcktor

2011-06-08 Thread Joris Heinrich
Hello list,

in our environment, we have on-site and off-site backups running. Now we
are planning to migrate all off-site backups to an second instance of
bacula-director.

It is possible to install an second director on the same machine? Can
this instance use the same mysql-database, or i have to install an new
database...? If so, how can i migrate all off-site database entries to
the new one? Are there an migration path?.


Thanks for help.

Best regards


JHN
--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Priority of Jobdefinition

2011-05-27 Thread Joris Heinrich
Ok new idea:

what you think about an second bacula-dir on the same machine running
for example on port 9010 and let manage this instance all jobs with prio 9 ?

Would be possible?

Am 27.05.11 20:58,
> Hello Radosław,
>
> Allow Mixed Priority is specified in JobDef, but no result... Should i
> use this entry in the job specification it self?
>
> Am 27.05.11 20:40, schrieb Radosław Korzeniewski:
>> Hello all,
>>
>> 2011/5/27 Graham Keeling > <mailto:gra...@equiinet.com>>
>>
>> On Fri, May 27, 2011 at 05:37:42PM +0200, Joris Heinrich wrote:
>> > no one have an idea?
>>
>> I think I wanted to do something similar.
>> That is, have different Runs in a Schedule go at different priority.
>> I asked the question on this list and got no replies.
>> I couldn't work out how to do it, so now I think that it is not
>> possible.
>> (...)
>>
>> > > Now my question how can i change the priority for fullbackup
>> on sat to
>> > > 10 and get parallel running jobs?
>>
>>
>> Could you tried to use an "Allow Mixed Priority" job parameter?
>>
>> best regards
>>
>> -- 
>> Radosław Korzeniewski
>> rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>
>>   
>> --
>> vRanger cuts backup time in half-while increasing security.
>> With the market-leading solution for virtual backup and recovery, 
>> you get blazing-fast, flexible, and affordable data protection.
>> Download your free trial now. 
>> http://p.sf.net/sfu/quest-d2dcopy1
>>   
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net 
>> <mailto:Bacula-users@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Priority of Jobdefinition

2011-05-27 Thread Joris Heinrich
Hello Radosław,

Allow Mixed Priority is specified in JobDef, but no result... Should i
use this entry in the job specification it self?

Am 27.05.11 20:40, schrieb Radosław Korzeniewski:
> Hello all,
>
> 2011/5/27 Graham Keeling  <mailto:gra...@equiinet.com>>
>
> On Fri, May 27, 2011 at 05:37:42PM +0200, Joris Heinrich wrote:
> > no one have an idea?
>
> I think I wanted to do something similar.
> That is, have different Runs in a Schedule go at different priority.
> I asked the question on this list and got no replies.
> I couldn't work out how to do it, so now I think that it is not
> possible.
> (...)
>
> > > Now my question how can i change the priority for fullbackup
> on sat to
> > > 10 and get parallel running jobs?
>
>
> Could you tried to use an "Allow Mixed Priority" job parameter?
>
> best regards
>
> -- 
> Radosław Korzeniewski
> rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>
>
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Priority of Jobdefinition

2011-05-27 Thread Joris Heinrich
no one have an idea?

best regards

JHN
> Hello List,
>
> i have following configuration of an backup job:
>
> Job {
> Name= stf-imap1-imap1-mailsystem
> Client  = stf-imap1
> JobDefs = s1_mon_sat_s2_sun_2
> Schedule= imap
> FileSet = imap1-mailsystem
> Priority= 9
> }
>
> Schedule {
> Name= imap
> Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily
> at 00:01
> Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily
> at 04:01
> Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily
> at 08:01
> Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily
> at 12:01
> Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily
> at 16:01
> Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily
> at 20:01
>
> Run = Level=Differential Pool=library-S1 SpoolData=yes mon-fri
> at 01:00
>
> Run = Level=Full Pool=library-S2 SpoolData=yes sat at
> 01:00
> }
>
> JobDefs {
> Name= s1_mon_sat_s2_sun_2
> Type= Backup
> Level   = Full
> Pool= library-S1 # overwritten in schedule
> SpoolData   = yes
> #FileSet = see concrete job
> Schedule= s1_mon_sat_s2_sun_2
> Messages= Standard
> Write Bootstrap = "/backup/bsr/%n.bsr"
> Allow Mixed Priority = yes
> }
>
>
> All other machines running with priority 10
> The incremental and differential jobs with priority are running fine
> and should not be changed. But now my problem... The fullbackup job on
> sat.. is running 12 h, all other machines will waiting.. (bad solution
> ;-)).
>
> Now my question how can i change the priority for fullbackup on sat to
> 10 and get parallel running jobs?
> An second job for the fullbackup is not possible? because then the
> missing fullbackup in first job? and i get two fullbackup jobs?
>
> Thanks for help
>
> JHN
>
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Priority of Jobdefinition

2011-05-27 Thread Joris Heinrich

Hello List,

i have following configuration of an backup job:

Job {
Name= stf-imap1-imap1-mailsystem
Client  = stf-imap1
JobDefs = s1_mon_sat_s2_sun_2
Schedule= imap
FileSet = imap1-mailsystem
Priority= 9
}

Schedule {
Name= imap
Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily at
00:01
Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily at
04:01
Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily at
08:01
Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily at
12:01
Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily at
16:01
Run = Level=Incremental  Pool=library-S1 SpoolData=yes daily at
20:01

Run = Level=Differential Pool=library-S1 SpoolData=yes mon-fri
at 01:00

Run = Level=Full Pool=library-S2 SpoolData=yes sat at 01:00
}

JobDefs {
Name= s1_mon_sat_s2_sun_2
Type= Backup
Level   = Full
Pool= library-S1 # overwritten in schedule
SpoolData   = yes
#FileSet = see concrete job
Schedule= s1_mon_sat_s2_sun_2
Messages= Standard
Write Bootstrap = "/backup/bsr/%n.bsr"
Allow Mixed Priority = yes
}


All other machines running with priority 10
The incremental and differential jobs with priority are running fine and
should not be changed. But now my problem... The fullbackup job on sat..
is running 12 h, all other machines will waiting.. (bad solution ;-)).

Now my question how can i change the priority for fullbackup on sat to
10 and get parallel running jobs?
An second job for the fullbackup is not possible? because then the
missing fullbackup in first job? and i get to fullbackup jobs?

Thanks for help

JHN
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula size calculator?

2011-05-25 Thread Joris Heinrich
Sorry false supject
Am 26.05.11 00:21, schrieb Joris Heinrich:
> Hello list,
>
> im planing currently an backup strategy for our company, i have daily
> full backups from many sql machines. these backups should saved in
> different pools:
>
> pool1 daily backup
>
> pool2 14 days
>
> pool 3 1jahr...
>
> Now my question: exist there an tool which can help to calculate my
> pools and storage which i need.
>
>
> Thanks for help
>
>
> Best regards
>
> JHN
>
>
> --
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery, 
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now. 
> http://p.sf.net/sfu/quest-d2dcopy1
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] help = Problem with webacula - no grafical output

2011-05-25 Thread Joris Heinrich
Hello list,

im planing currently an backup strategy for our company, i have daily
full backups from many sql machines. these backups should saved in
different pools:

pool1 daily backup

pool2 14 days

pool 3 1jahr...

Now my question: exist there an tool which can help to calculate my
pools and storage which i need.


Thanks for help


Best regards

JHN
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] error message in runbefore job

2011-05-04 Thread Joris Heinrich

Am 04.05.11 20:33, schrieb Jérôme Blion:
> Le 04/05/2011 14:40, Konstantin Khomoutov a écrit :
>> On Wed, 04 May 2011 13:23:55 +0200
>> Joris Heinrich  wrote
>>> i run an job with an mysql backup and an ClientRunBeforeJob like this
>>> example:
>>>
>>>
>>> Job {
>>>  Name= test-client
>>>  Client  = tool-client
>>>  JobDefs = dbdump
>>>  FileSet = db
>>>  ClientRunBeforeJob  = "/etc/bacula/scripts/manage_mysql_backup"
>>>
>>> In the client script, is included an ssh connect to various other
>>> machines. Some machines are new installed, and the host-verification
>>> will be fail:
>>>
>>> 04-May 01:00 tool-client JobId 291204: ClientRunBeforeJob: Host key
>>> verification failed.
>>>
>>> The bacula job it self brings an OK Message per email.
>>>
>>> Now my qestion, it is possible to parse the message and change the
>>> job-status to error or warning..
>> Create another script, say,
>> /etc/bacula/scripts/manage_mysql_backup2
>> which should look like this:
>>
>> #!/bin/sh
>> /etc/bacula/scripts/manage_mysql_backup 2>&1 \
>>| grep "verification failed"&&  exit 1
>>
>> Then use the new wrapper script for ClientRunBeforeJob.
>> Now if the original script generates that error message, the wrapper
>> script would exit with non-zero code, failing the job.
> Hello,
>
> The workaround if far than enough.
> The real solution is to modify the script to end with an exit code 
> greater than 0 when something wrong happens.
> It means you will have to modify the script to manage all possible errors.
>
> HTH.
> Jerome Blion.
>
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
Hello Jerome,

exactly this is what i implemented. I included set -e in the script and 
modified every action with exit codes greater then 0.

Runs perfect...

Thanks for help


Best regards

JHN

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] error message in runbefore job

2011-05-04 Thread Joris Heinrich
Hallo All,

i run an job with an mysql backup and an ClientRunBeforeJob like this
example:


Job {
Name= test-client
Client  = tool-client
JobDefs = dbdump
FileSet = db
ClientRunBeforeJob  = "/etc/bacula/scripts/manage_mysql_backup"



In the client script, is included an ssh connect to various other
machines. Some machines are new installed, and the host-verification
will be fail:

04-May 01:00 tool-client JobId 291204: ClientRunBeforeJob: Host key 
verification failed.


The bacula job it self brings an OK Message per email.

Now my qestion, it is possible to parse the message and change the
job-status to error or warning..


Thanks for help


Best regard


JHN
--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users