Re: [Bacula-users] Bacula project management and feature requests
On Thursday 10 November 2005 22:17, Arno Lehmann wrote: Hi, what do we call this now? RFC? RFF? RTDAATARFC (Request To Discuss An Addition To A Request For Comment)? Feature Request anyway... I personally like RFC, because for me RFC means Request For Change and it is used in this sense in a number of large shops. However, since there seems to be some opposition to it, I've dropped it -- Feature Request. On 08.11.2005 15:19, Kern Sibbald wrote: ... Concerning future development of Bacula: As I noted in the 1.38 ReleaseNotes, version 1.38 was different from prior versions because it had a lot more contributions. I expect that this trend will continue. As a consequence, I am going to modify how I normally do development, and instead of making a list of all the features that I will implement in the next version, I will personally sign up for one (maybe two) projects at a time, and when they are complete, I will release a new version. The difference is that I will have more time to review the new code that is being contributed, and will be able to devote more time to a smaller number of projects (1.38 had too many new features for me to handle correctly). I expect that future release schedules will be much the same, and the number of new features will also be much the same providing that the contributions continue to come -- and they show no signs of let up :-) I'm curious... Feature requests -- RFCs: In addition, I would like to formalize the feature requests (RFC) a bit. Instead of me maintaining an informal list of everything I run into (kernstodo), I would like to maintain a formal list of projects. This means that all new feature requests, including those recently discussed on the email lists, must be formally submitted and approved. This sounds good. Seeing how many ideas are presented in the mailing lists, some sort of management seems necessary. Doing everything at the same time usually doesn't work, and perhaps a more formalized way to submit ideas and select what to implement ties people closer into the development. I only hope that not too many people feel that the suggested way to discuss new features is overly bureaucratic... some surely will, but that's life. Formal submission of feature requests will take two forms: 1. non-mandatory, but highly recommended is to discuss proposed new features on the mailing list. 2. Formal submission of an RFC in a special format. I'll give an example of this below, but you can also find it on the web site under Support - Feature Requests. Since it takes a bit of time to properly fill out a RFC form, you probably should check on the email list first. Especially considering that the list users as a whole know a lot about how Bacula works, and what can be done and, more important, can't be done with it's design this is a good idea. ... Once users have had several weeks to submit RFCs, I will organize them, and request users to vote on them. This will allow fixing prioritizing the RFCs. Having a priority is one thing, but getting it implement is another thing -- I am hoping that the Bacula community will take more responsibility for assuring the implementation of accepted RFCs. So, why do we vote and priorize? Wouldn't it be more helpful to publish a list of projects, together with information about the curent state of discussion concerning them, and heve interested developers pich what they want to implement? I think that, since we need people to implement things, it's not the best idea to say we want this. Volunteers step forward but rather help people find interesting things to develop. Of course the opposite could be true, too: That people already involved in the Bacula project are more likely to implement something they see the need for than simply select what they think could be fun to do. Hard to say... ... Your comments on this would be welcome -- as well as your RFCs. Well, you've got my comments, and you will get more suggestions :-) Arno -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FileSet accross mountpoints with regular expressions
Hello, Kern Sibbald wrote: [...] That said, once you prooved that your fileset works, it would be a good contribution to the manual. I agee with Arno. Your approach is the best one I have seen, and would be a nice contribution to the manual. last night all went just fine with this FileSet. No warnings, all NFS mounts were skipped and it made Incrementals just as desired. is that proof enough? I don't know what else to say as it just works. :-) best regards, Stephan --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FileSet accross mountpoints with regular expressions
On Friday 11 November 2005 10:15, Stephan Ebelt wrote: Hello, Kern Sibbald wrote: [...] That said, once you prooved that your fileset works, it would be a good contribution to the manual. I agee with Arno. Your approach is the best one I have seen, and would be a nice contribution to the manual. last night all went just fine with this FileSet. No warnings, all NFS mounts were skipped and it made Incrementals just as desired. is that proof enough? I don't know what else to say as it just works. :-) Nice. I'm happy to hear it. I'll see if I can pull the essential information from your email of Wednesday and incorporate it into the manual as an example. Thanks for the feedback. -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Two clients in the same job
Hi to @ll. This is the first time I use bacula and I want to know if there's any way to define one job but that can point to different clients. Now I'll explain you my case that can help to understand my question: As we defined in our security policie, we have to tapes (volumes), and we want that the mon, wed, fri and sun will backed up in one tape and the other weekdays in the other. Buuut we have too two different clients one is a winbox and the other is a linuxbox, and we dont want make different pools or job's because we want that some files on the winbox and some files on the linuxbox (like the same job) one day will be backed up to one tape and the other days will be backup up to the other tape. I could define the same Fileset to include files from the linuxbox and from the winbox but when I try to write two different client's to the same job, and do the bacula-dir -t /etc/bacula/bacula-dir.conf the director send me Config error: Attempt to redefine resource client referenced on line 39 ... Can somebody help me? Greetings (and thanks in advange). -- Pablo C. Vergara Castro. Departamento de informática. TQR-Software Tlfno.: (+34) 986 39 31 49 Fax:(+34) 986 31 25 96 La información transmitida va dirigida únicamente a la persona o entidad que se muestra como destinatario y puede contener datos confidenciales o privilegiados. Toda revisión, retransmisión, diseminación u otro uso o acción al respecto por parte de personas o entidades distintas al destinatario está prohibida. Si recibe esto por error, por favor contacte con la persona que figura como remitente y elimine el material de cualquier ordenador. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any Computer. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two clients in the same job
On Fri, 2005-11-11 at 11:21 +0100, [EMAIL PROTECTED] wrote: Hi to @ll. This is the first time I use bacula and I want to know if there's any way to define one job but that can point to different clients. Now I'll explain you my case that can help to understand my question: As we defined in our security policie, we have to tapes (volumes), and we want that the mon, wed, fri and sun will backed up in one tape and the other weekdays in the other. Buuut we have too two different clients one is a winbox and the other is a linuxbox, and we dont want make different pools or job's because we want that some files on the winbox and some files on the linuxbox (like the same job) one day will be backed up to one tape and the other days will be backup up to the other tape. I could define the same Fileset to include files from the linuxbox and from the winbox but when I try to write two different client's to the same job, and do the bacula-dir -t /etc/bacula/bacula-dir.conf the director send me Config error: Attempt to redefine resource client referenced on line 39 ... Why can't you have tow jobs, tow clients, tow filesets, one storage, one pool and 5 (or 6) volumes. Every day you have to change tape in the drive and config bacula to recycle your volumes on the tapes. Can somebody help me? Greetings (and thanks in advange). -- Phone Work: +47 69212321 / 2321 Phone Priv: +47 69809853 (o_ +47 99521685 / 3137 //\ ICQ: 48948625 MSN: [EMAIL PROTECTED] V_/_ i n u x Registered Linux User # 171776 (http://counter.li.org) signature.asc Description: This is a digitally signed message part
Re: [Bacula-users] bacula-fd for sparc sunOS 5.9
On Thu, 10 Nov 2005, Rob Burris wrote: Has the bacula-fd file been ported to sparc sunOS, particularly 5.9? I didn't find anything in the software user's list archive. It compiled fine for me on Solaris 8 and 9 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two clients in the same job
El Viernes, 11 de Noviembre de 2005 11:41, Geir Asle Borgen escribió: On Fri, 2005-11-11 at 11:21 +0100, [EMAIL PROTECTED] wrote: Hi to @ll. This is the first time I use bacula and I want to know if there's any way to define one job but that can point to different clients. Now I'll explain you my case that can help to understand my question: As we defined in our security policie, we have to tapes (volumes), and we want that the mon, wed, fri and sun will backed up in one tape and the other weekdays in the other. Buuut we have too two different clients one is a winbox and the other is a linuxbox, and we dont want make different pools or job's because we want that some files on the winbox and some files on the linuxbox (like the same job) one day will be backed up to one tape and the other days will be backup up to the other tape. I could define the same Fileset to include files from the linuxbox and from the winbox but when I try to write two different client's to the same job, and do the bacula-dir -t /etc/bacula/bacula-dir.conf the director send me Config error: Attempt to redefine resource client referenced on line 39 ... Why can't you have tow jobs, tow clients, tow filesets, one storage, one pool and 5 (or 6) volumes. Every day you have to change tape in the drive and config bacula to recycle your volumes on the tapes. Because: a) The mon, tue, wed,fri we want to back up one kind of fileset, the thu another one, and sat and sun another two. b) We want to use only to tapes (really three because the thursday we want to back up in two tape to go out one of these) c) We don't want to recycle the tape's until one year In other words because we design this backup policy as we think the best solution. Can somebody help me? Greetings (and thanks in advange). -- Pablo C. Vergara Castro. Departamento de informática. TQR-Software Tlfno.: (+34) 986 39 31 49 Fax:(+34) 986 31 25 96 La información transmitida va dirigida únicamente a la persona o entidad que se muestra como destinatario y puede contener datos confidenciales o privilegiados. Toda revisión, retransmisión, diseminación u otro uso o acción al respecto por parte de personas o entidades distintas al destinatario está prohibida. Si recibe esto por error, por favor contacte con la persona que figura como remitente y elimine el material de cualquier ordenador. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any Computer. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two clients in the same job
On Fri, 2005-11-11 at 11:58 +0100, [EMAIL PROTECTED] wrote: El Viernes, 11 de Noviembre de 2005 11:41, Geir Asle Borgen escribió: On Fri, 2005-11-11 at 11:21 +0100, [EMAIL PROTECTED] wrote: Hi to @ll. This is the first time I use bacula and I want to know if there's any way to define one job but that can point to different clients. Now I'll explain you my case that can help to understand my question: As we defined in our security policie, we have to tapes (volumes), and we want that the mon, wed, fri and sun will backed up in one tape and the other weekdays in the other. Buuut we have too two different clients one is a winbox and the other is a linuxbox, and we dont want make different pools or job's because we want that some files on the winbox and some files on the linuxbox (like the same job) one day will be backed up to one tape and the other days will be backup up to the other tape. I could define the same Fileset to include files from the linuxbox and from the winbox but when I try to write two different client's to the same job, and do the bacula-dir -t /etc/bacula/bacula-dir.conf the director send me Config error: Attempt to redefine resource client referenced on line 39 ... Why can't you have tow jobs, tow clients, tow filesets, one storage, one pool and 5 (or 6) volumes. Every day you have to change tape in the drive and config bacula to recycle your volumes on the tapes. Because: a) The mon, tue, wed,fri we want to back up one kind of fileset, the thu another one, and sat and sun another two. OK, you need 2 clients (1 win and 1 linux), 4 jobs (win-mon-tue-wed-fri, win-thu, linux-mon-tue-wed-fri, linux-thu), 4 filesets (win-mon-tue-wed-fri, win-thu, linux-mon-tue-wed-fri, linux-thu), 1 storage (tape drive), 1 pool and some volumes. b) We want to use only to tapes (really three because the thursday we want to back up in two tape to go out one of these) You say tow tapes (pluss some extra on Thursday), but you will not delete the old backup on the tape until a year later c). OK, when you define the Pool use: Recycle Oldest Volume = yes Volume Use Durations = 1 days #Use volume only on day, then make new Recycle = yes Volume Retention = 365 days And some other stuf. Good Luck c) We don't want to recycle the tape's until one year In other words because we design this backup policy as we think the best solution. Can somebody help me? Greetings (and thanks in advange). -- Phone Work: +47 69212321 / 2321 Phone Priv: +47 69809853 (o_ +47 99521685 / 3137 //\ ICQ: 48948625 MSN: [EMAIL PROTECTED] V_/_ i n u x Registered Linux User # 171776 (http://counter.li.org) signature.asc Description: This is a digitally signed message part
Re: [Bacula-users] Two clients in the same job
El Viernes, 11 de Noviembre de 2005 12:17, Geir Asle Borgen escribió: On Fri, 2005-11-11 at 11:58 +0100, [EMAIL PROTECTED] wrote: El Viernes, 11 de Noviembre de 2005 11:41, Geir Asle Borgen escribió: On Fri, 2005-11-11 at 11:21 +0100, [EMAIL PROTECTED] wrote: Hi to @ll. This is the first time I use bacula and I want to know if there's any way to define one job but that can point to different clients. Now I'll explain you my case that can help to understand my question: As we defined in our security policie, we have to tapes (volumes), and we want that the mon, wed, fri and sun will backed up in one tape and the other weekdays in the other. Buuut we have too two different clients one is a winbox and the other is a linuxbox, and we dont want make different pools or job's because we want that some files on the winbox and some files on the linuxbox (like the same job) one day will be backed up to one tape and the other days will be backup up to the other tape. I could define the same Fileset to include files from the linuxbox and from the winbox but when I try to write two different client's to the same job, and do the bacula-dir -t /etc/bacula/bacula-dir.conf the director send me Config error: Attempt to redefine resource client referenced on line 39 ... Why can't you have tow jobs, tow clients, tow filesets, one storage, one pool and 5 (or 6) volumes. Every day you have to change tape in the drive and config bacula to recycle your volumes on the tapes. Because: a) The mon, tue, wed,fri we want to back up one kind of fileset, the thu another one, and sat and sun another two. OK, you need 2 clients (1 win and 1 linux), 4 jobs (win-mon-tue-wed-fri, win-thu, linux-mon-tue-wed-fri, linux-thu), 4 filesets (win-mon-tue-wed-fri, win-thu, linux-mon-tue-wed-fri, linux-thu), 1 storage (tape drive), 1 pool and some volumes. b) We want to use only to tapes (really three because the thursday we want to back up in two tape to go out one of these) You say tow tapes (pluss some extra on Thursday), but you will not delete the old backup on the tape until a year later c). OK, when you define the Pool use: Recycle Oldest Volume = yes Volume Use Durations = 1 days #Use volume only on day, then make new Recycle = yes Volume Retention = 365 days And some other stuf. Good Luck Well... well ... well... the only think I know is that It's no possible use two clients.. two fileset's for the same job... what a shame! :-(. c) We don't want to recycle the tape's until one year In other words because we design this backup policy as we think the best solution. Can somebody help me? Greetings (and thanks in advange). -- Pablo C. Vergara Castro. Departamento de informática. TQR-Software Tlfno.: (+34) 986 39 31 49 Fax:(+34) 986 31 25 96 La información transmitida va dirigida únicamente a la persona o entidad que se muestra como destinatario y puede contener datos confidenciales o privilegiados. Toda revisión, retransmisión, diseminación u otro uso o acción al respecto por parte de personas o entidades distintas al destinatario está prohibida. Si recibe esto por error, por favor contacte con la persona que figura como remitente y elimine el material de cualquier ordenador. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any Computer. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Thu, 2005-11-10 at 19:59 +0100, Geir Asle Borgen wrote: [snip] [/snip] Hmm ... now I have a: Volume Use Duration = 10 min File Retention = 30 min Job Retention = 2 h Volume Retention = 30 min Just for testing ... I run 4 jobs whit 10 min in between, and get 4 volumes. When the last job is finished the first job is purged from the list jobs in bconsole. So fare so good, but how can I use this whit my month-tape setup. If I understood Martin Simmons right it is possible to restore form a volume where the job retention still is'nt run out (the volume is on a tape and set to readonly). HOW ... I can't understand how I can do this ... OK, the way I see it I have tow possibilities: * Take backup whit all retention times set to 60 days and (if possible) import an old volume from tape to the database when I need to restore files older then 60 days. If possible, how can I import old volumes that are purged form the database? * Or I can set all retention times to 99 years and delete old volumes on diskbackup whit `find /path -type f -name VolumeXXX -mtime + 60 -exec rm {} \:` in a Run Befor Client option. Then I get a ENORMOUS database after some time, but I can use bconsole and run delte on all diskbackup jobs older then 60 days. Or is it possible to delete jobs from the database in a script, how? Help please ... any one? -- Phone Work: +47 69212321 / 2321 Phone Priv: +47 69809853 (o_ +47 99521685 / 3137 //\ ICQ: 48948625 MSN: [EMAIL PROTECTED] V_/_ i n u x Registered Linux User # 171776 (http://counter.li.org) signature.asc Description: This is a digitally signed message part
RE: [Bacula-users] bacula-fd for sparc sunOS 5.9
We use ist on Solaris 10 and also tested on Solairs 9. We compiled it with gcc 3.4.2 on Solaris 9 and gcc 3.4.4 on Solaris 10. I did'nt use any special options at compiletime. All the problems I had were the result of my bad config... -Original Message- From: Alan Brown [mailto:[EMAIL PROTECTED] Sent: Friday, November 11, 2005 11:54 AM To: Rob Burris Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] bacula-fd for sparc sunOS 5.9 On Thu, 10 Nov 2005, Rob Burris wrote: Has the bacula-fd file been ported to sparc sunOS, particularly 5.9? I didn't find anything in the software user's list archive. It compiled fine for me on Solaris 8 and 9 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] job to run at 0000-00-00 00:00:00 ?
(Mods: please ignore the other queued post, it was sent from wrong account) Hi all After much recursive running around in the docs to get things working, I am now adding my clients and running them manually (i`ll work on schedules next week). Yesterday, they all worked fine. Today, i submit a manual run job but start time is set to: -00-00 00:00:00 even though when bconsole said is this ok to run? the correct time (i.e. NOW) was displayed. I have also deleted the jobs and tried to manually run them a second time, but I still get the same problem. bconsole shows no messages, the tape drive is loaded with label tapes (the same appendable one I used yesterday that has plenty of room on it). Does anyone have any idea where I should look to fix this? (If its a FAQ and I havent found it, please feel free to flame, laugh and send me obvious links to the relevant pages in the docs) --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula not using a tape for some reason.
Ok, this rewind error isn't going away. I've tried changing the sleep timer to 180 in mtx-changer. No luck.. Connecting to Storage daemon ULTRIUM at backup2.harrow.gov.uk:9103 ... Sending label command for Volume 000106L2 Slot 4 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3304 Issuing autochanger load slot 4, drive 0 command. 3305 Autochanger load slot 4, drive 0, status is OK. 3912 Failed to label Volume: ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. Any ideas? Thanks! Kern Sibbald [EMAIL PROTECTED] 10/11/2005 15:12 On Thursday 10 November 2005 15:41, Beren Gamble wrote: That didn't fix it... Can I make it use a different tape somehow? Yes, of course, simply use the update volume=xxx command and mark it Used or Full. I think you should run the btape test program, and if it doesn't ask you be sure to do the auto command too. Perhaps the list can help you more with this problem as well, since they are generally better than I am at these things ... It comes up with the rewind error straight after loading the tape. Kern Sibbald [EMAIL PROTECTED] 10/11/2005 12:05:20 Most likely you do not have a long enough wait in your mtx-changer script, and so Bacula is attempting to access the drive before the autochanger has had enough time to load the tape. This is described in the script and in the Autochanger chapter of the manual. On Thursday 10 November 2005 11:56, Beren Gamble wrote: Bacula is asking for a tape which is already in the library. You have messages. *m 10-Nov 10:52 backup2-sd: 3301 Issuing autochanger loaded drive 0 command. 10-Nov 10:52 backup2-sd: 3302 Autochanger loaded drive 0, result is Slot 4. 10-Nov 10:52 backup2-sd: HOSTDATA-Daily.2005-11-09_21.00.10 Warning: Couldn't rewind device /dev/st0 ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. 10-Nov 10:52 backup2-sd: Please mount Volume 000106L2 on Storage Device ULTRIUM for Job HOSTDATA-Daily.2005-11-09_21.00.10 ***Do you know what the Rewind error is?*** ***The media is in the tape unit, I checked with mtx-changer*** *list media Using default Catalog name=MyCatalog DB=bacula Pool: Daily +-++---+-+--+ -- +-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten +-++---+-+--+ -- +-+--+---+---+-+ | 1 | 000103L2 | Full | 420,174,337,450 | 426 | | 1,036,800 | 1 |6 | 1 | LT02 | 2005-11-10 | 06:47:18 | | | 3 | 000105L2 | Full | 414,810,710,019 | 420 | | | 1,036,800 1 |5 | 1 | LT02 | 2005-11-09 11:32:37 | 4 | | | | | 000106L2 | Recycle | 1 |0 |1,036,800 | | 1 |4 | 1 | LT02 | 2005-09-23 23:43:27 |* ***Can I make bacula use this tape or another tape so I don't have a failed backup?*** * ** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London Borough of Harrow: London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures. Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your intended recipient(s) by other means should confirmation of receipt be important. * ** --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list
Re: [Bacula-users] Bacula not using a tape for some reason.
Beren Gamble wrote: Ok, this rewind error isn't going away. I've tried changing the sleep timer to 180 in mtx-changer. No luck.. Connecting to Storage daemon ULTRIUM at backup2.harrow.gov.uk:9103 ... Sending label command for Volume 000106L2 Slot 4 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3304 Issuing autochanger load slot 4, drive 0 command. 3305 Autochanger load slot 4, drive 0, status is OK. 3912 Failed to label Volume: ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. Any ideas? Thanks! you checked if the tape is okay ? maybe it's physically broken ? Florian --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Thu, 10 Nov 2005 19:59:10 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir On Thu, 2005-11-10 at 10:50 +0100, Geir Asle Borgen wrote: On Thu, 2005-11-10 at 09:36 +, Martin Simmons wrote: On Thu, 10 Nov 2005 10:12:19 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir On Wed, 2005-11-09 at 19:52 +, Martin Simmons wrote: On Wed, 09 Nov 2005 11:12:30 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir If I have understod it right will the volume be purged/deleted before Geir the retention time for files, jobs and volume stored on the specific Geir volume. And to restore files you need both the volume (where the files Geir are stored) and the job info (stored in the database, not on the Geir volume). Geir My problem is the backupstrategi we use here. We take incremental backup Geir to disk every working day, but once a month we take full backup to tape. Geir So fare, all is good. BUT we have all the 12 month-tapes stored for a Geir year, and we also have a year-tape who is stored for all future. The Geir consequence of this is that I have to set job retention to something Geir like for all times!?! Geir Most restores are done on files lost less the a month ago ... but form Geir time to time I have to go to tape and get older files. But if job Geir retention is set to never expire all files will be stored on disk as Geir well for all time ... and I will run out of diskspace. Geir Is there some things I can do to be able to restore files older then one Geir month (form tape, but not loos the job-info stored in the database)? Geir Will deleting `rm VolumeXX` from the disk and setting job retention to Geir 99 years do the trick? Or will that just FP everything? Have you considered setting the Volume Retention for the disk volumes to something like 60 days? That will override the longer Job Retention and allow the disk volumes to be recycled. Geir Yes, I have considered that, but is that the way it work? Does Volume Geir Retention override Job Retention? Yes (and the File Retention). The manual describes this in more detail. Hurray ... this solves the problem (maybe I have to buy glasses? Or drik mor coffee?) Geir Hmm ... now I have a: Geir Volume Use Duration = 10 min Geir File Retention = 30 min Geir Job Retention = 2 h Geir Volume Retention = 30 min Geir Just for testing ... I run 4 jobs whit 10 min in between, and get 4 Geir volumes. When the last job is finished the first job is purged from the Geir list jobs in bconsole. So fare so good, but how can I use this whit my Geir month-tape setup. If I understood Martin Simmons right it is possible to Geir restore form a volume where the job retention still is'nt run out (the Geir volume is on a tape and set to readonly). HOW ... I can't understand how Geir I can do this ... Use a Volume Retention of 12 months for the month-tapes tape volumes and 1 month for the disk volumes. For the year-tape volume, you can set its retention to 99 years if you want to keep it in the pool forever. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Database locked
Pedro Henrique Morsch Mazzoni wrote: Hi, I am using sqlite and I'm receiving a lot of messages of the error: database is locked Any ideas? Thanks, Pedro Mazzoni checked file permissions ? also i would advise you to switch to postgresql if your DB is over 500 MB you using bacula productive -- Florian Schnabel --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Database locked
On Fri, 2005-11-11 at 14:01 +0100, Florian Schnabel wrote: Pedro Henrique Morsch Mazzoni wrote: Hi, I am using sqlite and I'm receiving a lot of messages of the error: database is locked Any ideas? Thanks, Pedro Mazzoni checked file permissions ? also i would advise you to switch to postgresql if your DB is over 500 MB you using bacula productive Or MySQL ... where goes the limit when MySQL is to smal and postresql is the only alternative? -- Phone Work: +47 69212321 / 2321 Phone Priv: +47 69809853 (o_ +47 99521685 / 3137 //\ ICQ: 48948625 MSN: [EMAIL PROTECTED] V_/_ i n u x Registered Linux User # 171776 (http://counter.li.org) signature.asc Description: This is a digitally signed message part
Re: [Bacula-users] job to run at 0000-00-00 00:00:00 ?
On Friday 11 November 2005 13:11, Steve Loughran wrote: (Mods: please ignore the other queued post, it was sent from wrong account) Hi all After much recursive running around in the docs to get things working, I am now adding my clients and running them manually (i`ll work on schedules next week). Yesterday, they all worked fine. Today, i submit a manual run job but start time is set to: -00-00 00:00:00 I cannot quite understand the context, so it would probably help us to figure out exactly what you are referring to if you would include the *exact* output from the console that shows this zero time ... even though when bconsole said is this ok to run? the correct time (i.e. NOW) was displayed. I have also deleted the jobs and tried to manually run them a second time, but I still get the same problem. bconsole shows no messages, the tape drive is loaded with label tapes (the same appendable one I used yesterday that has plenty of room on it). Does anyone have any idea where I should look to fix this? (If its a FAQ and I havent found it, please feel free to flame, laugh and send me obvious links to the relevant pages in the docs) --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula not using a tape for some reason.
On Friday 11 November 2005 13:35, Beren Gamble wrote: Ok, this rewind error isn't going away. I've tried changing the sleep timer to 180 in mtx-changer. No luck.. What version of Bacula are you running? What OS version? Specifically the kernel. There was a change in how the Linux kernel handles tape drives from 2.4 to 2.6. Bacula 1.38.0 learned how to deal with it correctly, Bacula 1.36.3 and lower can have this type of error. The other thing to do is to turn on the wait_for_drive() (or whatever it is called) in mtx-changer, but make sure it works on your system. Connecting to Storage daemon ULTRIUM at backup2.harrow.gov.uk:9103 ... Sending label command for Volume 000106L2 Slot 4 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3304 Issuing autochanger load slot 4, drive 0 command. 3305 Autochanger load slot 4, drive 0, status is OK. 3912 Failed to label Volume: ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. Any ideas? Thanks! Kern Sibbald [EMAIL PROTECTED] 10/11/2005 15:12 On Thursday 10 November 2005 15:41, Beren Gamble wrote: That didn't fix it... Can I make it use a different tape somehow? Yes, of course, simply use the update volume=xxx command and mark it Used or Full. I think you should run the btape test program, and if it doesn't ask you be sure to do the auto command too. Perhaps the list can help you more with this problem as well, since they are generally better than I am at these things ... It comes up with the rewind error straight after loading the tape. Kern Sibbald [EMAIL PROTECTED] 10/11/2005 12:05:20 Most likely you do not have a long enough wait in your mtx-changer script, and so Bacula is attempting to access the drive before the autochanger has had enough time to load the tape. This is described in the script and in the Autochanger chapter of the manual. On Thursday 10 November 2005 11:56, Beren Gamble wrote: Bacula is asking for a tape which is already in the library. You have messages. *m 10-Nov 10:52 backup2-sd: 3301 Issuing autochanger loaded drive 0 command. 10-Nov 10:52 backup2-sd: 3302 Autochanger loaded drive 0, result is Slot 4. 10-Nov 10:52 backup2-sd: HOSTDATA-Daily.2005-11-09_21.00.10 Warning: Couldn't rewind device /dev/st0 ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. 10-Nov 10:52 backup2-sd: Please mount Volume 000106L2 on Storage Device ULTRIUM for Job HOSTDATA-Daily.2005-11-09_21.00.10 ***Do you know what the Rewind error is?*** ***The media is in the tape unit, I checked with mtx-changer*** *list media Using default Catalog name=MyCatalog DB=bacula Pool: Daily +-++---+-+--+-- -- -- +-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten +-++---+-+--+-- -- -- +-+--+---+---+-+ | 1 | 000103L2 | Full | 420,174,337,450 | 426 | | 1,036,800 | 1 |6 | 1 | LT02 | 2005-11-10 | 06:47:18 | | | 3 | 000105L2 | Full | 414,810,710,019 | 420 | | | 1,036,800 1 |5 | 1 | LT02 | 2005-11-09 11:32:37 | | | 4 | | 000106L2 | Recycle | 1 |0 |1,036,800 | | 1 |4 | 1 | LT02 | 2005-09-23 23:43:27 | |* ***Can I make bacula use this tape or another tape so I don't have a failed backup?*** *** ** ** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London Borough of Harrow: London Borough of Harrow monitors all electronic mail it receives for Policy compliance and to protect its systems including anti-spam and anti-virus measures. Electronic mail does not guarantee delivery, nor notification of non-delivery. It is suggested you contact your
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Fri, 2005-11-11 at 12:48 +, Martin Simmons wrote: On Thu, 10 Nov 2005 19:59:10 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: [snip] [/snip] Geir Hmm ... now I have a: Geir Volume Use Duration = 10 min Geir File Retention = 30 min Geir Job Retention = 2 h Geir Volume Retention = 30 min Geir Just for testing ... I run 4 jobs whit 10 min in between, and get 4 Geir volumes. When the last job is finished the first job is purged from the Geir list jobs in bconsole. So fare so good, but how can I use this whit my Geir month-tape setup. If I understood Martin Simmons right it is possible to Geir restore form a volume where the job retention still is'nt run out (the Geir volume is on a tape and set to readonly). HOW ... I can't understand how Geir I can do this ... Use a Volume Retention of 12 months for the month-tapes tape volumes and 1 month for the disk volumes. For the year-tape volume, you can set its retention to 99 years if you want to keep it in the pool forever. But what about File and Job Retention ... those are set on the Client, and the Client is the same! Or can I put other retention times for file and job in the Scheduler? If I set File and Job Retention to 99 years all, but one be fine ... the MySQL database where all Job info is stored ... Any suggestions? __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Phone Work: +47 69212321 / 2321 Phone Priv: +47 69809853 (o_ +47 99521685 / 3137 //\ ICQ: 48948625 MSN: [EMAIL PROTECTED] V_/_ i n u x Registered Linux User # 171776 (http://counter.li.org) signature.asc Description: This is a digitally signed message part
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
On Friday 11 November 2005 14:09, David Duchscher wrote: On Nov 10, 2005, at 2:39 PM, Kern Sibbald wrote: On Thursday 10 November 2005 21:22, Attila Fülöp wrote: Referring to the thread [Bacula-users] ACL's with Bacula on FreeBSD (resend) started by Tony Lambregts on 20.07.2005 20:15 I need some clarifications. Is the patch mentioned in this thread integrated into 1.38, that is do ACLs work with FreeBSD? And second, even more important to me, do ACLs work with Solaris clients? Skimming over sys/acl.h on Solaris 2.9 it seems this is quite a different API. Yes, so are some of the others ... I'm forced to use ACLs soon, and need a way to back them up. So I would try to patch in support for Solaris ACLs if it's needed. To the best of my knowledge with that patch integrated, ACLs should now work on: AIX FreeBSD Darwin Irix OSF1 Linux HPUX Solaris Linux, Darwin, and FreeBSD have been pretty well tested. The others *should* work, but I don't recall anyone giving definitive feedback (correct me if I am mistaken). I can confirm that Solaris doesn't work. Their is code for Solaris ACLs but the configure script does not detect ACL support on Solaris. I think I just answered my own question by doing man acl on Solaris. I see detection of the code is probably significantly different ... I helped with Darwin and FreeBSD but I have not had time to really look at Solaris fully until yesterday. Seems disaster recovery is now top priority for the next few weeks. Ah, the life of changing priorities. -- DaveD -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
Deim Ágoston wrote: Skimming over sys/acl.h on Solaris 2.9 it seems this is quite a different API. Yes, so are some of the others ... I'm forced to use ACLs soon, and need a way to back them up. So I would try to patch in support for Solaris ACLs if it's needed. To the best of my knowledge with that patch integrated, ACLs should now work on: Solaris If they don't work there's a dirty hack: backup ACLs with command line tools. Use a ClientRunBeforeJob script to call the tools. Yeah, thats a good idea. I will use this as a fallback scenario, but would really prefer the 'clean way'. bye, Ago --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] job to run at 0000-00-00 00:00:00 ?
my bad... had a job waiting for intervention that was holding up the queued jobs. All running fine again... Sorry Steve Yesterday, they all worked fine. Today, i submit a manual run job but start time is set to: -00-00 00:00:00 I cannot quite understand the context, so it would probably help us to figure out exactly what you are referring to if you would include the *exact* output from the console that shows this zero time ... --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Anticipate next volume request
Hello, in my Bacula system I take differential or full backups on Monday morning (and they go on one pool) and incrementals from Tuesday to Friday (and they go on a different pool). Tape is a manually operated DLT7000. Now, I would like that when last incremental job on Friday has finished, Bacula would send a separate mail to the operator to inform which tape will be used on Monday. It's end of the day, so the director's list is empty. Is it possible to get that with a regular Bacula job, or should I create a custom script that looks into MySQL database? Thank you -- Maxx --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
David Duchscher wrote: On Nov 10, 2005, at 2:39 PM, Kern Sibbald wrote: On Thursday 10 November 2005 21:22, Attila Fülöp wrote: snip/ Is the patch mentioned in this thread integrated into 1.38, that is do ACLs work with FreeBSD? And second, even more important to me, do ACLs work with Solaris clients? snip/ I can confirm that Solaris doesn't work. Their is code for Solaris ACLs but the configure script does not detect ACL support on Solaris. I helped with Darwin and FreeBSD but I have not had time to really look at Solaris fully until yesterday. Seems disaster recovery is now top priority for the next few weeks. Ah, the life of changing priorities. Ok, than I will try to patch configure.in to detect ACL support on solaris. How much effort would it be to back port the ACL changes to 1.36.3? I'm a bit reluctant to update the production system to 1.38 right now. Thanks Attila -- DaveD --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula not using a tape for some reason.
Kern, Florian, Thanks for your help! I've learnt a lesson.. I should've inspected the media. The end of the tape has gone right inside itself, so it would probably just spin forever. Thanks for your help guys. Never thought it would be a physical error. Kern Sibbald [EMAIL PROTECTED] 11/11/2005 13:55 On Friday 11 November 2005 13:35, Beren Gamble wrote: Ok, this rewind error isn't going away. I've tried changing the sleep timer to 180 in mtx-changer. No luck.. What version of Bacula are you running? What OS version? Specifically the kernel. There was a change in how the Linux kernel handles tape drives from 2.4 to 2.6. Bacula 1.38.0 learned how to deal with it correctly, Bacula 1.36.3 and lower can have this type of error. The other thing to do is to turn on the wait_for_drive() (or whatever it is called) in mtx-changer, but make sure it works on your system. Connecting to Storage daemon ULTRIUM at backup2.harrow.gov.uk:9103 ... Sending label command for Volume 000106L2 Slot 4 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result: nothing loaded. 3304 Issuing autochanger load slot 4, drive 0 command. 3305 Autochanger load slot 4, drive 0, status is OK. 3912 Failed to label Volume: ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. Any ideas? Thanks! Kern Sibbald [EMAIL PROTECTED] 10/11/2005 15:12 On Thursday 10 November 2005 15:41, Beren Gamble wrote: That didn't fix it... Can I make it use a different tape somehow? Yes, of course, simply use the update volume=xxx command and mark it Used or Full. I think you should run the btape test program, and if it doesn't ask you be sure to do the auto command too. Perhaps the list can help you more with this problem as well, since they are generally better than I am at these things ... It comes up with the rewind error straight after loading the tape. Kern Sibbald [EMAIL PROTECTED] 10/11/2005 12:05:20 Most likely you do not have a long enough wait in your mtx-changer script, and so Bacula is attempting to access the drive before the autochanger has had enough time to load the tape. This is described in the script and in the Autochanger chapter of the manual. On Thursday 10 November 2005 11:56, Beren Gamble wrote: Bacula is asking for a tape which is already in the library. You have messages. *m 10-Nov 10:52 backup2-sd: 3301 Issuing autochanger loaded drive 0 command. 10-Nov 10:52 backup2-sd: 3302 Autochanger loaded drive 0, result is Slot 4. 10-Nov 10:52 backup2-sd: HOSTDATA-Daily.2005-11-09_21.00.10 Warning: Couldn't rewind device /dev/st0 ERR=dev.c:405 Rewind error on /dev/st0. ERR=No medium found. 10-Nov 10:52 backup2-sd: Please mount Volume 000106L2 on Storage Device ULTRIUM for Job HOSTDATA-Daily.2005-11-09_21.00.10 ***Do you know what the Rewind error is?*** ***The media is in the tape unit, I checked with mtx-changer*** *list media Using default Catalog name=MyCatalog DB=bacula Pool: Daily +-++---+-+--+-- -- -- +-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes| VolFiles | | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten +-++---+-+--+-- -- -- +-+--+---+---+-+ | 1 | 000103L2 | Full | 420,174,337,450 | 426 | | 1,036,800 | 1 |6 | 1 | LT02 | 2005-11-10 | 06:47:18 | | | 3 | 000105L2 | Full | 414,810,710,019 | 420 | | | 1,036,800 1 |5 | 1 | LT02 | 2005-11-09 11:32:37 | | | 4 | | 000106L2 | Recycle | 1 |0 |1,036,800 | | 1 |4 | 1 | LT02 | 2005-09-23 23:43:27 | |* ***Can I make bacula use this tape or another tape so I don't have a failed backup?*** *** ** ** Mail FROM London Borough of Harrow: Unencrypted electronic mail is not secure and may not be authentic, in whole or in part. You are advised to check directly with the sender before acting upon any e-mail received. The information contained in this message and any attachments is confidential and is intended for receipt by the above named addressee(s) only. If you have otherwise encountered this message please notify its originator via +44(0)20 8863 5611 at LONDON BOROUGH OF HARROW. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. The views expressed within this message are those of the individual sender and not necessarily those of Harrow Council. Mail TO London
Re: [Bacula-users] Purging files and volumes, but NOT jobs
On Fri, 11 Nov 2005 14:58:38 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir On Fri, 2005-11-11 at 12:48 +, Martin Simmons wrote: On Thu, 10 Nov 2005 19:59:10 +0100, Geir Asle Borgen [EMAIL PROTECTED] said: Geir [snip] Geir [/snip] Geir Hmm ... now I have a: Geir Volume Use Duration = 10 min Geir File Retention = 30 min Geir Job Retention = 2 h Geir Volume Retention = 30 min Geir Just for testing ... I run 4 jobs whit 10 min in between, and get 4 Geir volumes. When the last job is finished the first job is purged from the Geir list jobs in bconsole. So fare so good, but how can I use this whit my Geir month-tape setup. If I understood Martin Simmons right it is possible to Geir restore form a volume where the job retention still is'nt run out (the Geir volume is on a tape and set to readonly). HOW ... I can't understand how Geir I can do this ... Use a Volume Retention of 12 months for the month-tapes tape volumes and 1 month for the disk volumes. For the year-tape volume, you can set its retention to 99 years if you want to keep it in the pool forever. Geir But what about File and Job Retention ... those are set on the Client, Geir and the Client is the same! Or can I put other retention times for file Geir and job in the Scheduler? Geir If I set File and Job Retention to 99 years all, but one be fine ... the Geir MySQL database where all Job info is stored ... Any suggestions? No, you can't put different File and Job Retentions in the Scheduler. Setting them to 99 years might be OK. It won't keep all the records for 99 years, because the shortest retention (from Volume, File and Job) controls what is kept for each job. When the Volume Retention is reached for a volume, all the job and file records are removed for that volume, so this will happen every month for the disk volumes and every 12 months for the month-tapes. __Martin --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
Kern Sibbald wrote: On Friday 11 November 2005 15:33, Attila Fülöp wrote: David Duchscher wrote: On Nov 10, 2005, at 2:39 PM, Kern Sibbald wrote: On Thursday 10 November 2005 21:22, Attila Fülöp wrote: snip/ Is the patch mentioned in this thread integrated into 1.38, that is do ACLs work with FreeBSD? And second, even more important to me, do ACLs work with Solaris clients? snip/ I can confirm that Solaris doesn't work. Their is code for Solaris ACLs but the configure script does not detect ACL support on Solaris. I helped with Darwin and FreeBSD but I have not had time to really look at Solaris fully until yesterday. Seems disaster recovery is now top priority for the next few weeks. Ah, the life of changing priorities. Ok, than I will try to patch configure.in to detect ACL support on solaris. That would be very kind of you ... :-) All right, I'll do. That said, it may take some time since I've no sun at home and are not that familiar with autoconf. How much effort would it be to back port the ACL changes to 1.36.3? I'm a bit reluctant to update the production system to 1.38 right now. You could look at it. Perhaps it wouldn't be too much effort, but the code is conciderably changed because it has been moved around a lot (new files). The code is now much simpler (at least the main line code). However, there might be some complications with new features or something. I'm having trouble keeping up as it is, so it isn't something I would do, but I'd be happy to answer questions. My advice would be to test 1.38 and move up -- aside from problems with multiple concurrent jobs accessing autochangers, where users pull cassettes in and out, it seems to be very stable (more so than 1.36 IMO). --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Ignore FileSet Changes being ignored
I recently set up Bacula and did a full backup about a week ago, and a number of incremental since. I then added an additional directory to the exclude section of the file set resource, and as would be expected, this caused Bacula to upgrade the next backup from incremental to full. I don't want this to happen, so I canceled the job, shut down Bacula, added a Ignore FileSet Changes = yes directive to the fileset (which I understand is dangerous, and which will be removed shortly). After restarting Bacula and rerunning the just canceled job, Bacula still wants to upgrade this job to full. Is there anything else that I have to do to avoid this full backup, or any other way to work around the problem? -- John Kodis. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] unknown type job on windows xp
Hi, I'm trying to run a backup job on Windows XP machine from the bacula console. I am able to query the status of the Windows machine from the console, however I get the following output when I run the job: status client foppa-fd Version: 1.36.3 (22 April 2005) Windows XP MVS NT 5.1.2600 Daemon started 11-Nov-05 10:19, 0 Jobs run since started. No Terminated Jobs. Running Jobs: Director connected at: 11-Nov-05 10:58 JobId 4 Job Foppa.2005-11-11_10.36.42 is running. Unknown Type Job started: 11-Nov-05 10:36 Files=0 Bytes=0 Bytes/sec=0 Files Examined=0 SDSocket closed. status dir Running Jobs: JobId Level Name Status == 4 FullFoppa.2005-11-11_10.36.42 is waiting for Client foppa-fd to connect to Storage File Its looks like the bacula-fd doesn't understand the backup request from the director. Below is a snapshot of my configs: From bacula-dir on FC4 Client { Name = foppa-fd Address = foppa.my.domain FDPort = 9102 Catalog = CCFCatalog Password = AutoPrune = yes Job Retention = 6 months File Retention = 60 days } FileSet { Name = Foppa Set Include { Options { signature = SHA1 Compression = GZIP9 } File = C:/Documents and Settings } } Job { Name = Foppa Type = Backup Client = foppa-fd FileSet = Foppa Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Full Backup Pool = Full-Pool Incremental Backup Pool = Inc-Pool Differential Backup Pool = Diff-Pool Write Bootstrap = /var/bacula/foppa.bsr Priority = 10 } From bacula-fd on WinXP Director { Name = apollo-dir Password = } FileDaemon { # this is me Name = foppa-fd FDport = 9102 # where we listen for the director WorkingDirectory = /bacula/working Pid Directory = /bacula/working } Also, running estimate on this client returns a value: 2000 OK estimate files=3163 bytes=205,248,627 Maybe I just need a sanity check but to me it seems like everything is setup correctly. My money on the FileSet Resouce and maybe that's where my problems lies. I followed the example for the documentation under the Windows FilesSets section. Thanks, Rob --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] unknown type job on windows xp
Oops, looks like I had the Storage Resource Address set to localhost, so the bacula-fd on the windows machine was trying to connect to the Storage Daemon on it's localhost. Aggghhh. Rob Rob Burris wrote: Hi, I'm trying to run a backup job on Windows XP machine from the bacula console. I am able to query the status of the Windows machine from the console, however I get the following output when I run the job: status client foppa-fd Version: 1.36.3 (22 April 2005) Windows XP MVS NT 5.1.2600 Daemon started 11-Nov-05 10:19, 0 Jobs run since started. No Terminated Jobs. Running Jobs: Director connected at: 11-Nov-05 10:58 JobId 4 Job Foppa.2005-11-11_10.36.42 is running. Unknown Type Job started: 11-Nov-05 10:36 Files=0 Bytes=0 Bytes/sec=0 Files Examined=0 SDSocket closed. status dir Running Jobs: JobId Level Name Status == 4 FullFoppa.2005-11-11_10.36.42 is waiting for Client foppa-fd to connect to Storage File Its looks like the bacula-fd doesn't understand the backup request from the director. Below is a snapshot of my configs: From bacula-dir on FC4 Client { Name = foppa-fd Address = foppa.my.domain FDPort = 9102 Catalog = CCFCatalog Password = AutoPrune = yes Job Retention = 6 months File Retention = 60 days } FileSet { Name = Foppa Set Include { Options { signature = SHA1 Compression = GZIP9 } File = C:/Documents and Settings } } Job { Name = Foppa Type = Backup Client = foppa-fd FileSet = Foppa Set Schedule = WeeklyCycle Storage = File Messages = Standard Pool = Default Full Backup Pool = Full-Pool Incremental Backup Pool = Inc-Pool Differential Backup Pool = Diff-Pool Write Bootstrap = /var/bacula/foppa.bsr Priority = 10 } From bacula-fd on WinXP Director { Name = apollo-dir Password = } FileDaemon { # this is me Name = foppa-fd FDport = 9102 # where we listen for the director WorkingDirectory = /bacula/working Pid Directory = /bacula/working } Also, running estimate on this client returns a value: 2000 OK estimate files=3163 bytes=205,248,627 Maybe I just need a sanity check but to me it seems like everything is setup correctly. My money on the FileSet Resouce and maybe that's where my problems lies. I followed the example for the documentation under the Windows FilesSets section. Thanks, Rob --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] job skips pre/post scrips
my backup catalog job seems to not run the runbefore/runafter scripts to make an sql dump. this is bacula 1.38.0 with postgres db. the scripts run if i run them from a shell and the scripts are listed in bconsole if i run show jobs. the job description in bacula-dir.conf is: Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog #RunBeforeJob = /bacula/bin/make_catalog_backup bacula bacula RunBeforeJob = /bacula/bin/make_catalog_backup bacula bacula # This deletes the copy of the catalog RunAfterJob = /bacula/bin/delete_catalog_backup Write Bootstrap = /bacula/working/BackupCatalog.bsr Priority = 11 # run after main backup } and in list jobs in bconsole: Job: name=BackupCatalog JobType=66 level=Full Priority=11 MaxJobs=1 Resched=0 Times=0 Interval=1,800 Spool=0 WritePartAfterJob=0 -- Client: name=rock-fd address=rockhopper.ornl.gov FDport=9102 MaxJobs=1 JobRetention=6 months FileRetention=1 month AutoPrune=1 -- Catalog: name=MyCatalog address=*None* DBport=0 db_name=bacula db_user=bacula MutliDBConn=0 -- FileSet: name=Catalog O M N I /bacula/working/bacula.sql N -- Schedule: name=WeeklyCycleAfterBackup -- Run Level=Full hour=5 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=10 -- Run Level=Full hour=13 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=5 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=10 -- RunBefore=/bacula/bin/make_catalog_backup bacula bacula -- RunAfter=/bacula/bin/delete_catalog_backup -- WriteBootstrap=/bacula/working/BackupCatalog.bsr -- Storage: name=File address=lance SDport=9103 MaxJobs=1 DeviceName=FileStorage MediaType=File StorageId=1 -- Pool: name=Default PoolType=Backup use_cat=1 use_once=1 acpt_any=1 cat_files=1 max_vols=0 auto_prune=1 VolRetention=1 month 15 days VolUse=0 secs recycle=1 LabelFormat=Default- CleaningPrefix=*None* LabelType=0 RecyleOldest=0 PurgeOldest=0 MaxVolJobs=0 MaxVolFiles=0 -- Messages: name=Standard mailcmd=/bacula/bin/bsmtp -h localhost -f (Bacula) %r -s Bacula: %t %e of %c %l %r opcmd=/bacula/bin/bsmtp -h localhost -f (Bacula) %r -s Bacula: Intervention needed for %j %r and the console output from running a job: *run Using default Catalog name=MyCatalog DB=bacula A job name must be specified. The defined Job resources are: 1: BackupCatalog 2: RestoreFiles 3: rockhopper Select Job resource (1-3): 1 Run Backup job JobName: BackupCatalog FileSet: Catalog Level:Full Client: rock-fd Storage: File Pool: Default When: 2005-11-11 13:55:58 Priority: 11 OK to run? (yes/mod/no): Job started. JobId=11 * You have messages. * *messages 11-Nov 13:56 lance-dir: Start Backup JobId 11, Job=BackupCatalog.2005-11-11_13.56.01 11-Nov 13:56 lance-dir: Created new Volume Default-0008 in catalog. 11-Nov 13:56 lance-sd: Labeled new Volume Default-0008 on device FileStorage (/backups/local). 11-Nov 13:56 lance-sd: Wrote label to prelabeled Volume Default-0008 on device FileStorage (/backups/local) 11-Nov 13:56 rockhopper-fd: Could not stat /bacula/working/bacula.sql: ERR=No such file or directory 11-Nov 13:56 lance-dir: Volume used once. Marking Volume Default-0008 as Used. 11-Nov 13:56 lance-dir: Bacula 1.38.0 (28Oct05): 11-Nov-2005 13:56:06 JobId: 11 Job:BackupCatalog.2005-11-11_13.56.01 Backup Level: Full Client: rock-fd x86_64-unknown-linux-gnu,suse,9.3 FileSet:Catalog 2005-11-11 13:04:05 Pool: Default Storage:File Scheduled time: 11-Nov-2005 13:55:58 Start time: 11-Nov-2005 13:56:03 End time: 11-Nov-2005 13:56:06 Priority: 11 FD Files Written: 0 SD Files Written: 0 FD Bytes Written: 0 SD Bytes Written: 0 Rate: 0.0 KB/s Software Compression: None Volume name(s): Default-0008 Volume Session Id: 4 Volume Session Time:1131733992 Last Volume Bytes: 395 Non-fatal FD errors:1 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK -- with warnings 11-Nov 13:56 lance-dir: Begin pruning Jobs. 11-Nov
[Bacula-users] Device is BLOCKED. Why?
Hi all. I did some backups from my server and one restore. After the restore, i'm receiving the following message: *status storage ... Device status: Device DLT (/dev/nst0) open but no Bacula volume is mounted. Device is BLOCKED waiting for media. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Why my device is blocked? My media DLT is on the drive. What's happening? Thanks, Everton ___ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
RE: [Bacula-users] Device is BLOCKED. Why?
-Original Message- From: [EMAIL PROTECTED] [mailto:bacula-users- [EMAIL PROTECTED] On Behalf Of Everton Thomaz Sent: Friday, November 11, 2005 1:21 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Device is BLOCKED. Why? Hi all. I did some backups from my server and one restore. After the restore, i'm receiving the following message: *status storage ... Device status: Device DLT (/dev/nst0) open but no Bacula volume is mounted. Device is BLOCKED waiting for media. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Why my device is blocked? My media DLT is on the drive. What's happening? Please try the mount command from inside bconsole. *mount Thanks, Everton ___ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] proper way to plan for level upgrades
Hi, On 11.11.2005 17:34, Jesse Keating wrote: I've just added incremental nightly backups to my schedules, and there will be some cases where a valid full was not found. My problem is that the incrementals go to a File storage device and the volumes go to a File pool. When bacula couldn't find a proper full backup, it went ahead and did a full backup to File SD and File pool. What would be the proper way to send this backup to say Tape pool and Tape SD instead? Or skip the inc job is no valid full was found? One question first: Have you already tried a recovery which includes files from pools on tape and disk-based tools? I'd recommend to analyze the results of trying this and first creating a disaster recovery procedure with such a setup... Then, I only found one way to handle your setup (mine is similar). Make sure that job level upgrades don't happen (which _can_ be a serious problem. Adding new clienst is the simple case.) or at least that volumes for the pools involved can not be automatically created, so that you have the chance to manually intervene when necessary. I don't know of any option to let Bacula handle such a scenario automatically correct. I'm counting on python scripting, but didn't investigate yet. Also, I assume that python events and Bacula control from a python method are not yet ready to suport the necessary operations. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ignore FileSet Changes being ignored
Hi, On 11.11.2005 18:32, John Kodis wrote: I recently set up Bacula and did a full backup about a week ago, and a number of incremental since. I then added an additional directory to the exclude section of the file set resource, and as would be expected, this caused Bacula to upgrade the next backup from incremental to full. I don't want this to happen, so I canceled the job, shut down Bacula, added a Ignore FileSet Changes = yes directive to the fileset (which I understand is dangerous, and which will be removed shortly). After restarting Bacula and rerunning the just canceled job, Bacula still wants to upgrade this job to full. Is there anything else that I have to do to avoid this full backup, or any other way to work around the problem? No. I don't know if I learnt this from the manual, some release notes, or The Hard Way(TM) but the fisrt job after adding ignore fileset changes will be a full one. The reason is that the fingerprint of the fileset, which is stored in the catalog, is changed with adding the option, and thus this fileset is considered a new one. Arno -- John Kodis. --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ 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 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] unknown type job on windows xp
Hi, On 11.11.2005 19:26, Rob Burris wrote: Hi, I'm trying to run a backup job on Windows XP machine from the bacula console. I am able to query the status of the Windows machine from the console, however I get the following output when I run the job: status client foppa-fd Version: 1.36.3 (22 April 2005) Windows XP MVS NT 5.1.2600 Daemon started 11-Nov-05 10:19, 0 Jobs run since started. No Terminated Jobs. Running Jobs: Director connected at: 11-Nov-05 10:58 JobId 4 Job Foppa.2005-11-11_10.36.42 is running. Unknown Type Job started: 11-Nov-05 10:36 Files=0 Bytes=0 Bytes/sec=0 Files Examined=0 SDSocket closed. status dir Running Jobs: JobId Level Name Status == 4 FullFoppa.2005-11-11_10.36.42 is waiting for Client foppa-fd to connect to Storage File Its looks like the bacula-fd doesn't understand the backup request from the director. Below is a snapshot of my configs: No, I don't think so. I think this looks as though the connection between FD and SD can't be established. Verify that the windows client can resolve the address of the SD, and that it can connect to it. Firewall is the keyword here. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] unknown type job on windows xp
On 11.11.2005 19:50, Rob Burris wrote: Oops, looks like I had the Storage Resource Address set to localhost, so the bacula-fd on the windows machine was trying to connect to the Storage Daemon on it's localhost. Aggghhh. Oops myself... I didn't see your second mail. At least I guessed right. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] job skips pre/post scrips
Hello, On 11.11.2005 20:08, Michael Galloway wrote: my backup catalog job seems to not run the runbefore/runafter scripts to make an sql dump. this is bacula 1.38.0 with postgres db. the scripts run if i run them from a shell and the scripts are listed in bconsole if i run show jobs. the job description in bacula-dir.conf is: ... *messages 11-Nov 13:56 lance-dir: Start Backup JobId 11, Job=BackupCatalog.2005-11-11_13.56.01 11-Nov 13:56 lance-dir: Created new Volume Default-0008 in catalog. 11-Nov 13:56 lance-sd: Labeled new Volume Default-0008 on device FileStorage (/backups/local). 11-Nov 13:56 lance-sd: Wrote label to prelabeled Volume Default-0008 on device FileStorage (/backups/local) 11-Nov 13:56 rockhopper-fd: Could not stat /bacula/working/bacula.sql: ERR=No such file or directory This looks rather straightforward. Verify that the bacula user has all necessary permissions to see and to run the script in question. Use su to become the bacula user. Then try an ls -l on the path name you set up. Next, try to run the script with the necessary parameters, and see what happens. If thos works, make sure that your run before script actually does something by simply adding some echo lines into it. Finally, verify that the output from the database dump goes to the file you have in your fileset. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Device is BLOCKED. Why?
On Friday 11 November 2005 20:20, Everton Thomaz wrote: Hi all. I did some backups from my server and one restore. After the restore, i'm receiving the following message: *status storage ... Device status: Device DLT (/dev/nst0) open but no Bacula volume is mounted. Device is BLOCKED waiting for media. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 Why my device is blocked? My media DLT is on the drive. What's happening? Work through (i.e. read and run Bacula at the same time) the Tutorial chapter of the manual. It explains this. -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] proper way to plan for level upgrades
On Friday 11 November 2005 21:14, Arno Lehmann wrote: Hi, On 11.11.2005 17:34, Jesse Keating wrote: I've just added incremental nightly backups to my schedules, and there will be some cases where a valid full was not found. My problem is that the incrementals go to a File storage device and the volumes go to a File pool. When bacula couldn't find a proper full backup, it went ahead and did a full backup to File SD and File pool. What would be the proper way to send this backup to say Tape pool and Tape SD instead? Or skip the inc job is no valid full was found? One question first: Have you already tried a recovery which includes files from pools on tape and disk-based tools? I'd recommend to analyze the results of trying this and first creating a disaster recovery procedure with such a setup... Then, I only found one way to handle your setup (mine is similar). Make sure that job level upgrades don't happen (which _can_ be a serious problem. Adding new clienst is the simple case.) or at least that volumes for the pools involved can not be automatically created, so that you have the chance to manually intervene when necessary. I don't know of any option to let Bacula handle such a scenario automatically correct. I'm counting on python scripting, but didn't investigate yet. Also, I assume that python events and Bacula control from a python method are not yet ready to suport the necessary operations. I'm waiting for users to tell me what they need -- what they have said to date is in the projects file. -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] proper way to plan for level upgrades
Hello, On 11.11.2005 22:03, Kern Sibbald wrote: I'm waiting for users to tell me what they need -- what they have said to date is in the projects file. patience, please :-) Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
Attila Fülöp wrote: Kern Sibbald wrote: snip/ Ok, than I will try to patch configure.in to detect ACL support on solaris. That would be very kind of you ... :-) All right, I'll do. That said, it may take some time since I've no sun at home and are not that familiar with autoconf. Ok, it was easier than I thought. Currently I only tested autoconf/configure. I have to compile and tested it yet, but that has to wait 'till Monday. From what i saw in filed/acl.c I'm quite confident this will work. A patch is attached. Well you're right backup.c/restore.c changed quite a bit. I'm not sure if I will back port the changes. Think I'll decide on Monday. bash $ uname -iprs SunOS 5.9 sparc SUNW,Ultra-80 bash $ ./configure-new --enable-client-only checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking for acl_get_file... no checking for acl_get_file in -lacl... no checking for acltotext in -lsec... yes ACL support:yes bash-2.05$ grep lsec src/filed/Makefile FDLIBS = -lsec -lz# extra libs for File daemon Attila How much effort would it be to back port the ACL changes to 1.36.3? I'm a bit reluctant to update the production system to 1.38 right now. You could look at it. Perhaps it wouldn't be too much effort, but the code is conciderably changed because it has been moved around a lot (new files). The code is now much simpler (at least the main line code). However, there might be some complications with new features or something. I'm having trouble keeping up as it is, so it isn't something I would do, but I'd be happy to answer questions. My advice would be to test 1.38 and move up -- aside from problems with multiple concurrent jobs accessing autochangers, where users pull cassettes in and out, it seems to be very stable (more so than 1.36 IMO). --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Index: configure.in === RCS file: /cvsroot/bacula/bacula/autoconf/configure.in,v retrieving revision 1.191 diff -c -r1.191 configure.in *** configure.in 3 Nov 2005 14:54:00 - 1.191 --- configure.in 11 Nov 2005 21:24:27 - *** *** 1575,1581 have_acl=no AC_CHECK_HEADER(sys/acl.h) AC_CHECK_FUNC(acl_get_file, [have_acl=yes], ! [AC_CHECK_LIB(acl, acl_get_file, [have_acl=yes; FDLIBS=-lacl $FDLIBS])] ) if test $have_acl = yes; then AC_DEFINE(HAVE_ACL) --- 1575,1583 have_acl=no AC_CHECK_HEADER(sys/acl.h) AC_CHECK_FUNC(acl_get_file, [have_acl=yes], ! [AC_CHECK_LIB(acl, acl_get_file, [have_acl=yes; FDLIBS=-lacl $FDLIBS], ! [AC_CHECK_LIB(sec, acltotext, [have_acl=yes; FDLIBS=-lsec $FDLIBS])] ! )] ) if test $have_acl = yes; then AC_DEFINE(HAVE_ACL)
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
On Friday 11 November 2005 22:33, David Duchscher wrote: On Nov 11, 2005, at 11:23 AM, Attila Fülöp wrote: Kern Sibbald wrote: On Friday 11 November 2005 15:33, Attila Fülöp wrote: David Duchscher wrote: On Nov 10, 2005, at 2:39 PM, Kern Sibbald wrote: On Thursday 10 November 2005 21:22, Attila Fülöp wrote: snip/ Is the patch mentioned in this thread integrated into 1.38, that is do ACLs work with FreeBSD? And second, even more important to me, do ACLs work with Solaris clients? snip/ I can confirm that Solaris doesn't work. Their is code for Solaris ACLs but the configure script does not detect ACL support on Solaris. I helped with Darwin and FreeBSD but I have not had time to really look at Solaris fully until yesterday. Seems disaster recovery is now top priority for the next few weeks. Ah, the life of changing priorities. Ok, than I will try to patch configure.in to detect ACL support on solaris. That would be very kind of you ... :-) All right, I'll do. That said, it may take some time since I've no sun at home and are not that familiar with autoconf. autoconf is easy to fix. I have detection working now. There is also an issue with a ifdef in src/filed/acl.c that now that I look at the code again, limits 1.38.0 to FreeBSD, Darwin, and Linux. I had just added FreeBSD and Darwin to the ifdef when I made my changes. I was trying not to change too many things and I had only tested those platforms. I am thinking that we should remove the ifdef or at least enable the POSIX platforms. Thoughts? I probably won't have any problems moving a #ifdef, but I'll need to see it. I consider such changes low impact if it just adds code for another platform. As for Solaris, I have things mostly working on Solaris. There is at least one bug in the code currently in 1.38.0 and I am seeing another strangeness when ACLs are restored. I also have to figure out the best way to bypass smartalloc to free the system call memory since I am very new to smartalloc. The good news is that we have lots of Sun's around here that the admins have graciously given me access so I can test things. Hopefully I will have things working by the end of the weekend. Try: actuallyfree(void *); -- Best regards, Kern ( /\ V_V --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: [Bacula-devel] Using TLS
Ray Burr wrote: Landon Fuller wrote: Kern Sibbald wrote: Hello, Does anyone have any *real* bacula .conf examples of using the new TLS data encryption feature? I would like to add them to the manual. Here are the TLS portions of my configuration files: [...] I just set mine up today. I started with Landon's configuration, but one thing I noticed is that (based on watching with tcpdump) I wasn't getting an encrypted connection from the FD to the SD. I had to add TLS Require = yes to the FileDaemon section on the client configuration to get an encrypted connection. I'm no SSL guru, so maybe I've missed some other problem in my configuration. Whoops, I forgot that section. Yeah, you'll need the TLS Require line. FileDaemon { Name = client1-fd ... # I think this is used when connecting to the storage daemon. TLS Require = yes TLS CA Certificate File = /etc/bacula/ssl/ca.pem TLS Certificate = /etc/bacula/ssl/client1-cert.pem TLS Key = /etc/bacula/ssl/client1-key.pem } Since the storage daemon isn't validating client certificates (and doesn't really need to -- the client can only connect with a valid cookie from the Directory), you shouldn't need to specify Certificate/Key pair here. -landonf signature.asc Description: OpenPGP digital signature
Re: [Bacula-users] File ACLs with FreeBSD and Solaris
David Duchscher wrote: On Nov 11, 2005, at 11:23 AM, Attila Fülöp wrote: Kern Sibbald wrote: On Friday 11 November 2005 15:33, Attila Fülöp wrote: David Duchscher wrote: On Nov 10, 2005, at 2:39 PM, Kern Sibbald wrote: On Thursday 10 November 2005 21:22, Attila Fülöp wrote: snip/ Is the patch mentioned in this thread integrated into 1.38, that is do ACLs work with FreeBSD? And second, even more important to me, do ACLs work with Solaris clients? snip/ I can confirm that Solaris doesn't work. Their is code for Solaris ACLs but the configure script does not detect ACL support on Solaris. I helped with Darwin and FreeBSD but I have not had time to really look at Solaris fully until yesterday. Seems disaster recovery is now top priority for the next few weeks. Ah, the life of changing priorities. Ok, than I will try to patch configure.in to detect ACL support on solaris. That would be very kind of you ... :-) All right, I'll do. That said, it may take some time since I've no sun at home and are not that familiar with autoconf. autoconf is easy to fix. I have detection working now. There is also an issue with a ifdef in src/filed/acl.c that now that I look at the code again, limits 1.38.0 to FreeBSD, Darwin, and Linux. I had just added FreeBSD and Darwin to the ifdef when I made my changes. I was trying not to change too many things and I had only tested those platforms. I am thinking that we should remove the ifdef or at least enable the POSIX platforms. Thoughts? Yes you're right, I was fooled by the #elif defined(HAVE_SUN_OS). Well what about this line: || defined(HAVE_SUN_OS) /* tested -- compile with -lsec */ Never trust a comment ;-) Yes i would second enabling the POSIX platforms although my main concern is now to have it work under Solaris. As for Solaris, I have things mostly working on Solaris. There is at least one bug in the code currently in 1.38.0 and I am seeing another strangeness when ACLs are restored. I also have to figure out the best way to bypass smartalloc to free the system call memory since I am very new to smartalloc. The good news is that we have lots of Sun's around What about /* ACTUALLYFREE -- Interface to system free() function to release buffers allocated by low-level routines. */ void actuallyfree(void *cp) here that the admins have graciously given me access so I can test things. Hopefully I will have things working by the end of the weekend. That would be *great*. If you need some help don't hesitate to contact me. Well I'm off the net for the weekend. Attila -- DaveD --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users