[Bacula-users] From what jobs was this file backed up?

2010-10-19 Thread Dan Langille
Just in case it helps: Today I was trying to find a file named ca.crt. I didn't know the hostname, the job, or the path. I worked this way: SELECT DISTINCT P.path, FN.name, J.name, F.md5 FROM path P, file F, job J, filename FN WHERE P.path LIKE '%/easy-rsa/%' AND P.pathid = F.pat

[Bacula-users] Bacula Media Rotation

2010-10-19 Thread Telemat
Hi There, We have 2 Linux based servers running Bacula, one is ClearOS 5.2 and the other is Zentyal. What I need is a clear concise way of setting up a backup routine that will backup on a daily basis of 5 days. The tapes need to be split into 2 groups of 5, 5 for week 1 and 5 for week 2. The m

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread Ali Reza Sajedi
deleting bacula-dir.9101.state under working directory could have canceled the stuck job ali - Original Message - From: To: Sent: Wednesday, October 20, 2010 12:07 AM Subject: Re: [Bacula-users] Can't cancel job > >> Are you certain that ALL Bacula processes were halted? None of th

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread alexander
> Are you certain that ALL Bacula processes were halted? None of them > were hung? If it helps, when the hard disk is full, I just drop out the hard disk and put another one (after kill the process, etc), in other words, all the volumes already used won't be present in front of the restarte

Re: [Bacula-users] Problem to compile Bacula Admin Tools

2010-10-19 Thread John Drescher
On Tue, Oct 19, 2010 at 5:06 PM, Phil Stracchino wrote: > On 10/19/10 15:50, John Drescher wrote: >> On Tue, Oct 19, 2010 at 3:20 PM, Stéphane Cesbron >> wrote: >>>  Hi, >>> >>> I downloaded the sources of bacula 5.0.3. I compiled it. Everything >>> works fine except when I wanted to get the bat

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread alexander
> Are you certain that ALL Bacula processes were halted? None of them > were hung? > ... > Did you bounce the database? I simply killed (used 'kill $pid' command for bacula-dir, bacula-sd and bacula-fd, and checked with 'ps -afxu | grep bacula' looking for any result). Yes, I've killed

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread Mehma Sarja
On 10/19/10 11:26 AM, alexan...@nautae.eti.br wrote: [snip] >> Bounce the services...? >> >> [snip] >> The first thing I've done was stop the services (kill all bacula process), >> >> >> Did you bounce the database?

Re: [Bacula-users] Problem to compile Bacula Admin Tools

2010-10-19 Thread Phil Stracchino
On 10/19/10 15:50, John Drescher wrote: > On Tue, Oct 19, 2010 at 3:20 PM, Stéphane Cesbron > wrote: >> Hi, >> >> I downloaded the sources of bacula 5.0.3. I compiled it. Everything >> works fine except when I wanted to get the bat utility. I can't compile it. >> >> I'm on A RHEL 5.5 box - up to

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread Phil Stracchino
On 10/19/10 14:26, alexan...@nautae.eti.br wrote: >> [snip] >>> Despite my specific situation, what should I do in that situation (0% >>> free > >> Bounce the services...? > > I don't know if I get it... > > The first thing I've done was stop the services (kill all bacula process), > > put a ne

Re: [Bacula-users] Problem to compile Bacula Admin Tools

2010-10-19 Thread Stéphane Cesbron
Thanks for your reply. I know that I don't need BAT on the server that runs bacula. Nevertheless it will be easier as I am really new to bacula. Tonight I retried to install qt4 which was already installed. I think that I found what causes the trouble. It has to come with the settings of enviro

Re: [Bacula-users] Problem to compile Bacula Admin Tools

2010-10-19 Thread John Drescher
On Tue, Oct 19, 2010 at 3:20 PM, Stéphane Cesbron wrote: >  Hi, > > I downloaded the sources of bacula 5.0.3. I compiled it. Everything > works fine except when I wanted to get the bat utility. I can't compile it. > > I'm on A RHEL 5.5 box - up to date - >> [scesb...@srv-clc-02 bacula-5.0.3]$ unam

[Bacula-users] Problem to compile Bacula Admin Tools

2010-10-19 Thread Stéphane Cesbron
Hi, I downloaded the sources of bacula 5.0.3. I compiled it. Everything works fine except when I wanted to get the bat utility. I can't compile it. I'm on A RHEL 5.5 box - up to date - > [scesb...@srv-clc-02 bacula-5.0.3]$ uname -a > Linux srv-clc-02 2.6.18-194.17.1.el5 #1 SMP Mon Sep 20 07:12

Re: [Bacula-users] How to parse Bacula conf files

2010-10-19 Thread Craig Miskell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yuri Timofeev wrote: > Hi > > During development the prototype of the my new system (Webacula 5.5), > I tried to parse the bacula-dir.conf. > However, this is probably not possible with simple regexp's. > It turned out that some applications, for exa

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread alexander
> [snip] >> Despite my specific situation, what should I do in that situation (0% >> free > Bounce the services...? I don't know if I get it... The first thing I've done was stop the services (kill all bacula process), put a new hard disk and start again the services. []s Alexander

Re: [Bacula-users] Can't cancel job

2010-10-19 Thread Mehma Sarja
On 10/19/10 7:56 AM, alexan...@nautae.eti.br wrote: [snip] > Despite my specific situation, what should I do in that situation (0% free > > Bounce the services...? -- Download new Adobe(R) Flash(R) Builder(TM) 4 The n

[Bacula-users] Remove Client from bacula-dir.conf, catalog entries, and data

2010-10-19 Thread Avarca, Anthony
All, I need a little guidance. I have removed a couple of clients from bacula-dir.conf. Can anyone recommend a procedure on how to remove the catalog entries and data storage associated with the clients? Perhaps before removing the clients from bacula-dir.conf I need to use bconsole and purne? B

Re: [Bacula-users] How do I move from one bacula server to another?

2010-10-19 Thread Oliver Hoffmann
> > I do a mysqldump from the old server's catalog and push that onto > > the new one, > >copy the configs and change the volumes + pools, paths, etc > >accordingly? > > Sounds good. > > > Will I run into problems because of the different versions? > > Check the manual, there are update scripts

[Bacula-users] Can't cancel job

2010-10-19 Thread alexander
Hi. Excuse my English. The backup server has 0% of free space (I know, it's a shame, but my monitor system - Zabbix - it's not running yet). Taking a look at bacula I can see a job running. What I did was stop bacula, take a new disk (100% free space) and run bacula again. But the

Re: [Bacula-users] get_file_record want 1 got rows=2 after migration from MySQL to PostgreSQL

2010-10-19 Thread Martin Simmons
I don't know if it the duplicates are caused by the copy job, but there are two interesting differences between the rows: 1) The atime (access time) field in the LStat is different (BMvLg8 vs BMvJgV), suggesting that the file's stat was read more than once. 2) The FileIndex values are differen

Re: [Bacula-users] get_file_record want 1 got rows=2 after migration from MySQL to PostgreSQL

2010-10-19 Thread Robert Oschwald
Today I checked again the migrated pg82 db for last nights incremental of one of the servers. Still the same error for this backup's new entries when I click on one of the nodes in the bat restore select tree: sql_get.c:156-0 === Problem! sql_get.c:155 get_file_record want 1 got rows=2 PathId

[Bacula-users] How to parse Bacula conf files

2010-10-19 Thread Yuri Timofeev
Hi During development the prototype of the my new system (Webacula 5.5), I tried to parse the bacula-dir.conf. However, this is probably not possible with simple regexp's. It turned out that some applications, for example, Webmin does this with a regexp. But they're doing it wrong! For example,