Re: [Bacula-users] Configuration error
Hello, On Tuesday 29 August 2006 07:32, Janco van der Merwe wrote: You know what Kern, instead of looking down at a person all that you could have done was just point out what I did wrong and fixing 1, only 1, to give me an example, that is all that I need is someone just to get me on the right path so that I can get this working. I have no problem admitting when I am wrong, and like every one I sometimes inadvertantly say something in a incorrect way. In this case, I can tell you that I didn't look down on anyone, and I see no reason to apologize for what I wrote. I don't normally answer such questions in the first place, and your email is the kind of response that discourages and demotivates Open Source developers. Just because my answer is short and to the point (the FileSet filenames *are* messed up) doesn't mean that I am attacking or criticising the person who wrote them. Remember not everyone is as magnificent as you are and sometimes it won't cost you a thing just to help a person out just by giving him practical examples on the config file he sent you so that he will actually see what he is doing wrong. It seems to me that you are the one doing the judging here, rather sarcastic, and treating me like a servant. You are complaining because I pointed you to the problem, and and also complaining because I didn't spend spend ten or fifteen more minutes correcting your errors. But in any case thank you for the reply I'll go through the manual again. Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 28 August, 2006 20:45 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net;[EMAIL PROTECTED];[EMAIL PROTECTED] Subject: Re: Configuration error Your use of quotes and forward slashes in your FileSets is all messed up. Please see the manual. On Monday 28 August 2006 19:21, Janco van der Merwe wrote: I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I've check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk's eye but can't find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I'm making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the culprit Please any help will be appreciated Oh I'm running FC4 with Bacula v 1.38 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but
Re: [Bacula-users] Configuration error
Kern, Okay I see your point, I'm sorry, the day just started @#$!@ and your e-mail was not what I really expected and it was the last straw, in a way of speaking. Please remember that coming from a MS background I found it quite difficult to do things the right way and I missed the quotation marks in the manual, yes it was my fault no need to rub it in at this point, but it was a valuable lesson. I never intended to discourage you or to be judgmental but like I said I just needed someone to smack me in the right direction which you did, I know that now, but all that I'm trying to say is sorry and thank you and please remember that there are a lot of other idiots like me out there so patience is a virtue if not you can always go visit your local Bar or gunshop (: Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 29 August, 2006 09:27 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net Subject: Re: Configuration error Hello, On Tuesday 29 August 2006 07:32, Janco van der Merwe wrote: You know what Kern, instead of looking down at a person all that you could have done was just point out what I did wrong and fixing 1, only 1, to give me an example, that is all that I need is someone just to get me on the right path so that I can get this working. I have no problem admitting when I am wrong, and like every one I sometimes inadvertantly say something in a incorrect way. In this case, I can tell you that I didn't look down on anyone, and I see no reason to apologize for what I wrote. I don't normally answer such questions in the first place, and your email is the kind of response that discourages and demotivates Open Source developers. Just because my answer is short and to the point (the FileSet filenames *are* messed up) doesn't mean that I am attacking or criticising the person who wrote them. Remember not everyone is as magnificent as you are and sometimes it won't cost you a thing just to help a person out just by giving him practical examples on the config file he sent you so that he will actually see what he is doing wrong. It seems to me that you are the one doing the judging here, rather sarcastic, and treating me like a servant. You are complaining because I pointed you to the problem, and and also complaining because I didn't spend spend ten or fifteen more minutes correcting your errors. But in any case thank you for the reply I'll go through the manual again. Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 28 August, 2006 20:45 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net;[EMAIL PROTECTED];[EMAIL PROTECTED] Subject: Re: Configuration error Your use of quotes and forward slashes in your FileSets is all messed up. Please see the manual. On Monday 28 August 2006 19:21, Janco van der Merwe wrote: I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I've check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk's eye but can't find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I'm making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the culprit Please any help will be appreciated Oh I'm running FC4 with Bacula v 1.38 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein.
Re: [Bacula-users] Configuration error
repost as my mail provider again got their server listed on some RBL... Hello, On 8/29/2006 7:32 AM, Janco van der Merwe wrote: You know what Kern, instead of looking down at a person all that you could have done was just point out what I did wrong and fixing 1, only 1, to give me an example, that is all that I need is someone just to get me on the right path so that I can get this working. Remember not everyone is as magnificent as you are and sometimes it won't cost you a thing just to help a person out just by giving him practical examples on the config file he sent you so that he will actually see what he is doing wrong. I don't think this is the right sort of answer when you want more detailed help from someone spending his personal resources on something you use... And your line breaks in your mailer are also all messed up ;-) But in any case thank you for the reply I'll go through the manual again. When you do so and find inconsistencies in the supplied examples it would be nice if you posted this here - or to bacula-docs - so the manual can be improved. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration error
Hello, On Tuesday 29 August 2006 09:59, Janco van der Merwe wrote: Kern, Okay I see your point, I'm sorry, the day just started @#$!@ and your e-mail was not what I really expected and it was the last straw, in a way of speaking. Please remember that coming from a MS background I found it quite difficult to do things the right way and I missed the quotation marks in the manual, yes it was my fault no need to rub it in at this point, but it was a valuable lesson. I never intended to discourage you or to be judgmental but like I said I just needed someone to smack me in the right direction which you did, I know that now, but all that I'm trying to say is sorry and thank you and please remember that there are a lot of other idiots like me out there so patience is a virtue if not you can always go visit your local Bar or gunshop (: OK, thanks. I appreciate this email and the attitude you have taken. Everyone (including me I hope) is entitled to a bad moment or two. By the way, I don't consider any Bacula user an idiot, even if they have a few problems. If I ever visit South Africa, we can go to your local bar (no gunshops for me) and and exchange offering each other a drink ... :-) Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 29 August, 2006 09:27 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net Subject: Re: Configuration error Hello, On Tuesday 29 August 2006 07:32, Janco van der Merwe wrote: You know what Kern, instead of looking down at a person all that you could have done was just point out what I did wrong and fixing 1, only 1, to give me an example, that is all that I need is someone just to get me on the right path so that I can get this working. I have no problem admitting when I am wrong, and like every one I sometimes inadvertantly say something in a incorrect way. In this case, I can tell you that I didn't look down on anyone, and I see no reason to apologize for what I wrote. I don't normally answer such questions in the first place, and your email is the kind of response that discourages and demotivates Open Source developers. Just because my answer is short and to the point (the FileSet filenames *are* messed up) doesn't mean that I am attacking or criticising the person who wrote them. Remember not everyone is as magnificent as you are and sometimes it won't cost you a thing just to help a person out just by giving him practical examples on the config file he sent you so that he will actually see what he is doing wrong. It seems to me that you are the one doing the judging here, rather sarcastic, and treating me like a servant. You are complaining because I pointed you to the problem, and and also complaining because I didn't spend spend ten or fifteen more minutes correcting your errors. But in any case thank you for the reply I'll go through the manual again. Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 28 August, 2006 20:45 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net;[EMAIL PROTECTED];[EMAIL PROTECTED] Subject: Re: Configuration error Your use of quotes and forward slashes in your FileSets is all messed up. Please see the manual. On Monday 28 August 2006 19:21, Janco van der Merwe wrote: I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I've check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk's eye but can't find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I'm making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the culprit Please any help will be appreciated Oh I'm running FC4 with Bacula v 1.38 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and
Re: [Bacula-users] Configuration error
Absolutely, just say when! Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 29 August, 2006 11:25 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net Subject: Re: Configuration error Hello, On Tuesday 29 August 2006 09:59, Janco van der Merwe wrote: Kern, Okay I see your point, I'm sorry, the day just started @#$!@ and your e-mail was not what I really expected and it was the last straw, in a way of speaking. Please remember that coming from a MS background I found it quite difficult to do things the right way and I missed the quotation marks in the manual, yes it was my fault no need to rub it in at this point, but it was a valuable lesson. I never intended to discourage you or to be judgmental but like I said I just needed someone to smack me in the right direction which you did, I know that now, but all that I'm trying to say is sorry and thank you and please remember that there are a lot of other idiots like me out there so patience is a virtue if not you can always go visit your local Bar or gunshop (: OK, thanks. I appreciate this email and the attitude you have taken. Everyone (including me I hope) is entitled to a bad moment or two. By the way, I don't consider any Bacula user an idiot, even if they have a few problems. If I ever visit South Africa, we can go to your local bar (no gunshops for me) and and exchange offering each other a drink ... :-) Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 29 August, 2006 09:27 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net Subject: Re: Configuration error Hello, On Tuesday 29 August 2006 07:32, Janco van der Merwe wrote: You know what Kern, instead of looking down at a person all that you could have done was just point out what I did wrong and fixing 1, only 1, to give me an example, that is all that I need is someone just to get me on the right path so that I can get this working. I have no problem admitting when I am wrong, and like every one I sometimes inadvertantly say something in a incorrect way. In this case, I can tell you that I didn't look down on anyone, and I see no reason to apologize for what I wrote. I don't normally answer such questions in the first place, and your email is the kind of response that discourages and demotivates Open Source developers. Just because my answer is short and to the point (the FileSet filenames *are* messed up) doesn't mean that I am attacking or criticising the person who wrote them. Remember not everyone is as magnificent as you are and sometimes it won't cost you a thing just to help a person out just by giving him practical examples on the config file he sent you so that he will actually see what he is doing wrong. It seems to me that you are the one doing the judging here, rather sarcastic, and treating me like a servant. You are complaining because I pointed you to the problem, and and also complaining because I didn't spend spend ten or fifteen more minutes correcting your errors. But in any case thank you for the reply I'll go through the manual again. Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 28 August, 2006 20:45 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net;[EMAIL PROTECTED];[EMAIL PROTECTED] Subject: Re: Configuration error Your use of quotes and forward slashes in your FileSets is all messed up. Please see the manual. On Monday 28 August 2006 19:21, Janco van der Merwe wrote: I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I've check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk's eye but can't find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I'm making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the
[Bacula-users] Configuration error
I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. Ive check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawks eye but cant find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that Im making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the culprit Please any help will be appreciated Oh Im running FC4 with Bacula v 1.38 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.38.11 (28 June 2006) -- redhat (Stentz) # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = dunnsbac-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/query.sql WorkingDirectory = /var/bacula PidDirectory = /var/run Maximum Concurrent Jobs = 20 Password = director # Console password Messages = Daemon } JobDefs { Name = DefaultJob Type = Backup Level = Incremental Client = dunnsbac-fd FileSet = Full Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Priority = 10 } JobDefs { Name = MIS02 Daily Type = Backup Level = Full Client = mis02-fd FileSet = MIS02_Daily Schedule = Daily Storage = AIT Messages = Standard Pool = Daily Priority = 1 } JobDefs { Name = MIS02 Weekly Type = Backup Level = Full Client = mis02-fd FileSet = MIS02_Weekly Schedule = Weekly Storage = AIT Messages = Standard Pool = Weekly Priority = 2 } JobDefs { Name = Ceaser Type = Backup Level = Full Client = ceaser-fd FileSet = Ceaser Schedule = Daily Storage = AIT Messages = Standard Pool = Daily Priority = 3 } # # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = Client1 JobDefs = DefaultJob Write Bootstrap = /var/bacula/Client1.bsr } Job { Name = MIS02Daily Client = mis02-fd JobDefs = MIS02 Daily Write Bootstrap = /var/bacula/mis02.bsr } Job { Name = MIS02Weekly JobDefs = MIS02 Weekly Write Bootstrap = /var/bacula/mis02weekly.bsr } Job { Name = Ceaser JobDefs = Ceaser Write Bootstrap = /var/bacula/ceaser.bsr } #Job { # Name = Client2 # Client = dunnsbac2-fd # JobDefs = DefaultJob # Write Bootstrap = /var/bacula/Client2.bsr #} # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /etc/bacula/delete_catalog_backup Write Bootstrap = /var/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = RestoreFiles Type = Restore Client=dunnsbac-fd FileSet=Full Set Storage = File Pool = Default Messages = Standard Where = /tmp/bacula-restores } # List of files to be backed up FileSet { Name = Full Set Include { Options { signature =
Re: [Bacula-users] Configuration error
Your use of quotes and forward slashes in your FileSets is all messed up. Please see the manual. On Monday 28 August 2006 19:21, Janco van der Merwe wrote: I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I've check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk's eye but can't find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I'm making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the culprit Please any help will be appreciated Oh I'm running FC4 with Bacula v 1.38 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration error
Hi, On 8/28/2006 7:29 PM, Janco van der Merwe wrote to an astonishing number of people: (BTW, there's no need to include my mail address explicitly - I read the list, and I won't reply sooner with amail to me personally. Unless, of course, you pay me :-) I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I’ve check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk’s eye but can’t find anything. Well, Kern already commented on your FileSet definition. I noticed that you have two identical Catalog definitions, too, and I'm sure that is not very useful... The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I’m making sense). Seems to indicate a broken FileSet, I guess. In fact I'd consider this a bug - the DIR should probably complain about that. But that's a low priority issue IMO. I'd suggest to start with a straightforward, simple configuration: Apart from the director, storage, messages and client resources use only the necessary filesets, one catalog, one schedule, and only the necessary pools. If that works you can implement JobDefs when they are needed, more filesets, more schedules and so on. In smaller setups I don't think you need multiple catalogs, and IMO a very limited number of JobDefs keeps the job definitions more readable. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration error
You know what Kern, instead of looking down at a person all that you could have done was just point out what I did wrong and fixing 1, only 1, to give me an example, that is all that I need is someone just to get me on the right path so that I can get this working. Remember not everyone is as magnificent as you are and sometimes it won't cost you a thing just to help a person out just by giving him practical examples on the config file he sent you so that he will actually see what he is doing wrong. But in any case thank you for the reply I'll go through the manual again. Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 -Original Message- From: Kern Sibbald [mailto:[EMAIL PROTECTED] Sent: 28 August, 2006 20:45 To: Janco van der Merwe Cc: bacula-users@lists.sourceforge.net;[EMAIL PROTECTED];[EMAIL PROTECTED] Subject: Re: Configuration error Your use of quotes and forward slashes in your FileSets is all messed up. Please see the manual. On Monday 28 August 2006 19:21, Janco van der Merwe wrote: I wonder if one of you can help me? When I add a second client to the dir.conf I receive a 28-Aug 18:58 bacula-dir: ERROR TERMINATION at inc_conf.c:330 Config error: Keyword Catalog not permitted in this resource : line 341, col 8 of file /etc/bacula/bacula-dir.conf Catalog { This only happens when I add the second client. I've check all closing braces and they are all where they should be. When I comment the FileSet directive out it moans about other things but as soon as uncomment the the above mentioned I get the same error. I have gone throught the FileSet with a hawk's eye but can't find anything. The strange thing is as soon as I move the client up the client works but then the original specified client gives the error (I hope that I'm making sense). I have attached a text format of my config file if someone wants to have a look at it. P.S where Ceaser is the culprit Please any help will be appreciated Oh I'm running FC4 with Bacula v 1.38 Janco v.d Merwe Network Administrator Dunns Stores (PTY) Ltd Switchboard: 011 541 3000 Direct: 011 541 3007 Fax: 086 632 1708 This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. This communication and any attachments are confidential and intended for the sole use of the intended recipient. Any form of copying or disclosure of this communication to any third parties without permission is prohibited. The contents of this communication and its attachments are not intended to be relied upon in law without subsequent written confirmation. As such, Dunns Stores (Pty) Ltd accept no responsibility or liability (including negligence) for the consequences of anyone acting, or not acting, on information contained therein. If you have received this communication in error please notify us immediately and destroy or delete it. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Arno Lehmann wrote: Hello, On 2/26/2006 11:53 PM, LDB wrote: Arno Lehmann wrote: ... you could trim your mails a little... might make it easier to find what you're trying to discuss. Below is the /etc/bacula/bacula-sd.conf file ... I am not seeing any issues .. I have consulted .. What is the problem? Still the btape test complaining? I that case you could simply run backup, restore to somewhere else, and compare the two sets of files. as well .. I am not seeing anything wrong .. (can someone else??) The device configuration look normal now to me: Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Arno Well, thank you Arno. I think I am going to have to abandon Bacula for backups. I have compiled my own for SuSE 10.0 and I still get the same error. Thank you, LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
LDB wrote: I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive Device-Name = /backups/bacula/backups/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Someone suggested that I might not want to test with btape for disk to disk backups. Hence the above errors. What your guys' thoughts? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Dan Langille wrote: On 27 Feb 2006 at 18:46, LDB wrote: LDB wrote: I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive Device-Name = /backups/bacula/backups/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Someone suggested that I might not want to test with btape for disk to disk backups. Hence the above errors. What your guys' thoughts? I agree. http://www.bacula.org/rel-manual/Volume_Utility_Tools.html This program permits a number of elementary tape operations via a tty command interface. The test command, described below, can be very useful for testing older tape drive compatibility problems. Aside from initial testing of tape drive compatibility with Bacula, btape will be mostly used by developers writing new tape drivers. Quite specifically: tape. Cool .. I do not have to abandon it so early into the game. :) Thanks, LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
On 26 Feb 2006 at 10:26, LDB wrote: I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive Device-Name = /backups/bacula/backups/archive There is no such thing as a Device-Name from my reading at http://www.bacula.org/rel-manual/Storage_Daemon_Configuratio.html LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
LDB wrote: I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Should be .. Archive Device = /backups/bacula/backups Thanks .. LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
LDB wrote: LDB wrote: I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Should be .. Archive Device = /backups/bacula/backups Thanks .. LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Now, that I have resolved that I get the following .. Reposition to file:block 0:4 26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: BB02, got . Buffer discarded. btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error btape: btape.c:989 This may be because the tape drive block size is not set to variable blocking as normally used by Bacula. Please see the Tape Testing chapter in the manual and look for using mt with defblksize and setoptions If your tape drive block size is correct, then perhaps your SCSI driver is *really* stupid and does not correctly report the file:block after a FSF. In this case try setting: Fast Forward Space File = no in your Device resource. Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings .. Block Positioning = no Fast Forward Space File = no but to no avail .. Any ideas?? LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Dan Langille wrote: On 26 Feb 2006 at 10:26, LDB wrote: I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive Device-Name = /backups/bacula/backups/archive There is no such thing as a Device-Name from my reading at http://www.bacula.org/rel-manual/Storage_Daemon_Configuratio.html LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users OK .. Thanks Dan .. Then how do I configure bacula to backup to file/disk instead of tape. Thanks, LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Configuration Error
I am trying to use disk as the backup device. What am I doing wrong? :) btape -c /etc/bacula/bacula-sd.conf /backups/bacula/backups/archive Tape block granularity is 1024 bytes. 26-Feb 07:05 btape: ERROR TERMINATION at parse_conf.c:839 Config error: unexpected token 105 T_UNQUOTED_STRING in resource definition : line 49, col 13 of file /etc/bacula/bacula-sd.conf Device-Name = /backups/bacula/backups/archive /etc/bacula/bacula-sd.conf: .. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups/archive Device-Name = /backups/bacula/backups/archive LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Hello, On 2/26/2006 5:49 PM, LDB wrote: ... I am trying to use disk as the backup device. What am I doing wrong? :) ... you could trim your mails a little... might make it easier to find what you're trying to discuss. Now, that I have resolved that I get the following .. Reposition to file:block 0:4 26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: BB02, got . Buffer discarded. This is running btape with disk storage, right? I have never tried it, because I *know* that file positioning works with file based volumes :-) btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error btape: btape.c:989 This may be because the tape drive block size is not set to variable blocking as normally used by Bacula. Please see the Tape Testing chapter in the manual and look for using mt with defblksize and setoptions If your tape drive block size is correct, then perhaps your SCSI driver is *really* stupid and does not correctly report the file:block after a FSF. In this case try setting: Fast Forward Space File = no in your Device resource. Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings .. Block Positioning = no Fast Forward Space File = no but to no avail .. Why don't you try the sample configuration for file storage? I think that you're well advised using that because it works here :-) especially leaving the block size at default should help a lot. Anything fancy like Positioning etc. is not used by the file storage code, I think, because there is no such thing as the necessary IOCTL there... Random Access = Yes should be used instead. Any ideas?? I think so... Arno LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Arno Lehmann wrote: Hello, On 2/26/2006 5:49 PM, LDB wrote: ... I am trying to use disk as the backup device. What am I doing wrong? :) ... you could trim your mails a little... might make it easier to find what you're trying to discuss. Now, that I have resolved that I get the following .. Reposition to file:block 0:4 26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: BB02, got . Buffer discarded. This is running btape with disk storage, right? I have never tried it, because I *know* that file positioning works with file based volumes :-) btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error btape: btape.c:989 This may be because the tape drive block size is not set to variable blocking as normally used by Bacula. Please see the Tape Testing chapter in the manual and look for using mt with defblksize and setoptions If your tape drive block size is correct, then perhaps your SCSI driver is *really* stupid and does not correctly report the file:block after a FSF. In this case try setting: Fast Forward Space File = no in your Device resource. Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings .. Block Positioning = no Fast Forward Space File = no but to no avail .. Why don't you try the sample configuration for file storage? I think that you're well advised using that because it works here :-) especially leaving the block size at default should help a lot. Anything fancy like Positioning etc. is not used by the file storage code, I think, because there is no such thing as the necessary IOCTL there... Random Access = Yes should be used instead. Any ideas?? I think so... Arno LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I did use the sample file config. for file storage. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } i just changed the backup directory only. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Arno Lehmann wrote: Hello, On 2/26/2006 5:49 PM, LDB wrote: ... I am trying to use disk as the backup device. What am I doing wrong? :) ... you could trim your mails a little... might make it easier to find what you're trying to discuss. Now, that I have resolved that I get the following .. Reposition to file:block 0:4 26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: BB02, got . Buffer discarded. This is running btape with disk storage, right? I have never tried it, because I *know* that file positioning works with file based volumes :-) btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error btape: btape.c:989 This may be because the tape drive block size is not set to variable blocking as normally used by Bacula. Please see the Tape Testing chapter in the manual and look for using mt with defblksize and setoptions If your tape drive block size is correct, then perhaps your SCSI driver is *really* stupid and does not correctly report the file:block after a FSF. In this case try setting: Fast Forward Space File = no in your Device resource. Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings .. Block Positioning = no Fast Forward Space File = no but to no avail .. Why don't you try the sample configuration for file storage? I think that you're well advised using that because it works here :-) especially leaving the block size at default should help a lot. Anything fancy like Positioning etc. is not used by the file storage code, I think, because there is no such thing as the necessary IOCTL there... Random Access = Yes should be used instead. Any ideas?? I think so... Arno LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I should be using File based storage. I just changed the directory from /tmp to my directory. LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Arno Lehmann wrote: Hello, On 2/26/2006 5:49 PM, LDB wrote: ... I am trying to use disk as the backup device. What am I doing wrong? :) ... you could trim your mails a little... might make it easier to find what you're trying to discuss. Now, that I have resolved that I get the following .. Reposition to file:block 0:4 26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: BB02, got . Buffer discarded. This is running btape with disk storage, right? I have never tried it, because I *know* that file positioning works with file based volumes :-) btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error btape: btape.c:989 This may be because the tape drive block size is not set to variable blocking as normally used by Bacula. Please see the Tape Testing chapter in the manual and look for using mt with defblksize and setoptions If your tape drive block size is correct, then perhaps your SCSI driver is *really* stupid and does not correctly report the file:block after a FSF. In this case try setting: Fast Forward Space File = no in your Device resource. Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings .. Block Positioning = no Fast Forward Space File = no but to no avail .. Why don't you try the sample configuration for file storage? I think that you're well advised using that because it works here :-) especially leaving the block size at default should help a lot. Anything fancy like Positioning etc. is not used by the file storage code, I think, because there is no such thing as the necessary IOCTL there... Random Access = Yes should be used instead. Any ideas?? I think so... Arno LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I did use the sample file config. for file storage. Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } i just changed the backup directory only. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configuration Error
Arno Lehmann wrote: Hello, On 2/26/2006 5:49 PM, LDB wrote: ... I am trying to use disk as the backup device. What am I doing wrong? :) ... you could trim your mails a little... might make it easier to find what you're trying to discuss. Now, that I have resolved that I get the following .. Reposition to file:block 0:4 26-Feb 08:44 btape: btape Error: block.c:264 Volume data error at 0:4! Wanted ID: BB02, got . Buffer discarded. This is running btape with disk storage, right? I have never tried it, because I *know* that file positioning works with file based volumes :-) btape: btape.c:979 Read block 5 failed! file=0 blk=4. ERR=Input/output error btape: btape.c:989 This may be because the tape drive block size is not set to variable blocking as normally used by Bacula. Please see the Tape Testing chapter in the manual and look for using mt with defblksize and setoptions If your tape drive block size is correct, then perhaps your SCSI driver is *really* stupid and does not correctly report the file:block after a FSF. In this case try setting: Fast Forward Space File = no in your Device resource. Obviously, the default is variable block storage for tape devices but I am using disk. Therefore it is fixed block. I have tried the following settings .. Block Positioning = no Fast Forward Space File = no but to no avail .. Why don't you try the sample configuration for file storage? I think that you're well advised using that because it works here :-) especially leaving the block size at default should help a lot. Anything fancy like Positioning etc. is not used by the file storage code, I think, because there is no such thing as the necessary IOCTL there... Random Access = Yes should be used instead. Any ideas?? I think so... Arno LDB --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Below is the /etc/bacula/bacula-sd.conf file ... I am not seeing any issues .. I have consulted .. http://www.bacula.org/dev-manual/Automated_Disk_Backup.html http://www.bacula.org/dev-manual/Basic_Volume_Management.html as well .. I am not seeing anything wrong .. (can someone else??) # # Default Bacula Storage Daemon Configuration file # # For Bacula release 1.36.3 (22 April 2005) -- suse 5.x # # You may need to change the name of your tape drive # on the Archive Device directive in the Device # resource. If you change the Name and/or the # Media Type in the Device resource, please ensure # that dird.conf has corresponding changes. # Storage { # definition of myself Name = liszt-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula/working Pid Directory = /var/run Maximum Concurrent Jobs = 20 } # # List Directors who are permitted to contact Storage daemon # Director { Name = liszt-dir Password = /rO99ZRj8hKJn8ebzVx0xnDOslxid2g1GZLPiqQPD7pD } # # Restricted Director, used by tray-monitor to get the # status of the storage daemon # Director { Name = liszt-mon Password = 0UdkrNO9TpRPfPKzqo2o5Mm3n3HgINqT9Qyh05WLUjhR Monitor = yes } # # Devices supported by this Storage daemon # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. # Device { Name = FileStorage Media Type = File Archive Device = /backups/bacula/backups LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } # # A Linux or Solaris tape drive # #Device { # Name = DDS-4# # Media Type = DDS-4 # Archive Device = /dev/nst0 # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes; # RemovableMedia = yes; # RandomAccess = no; ## Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d ## Changer Device = /dev/sg0 ## AutoChanger = yes ## Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' #} # # A FreeBSD tape drive # #Device { # Name = DDS-4 # Description = DDS-4 for FreeBSD # Media Type = DDS-4 # Archive Device = /dev/nsa1 # AutomaticMount = yes; # when device opened, read it # AlwaysOpen = yes # Offline On Unmount = no # Hardware End of Medium = no # BSF at EOM = yes # Backward Space Record = no # Fast Forward Space File = no # TWO EOF = yes #} # # A OnStream tape drive. # You need the kernel osst driver 0.9.14 or later, and # do mt -f