Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Robert W Hartzell
Falk Sauer wrote: Hi Robert, On Montag 15 Juni 2009 06:13:21 wrote: Falk Sauer wrote: Hi Bob, On Sonntag 14 Juni 2009 23:35:43 wrote: I have installed both 3.0.0 3.0.1 on a test sever using the same configuration and hardware as my production serer. Everything works as expected until I

Re: [Bacula-users] Firewall woes

2009-06-15 Thread Ken Barclay
Well, I added state ESTABLISHED and RELATED to the iptables on both the Director and Client Servers, restarted iptables and manually started the backup job. This is the reply: *messages 15-Jun 09:07 submail-fd JobId 8425: Warning: bsock.c:123 Could not connect to Storage daemon on

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Falk Sauer
Hi Robert, On Montag 15 Juni 2009 08:54:33 wrote: Ok i can confirm that th query does fail when entered manualy into mysql building directory tree for JobId(s) 1 ... Query failed: SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, File.LStat FROM ( SELECT max(FileId) as FileId,

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Robert W Hartzell
Falk Sauer wrote: Hi Robert, On Montag 15 Juni 2009 08:54:33 wrote: Ok i can confirm that th query does fail when entered manualy into mysql building directory tree for JobId(s) 1 ... Query failed: SELECT Path.Path, Filename.Name, File.FileIndex, File.JobId, File.LStat FROM ( SELECT

[Bacula-users] Media recycling

2009-06-15 Thread Ludovic Marcilly
Hi, I have installed bacula and i'm trying to backup on DLTv4 medium. I have 10 media and I want to have even and odd weeks and I also want to be able to backup on the same medium each day if I forgot to change medium... I have defined the following pool: Pool { Name = mediaset_backup Pool

[Bacula-users] Problem with Fileset

2009-06-15 Thread Personal Técnico
Hi, We have getting some problems with "File = \\file.txt" option of the "fileset.conf" file. We have configured "fileset.conf" with followiong option: File = "\\C:/lista.txt" With this option, within a fileset definition, Bacula would "take" C:\lista.txt file in the client system and

Re: [Bacula-users] PowerVault 114T and bacula

2009-06-15 Thread Walter den Besten
Feeling so stupid I have put the unit in the rack last week, attached cables, added scsi card in the server, loaded tapes, but forgot one thing.. Attache the scsi cable to the server.. Found at least one tape unit, need to find the second one, but most important step done.. Thanks,

Re: [Bacula-users] Firewall woes

2009-06-15 Thread Kevin Keane
First of all, temporarily turn off iptables on the Storage Daemon machine and see if that allows you to connect. That way, you don't have to guess on WHICH firewall is the problem. If this allows you to connect, you would need to (on the SD machine) ACCEPT connections on port 9103 from

[Bacula-users] Does the Qualstar RLS-4221 works with BACULA

2009-06-15 Thread Julien Logel
Hello everybody ! I just wanted to know if anybody has got the library Qualstar RLS-4221 and if it works with BACULA. I found some Qualstar RLS- on the hardware compatibility list of MTX but I would be reassured if someone could give me confirmation. P.S : Sorry for english, it's not my

[Bacula-users] failing to build a statically linked bacula-fd (3.0.1)

2009-06-15 Thread Gerald Leier
Hello, I am having problems compiling a statically linked bacula-fd suitable for putting on a rescue/recovery installation. cd bacula-3.0.1 make clean ./configure --prefix=/usr/bacula \ --sbindir=/usr/bacula/bin \ --sysconfdir=/usr/bacula/bin \

Re: [Bacula-users] failing to build a statically linked bacula-fd (3.0.1)

2009-06-15 Thread Gerald Leier
hello, i just tried with some extended options (disabled openssl, set global static flag) ./configure --prefix=/usr/bacula \ --sbindir=/usr/bacula/bin \ --sysconfdir=/usr/bacula/bin \ --with-scriptdir=/usr/bacula/bin \ --enable-smartalloc \

Re: [Bacula-users] failing to build a statically linked bacula-fd (3.0.1)

2009-06-15 Thread Thomas
hi, my first try was: ./configure --enable-static-fd --enable-client-only configure-output Statically Linked FD:yes make . Linking bacula-fd ... /home/thomas/bacula-3.0.1/libtool --silent --tag=CXX --mode=link /usr/lib/ccache/g++ -L../lib -L../findlib .. and the result was a

[Bacula-users] Upgrade 2.4.4 to 3.0.1 in CentOs

2009-06-15 Thread Olivier Delestre
hello, I would like to upgrade to 3.0.1 with bacula packages distributed by Felix Schwarz in CentOS 5. Do I have to stop the mysql database before running yum install - nogpgcheck bacula-mysql-3.0.1-1.el5.x86_64.rpm? update_bacula_tables is execute it? you have a check list of tasks to

[Bacula-users] Question on BeforeJob

2009-06-15 Thread Chandranshu .
Hi I configured the following JobDef and Job for bacula: JobDefs { Name = HostingFilesBackupJob Type = Backup Level = Incremental FileSet = Hosting Files Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Full Backup Pool = FreeVM-Full-Pool

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Jari Fredriksson
Jari Fredriksson wrote: You can always create a send_bacula_beeper.sh which contains #!/bin/sh http_proxy=some_ip:some_port send_beeper.pl $* Hi: I haven't enough knowledge of Bash. I want to use var from Bacula as %n and %e. I create a script as you suggest me. #!/bin/sh

Re: [Bacula-users] failing to build a statically linked bacula-fd (3.0.1)

2009-06-15 Thread Gerald Leier
hi, On Mon, 2009-06-15 at 14:52 +0200, Thomas wrote: hi, my first try was: ./configure --enable-static-fd --enable-client-only configure-output Statically Linked FD:yes make . Linking bacula-fd ... /home/thomas/bacula-3.0.1/libtool --silent --tag=CXX --mode=link

Re: [Bacula-users] Question on BeforeJob

2009-06-15 Thread Chandranshu .
Please ignore this mail. I read through the manual and found the Client Run Before Job directive. Thanks anyways Chandranshu On Mon, Jun 15, 2009 at 7:29 PM, Chandranshu . chandran...@gmail.comwrote: Hi I configured the following JobDef and Job for bacula: JobDefs { Name =

[Bacula-users] Antwort: Question on BeforeJob

2009-06-15 Thread C . Keschnat
Chandranshu . chandran...@gmail.com wrote on 15.06.2009 15:59:06: Chandranshu . chandran...@gmail.com 15.06.2009 15:59 An bacula-users@lists.sourceforge.net Kopie Thema [Bacula-users] Question on BeforeJob Hi I configured the following JobDef and Job for bacula: JobDefs {

Re: [Bacula-users] Firewall woes

2009-06-15 Thread Josh Fisher
Ken Barclay wrote: Well, I added state ESTABLISHED and RELATED to the iptables on both the Director and Client Servers, restarted iptables and manually started the backup job. This is the reply: On both Director and Client, and SD as well, the listening socket has to accept packets in

Re: [Bacula-users] failing to build a statically linked bacula-fd (3.0.1)

2009-06-15 Thread Graham Keeling
Hello, My colleague went through this trouble a while back and filed a bug report. Here is the relevant line from my spec file: # Build the static-bacula-fd for clients to download. See bacula bug 1257. PIDOF=/sbin/pidof ./configure --mandir=/usr/man \ --with-sbin-perm=755 --with-openssl

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Reynier Pérez Mira
Jari Fredriksson wrote: Just like you do now from Bacula. The parameter $* means 'all parameters', so the new shell script passes all of its parameters to send_beeper.pl. Just pass to it the %n and %e in Bacula. Jari, sorry about my poor knowledge about this topic, could you please leave me a

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Reynier Pérez Mira
Jari Fredriksson wrote: Hi every: I have Bacula configured for send me a beeper in case a Job fail. This script (make in Perl) needs Internet connection. Now I want to set the environment var http_proxy and unset directly from Bacula. Is this possible? I mean for example, following a simple

Re: [Bacula-users] failing to build a statically linked bacula-fd(3.0.1)

2009-06-15 Thread Arno Lehmann
Hi, --- Originalnachricht --- Von: Gerald Leier gerald.le...@lixto.com An: Thomas tho...@ic3s.de Gesendet: 15.6.09, 15.31 Betreff: Re: [Bacula-users] failing to build a statically linked bacula-fd(3.0.1) hi, On Mon, 2009-06-15 at 14:52 +0200, Thomas wrote: hi, my first

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Jari Fredriksson
Jari Fredriksson wrote: Just like you do now from Bacula. The parameter $* means 'all parameters', so the new shell script passes all of its parameters to send_beeper.pl. Just pass to it the %n and %e in Bacula. Jari, sorry about my poor knowledge about this topic, could you please leave

[Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Jonathan Bayer
Hi, Running Bacula 3.0.1 on an Ubuntu 9.05 system. Main backups are done to an internal hard disk. Pool is called Internal, volume name is Internal VirtualFull backups are done to an external hard disk. Pool is called External, volume name is D1 The internal pool is mounted in:

[Bacula-users] How do I resotre directories with spaces in the name?

2009-06-15 Thread Kevin Thorpe
Hi all, I've just hit a bit of a snag with restore. I can't seem to cd into a directory with a space in the name. I've tried quoting the name and \escaping the spaces and neither works. How do I do this? I can't reeducate (baseball bat) all our Windows users not to use spaces. thanks

Re: [Bacula-users] Setting variables directly from Bacula, is possible?

2009-06-15 Thread Jari Fredriksson
Jari Fredriksson wrote: Just like you do now from Bacula. The parameter $* means 'all parameters', so the new shell script passes all of its parameters to send_beeper.pl. Just pass to it the %n and %e in Bacula. Jari, sorry about my poor knowledge about this topic, could you please leave

Re: [Bacula-users] failing to build a statically linked bacula-fd(3.0.1)

2009-06-15 Thread Gerald Leier
hello, On Mon, 2009-06-15 at 16:37 +0200, Arno Lehmann wrote: Hi, --- Originalnachricht --- Von: Gerald Leier gerald.le...@lixto.com An: Thomas tho...@ic3s.de Gesendet: 15.6.09, 15.31 Betreff: Re: [Bacula-users] failing to build a statically linked bacula-fd(3.0.1)

Re: [Bacula-users] moving from UTF-8 to SQL_ASCII -- SOLVED

2009-06-15 Thread David Newman
On 6/13/09 2:42 PM, Dan Langille wrote: David Newman wrote: bacula-server-3.0.0, postgresql-server-8.2.13 Looking for guidance on moving a database from UTF-8 to SQL_ASCII. I've been getting a bunch of warnings like this since moving to bacula 3.x: bacula-dir JobId 0: Warning: Encoding

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Dirk Bartley
OK, just re-read the storage= option under pool and it is a little bit confusing to me because I always thought the storage came from the job defaults, then the schedule resource for that run if it has an override. From the docs, this means my assumtion was incorrect. The Storage resource may

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Andrea Conti
I'm using MySQL 4.0.31. MySQL 4.0 does not support subqueries, you need at least 4.1. andrea -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Robert W Hartzell
Andrea Conti wrote: I'm using MySQL 4.0.31. MySQL 4.0 does not support subqueries, you need at least 4.1. andrea Are these subqueries something that's newly added when accurate backups were implemented? The reason I ask is because I have always used the version of mysql that ships with

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Arno Lehmann
Hello, 15.06.2009 19:49, Dirk Bartley wrote: OK, just re-read the storage= option under pool and it is a little bit confusing to me because I always thought the storage came from the job defaults, then the schedule resource for that run if it has an override. From the docs, this means my

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Andrea Conti
Are these subqueries something that's newly added when accurate backups were implemented? Well, all I wanted to point out was that the error message you are getting is caused by MySQL choking on the subquery in the statement... I am not really familiar with the SQL Bacula uses, but yes, if

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Jonathan Bayer
I have a temporary solution, will send another message later after I've conducted a few more tests. I simply created a new label on the external drive, so now the drive contains two labels. Now it is able to read both the internal backup AND the original VirtualFull backups, and write the new

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Jonathan Bayer
That doesn't make sense, because the only storage I reference is the internal storage. The only reference to the external storage is in the internal storage. However, I may have found the problem. I turned on tracing and set the debug level to 999. In the SD trace file, I found the following

[Bacula-users] Restoring Fileset from one Computer to Different Computer

2009-06-15 Thread Industry Standard Computers
I can't believe I can't find any clear cut way to do this. I have a Linux box Cent OS 4.2 with Bacula pre installed. I have to use Windows Client 2.0.2 with it. I have a full functioning system to backup file folders from a Windows computer to a file on the Linux box and restore the same file

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Jonathan Bayer
On Mon, 2009-06-15 at 21:09 +0200, Arno Lehmann wrote: Hello, 15.06.2009 19:49, Dirk Bartley wrote: OK, just re-read the storage= option under pool and it is a little bit confusing to me because I always thought the storage came from the job defaults, then the schedule resource for that

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Arno Lehmann
Hi, 15.06.2009 21:38, Jonathan Bayer wrote: On Mon, 2009-06-15 at 21:09 +0200, Arno Lehmann wrote: Hello, 15.06.2009 19:49, Dirk Bartley wrote: OK, just re-read the storage= option under pool and it is a little bit confusing to me because I always thought the storage came from the job

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Jonathan Bayer
On Mon, 2009-06-15 at 16:17 -0400, John Drescher wrote: On Mon, Jun 15, 2009 at 3:38 PM, Jonathan Bayerjba...@regiscope.com wrote: On Mon, 2009-06-15 at 21:09 +0200, Arno Lehmann wrote: Hello, 15.06.2009 19:49, Dirk Bartley wrote: OK, just re-read the storage= option under pool and it

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread John Drescher
On Mon, Jun 15, 2009 at 3:38 PM, Jonathan Bayerjba...@regiscope.com wrote: On Mon, 2009-06-15 at 21:09 +0200, Arno Lehmann wrote: Hello, 15.06.2009 19:49, Dirk Bartley wrote: OK, just re-read the storage= option under pool and it is a little bit confusing to me because I always thought the

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Bob
Andrea Conti wrote: Are these subqueries something that's newly added when accurate backups were implemented? Well, all I wanted to point out was that the error message you are getting is caused by MySQL choking on the subquery in the statement... I am not really familiar with the SQL

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread John Drescher
That is fine if a user can insert the media from one drive to the other. If they are in separate locations or you do not want to switch media back and forth between devices its best to make them different media type so bacula does not request media that you will not have. OK.  So how do I

Re: [Bacula-users] Bacula mixing up pools and mount points

2009-06-15 Thread Jonathan Bayer
I got excited when I read the description of the VirtualFull option. In my excitement I neglected to re-read the description of the storage types. My mistake, thank you all for your comments. JBB On Mon, 2009-06-15 at 16:59 -0400, John Drescher wrote: That is fine if a user can insert the

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Fahrer, Julian
Hi, Not what you asked, But you could also use postgres as database i you don't want to install a newer mysql version in your box. It also ships with solaris. Kind regards Mit freundlichem Gruß Julian Fahrer - Originalnachricht - Von: Bob b...@rwhartzell.net An: bacula-users

Re: [Bacula-users] Problem with accurate backups

2009-06-15 Thread Robert W Hartzell
Fahrer, Julian wrote: Hi, Not what you asked, But you could also use postgres as database i you don't want to install a newer mysql version in your box. It also ships with solaris. Kind regards Mit freundlichem Gruß Julian Fahrer Thanks for the suggestion and i have been looking

Re: [Bacula-users] Restoring Fileset from one Computer to Different Computer

2009-06-15 Thread Industry Standard Computers
I created the backup on the server from computer xpcomp :-) Went to computer server2 and attempted to restore. NOTTA! :-( Renamed server2 and made sure all the passwords, user, and directory structures were the same as xpcomp and tried a second time to restore xpcomp-fd NOTTA :-( When I