Bacula-users

Re: [Bacula-users] Job running Jobs

2011-02-25 13:33:53
Subject: Re: [Bacula-users] Job running Jobs
From: João Alberto Kuchnier <joao.kuchnier AT dataprom DOT com>
Date: Fri, 25 Feb 2011 15:30:48 -0300
John,

I used your admin script solution! It worked for me!

Sharing my script:

#!/bin/bash
bconsole <<END_OF_DATA
@output /dev/null
messages
@output /tmp/Job1.txt
run job=Job1 yes
wait
messages
@output /tmp/Job2.txt
run job=Job2 yes
wait
messages
...
@output
quit
END_OF_DATA

I created a new conf file with these jobs without client and fileset 
configuration (bacula uses from the original scheduled jobs). O just set 
Job, JobDefs and a new pool.

Thanks for your help!

João K.

Em 24-02-2011 19:34, John Drescher escreveu:
> 2011/2/24 João Alberto Kuchnier<joao.kuchnier AT dataprom DOT com>:
>> Hi everyone!
>>
>> I need some help to enable a new backup procedure here.
>>
>> Every month, I have to store a backup tape externally with data from all
>> my 30 servers. Today, I would have to manually run each backup without
>> scheduling. Is there any way to create a work that runs several other
>> jobs successively on a single tape?
>>
>> I would appreciate any other solution.
>>
> How about an Admin job that echos commands to bconsole which starts
> the other jobs.
>
> John

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>