[Bacula-users] Bacula wiki
Date: Wed, 06 Jun 2007 16:13:27 -0400 From: Frank Sweetser [EMAIL PROTECTED] Subject: Re: [Bacula-users] voting To: Ryan Novosielski [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 Ryan Novosielski wrote: You know, it may be overkill... but then again, haven't we as a community sort of been clamoring for a Bacula-official wiki for awhile? Well if there has been some clamoring, I have missed it -- especially considering that there is already an excellent Bacula wiki. What is missing is a link from the Bacula web site to the wiki which I am now investigating. I know you may not want to be the one doing that work, but I wonder if we can't kill two birds here with one stone. I've been running a DokuWiki installation with bacula related info on http://paramount.ind.wpi.edu/wiki for awhile. It's not fully official in that it's not under bacula.org, but kern certainly knows about it, and has pulled some of the manual correction stuff into the main docs. Yes, very true. I would like to pull more for the manual, but I have so many things that I am interrupt driven, which means that unless someone explicitly brings something to my attention, I never find the time to do these things. Didn't you (Frank) express and interest in putting essential and appropriate wiki info into the main doc? Regards, Kern DokuWiki looks to have a pretty good plugin system, so if someone with more PHP-fu than I have wants to try writing up a suitable ranking system I'd be happy to host it there. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC -- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] some issues with wxconsole
Hi, On 6/7/2007 2:24 AM, Craig White wrote: bacula 2.03 (on RHELv5) wxconsole is nice - thanks - went into restore tab and chose a folder for a test restore. Went through, picked the folder and clicked the 'Restore...' button and the wxconsole locked up with a message at the bottom that says 'Failed to retrieve jobid' Hmm... I haven't used wxconsole restore tab for a long time because. It did indeed restore though but wxconsole is essentially locked up and I can't do anything in restore tab at all and in console tab, messages are still written but it isn't possible to click into the command line. What are the messages in the console output window? Also, do I understand correctly that the restore itself finished successfully? Obviously I could click the wxconsole closed and re-open it. That would be a usable first-aid measure when the restore job finished... Standard error written to terminal states... (wxconsole:5370): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget-parent == GTK_WIDGET (container)' failed promptparser-getChoices()=157175896 That's more something for the programmers, I think :-) Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-users Digest, Vol 14, Issue 6
Hello, On 6/7/2007 3:39 AM, ?? wrote: A real name would be nice. And quoting the whole digest is really not necessary. hi: I want to know if the bacula can limit the speed between the fd and sd. No. You'd have to use your OS tools or external stuff for that purpose. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FYI An annoying GPL catch-22 concerning Bacula
Hello, For non-English speakers, a catch-22 in English means a situation in which there is no way out. The following annoying and frustrating issue has come up with regard to the Bacula source code: As you probably know, Bacula is released with a modified GNU GPL licence. The Bacula license modifies the GPL to permit Bacula to link to OpenSSL. This was necessary because using MySQL libraries requires OpenSSL. This modification was suggested by Debian to bring Bacula in compliance with their procedures. The problem comes from including pure GNU GPL code, which is not compatible with the OpenSSL license, inside Bacula itself (there are something like 8 such files). This works in the same way that Debian would not allow Bacula as pure GNU GPL to link with OpenSSL. If Bacula uses any pure GNU GPL code then that code cannot be subject to the GNU GPL modifications, and that code technically cannot linked and distributed with Bacula because of OpenSSL. I suspect that a lot of GPL projects are in a similar situation, but they do not explicitly point out the exception as Bacula does. The real bummer here is that this issue was flagged by someone involved in the Fedora packaging process. From what I understand (I may be wrong here), Fedora and hence Red Hat will not use Bacula because it uses some pure GPL code and OpenSSL together raising potential license problems -- after the problems with SCO and threats from Microsoft, their license concerns are quite understandable. This is not a show-stopping issue because at least for the moment, no author of pure GNU GPL code is lodging a complaint. In addition as I mentioned in a previous email, this issue could potentially be resolved by GPL v3 (due at the end of the month, if I remember right) because it is compatible with the Apache license, which is apparently what OpenSSL uses. In the mean time, until this problem is resolved, I've freezed all inclusion of new GPL code (copyrighted by others) in Bacula. The really complicated aspect of the above is that if you build a program such as Bacula using all your own code, and you use OpenSSL then in linking it, you just happen to drag some GPL'ed code from some library directly into your binary (most libararies are shared objects so do not become part of your binary), as is the case with the statically linked Bacula used in the rescue package, you are in violation of the GPL if you distribute such a binary. It seems that the only solution is that if you use GPL code, you must use *all* GPL compatible code (not so easy), and if you don't use it, you shouldn't even use the system libraries if there is any chance they could be accidentally linked into your program. Best regards, Kern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] voting
Hi, On 6/7/2007 5:54 AM, Ken Gunderson wrote: ... Another option that may be worth considering is Trac. http://trac.edgewall.org/ Trac Demo Site: http://www.hosted-projects.com/trac/TracDemo/Demo It has built in wiki, bug tracker, svn browsing, etc. Do not run on sqlite db backend though for anything more than testing. Production = MySQL or PostgreSQL. Did I not find it, or is there no module for feature request and voting on them? Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] voting
Trac is awesome, looks at some other examples I host : http://www.museek-plus.org/ http://www.nicotine-plus.org/ http://methlab.thegraveyard.org/ http://trac.aircrack-ng.org/ My corpo: http://lrs.linbox.org/ http://lds.linbox.org/ If needed, I can give you some help in setting up trac. Check http://www.trac-hacks.org/ to get plugins expanding trac functions. Arno Lehmann a écrit : Hi, On 6/7/2007 5:54 AM, Ken Gunderson wrote: ... Another option that may be worth considering is Trac. http://trac.edgewall.org/ Trac Demo Site: http://www.hosted-projects.com/trac/TracDemo/Demo It has built in wiki, bug tracker, svn browsing, etc. Do not run on sqlite db backend though for anything more than testing. Production = MySQL or PostgreSQL. Did I not find it, or is there no module for feature request and voting on them? Arno -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] FYI An annoying GPL catch-22 concerning Bacula
On Thu, 2007-06-07 at 11:38 +0200, Kern Sibbald wrote: Hello, For non-English speakers, a catch-22 in English means a situation in which there is no way out. The following annoying and frustrating issue has come up with regard to the Bacula source code: As you probably know, Bacula is released with a modified GNU GPL licence. The Bacula license modifies the GPL to permit Bacula to link to OpenSSL. This was necessary because using MySQL libraries requires OpenSSL. This modification was suggested by Debian to bring Bacula in compliance with their procedures. The problem comes from including pure GNU GPL code, which is not compatible with the OpenSSL license, inside Bacula itself (there are something like 8 such files). This works in the same way that Debian would not allow Bacula as pure GNU GPL to link with OpenSSL. If Bacula uses any pure GNU GPL code then that code cannot be subject to the GNU GPL modifications, and that code technically cannot linked and distributed with Bacula because of OpenSSL. I suspect that a lot of GPL projects are in a similar situation, but they do not explicitly point out the exception as Bacula does. The real bummer here is that this issue was flagged by someone involved in the Fedora packaging process. From what I understand (I may be wrong here), Fedora and hence Red Hat will not use Bacula because it uses some pure GPL code and OpenSSL together raising potential license problems -- after the problems with SCO and threats from Microsoft, their license concerns are quite understandable. This is not a show-stopping issue because at least for the moment, no author of pure GNU GPL code is lodging a complaint. In addition as I mentioned in a previous email, this issue could potentially be resolved by GPL v3 (due at the end of the month, if I remember right) because it is compatible with the Apache license, which is apparently what OpenSSL uses. In the mean time, until this problem is resolved, I've freezed all inclusion of new GPL code (copyrighted by others) in Bacula. The really complicated aspect of the above is that if you build a program such as Bacula using all your own code, and you use OpenSSL then in linking it, you just happen to drag some GPL'ed code from some library directly into your binary (most libararies are shared objects so do not become part of your binary), as is the case with the statically linked Bacula used in the rescue package, you are in violation of the GPL if you distribute such a binary. It seems that the only solution is that if you use GPL code, you must use *all* GPL compatible code (not so easy), and if you don't use it, you shouldn't even use the system libraries if there is any chance they could be accidentally linked into your program. Is it possible to provide some kind of placeholder instead that can be replaced with working versions by the end user? Fedora includes the app. Xmms with a dummy mp3 plugin which has to be replaced if you want to play mp3s. /Jens Best regards, Kern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] FYI An annoying GPL catch-22 concerning Bacula
On Thursday 07 June 2007 11:53, Jens R. Victorin wrote: On Thu, 2007-06-07 at 11:38 +0200, Kern Sibbald wrote: Hello, For non-English speakers, a catch-22 in English means a situation in which there is no way out. The following annoying and frustrating issue has come up with regard to the Bacula source code: As you probably know, Bacula is released with a modified GNU GPL licence. The Bacula license modifies the GPL to permit Bacula to link to OpenSSL. This was necessary because using MySQL libraries requires OpenSSL. This modification was suggested by Debian to bring Bacula in compliance with their procedures. The problem comes from including pure GNU GPL code, which is not compatible with the OpenSSL license, inside Bacula itself (there are something like 8 such files). This works in the same way that Debian would not allow Bacula as pure GNU GPL to link with OpenSSL. If Bacula uses any pure GNU GPL code then that code cannot be subject to the GNU GPL modifications, and that code technically cannot linked and distributed with Bacula because of OpenSSL. I suspect that a lot of GPL projects are in a similar situation, but they do not explicitly point out the exception as Bacula does. The real bummer here is that this issue was flagged by someone involved in the Fedora packaging process. From what I understand (I may be wrong here), Fedora and hence Red Hat will not use Bacula because it uses some pure GPL code and OpenSSL together raising potential license problems -- after the problems with SCO and threats from Microsoft, their license concerns are quite understandable. This is not a show-stopping issue because at least for the moment, no author of pure GNU GPL code is lodging a complaint. In addition as I mentioned in a previous email, this issue could potentially be resolved by GPL v3 (due at the end of the month, if I remember right) because it is compatible with the Apache license, which is apparently what OpenSSL uses. In the mean time, until this problem is resolved, I've freezed all inclusion of new GPL code (copyrighted by others) in Bacula. The really complicated aspect of the above is that if you build a program such as Bacula using all your own code, and you use OpenSSL then in linking it, you just happen to drag some GPL'ed code from some library directly into your binary (most libararies are shared objects so do not become part of your binary), as is the case with the statically linked Bacula used in the rescue package, you are in violation of the GPL if you distribute such a binary. It seems that the only solution is that if you use GPL code, you must use *all* GPL compatible code (not so easy), and if you don't use it, you shouldn't even use the system libraries if there is any chance they could be accidentally linked into your program. Is it possible to provide some kind of placeholder instead that can be replaced with working versions by the end user? Fedora includes the app. Xmms with a dummy mp3 plugin which has to be replaced if you want to play mp3s. Yes, but it is a lot of work that IMO should not be necessary -- after all OpenSSL is Open Source. The other point is that for rpm users this would be a real pain. Imagine that you want encryption, but after installing all the rpms, now you either have to build an OpenSSL shared object or you must link Bacula. Not very good. /Jens Best regards, Kern - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] voting
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arno, On Thu, 7 Jun 2007 at 12:02pm, Arno Lehmann wrote: http://trac.edgewall.org/ Trac Demo Site: http://www.hosted-projects.com/trac/TracDemo/Demo It has built in wiki, bug tracker, svn browsing, etc. Do not run on sqlite db backend though for anything more than testing. Production = MySQL or PostgreSQL. Did I not find it, or is there no module for feature request and voting on them? Take a look at: http://trac-hacks.org/#VoteforaRequest-a-Hack That seems very similiar to the bacula voting process. The only issue might be allowing users the appropriate permission to cast votes. The details on the polling plugin are here: http://trac-hacks.org/wiki/PollMacro chris - -- Chris Shelton - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGZ/M8M5TknMKatUwRAhtZAKCkXtQKlro1bPUKu9efwOhu0wqtnACgmWW+ 7m2Ncbc1vFhftZgWGsadgYw= =JYCR -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
I had the same thought about time-outs just yesterday. I am new to Bacula, and was testing my second client backup, when I realized I had not defined the client in my host file. I run my backups on an internal network (non-public) so the DNS for this was not available either. I was using bconsole, and the job hung up due to not being able to find the client, and I was wondering how to kill it immediately, as it wasn't going to find the client. As a new user, I didn't know if there is a timeout value I could set, or how long it was going to run (maybe even forever?). So, good question, Arno, and I hope someone provides the answer. Steve Arno Lehmann wrote: Hi, On 6/6/2007 10:57 PM, Kyle Marsh wrote: Howdy, I'm working on a bacula setup for my college and I have found that when a client goes down, whether it's firewalled, turned off, or otherwise disconnected from the network, bacula seems to hang for about 40 minutes Unusual timeout, in my experience... I'd expect nearly instantaneous job failure or the IT-related two hours... before deciding that the client isn't there and stopping. This could become problematic if we have several machines down each night and could cause substantial problems if some backups don't start until people are back working. Is there a directive that allows me to specify something sane as the timeout period, and where does it need to go? I prefer leaving the timeouts to Bacula, and instead use Run Before Job scripts to ping the clients. Concurrent jobs are a reasonable solution against long-running or stalled jobs. Arno Thanks, Kyle Marsh - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-users Digest, Vol 14, Issue 6
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arno Lehmann wrote: Hello, On 6/7/2007 3:39 AM, ?? wrote: A real name would be nice. And quoting the whole digest is really not necessary. Arno, he did use a real name, but you do not have the international support installed, apparently. His name is written as two asian characters, not sure of what origin. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaAJWmb+gadEcsb4RAgWZAKCR7YCiT/XugRkU7LEihN/izi2YJgCeNIKK T77r6EhLwEx6sA6InjtKXIQ= =xaR6 -END PGP SIGNATURE- begin:vcard fn:Ryan Novosielski n:Novosielski;Ryan org:UMDNJ;IST/AST adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103 email;internet:[EMAIL PROTECTED] title:Systems Programmer III tel;work:(973) 972-0922 tel;fax:(973) 972-7412 tel;pager:(866) 20-UMDNJ x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] voting
Hi, On 6/7/2007 1:59 PM, Chris Shelton wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arno, On Thu, 7 Jun 2007 at 12:02pm, Arno Lehmann wrote: http://trac.edgewall.org/ Trac Demo Site: http://www.hosted-projects.com/trac/TracDemo/Demo It has built in wiki, bug tracker, svn browsing, etc. Do not run on sqlite db backend though for anything more than testing. Production = MySQL or PostgreSQL. Did I not find it, or is there no module for feature request and voting on them? Take a look at: http://trac-hacks.org/#VoteforaRequest-a-Hack I did see that, but found nothing about how to vote. By trial-and-error, I learned that you have to be logged in to vote. That seems very similiar to the bacula voting process. The only issue might be allowing users the appropriate permission to cast votes. The details on the polling plugin are here: http://trac-hacks.org/wiki/PollMacro Well, it's one vote only, but a short look at the source showed that it's a rather short python module which might be easily adapted to our needs. Anyone around with experience scripting trac-hacks? Arno chris - -- Chris Shelton - - -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGZ/M8M5TknMKatUwRAhtZAKCkXtQKlro1bPUKu9efwOhu0wqtnACgmWW+ 7m2Ncbc1vFhftZgWGsadgYw= =JYCR -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
Hi, On 6/7/2007 2:42 PM, Steve Campbell wrote: I had the same thought about time-outs just yesterday. I am new to Bacula, and was testing my second client backup, when I realized I had not defined the client in my host file. I run my backups on an internal network (non-public) so the DNS for this was not available either. I was using bconsole, and the job hung up due to not being able to find the client, It should terminate almost immediately. and I was wondering how to kill it immediately, as it wasn't going to find the client. The cancel command... As a new user, I didn't know if there is a timeout value I could set, or how long it was going to run (maybe even forever?). So, good question, Arno, and I hope someone provides the answer. Erm, which was the question? :-) Arno Steve Arno Lehmann wrote: Hi, On 6/6/2007 10:57 PM, Kyle Marsh wrote: Howdy, I'm working on a bacula setup for my college and I have found that when a client goes down, whether it's firewalled, turned off, or otherwise disconnected from the network, bacula seems to hang for about 40 minutes Unusual timeout, in my experience... I'd expect nearly instantaneous job failure or the IT-related two hours... before deciding that the client isn't there and stopping. This could become problematic if we have several machines down each night and could cause substantial problems if some backups don't start until people are back working. Is there a directive that allows me to specify something sane as the timeout period, and where does it need to go? I prefer leaving the timeouts to Bacula, and instead use Run Before Job scripts to ping the clients. Concurrent jobs are a reasonable solution against long-running or stalled jobs. Arno Thanks, Kyle Marsh - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] block.c:275 Volume data error at 0:0! Wanted ID: BB02
Hi, On 6/7/2007 3:02 PM, Jeff Dickens wrote: I got this error while labeling a tape, which I don't think I've seen before. The tape had been previous used as a tar tape, and probably with a different hardware compression setting. Is this anything to worry about? Connecting to Storage daemon VS160 at squirrel:9103 ... Sending label command for Volume tape-pool1-0005 Slot 0 ... block.c:275 Volume data error at 0:0! Wanted ID: BB02, got 1-24. Buffer discarded. This is not an error, just an indication that the SD didn't find a bacula header. 3000 OK label. VolBytes=64512 DVD=0 Volume=tape-pool1-0005 Device=VS160 (/dev/nst0) Catalog record for Volume tape-pool1-0005, Slot 0 successfully created. Requesting to mount VS160 ... 3001 Device VS160 (/dev/nst0) is mounted with Volume tape-pool1-0005 * 07-Jun 07:49 squirrel-sd: Wrote label to prelabeled Volume tape-pool1-0005 on device VS160 (/dev/nst0) 07-Jun 07:49 squirrel-sd: New volume tape-pool1-0005 mounted on device VS160 (/dev/nst0) at 07-Jun-2007 07:49. As you see, everything worked as it should. Arno *status storage=VS160 Connecting to Storage daemon VS160 at squirrel:9103 squirrel-sd Version: 2.0.3 (06 March 2007) i686-redhat-linux-gnu redhat Daemon started 05-Jun-07 13:01, 7 Jobs run since started. Heap: bytes=290,664 max_bytes=421,702 bufs=113 max_bufs=124 Running Jobs: Writing: Differential Backup job wilkins JobId=6723 Volume=tape-pool1-0005 pool=tape-pool1 device=VS160 (/dev/nst0) spooling=0 despooling=1 despool_wait=0 Files=3,207 Bytes=17,822,968,826 Bytes/sec=7,953,132 FDReadSeqNo=297,587 in_msg=288668 out_msg=9 fd=5 . . . - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
Sorry, Arno, I mistyped the OP. I meant Kyle. I'm also trying out Thunderbird with a few Quoting extensions, so I misread who sent the original question. I also haven't figured out why it wants to send only to the poster, instead of the list, for Reply, so I need to Reply All.. Please forgive me. Steve Arno Lehmann wrote: Hi, On 6/7/2007 2:42 PM, Steve Campbell wrote: I had the same thought about time-outs just yesterday. I am new to Bacula, and was testing my second client backup, when I realized I had not defined the client in my host file. I run my backups on an internal network (non-public) so the DNS for this was not available either. I was using bconsole, and the job hung up due to not being able to find the client, It should terminate almost immediately. and I was wondering how to kill it immediately, as it wasn't going to find the client. The cancel command... As a new user, I didn't know if there is a timeout value I could set, or how long it was going to run (maybe even forever?). So, good question, Arno, and I hope someone provides the answer. Erm, which was the question? :-) Arno Steve Arno Lehmann wrote: Hi, On 6/6/2007 10:57 PM, Kyle Marsh wrote: Howdy, I'm working on a bacula setup for my college and I have found that when a client goes down, whether it's firewalled, turned off, or otherwise disconnected from the network, bacula seems to hang for about 40 minutes Unusual timeout, in my experience... I'd expect nearly instantaneous job failure or the IT-related two hours... before deciding that the client isn't there and stopping. This could become problematic if we have several machines down each night and could cause substantial problems if some backups don't start until people are back working. Is there a directive that allows me to specify something sane as the timeout period, and where does it need to go? I prefer leaving the timeouts to Bacula, and instead use Run Before Job scripts to ping the clients. Concurrent jobs are a reasonable solution against long-running or stalled jobs. Arno Thanks, Kyle Marsh - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Hardware recommendations
Ok, I feel small. How many clients are you backing up with this configuration? (\_/) (o,o) ()_() Joseph Wright On Jun 5, 2007, at 12:33 PM, Brian A. Seklecki wrote: Dell PowerEdge 2950 w/ PERC5 SAS -- RAID-1 Root OS (2x36gb SAS) and RAID5 Storage (3x 74gig w/ 1 hot standby)). Dual quad-cores and 32gb RAM available if your DB platform can scale it (PostgreSQL + FreeBSD) ~BAS On Tue, 2007-06-05 at 10:12 -0700, Joseph Wright wrote: I'd like to find out what kind of hardware configurations people are using for their director. I plan to be backing up 50 or more clients with ~250G of data each on a dedicated director with 2G RAM and a 120G SATA drive. I had an issue one night where the director shut down with an out of memory error after the backup jobs started, with only 20 clients. I've since backed off the number of clients and am adding them back in more slowly, as well as distributing the startup times so they don't all start at once. But I'd like to find out if people think my hardware is adequate for the task and it would be interesting to know what others are using. (\_/) (o,o) ()_() Joseph Wright - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] store data on two storages at one time
hello, is there an solution to storage the data which we will backup on more then one storage? for example: when the job is running: == storage A bacula-fd == == storage B thans for any answer :-) regards Maik - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Getting read errors on restore to Windows XP.
I have 20 tapes full of back-ups of a Linux, a Windows 2000 and a Windows XP system. The Linux system is the back-up server. Bacula version is 1.38.5. The files I want to restore are quite old, so they can be found on several back-ups, however, I get the same read error on each and every back-up I restore from, only the file:blk is different. The error messages can be found below. I have no problem restoring Linux files, so I assume the error message is fake and tells something quite different. Can someone please help me through this problem - if at all possible? It is a major disaster if I can't restore the files. Thanks in advance. 07-Jun 18:34 epo-dir: Start Restore Job RestoreFiles.2007-06-07_18.34.22 07-Jun 18:35 epohost-sd: Please mount Volume EPOL005 on Storage Device DDS-4 (/dev/nst0) for Job RestoreFiles.2007-06-07_18.34.22 07-Jun 18:37 epohost-sd: Ready to read from volume EPOL005 on device DDS-4 (/dev/nst0). 07-Jun 18:37 epohost-sd: Forward spacing to file:block 10:0. 07-Jun 18:37 epohost-sd: RestoreFiles.2007-06-07_18.34.22 Error: block.c:940 Read error at file:blk 10:0 on device DDS-4 (/dev/nst0). ERR=Input/output error. 07-Jun 18:37 epohost-sd: End of Volume at file 10 on device DDS-4 (/dev/nst0), Volume EPOL005 07-Jun 18:37 epohost-sd: End of all volumes. 07-Jun 18:38 epo-dir: Bacula 1.38.5 (18Jan06): 07-Jun-2007 18:38:14 JobId: 1538 Job:RestoreFiles.2007-06-07_18.34.22 Client: epoxp-fd Start time: 07-Jun-2007 18:34:24 End time: 07-Jun-2007 18:38:14 Files Expected: 124 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination:Restore OK -- warning file count mismatch -- Erik P. Olsen, MSc Solsortvej 30, DK-2000 Frederiksberg, Denmark Phone: +45 38346480, Fax: +45 32106480, Mobil: +45 40765300 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] volume retention period not working?
Hi list, My bacula configuration is not working the way I expect, I hope someone can give me a pointer, I want to make a full backup every day, regardless whether there's a different tape or the same. I use a volume retentio period of 1 hour but when I want to backup to the same tape I get the follwoing error: Volume DefaultVolume-0014 status is Used, but should be Append, Purged or Recycle This is the pool definition: Pool { Name = Default PoolType = Backup Recycle = yes AutoPrune = yes VolumeRetention = 1 hours AcceptAnyVolume = yes LabelFormat = DefaultVolume- Use Volume Once = yes } the last records of list media : | 30 | DefaultVolume-0013 | Used | 1,971,864,651 |2 | 3,600 | 1 |0 | 1 | DDS | 2007-06-05 17:06:45 | | 31 | DefaultVolume-0014 | Used | 4,759,569,367 |5 | 3,600 | 1 |0 | 1 | DDS | 2007-06-07 18:06:57 | | 32 | DefaultVolume-0015 | Used | 4,755,372,018 |5 | 3,600 | 1 |0 | 1 | DDS | 2007-06-07 16:05:15 | The status of DefaultVolume-0014 is used but the backup finished more than an hour ago, what am I doing wrong here? Thanks, regards Chantal - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
Sorry if this double posts -- I used the wrong e-mail and the first copy is at the mercy of the moderator. You can kill that one, btw. On 6/7/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, On 6/7/2007 2:42 PM, Steve Campbell wrote: I had the same thought about time-outs just yesterday. I am new to Bacula, and was testing my second client backup, when I realized I had not defined the client in my host file. I run my backups on an internal network (non-public) so the DNS for this was not available either. I was using bconsole, and the job hung up due to not being able to find the client, It should terminate almost immediately. And yet the fact remains that for both Steve and me, it doesn't. You suggested pinging the client with RunBeforeJob. Is there a better way to do this than adding a new line in each job? You cannot put it in the JobDefs because you need the hostname, and of course you cannot extract that from anything in the Job field as far as I know, so it has to appear magically. and I was wondering how to kill it immediately, as it wasn't going to find the client. The cancel command... Of course, I don't believe the cancel command is particularly effective when your console is busy with something else, like waiting 40 minutes for a response that isn't coming. You need to start a new bconsole and run cancel from there as far as I can tell. As a new user, I didn't know if there is a timeout value I could set, or how long it was going to run (maybe even forever?). So, good question, Arno, and I hope someone provides the answer. Erm, which was the question? :-) Arno Steve Arno Lehmann wrote: Hi, On 6/6/2007 10:57 PM, Kyle Marsh wrote: Howdy, I'm working on a bacula setup for my college and I have found that when a client goes down, whether it's firewalled, turned off, or otherwise disconnected from the network, bacula seems to hang for about 40 minutes Unusual timeout, in my experience... I'd expect nearly instantaneous job failure or the IT-related two hours... before deciding that the client isn't there and stopping. This could become problematic if we have several machines down each night and could cause substantial problems if some backups don't start until people are back working. Is there a directive that allows me to specify something sane as the timeout period, and where does it need to go? I prefer leaving the timeouts to Bacula, and instead use Run Before Job scripts to ping the clients. Concurrent jobs are a reasonable solution against long-running or stalled jobs. Arno Thanks, Kyle Marsh - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [Fwd: Getting read errors on restore to Windows XP.]
Sorry for misinforming you, I have just noticed that I can't even restore Linux files. In fact I can't restore any of the backed-up files. I tend to believe it's a hardware problem. Ciao, Erik. Original Message Subject: Getting read errors on restore to Windows XP. Date: Thu, 07 Jun 2007 18:53:17 +0200 From: Erik P. Olsen [EMAIL PROTECTED] To: Bacula bacula-users@lists.sourceforge.net I have 20 tapes full of back-ups of a Linux, a Windows 2000 and a Windows XP system. The Linux system is the back-up server. Bacula version is 1.38.5. The files I want to restore are quite old, so they can be found on several back-ups, however, I get the same read error on each and every back-up I restore from, only the file:blk is different. The error messages can be found below. I have no problem restoring Linux files, so I assume the error message is fake and tells something quite different. Can someone please help me through this problem - if at all possible? It is a major disaster if I can't restore the files. Thanks in advance. 07-Jun 18:34 epo-dir: Start Restore Job RestoreFiles.2007-06-07_18.34.22 07-Jun 18:35 epohost-sd: Please mount Volume EPOL005 on Storage Device DDS-4 (/dev/nst0) for Job RestoreFiles.2007-06-07_18.34.22 07-Jun 18:37 epohost-sd: Ready to read from volume EPOL005 on device DDS-4 (/dev/nst0). 07-Jun 18:37 epohost-sd: Forward spacing to file:block 10:0. 07-Jun 18:37 epohost-sd: RestoreFiles.2007-06-07_18.34.22 Error: block.c:940 Read error at file:blk 10:0 on device DDS-4 (/dev/nst0). ERR=Input/output error. 07-Jun 18:37 epohost-sd: End of Volume at file 10 on device DDS-4 (/dev/nst0), Volume EPOL005 07-Jun 18:37 epohost-sd: End of all volumes. 07-Jun 18:38 epo-dir: Bacula 1.38.5 (18Jan06): 07-Jun-2007 18:38:14 JobId: 1538 Job:RestoreFiles.2007-06-07_18.34.22 Client: epoxp-fd Start time: 07-Jun-2007 18:34:24 End time: 07-Jun-2007 18:38:14 Files Expected: 124 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination:Restore OK -- warning file count mismatch -- Erik P. Olsen, MSc Solsortvej 30, DK-2000 Frederiksberg, Denmark Phone: +45 38346480, Fax: +45 32106480, Mobil: +45 40765300 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume retention period not working?
Hi, On 6/7/2007 7:26 PM, Chantal Rosmuller wrote: Hi list, My bacula configuration is not working the way I expect, I hope someone can give me a pointer, I guess I can... I want to make a full backup every day, regardless whether there's a different tape or the same. I use a volume retentio period of 1 hour but when I want to backup to the same tape I get the follwoing error: Volume DefaultVolume-0014 status is Used, but should be Append, Purged or Recycle This shows that volumes are not recycled. This is the pool definition: Pool { Name = Default PoolType = Backup Recycle = yes AutoPrune = yes VolumeRetention = 1 hours AcceptAnyVolume = yes LabelFormat = DefaultVolume- Use Volume Once = yes } the last records of list media : ... The status of DefaultVolume-0014 is used but the backup finished more than an hour ago, what am I doing wrong here? You've got Use Volume Once = yes|no This directive if set to yes specifies that each volume is to be used only once. This is most useful when the Media is a file and you want a new file for each backup that is done. The default is no (i.e. use volume any number of times). This directive will most likely be phased out (deprecated), so you are recommended to use Maximum Volume Jobs = 1 instead. Set which effectively disables volume recycling. Remove that directive, reload the configuration, update the existing volumes from the pool resource, , and see what happens... Arno Thanks, regards Chantal - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] FYI An annoying GPL catch-22 concerning Bacula
Kern As you probably know, Bacula is released with a modified GNU GPL Kern licence. The Bacula license modifies the GPL to permit Bacula Kern to link to OpenSSL. This was necessary because using MySQL Kern libraries requires OpenSSL. This modification was suggested by Kern Debian to bring Bacula in compliance with their procedures. Sounds good so far. Kern The problem comes from including pure GNU GPL code, which is not Kern compatible with the OpenSSL license, inside Bacula itself (there Kern are something like 8 such files). This works in the same way Kern that Debian would not allow Bacula as pure GNU GPL to link with Kern OpenSSL. If Bacula uses any pure GNU GPL code then that code Kern cannot be subject to the GNU GPL modifications, and that code Kern technically cannot linked and distributed with Bacula because of Kern OpenSSL. So which 8 files are these and can they be re-written? Maybe I'm misunderstanding what you mean by Pure GPL code? Are these files from software released by the GNU organization? Kern I suspect that a lot of GPL projects are in a similar situation, Kern but they do not explicitly point out the exception as Bacula Kern does. The real bummer here is that this issue was flagged by Kern someone involved in the Fedora packaging process. From what I Kern understand (I may be wrong here), Fedora and hence Red Hat will Kern not use Bacula because it uses some pure GPL code and OpenSSL Kern together raising potential license problems -- after the Kern problems with SCO and threats from Microsoft, their license Kern concerns are quite understandable. Sure, I can understand this. Kern This is not a show-stopping issue because at least for the Kern moment, no author of pure GNU GPL code is lodging a complaint. Kern In addition as I mentioned in a previous email, this issue could Kern potentially be resolved by GPL v3 (due at the end of the month, Kern if I remember right) because it is compatible with the Apache Kern license, which is apparently what OpenSSL uses. Yup, Openssl uses the Apache license. Kern In the mean time, until this problem is resolved, I've freezed Kern all inclusion of new GPL code (copyrighted by others) in Bacula. So basically, you're saying that people who contribute code to bacula under the GPL license (which is what they need to do to get it distributed) can't contribute anymore? Kern The really complicated aspect of the above is that if you build Kern a program such as Bacula using all your own code, and you use Kern OpenSSL then in linking it, you just happen to drag some GPL'ed Kern code from some library directly into your binary (most Kern libararies are shared objects so do not become part of your Kern binary), as is the case with the statically linked Bacula used Kern in the rescue package, you are in violation of the GPL if you Kern distribute such a binary. Ah... now I see, it's the static linking part which causes the problems. Kern It seems that the only solution is that if you use GPL code, you Kern must use *all* GPL compatible code (not so easy), and if you Kern don't use it, you shouldn't even use the system libraries if Kern there is any chance they could be accidentally linked into your Kern program. It's an interesting point for sure. In this case, it all hinges on the OpenSSL people and their use of the Apache license. Which I would assume would actually be a bigger issue since Apache uses that license and I'm SURE that there are alot more Apache setups out there than Bacula. So how does Debian/Fedora work around Apache using the MySQL libraries with the openssl stuff? Or do they just punt because Apache (as they distribute it) only does dynamic linking? Honestly, I think you're over-reacting here to closing down submissions from people. Just make sure they understand that they must make all submissions be part of the license that Bacula itself is under, which is the modified GPLv2 license. I assume, since I haven't checked, that you are licensed like the Linux Kernel to specifically use GPLv2 only and not the GPLv2 or later clause that most GNU programs have? Thanks, John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] cascading job definitions?
Is it possible to do: JobDefs { Name = Normal-Backup ... } JobDefs { Name = Normal-Unix-Backup JobDefs = Normal-Backup ... } JobDefs { Name = myhost-backup JobDefs = Normal-Unix-Backup FileSet = myhost-files ... } I get an error verifying the configuration that (to me) implies that cascading definitions does not work. The verify complains that 'type', 'messages', and 'pool' definitions are missing. Those definitions are in the first JobDefs that I'm trying to include/inheirit(?) to the lower JobDefs. Mike - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
Hi, On 6/7/2007 7:28 PM, Kyle Marsh wrote: Sorry if this double posts -- I used the wrong e-mail and the first copy is at the mercy of the moderator. You can kill that one, btw. On 6/7/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, On 6/7/2007 2:42 PM, Steve Campbell wrote: I had the same thought about time-outs just yesterday. I am new to Bacula, and was testing my second client backup, when I realized I had not defined the client in my host file. I run my backups on an internal network (non-public) so the DNS for this was not available either. I was using bconsole, and the job hung up due to not being able to find the client, It should terminate almost immediately. And yet the fact remains that for both Steve and me, it doesn't. You suggested pinging the client with RunBeforeJob. Is there a better way to do this than adding a new line in each job? You cannot put it in the JobDefs because you need the hostname, and of course you cannot extract that from anything in the Job field as far as I know, so it has to appear magically. Hmm... right. Using a python event would perhaps work, but I haven't investigated this. For my setups, the clients affected by possible non-availability are only a minority, so I just added the line to the jobs as needed. and I was wondering how to kill it immediately, as it wasn't going to find the client. The cancel command... Of course, I don't believe the cancel command is particularly effective when your console is busy with something else, like waiting 40 minutes for a response that isn't coming. Ah, I misunderstood the problem... I assumed it was the job that was stalled, but it's the console itself. This is definitely another problem, then. In my experience, the console returns always immediately after a run command, except when the catalog database is currently locked (which should only happen while the catalog backup is running). You need to start a new bconsole and run cancel from there as far as I can tell. Yes, when the consle is stuck, you're right. As a new user, I didn't know if there is a timeout value I could set, or how long it was going to run (maybe even forever?). For this particular issue, there is nothing you can configure as far as I can tell. If this problem persists and is not related to the catalog database backend, I'd suggesting either running tcpdump or wireshark to observe what the DIR and console exchange, or run the DIR with debug output. That might tell us where the wait time comes from. Arno So, good question, Arno, and I hope someone provides the answer. Erm, which was the question? :-) Arno Steve Arno Lehmann wrote: Hi, On 6/6/2007 10:57 PM, Kyle Marsh wrote: Howdy, I'm working on a bacula setup for my college and I have found that when a client goes down, whether it's firewalled, turned off, or otherwise disconnected from the network, bacula seems to hang for about 40 minutes Unusual timeout, in my experience... I'd expect nearly instantaneous job failure or the IT-related two hours... before deciding that the client isn't there and stopping. This could become problematic if we have several machines down each night and could cause substantial problems if some backups don't start until people are back working. Is there a directive that allows me to specify something sane as the timeout period, and where does it need to go? I prefer leaving the timeouts to Bacula, and instead use Run Before Job scripts to ping the clients. Concurrent jobs are a reasonable solution against long-running or stalled jobs. Arno Thanks, Kyle Marsh - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
On 6/7/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, On 6/7/2007 7:28 PM, Kyle Marsh wrote: Sorry if this double posts -- I used the wrong e-mail and the first copy is at the mercy of the moderator. You can kill that one, btw. On 6/7/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, On 6/7/2007 2:42 PM, Steve Campbell wrote: I had the same thought about time-outs just yesterday. I am new to Bacula, and was testing my second client backup, when I realized I had not defined the client in my host file. I run my backups on an internal network (non-public) so the DNS for this was not available either. I was using bconsole, and the job hung up due to not being able to find the client, It should terminate almost immediately. And yet the fact remains that for both Steve and me, it doesn't. You suggested pinging the client with RunBeforeJob. Is there a better way to do this than adding a new line in each job? You cannot put it in the JobDefs because you need the hostname, and of course you cannot extract that from anything in the Job field as far as I know, so it has to appear magically. Hmm... right. Using a python event would perhaps work, but I haven't investigated this. That's an interesting suggestion -- I could have a Python script that gets called and parses the config file to determine the full name from the client name. That gets rid of the magic, at least (or replaces it with worse magic, depending on your perspective). For my setups, the clients affected by possible non-availability are only a minority, so I just added the line to the jobs as needed. Unfortunately I'm not sure how the boxes are to be set up -- most are machines for students doing research with their professors and they will change hands and configuration every semester. I don't know if users will decide to shut them down overnight or what, so I was hoping to find a blanket that could cover them all. and I was wondering how to kill it immediately, as it wasn't going to find the client. The cancel command... Of course, I don't believe the cancel command is particularly effective when your console is busy with something else, like waiting 40 minutes for a response that isn't coming. Ah, I misunderstood the problem... I assumed it was the job that was stalled, but it's the console itself. Actually, I think I may have been thinking about the wrong problem -- If I try the status command the console hangs (it's not unresponsive and will accept ctrl-C, it just doesn't give a prompt) but in this case it recovers in about 30 seconds -- at least it did in the test I just performed. I had a problem like this with firewalling earlier, so I was mixing the symptoms If I try to manually run the job with a downed client, it gives the following message: 07-Jun 13:53 mydirector-dir: Windows_Remote_Client_Test.2007-06-07_13.53.12 Warning: bnet.c:864 Could not connect to File daemon on windows.mynetwork.edu:9102. ERR=No route to host Retrying ... I don't know yet how long this lasts, but my assumption is 40 minutes just like when it is automatically run. This is definitely another problem, then. In my experience, the console returns always immediately after a run command, except when the catalog database is currently locked (which should only happen while the catalog backup is running). You need to start a new bconsole and run cancel from there as far as I can tell. Yes, when the consle is stuck, you're right. As a new user, I didn't know if there is a timeout value I could set, or how long it was going to run (maybe even forever?). For this particular issue, there is nothing you can configure as far as I can tell. If this problem persists and is not related to the catalog database backend, I'd suggesting either running tcpdump or wireshark to observe what the DIR and console exchange, or run the DIR with debug output. That might tell us where the wait time comes from. Arno Thanks for the help, Arno. Is there any chance of you taking a look at my other post about the pool configuration? That's really the more pressing now. ~Kyle So, good question, Arno, and I hope someone provides the answer. Erm, which was the question? :-) Arno Steve Arno Lehmann wrote: Hi, On 6/6/2007 10:57 PM, Kyle Marsh wrote: Howdy, I'm working on a bacula setup for my college and I have found that when a client goes down, whether it's firewalled, turned off, or otherwise disconnected from the network, bacula seems to hang for about 40 minutes Unusual timeout, in my experience... I'd expect nearly instantaneous job failure or the IT-related two hours... before deciding that the client isn't there and stopping. This could become problematic if we have several machines down each night and could cause substantial problems if some backups don't start until people are back working. Is there a directive that
Re: [Bacula-users] cascading job definitions?
Hi, On 6/7/2007 10:33 PM, mikee wrote: Is it possible to do: JobDefs { Name = Normal-Backup ... } JobDefs { Name = Normal-Unix-Backup JobDefs = Normal-Backup ... } JobDefs { Name = myhost-backup JobDefs = Normal-Unix-Backup FileSet = myhost-files ... } I get an error verifying the configuration that (to me) implies that cascading definitions does not work. Unfortunately, that is the case. It would be good to have this, but aparently this is a minor inconvenience that didn't attract a programmer. Arno The verify complains that 'type', 'messages', and 'pool' definitions are missing. Those definitions are in the first JobDefs that I'm trying to include/inheirit(?) to the lower JobDefs. Mike - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] FYI An annoying GPL catch-22 concerning Bacula
On Thursday 07 June 2007 22:27, John Stoffel wrote: Kern As you probably know, Bacula is released with a modified GNU GPL Kern licence. The Bacula license modifies the GPL to permit Bacula Kern to link to OpenSSL. This was necessary because using MySQL Kern libraries requires OpenSSL. This modification was suggested by Kern Debian to bring Bacula in compliance with their procedures. Sounds good so far. Kern The problem comes from including pure GNU GPL code, which is not Kern compatible with the OpenSSL license, inside Bacula itself (there Kern are something like 8 such files). This works in the same way Kern that Debian would not allow Bacula as pure GNU GPL to link with Kern OpenSSL. If Bacula uses any pure GNU GPL code then that code Kern cannot be subject to the GNU GPL modifications, and that code Kern technically cannot linked and distributed with Bacula because of Kern OpenSSL. So which 8 files are these and can they be re-written? Maybe I'm misunderstanding what you mean by Pure GPL code? By pure GPL code, I meant code that has a non-modified GPL license (and is copyrighted by other people). Are these files from software released by the GNU organization? Kern I suspect that a lot of GPL projects are in a similar situation, Kern but they do not explicitly point out the exception as Bacula Kern does. The real bummer here is that this issue was flagged by Kern someone involved in the Fedora packaging process. From what I Kern understand (I may be wrong here), Fedora and hence Red Hat will Kern not use Bacula because it uses some pure GPL code and OpenSSL Kern together raising potential license problems -- after the Kern problems with SCO and threats from Microsoft, their license Kern concerns are quite understandable. Sure, I can understand this. Kern This is not a show-stopping issue because at least for the Kern moment, no author of pure GNU GPL code is lodging a complaint. Kern In addition as I mentioned in a previous email, this issue could Kern potentially be resolved by GPL v3 (due at the end of the month, Kern if I remember right) because it is compatible with the Apache Kern license, which is apparently what OpenSSL uses. Yup, Openssl uses the Apache license. Kern In the mean time, until this problem is resolved, I've freezed Kern all inclusion of new GPL code (copyrighted by others) in Bacula. So basically, you're saying that people who contribute code to bacula under the GPL license (which is what they need to do to get it distributed) can't contribute anymore? Kern The really complicated aspect of the above is that if you build Kern a program such as Bacula using all your own code, and you use Kern OpenSSL then in linking it, you just happen to drag some GPL'ed Kern code from some library directly into your binary (most Kern libararies are shared objects so do not become part of your Kern binary), as is the case with the statically linked Bacula used Kern in the rescue package, you are in violation of the GPL if you Kern distribute such a binary. Ah... now I see, it's the static linking part which causes the problems. Kern It seems that the only solution is that if you use GPL code, you Kern must use *all* GPL compatible code (not so easy), and if you Kern don't use it, you shouldn't even use the system libraries if Kern there is any chance they could be accidentally linked into your Kern program. It's an interesting point for sure. In this case, it all hinges on the OpenSSL people and their use of the Apache license. Which I would assume would actually be a bigger issue since Apache uses that license and I'm SURE that there are alot more Apache setups out there than Bacula. So how does Debian/Fedora work around Apache using the MySQL libraries with the openssl stuff? Or do they just punt because Apache (as they distribute it) only does dynamic linking? Honestly, I think you're over-reacting here to closing down submissions from people. I never said that I was closing down submissions from people. I said that I was not accepting any GPL'ed code. Submissions come from people who have transferred their copyright. Just make sure they understand that they must make all submissions be part of the license that Bacula itself is under, which is the modified GPLv2 license. I assume, since I haven't checked, that you are licensed like the Linux Kernel to specifically use GPLv2 only and not the GPLv2 or later clause that most GNU programs have? Yes, I don't believe in writing a blank check. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
Hi, On 6/7/2007 11:05 PM, Kyle Marsh wrote: ... That's an interesting suggestion -- I could have a Python script that gets called and parses the config file to determine the full name from the client name. That gets rid of the magic, at least (or replaces it with worse magic, depending on your perspective). Well, personally, I like bad magic, but not in production systems :-) I was rather thinking of making the client resource available to to the python event, but I have no idea how that would be done. For my setups, the clients affected by possible non-availability are only a minority, so I just added the line to the jobs as needed. Unfortunately I'm not sure how the boxes are to be set up -- most are machines for students doing research with their professors and they will change hands and configuration every semester. I don't know if users will decide to shut them down overnight or what, so I was hoping to find a blanket that could cover them all. Ok, that is a nihtmare for anyone responsible for backups. I'd use the aproach with a ping, set a high number of retries with long intervals in between (something like 1 hour interval, 12 retries), NOT rerun failed jobs, and set a maximum job wait time etc. This should get you usable backups from time to time, probably during the day, but whoever wants a work day without backup load can simply leave the computer on during the night (which is, ecologically as well as economically, not so good...). You could refine this with tries to wake-on-lan the machines and turn them off after backups, if you woke them up yourself. Just a nice practice in writing a script in your favorite language :-) ... Thanks for the help, Arno. Is there any chance of you taking a look at my other post about the pool configuration? That's really the more pressing now. Sure, for money I do quite a lot :-) I even do things for free, only I don't know which mail you refer to :-( Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Waits for 40min When a Client is Down
Hello again, On 6/7/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, On 6/7/2007 11:05 PM, Kyle Marsh wrote: ... That's an interesting suggestion -- I could have a Python script that gets called and parses the config file to determine the full name from the client name. That gets rid of the magic, at least (or replaces it with worse magic, depending on your perspective). Well, personally, I like bad magic, but not in production systems :-) I was rather thinking of making the client resource available to to the python event, but I have no idea how that would be done. For my setups, the clients affected by possible non-availability are only a minority, so I just added the line to the jobs as needed. Unfortunately I'm not sure how the boxes are to be set up -- most are machines for students doing research with their professors and they will change hands and configuration every semester. I don't know if users will decide to shut them down overnight or what, so I was hoping to find a blanket that could cover them all. Ok, that is a nihtmare for anyone responsible for backups. I'd use the aproach with a ping, set a high number of retries with long intervals in between (something like 1 hour interval, 12 retries), NOT rerun failed jobs, and set a maximum job wait time etc. So a RunBeforeJob to do the ping, then RescheduleOnError = yes, RescheduleInterval = 1 hour, and RescheduleTimes = 12? What do you mean by not rerun failed jobs? Don't we want to rerun it if they miss one? Or does that mean if it gets rescheduled 12 times, not to reschedule it for another 12 and just let tomorrow's try? Also where would I specify that? This should get you usable backups from time to time, probably during the day, but whoever wants a work day without backup load can simply leave the computer on during the night (which is, ecologically as well as economically, not so good...). You could refine this with tries to wake-on-lan the machines and turn them off after backups, if you woke them up yourself. Just a nice practice in writing a script in your favorite language :-) Hmm...you intrigue me :-). I'll have to see about this -- I'll let you know if I do it and it works out well. ... Thanks for the help, Arno. Is there any chance of you taking a look at my other post about the pool configuration? That's really the more pressing now. Sure, for money I do quite a lot :-) :-) I even do things for free, only I don't know which mail you refer to :-( I sent another mail right after this one asking how well the sample configuration for pools of disk backups (here: http://bacula.org/rel-manual/Automated_Disk_Backup.html) scales, since the example only has one client and I fear horrible things if I simply up the number of clients without changing anything else. Thanks a bunch for all your help, ~Kyle Marsh Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] newbie questions #1 mysqldump
I get this error when trying to run my BackupCatalog job 07-Jun 16:19 SRV1: BeforeJob: run command /etc/bacula/make_catalog_backup -u bacula 07-Jun 16:19 SRV1: BeforeJob: mysqldump: option '-u' requires an argument but the database is bacula, the user is bacula and the password is bacula and I can do it from command line... /usr/bin/mysqldump -u bacula -pbacula bacula -r /var/bacula/bacula.sql works fine and of course in bacula-dir.conf... # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = bacula } what am I missing? -- Craig White [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] store data on two storages at one time
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For what reason? Load balancing? What are these two storages, tape drives? I don't know how to answer this question with the small amount of information you have provided. Maik Derstappen wrote: hello, is there an solution to storage the data which we will backup on more then one storage? for example: when the job is running: == storage A bacula-fd == == storage B thans for any answer :-) regards Maik - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaK/rmb+gadEcsb4RAlNWAKDel7JSrIWM6iSq+F39sacwBF9v/QCgl/c7 Z2KaFgPGISVzAle4xg1o/lU= =rhsm -END PGP SIGNATURE- begin:vcard fn:Ryan Novosielski n:Novosielski;Ryan org:UMDNJ;IST/AST adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103 email;internet:[EMAIL PROTECTED] title:Systems Programmer III tel;work:(973) 972-0922 tel;fax:(973) 972-7412 tel;pager:(866) 20-UMDNJ x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] newbie questions #1 mysqldump
Craig, on the line with the script for make_catalog_backup, do NOT put a space between the flag and value. I.E. /etc/bacula/make_catalog_backup -ubacula -ppassword Your Catalog entry in your bacula-dir.conf looks correct. Sincerely, Scott Craig White wrote: I get this error when trying to run my BackupCatalog job 07-Jun 16:19 SRV1: BeforeJob: run command /etc/bacula/make_catalog_backup -u bacula 07-Jun 16:19 SRV1: BeforeJob: mysqldump: option '-u' requires an argument but the database is bacula, the user is bacula and the password is bacula and I can do it from command line... /usr/bin/mysqldump -u bacula -pbacula bacula -r /var/bacula/bacula.sql works fine and of course in bacula-dir.conf... # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = bacula } what am I missing? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume retention period not working?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arno Lehmann wrote: Hi, On 6/7/2007 7:26 PM, Chantal Rosmuller wrote: Hi list, My bacula configuration is not working the way I expect, I hope someone can give me a pointer, I guess I can... I want to make a full backup every day, regardless whether there's a different tape or the same. I use a volume retentio period of 1 hour but when I want to backup to the same tape I get the follwoing error: Volume DefaultVolume-0014 status is Used, but should be Append, Purged or Recycle This shows that volumes are not recycled. This is the pool definition: Pool { Name = Default PoolType = Backup Recycle = yes AutoPrune = yes VolumeRetention = 1 hours AcceptAnyVolume = yes LabelFormat = DefaultVolume- Use Volume Once = yes } the last records of list media : ... The status of DefaultVolume-0014 is used but the backup finished more than an hour ago, what am I doing wrong here? You've got Use Volume Once = yes|no This directive if set to yes specifies that each volume is to be used only once. This is most useful when the Media is a file and you want a new file for each backup that is done. The default is no (i.e. use volume any number of times). This directive will most likely be phased out (deprecated), so you are recommended to use Maximum Volume Jobs = 1 instead. Set which effectively disables volume recycling. Remove that directive, reload the configuration, update the existing volumes from the pool resource, , and see what happens... I would disagree with that. As far as I know, Use Volume Once has been removed for some time. However, the replacement (Maximum Volume Jobs = 1) I use on my system to cause volumes to be marked used after one use. However, this does not affect recycling in my situation. I would suggest the original poster may have forgotten to update volumes (having created the volume before the current pool directives were in place). Chantal, I'd want to see at a minimum an llist on the volume in question, just to verify that at the very least the parameters have made it to the volume in the first place. In addition: keep in mind that the volume may very well not show recycled right after the retention time is up. There are some actions that will cause the volume recycling algorithm to be run through -- one would be attempting a backup against the volume, and I believe 'status dir' might be another. Not sure of specifics. Bacula does not, however, throw away the contents of the volume right away on its own -- it attempts to keep the data as long as possible. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaKyKmb+gadEcsb4RArtMAKDbsXiDXLpHeBm9HNSD5SOYWZv+4gCg3CGK IYd71svC9205Z09gBNPk1PI= =LIsH -END PGP SIGNATURE- begin:vcard fn:Ryan Novosielski n:Novosielski;Ryan org:UMDNJ;IST/AST adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103 email;internet:[EMAIL PROTECTED] title:Systems Programmer III tel;work:(973) 972-0922 tel;fax:(973) 972-7412 tel;pager:(866) 20-UMDNJ x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] FYI An annoying GPL catch-22 concerning Bacula
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kern Sibbald wrote: On Thursday 07 June 2007 22:27, John Stoffel wrote: Kern As you probably know, Bacula is released with a modified GNU GPL Kern licence. The Bacula license modifies the GPL to permit Bacula Kern to link to OpenSSL. This was necessary because using MySQL Kern libraries requires OpenSSL. This modification was suggested by Kern Debian to bring Bacula in compliance with their procedures. Sounds good so far. Kern The problem comes from including pure GNU GPL code, which is not Kern compatible with the OpenSSL license, inside Bacula itself (there Kern are something like 8 such files). This works in the same way Kern that Debian would not allow Bacula as pure GNU GPL to link with Kern OpenSSL. If Bacula uses any pure GNU GPL code then that code Kern cannot be subject to the GNU GPL modifications, and that code Kern technically cannot linked and distributed with Bacula because of Kern OpenSSL. So which 8 files are these and can they be re-written? Maybe I'm misunderstanding what you mean by Pure GPL code? By pure GPL code, I meant code that has a non-modified GPL license (and is copyrighted by other people). Are these files from software released by the GNU organization? Kern I suspect that a lot of GPL projects are in a similar situation, Kern but they do not explicitly point out the exception as Bacula Kern does. The real bummer here is that this issue was flagged by Kern someone involved in the Fedora packaging process. From what I Kern understand (I may be wrong here), Fedora and hence Red Hat will Kern not use Bacula because it uses some pure GPL code and OpenSSL Kern together raising potential license problems -- after the Kern problems with SCO and threats from Microsoft, their license Kern concerns are quite understandable. Sure, I can understand this. Kern This is not a show-stopping issue because at least for the Kern moment, no author of pure GNU GPL code is lodging a complaint. Kern In addition as I mentioned in a previous email, this issue could Kern potentially be resolved by GPL v3 (due at the end of the month, Kern if I remember right) because it is compatible with the Apache Kern license, which is apparently what OpenSSL uses. Yup, Openssl uses the Apache license. Kern In the mean time, until this problem is resolved, I've freezed Kern all inclusion of new GPL code (copyrighted by others) in Bacula. So basically, you're saying that people who contribute code to bacula under the GPL license (which is what they need to do to get it distributed) can't contribute anymore? Kern The really complicated aspect of the above is that if you build Kern a program such as Bacula using all your own code, and you use Kern OpenSSL then in linking it, you just happen to drag some GPL'ed Kern code from some library directly into your binary (most Kern libararies are shared objects so do not become part of your Kern binary), as is the case with the statically linked Bacula used Kern in the rescue package, you are in violation of the GPL if you Kern distribute such a binary. Ah... now I see, it's the static linking part which causes the problems. Kern It seems that the only solution is that if you use GPL code, you Kern must use *all* GPL compatible code (not so easy), and if you Kern don't use it, you shouldn't even use the system libraries if Kern there is any chance they could be accidentally linked into your Kern program. It's an interesting point for sure. In this case, it all hinges on the OpenSSL people and their use of the Apache license. Which I would assume would actually be a bigger issue since Apache uses that license and I'm SURE that there are alot more Apache setups out there than Bacula. So how does Debian/Fedora work around Apache using the MySQL libraries with the openssl stuff? Or do they just punt because Apache (as they distribute it) only does dynamic linking? Honestly, I think you're over-reacting here to closing down submissions from people. I never said that I was closing down submissions from people. I said that I was not accepting any GPL'ed code. Submissions come from people who have transferred their copyright. Would this only, the, apply to programmers who had written something previously that was applicable to backups and then inserted into Bacula, or perhaps situations in which people wrote code that was intended for Bacula, but then instead of just making it part of the Bacula project, they independently copyrighted it? It's unclear to me what a developer would need to do differently. Granted this doesn't matter a whole lot to me as I don't really do any programming, but I'm curious as the explanation is a little confusing. I'm not sure if that's just me since I'm unfamiliar with this stuff, or whether it's the description. Thanks! - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | |
Re: [Bacula-users] Hardware recommendations
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm using a Sun UE450 with 3x296MHz and 896MB of RAM. However, the maximum simultaneous number of backups I'm doing is 8, and probably my total aggregate amount of data is less than 100GB for all of the systems together. There was some information on the list relatively recently about optimizing MySQL memory usage, or perhaps making it act somewhat differently to running out of memory. AFAIK, as well, newer versions of bacula are slated to handle this problem better as well. I personally would be somewhat surprised if 2G of RAM on a dedicated machine were too little. I've never tried watching my machine while backups were running, but it seems to me Bacula is fairly lightweight most of the time. Joseph Wright wrote: I'd like to find out what kind of hardware configurations people are using for their director. I plan to be backing up 50 or more clients with ~250G of data each on a dedicated director with 2G RAM and a 120G SATA drive. I had an issue one night where the director shut down with an out of memory error after the backup jobs started, with only 20 clients. I've since backed off the number of clients and am adding them back in more slowly, as well as distributing the startup times so they don't all start at once. But I'd like to find out if people think my hardware is adequate for the task and it would be interesting to know what others are using. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaLIFmb+gadEcsb4RAr2UAKCbY5Y8LGrR8cPJaLS/VhOBJXhieQCfdhwm Dwl3KvORlH+ALfNpHt51Kdo= =nlOC -END PGP SIGNATURE- begin:vcard fn:Ryan Novosielski n:Novosielski;Ryan org:UMDNJ;IST/AST adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103 email;internet:[EMAIL PROTECTED] title:Systems Programmer III tel;work:(973) 972-0922 tel;fax:(973) 972-7412 tel;pager:(866) 20-UMDNJ x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problems using smartmontools as Tape Alert Command
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey all, Could someone tell me where I'm going wrong here? Here is my line that I've added to the config files, stolen directly from those who know what they're doing: Alert Command = sh -c '/opt/csw/sbin/smartctl -H -l error %c' ...however, this is what happens when my jobs run, at the top of the job report e-mail that comes back: 04-Jun 23:01 helios-sd: Alert: smartctl version 5.36 [sparc-sun-solaris2.8] Copyright (C) 2002-6 Bruce Allen 04-Jun 23:01 helios-sd: Alert: Home page is http://smartmontools.sourceforge.net/ 04-Jun 23:01 helios-sd: Alert: 04-Jun 23:01 helios-sd: Alert: Smartctl: please specify device type with the -d option. 04-Jun 23:01 helios-sd: Alert: 04-Jun 23:01 helios-sd: Alert: Use smartctl -h to get a usage summary 04-Jun 23:01 helios-sd: Alert: 04-Jun 23:01 helios-sd: 3997 Bad alert command: sh -c '/opt/csw/sbin/smartctl -H -l error *None*': ERR=Child exited with code 1. ...clearly the %c is supposed to turn into something better than *None*. I also find it curious that this command is running BEFORE the job writes to tape, but if I'm not mistaken, I believe this is because I'm using 2.0.2 instead of 2.0.3, and order of some things that happen during a backup (ie. backup is considered finsihed) happen in a different order in 2.0.3. Thanks for any of your insights! - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaLTomb+gadEcsb4RAuKwAKCDemE6JeWM+9CZJ7dwy9QIum02bACgmT93 aGdU57KRp6LGwghqinVw0Ew= =a6WI -END PGP SIGNATURE- begin:vcard fn:Ryan Novosielski n:Novosielski;Ryan org:UMDNJ;IST/AST adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103 email;internet:[EMAIL PROTECTED] title:Systems Programmer III tel;work:(973) 972-0922 tel;fax:(973) 972-7412 tel;pager:(866) 20-UMDNJ x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] store data on two storages at one time
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please always copy the list on list discussions. See, though, this is my point, I suppose. There are many different reasons you might simultaneously want to write to two storage daemons. As far as I know, your purpose is currently possible, though the list would be able to better speak to how -- it's not something I have need of. Robert LeBlanc wrote: I would be interested in something like this for off-site back-up. Each month, do a full back-up to tapes that will stay in the library and a set that will be taken off-site for DR. Robert LeBlanc -Original Message- From: [EMAIL PROTECTED] [mailto:bacula-users- [EMAIL PROTECTED] On Behalf Of Ryan Novosielski Sent: Thursday, June 07, 2007 7:25 PM To: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] store data on two storages at one time For what reason? Load balancing? What are these two storages, tape drives? I don't know how to answer this question with the small amount of information you have provided. Maik Derstappen wrote: hello, is there an solution to storage the data which we will backup on more then one storage? for example: when the job is running: == storage A bacula-fd == == storage B thans for any answer :-) regards Maik - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaNOSmb+gadEcsb4RAvh2AKC9rxAVxMhsC/pt7qeN9Wydk9k/WwCg36J+ q9mEwkdOTFv1zKiaRelFHuk= =sq7a -END PGP SIGNATURE- begin:vcard fn:Ryan Novosielski n:Novosielski;Ryan org:UMDNJ;IST/AST adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103 email;internet:[EMAIL PROTECTED] title:Systems Programmer III tel;work:(973) 972-0922 tel;fax:(973) 972-7412 tel;pager:(866) 20-UMDNJ x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] store data on two storages at one time
I would be interested in something like this for off-site back-up. Each month, do a full back-up to tapes that will stay in the library and a set that will be taken off-site for DR. Robert LeBlanc -Original Message- From: [EMAIL PROTECTED] [mailto:bacula-users- [EMAIL PROTECTED] On Behalf Of Ryan Novosielski Sent: Thursday, June 07, 2007 7:25 PM To: [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] store data on two storages at one time -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For what reason? Load balancing? What are these two storages, tape drives? I don't know how to answer this question with the small amount of information you have provided. Maik Derstappen wrote: hello, is there an solution to storage the data which we will backup on more then one storage? for example: when the job is running: == storage A bacula-fd == == storage B thans for any answer :-) regards Maik - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGaK/rmb+gadEcsb4RAlNWAKDel7JSrIWM6iSq+F39sacwBF9v/QCgl/c7 Z2KaFgPGISVzAle4xg1o/lU= =rhsm -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] volume retention period not working?
On Friday 08 June 2007 03:10, Ryan Novosielski wrote: snip I would disagree with that. As far as I know, Use Volume Once has been removed for some time. No I could still set it to yes in this version. However, the replacement (Maximum Volume Jobs = 1) I use on my system to cause volumes to be marked used after one use. However, this does not affect recycling in my situation. I would suggest the original poster may have forgotten to update volumes (having created the volume before the current pool directives were in place). Chantal, I'd want to see at a minimum an llist on the volume in question, just to verify that at the very least the parameters have made it to the volume in the first place. here it is: MediaId: 31 VolumeName: DefaultVolume-0014 Slot: 0 PoolId: 1 MediaType: DDS FirstWritten: 2007-06-08 07:26:01 LastWritten: 2007-06-08 07:26:01 LabelDate: 2007-06-08 07:26:01 VolJobs: 0 VolFiles: 0 VolBlocks: 0 VolMounts: 7 VolBytes: 1 VolErrors: 0 VolWrites: 156,381 VolCapacityBytes: 0 VolStatus: Append Recycle: 1 VolRetention: 7,200 VolUseDuration: 0 MaxVolJobs: 1 MaxVolFiles: 0 MaxVolBytes: 0 InChanger: 1 EndFile: 4 EndBlock: 2,170 VolParts: 0 LabelType: 0 StorageId: 2 status is append at the moment because a backup is running In addition: keep in mind that the volume may very well not show recycled right after the retention time is up. There are some actions that will cause the volume recycling algorithm to be run through -- one would be attempting a backup against the volume, and I believe 'status dir' might be another. Not sure of specifics. Bacula does not, however, throw away the contents of the volume right away on its own -- it attempts to keep the data as long as possible. Any idea how long this takes? Approximately? I am testing Arno's suggestion now, to use Maximum Volume Jobs = 1. I'll let you know what happens. This morning I noticed another problem, the backup was running for an hour and then I got this message: 08-Jun 02:05 Server-sd: BackupAll.2007-06-08_01.00.00 Error: block.c:538 Write error at 4:2171 on device tape (/dev/nst0). ERR=Input/output error. 08-Jun 02:06 Server-sd: BackupAll.2007-06-08_01.00.00 Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1542 ioctl MTWEOF error on tape (/dev/nst0). ERR=Input/output error. 08-Jun 02:06 Server-sd: End of medium on Volume DefaultVolume-0014 Bytes=4,139,734,897 Blocks=64,170 at 08-Jun-2007 02:06. then bacula requested another tape, what does this mean? Something wrong with the tape? it is impossible that the tape is full because it's 12G and I backup 4G, and it was definitely not appending the data. Chantal - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users