Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 08:49, Oliver Lehmann wrote: a Kern Sibbald writes: patch-src-findlib-attribs.c when restoring a symlink, use lchflags to restore the file flags defined for the symlink (new feature) when restoring a hardlink, don't call chmod, chown, utime because

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
Hello, I've now taken a look at these patches and though they might be going in the right direction, I cannot consider them for inclusion in version 1.40 for several reasons: 1. They are not relative to the current CVS. 2. They are a significant change from the current code, which is not a

Re: [Bacula-users] [Bacula-devel] problems with hardlin ks to schg secured files on FreeBSD on restore

2006-12-13 Thread Oliver Lehmann
Kern Sibbald writes: There is no such think as a hardlink. There is a hardlink operation. It is very different from a softlink, and if you think about them the same way, you will never get it right. Two files that are hardlinked (really poor terminology) *are* one and the same file.

Re: [Bacula-users] [Bacula-devel] problems with hardlin ks to schg secured files on FreeBSD on restore

2006-12-13 Thread Oliver Lehmann
Hi Kern, Kern Sibbald writes: 1. They are not relative to the current CVS. Hm, they are applying to it, or? At least I tried that.. 2. They are a significant change from the current code, which is not a problem during the development cycle, but *is* a major problem at this point.

Re: [Bacula-users] multitape-changer issue

2006-12-13 Thread Alessio Mineni
Thanks Arno, you are a Saint :) Alle 20:50, martedì 12 dicembre 2006, Arno Lehmann ha scritto: Hello, On 12/12/2006 11:59 AM, Alessio Mineni wrote: Hi all, I have 3 DAT drives and I want to group this drives into one autochenger virtual device via multitape-changer script. There

Re: [Bacula-users] multitape-changer issue

2006-12-13 Thread Alessio Mineni
Alle 20:50, martedì 12 dicembre 2006, Arno Lehmann ha scritto: Hello, On 12/12/2006 11:59 AM, Alessio Mineni wrote: Hi all, I have 3 DAT drives and I want to group this drives into one autochenger virtual device via multitape-changer script. There was some discussion about

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
Hello, On Wednesday 13 December 2006 10:11, Oliver Lehmann wrote: Hi Kern, Kern Sibbald writes: 1. They are not relative to the current CVS. Hm, they are applying to it, or? At least I tried that.. 2. They are a significant change from the current code, which is not a problem

Re: [Bacula-users] [Bacula-devel] problems with hardlin ks to schg secured files on FreeBSD on restore

2006-12-13 Thread Oliver Lehmann
Hi Kern, it is ok when you want me to deliver the patch in a defined format. I've no problems with that. I must say that I didn't read the developer manual before I sent the patch, but I hope the patch does now comply to the rules. I've changed the indention from my former patch so you can see

[Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Gabriele Bulfon
Hello, I stumbled upon some pages that confirm a suspect I had about using postgres with bacula: - Postgres has autocommit by default, slowing down a lot any Bacula operation because Bacula does not use any transaction during write. If this is truedo I have any way to set up just the Bacula

[Bacula-users] restore data saved from windows into a linux

2006-12-13 Thread Marco Strullato
Hello! I have to restore data saved from windows into a linux box but I get this error:Error: Win32 GZIP data stream not supported on this Client. How shoud I do? Thanks Marco - Take Surveys. Earn Cash. Influence the

Re: [Bacula-users] restore data saved from windows into a linux

2006-12-13 Thread Ger Apeldoorn
You've got to restore it to a Windows box. The compression algorithm is different. Ger. Op woensdag 13 december 2006 14:33, schreef Marco Strullato: Hello! I have to restore data saved from windows into a linux box but I get this error:Error: Win32 GZIP data stream not supported on this

Re: [Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Bill Moran
In response to Gabriele Bulfon [EMAIL PROTECTED]: Hello, I stumbled upon some pages that confirm a suspect I had about using postgres with bacula: - Postgres has autocommit by default, slowing down a lot any Bacula operation because Bacula does not use any transaction during write. If this

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Jeremy C. Reed
patch-src-findlib-create_file.c Try to unset file flags of the sourcefile when the hardlink failed. Retry to hardlink then. If the hardlink fails then again, restore the file flags of the sourcefile. If the hardlink was created w/o errors, restore the fileflags of the sourcefile. Why

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 12:01, Oliver Lehmann wrote: Hi Kern, it is ok when you want me to deliver the patch in a defined format. I've no problems with that. I must say that I didn't read the developer manual before I sent the patch, but I hope the patch does now comply to the

Re: [Bacula-users] FD service repeatedly crashing on Windows Server 2003

2006-12-13 Thread Michal Winsor
Thanks for your reply Robert. I will make the change and see how it works. - Michal -- Michal J. Winsor, ISP Information Technology Analyst Open Systems Canada Limited 1627 Broad Street Regina, SK S4P1X3 Tel.: 306.359.6725 http://www.oscl.ca Robert Nelson wrote: Short Answer:

Re: [Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Gabriele Bulfon
I came across the performance problem with SPARC Sun280R machines, at first, because they have a slower processor then modern AMD or x86 machines. On sparc machines large backups cannot be managed, because the transfer rate of the LTO is slowed down up to 1Mb/s or lower, because of the slow

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Attila Fülöp
Folks, just to dropping into this discussion. Kern Sibbald wrote: On Wednesday 13 December 2006 08:49, Oliver Lehmann wrote: a Kern Sibbald writes: patch-src-findlib-attribs.c when restoring a symlink, use lchflags to restore the file flags defined for the symlink (new feature) This

[Bacula-users] about the 1.40 version release

2006-12-13 Thread Jaime Ventura
Hello, I've read a few messages ago that the new stable version of bacula would be released 'till the end of 2006. Does this sting stand? On The Current State of Bacula -- 1.39.29 (01 December 2006) its says Configurable TLS (SSL) communications encryption

[Bacula-users] GNUAutconf IPV6 Testing Strategy (WAS: [Fwd: [Bacula-devel] GNU autconf macro for HAVE_IPV6 check on NetBSD])

2006-12-13 Thread Brian A. Seklecki
It seems that there are actually several permutations of systems by which the IPv6 checks needs to take into account: - Systems that don't support ipv6 (Minix) - Systems that support ipv6 and have both kernel and userland support compiled in and headers present - Systems that shipped/installed

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 16:07, Attila Fülöp wrote: Folks, just to dropping into this discussion. Kern Sibbald wrote: On Wednesday 13 December 2006 08:49, Oliver Lehmann wrote: a Kern Sibbald writes: patch-src-findlib-attribs.c when restoring a symlink, use lchflags to

[Bacula-users] Backups Successful - Restores Fail

2006-12-13 Thread jpg
Need some guidance on how to restore a single file. Successfully configured and did a full backup of filesystem spanning 4 tapes in autochanger. Renamed a test file from 'ob' to 'ob.orig'. Then requested a restore of the file 'ob'. Restore said it completed successfully, however the 'ob' file

Re: [Bacula-users] Backups Successful - Restores Fail

2006-12-13 Thread Scott Farmer
Did you look for the file in the temp directory the file was restored to? In your config below the restore process shows the base path where the file was restored. The files will not be restored to the original path unless you change that option when you run the restore, or change the path in

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Oliver Lehmann
Jeremy C. Reed wrote: Why do the chflags(attr-olname, s.st_flags) restore the fileflags of the sourcefile twice? once in case the 2nd linking failed (there is a return after that!) and the 2nd time for the linking was successfull case. Also the first reset of the chflags() should probably

Re: [Bacula-users] [Bacula-devel] Win32: LabelFormat Directive Syntax

2006-12-13 Thread Erich Prinz
On Dec 13, 2006, at 1:40 AM, Robert Nelson wrote: Do you mean the result was clientname-Day_12? If so that would be expected. Yes, these were the results. Good! According to the grammar in the manual, the curly braces are optional if you are just expanding the name. If you

Re: [Bacula-users] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Alan Brown
On Tue, 12 Dec 2006, Kern Sibbald wrote: The solution proposed is to keep file flags in a list and set them after all files have been restored, so that all hardlinks can be created. Though it is probably enough to do this for hardlinked files. Looks like this would make the restore code even

[Bacula-users] 1.38.11 - possible bug in Rerun Failed Levels.

2006-12-13 Thread Alan Brown
Can anyone else confirm this? Rerun Failed Levels = yes If an incremental job is scheduled to start before a full or differential job has completed (ie, still running): When the incremental job starts the previous (still running) job is detected as failed and the incremental is

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Jeremy C. Reed
On Wed, 13 Dec 2006, Kern Sibbald wrote: Concerning all these differences on FreeBSD: if the changes needed to make things work correctly on FreeBSD are extensive and require a bit of #ifdefing, we are going to have to re-think how we do it. The code is ... I just want to point out that

Re: [Bacula-users] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
On Tuesday 12 December 2006 20:12, Alan Brown wrote: On Tue, 12 Dec 2006, Kern Sibbald wrote: The solution proposed is to keep file flags in a list and set them after all files have been restored, so that all hardlinks can be created. Though it is probably enough to do this for

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 17:20, Oliver Lehmann wrote: Jeremy C. Reed wrote: Why do the chflags(attr-olname, s.st_flags) restore the fileflags of the sourcefile twice? once in case the 2nd linking failed (there is a return after that!) and the 2nd time for the linking was

Re: [Bacula-users] The number of files mismatch!

2006-12-13 Thread Forrest England
Thanks for all the helpful responses, that gives me a better idea of how the volumefiles field is used. Wierd thing is the btape test and fill commands run without a hitch with the bacula-sd.conf I'm using. I've found a way to work around it so I can get some backups while I get it working

Re: [Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 15:57, Gabriele Bulfon wrote: I came across the performance problem with SPARC Sun280R machines, at first, because they have a slower processor then modern AMD or x86 machines. On sparc machines large backups cannot be managed, because the transfer rate of the LTO

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Oliver Lehmann
Kern Sibbald wrote: I encourage you to re-submit a patch for the above problem once 1.40.0 is out, possibly coordinating with Attila, since he seems to be working on something a bit more encompasing (attribs + ACLs, ...). Ok, no problem - I'll do so. -- Oliver Lehmann

Re: [Bacula-users] restore data saved from windows into a linux

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 14:33, Marco Strullato wrote: Hello! I have to restore data saved from windows into a linux box but I get this error:Error: Win32 GZIP data stream not supported on this Client. How shoud I do? Try upgrading your FD to the latest 1.39.30 BETA release. It is

Re: [Bacula-users] [Bacula-devel] problems with hardlinks to schg secured files on FreeBSD on restore

2006-12-13 Thread Attila Fülöp
Kern Sibbald wrote: On Wednesday 13 December 2006 16:07, Attila Fülöp wrote: Folks, just to dropping into this discussion. Kern Sibbald wrote: On Wednesday 13 December 2006 08:49, Oliver Lehmann wrote: a Kern Sibbald writes: patch-src-findlib-attribs.c when restoring a symlink, use

Re: [Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kern Sibbald wrote: Moving the DB on another x86 / amd machine solve the problem, but I anyway can reach a maximum rate of 8-10Mb/sec, that is not the maximum transfer rate I may have on those LTO drives (that may run from 15 to 60 to 120 Mb/s

Re: [Bacula-users] Building bacula on OpenBSD

2006-12-13 Thread Kern Sibbald
Hello, Since this is directed to me, and assuming I wrote the double 'ed sections below (which sound a lot like me but so much is snipped that I cannot be sure), I can assure you that, my intention, if I am the guity party was not to insult any person or any particular OS, but just to point

Re: [Bacula-users] restore with two autochanger using same MediaType

2006-12-13 Thread Arno Lehmann
Hello, On 12/12/2006 11:47 PM, Thomas Glatthor wrote: Hi Arno, Ok, I understand that setup. I even see a solution for it: Set up your storage devices with different media types. When transfering tapes, change the media types of the tapes according to the location they're going to. if

Re: [Bacula-users] 1.38.11 - possible bug in Rerun Failed Levels.

2006-12-13 Thread Arno Lehmann
Hi, On 12/13/2006 1:07 PM, Alan Brown wrote: Can anyone else confirm this? Rerun Failed Levels = yes If an incremental job is scheduled to start before a full or differential job has completed (ie, still running): When the incremental job starts the previous (still running) job

Re: [Bacula-users] restore with two autochanger using same MediaType

2006-12-13 Thread Kern Sibbald
On Wednesday 13 December 2006 22:48, Arno Lehmann wrote: Hello, On 12/12/2006 11:47 PM, Thomas Glatthor wrote: Hi Arno, Ok, I understand that setup. I even see a solution for it: Set up your storage devices with different media types. When transfering tapes, change the media types

Re: [Bacula-users] Always upgrade Incremental to Full. Why

2006-12-13 Thread Arno Lehmann
Hi, On 12/13/2006 4:54 PM, Kamen Medarski wrote: I have a strange situation here. I can't find any reason why bacula always try to upgrade scheduled or even manualy runed incremental job. Full job appear to be done without errors for any client, but next incremental job was upgraded to

Re: [Bacula-users] Backups Successful - Restores Fail

2006-12-13 Thread Arno Lehmann
Hi, On 12/13/2006 4:57 PM, jpg wrote: Need some guidance on how to restore a single file. Successfully configured and did a full backup of filesystem spanning 4 tapes in autochanger. Renamed a test file from 'ob' to 'ob.orig'. Then requested a restore of the file 'ob'. Restore said it

Re: [Bacula-users] multitape-changer issue

2006-12-13 Thread Arno Lehmann
Hello, On 12/13/2006 10:34 AM, Alessio Mineni wrote: Thanks Arno, you are a Saint :) It's christmas time :-) Alle 20:50, martedì 12 dicembre 2006, Arno Lehmann ha scritto: Hello, On 12/12/2006 11:59 AM, Alessio Mineni wrote: Hi all, I have 3 DAT drives and I want to group this

Re: [Bacula-users] about the 1.40 version release

2006-12-13 Thread Robert Nelson
Yes TLS communication is supported by the Windows version. Openssl is installed as part of the Bacula installation. Configuration is similar to the UNIX environment and requires some hand editing of the configuration files. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Bacula-users] about the 1.40 version release

2006-12-13 Thread Jaime Ventura
Thank you, Robert, for you reply. Those are very good news, since the current stable version didnt. Robert Nelson wrote: Yes TLS communication is supported by the Windows version. Openssl is installed as part of the Bacula installation. Configuration is similar to the UNIX environment and

Re: [Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Gabriele Bulfon
I have an LTO3 library installed behind a modern AMD machine, a Sun v20z biprocessor. Again with Solaris 10 and postgres 8. The avarage rate is 8Mb/s, and I have just some peak transfer rate of 14Mb/s (and this is way tooslow for an LTO3), and this happens ONLY when Bacula is backing-up

Re: [Bacula-users] Postgres slow because of autocommit

2006-12-13 Thread Gabriele Bulfon
I forgot about the link I found about this: http://www.mail-archive.com/pgsql-performance@postgresql.org/msg19584.html what do you think? Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com

[Bacula-users] No rule to make target -- libsql.a

2006-12-13 Thread Quanzhong Zhang
Hi, There are some error message appear when I install Bacula. Would you kindly help me? Execute the command: ./configure \ --sbindir=$HOME/bacula/bin \ --sysconfdir=$HOME/bacula/bin \ --with-pid-dir=$HOME/bacula/bin \ --with-subsys-dir=/var/bacula/subsys \