[Bacula-users] How to back up Exchange public folders
Hello List, we are backing up our MS Exchange-Server by first exporting the mailboxes to file with Microsoft's exmerge-utility and than backing up those files with bacula. This is actually quite straight forward and can be set up in minutes. One major problem however is that exmerge cannot export public folders. Is there a way to achieve this with the Exchange plugin available for bacula? I have never worked with this plugin so far, can the code be considered mature enough to be used in a productive environment? Thanks for any hints! All the best, Nils -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 2.4.4 EL5 rpms
Hello List, did anyone build EL5-compatible rpms of bacula 2.4.4 so far and might want to share? I would like to upgrade our 2.4.1 installation on CentOS 5.2, the EL5 rpms provided by fschwarz unsually installed very well but they are only available for 2.4.2. Thanks! Nils -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Can bacula recognise newly added volumes while waiting for another volume?
Hello everyone! Please excuse the crappy topic, I couldn't think of a better one... Bacula just asked me to load a specific volume or lable a new one. This is totally ok as none of the available volumes has exceeded the retention period. In order to give bacula an appendable volume, I manually purged one of the remaining volumes. As a result, now there in fact is an appendable volume from the right pool available. Is there any way to make bacula recognise the newly purged volume and use it for the pending job? This happened because I had to do some extra backups lately and therefore ran out of available tapes BEFORE the oldest tapes exceeded their retention period. I think I could just cancel / reschedule the job but it would be smarter if I could make Bacula notice the available volume... Thanks for any hints and have a nice weekend! Nils -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on centos 5.2
Hi! The EL5 rpms created by fschwarz do indeed install fine on CentOS 5.2. Unfortunately the are only version 2.4.2. As to your dying director, I would suggest running it with debugging enabled (-d 99). The ouput produced by the debug option will help you narrow down the problem. It might be a problem with your database. Maybe bacula can't connect? Another common source of problems when building from source are file-permissions. Make sure that bacula can write to every directory it needs to! Good luck! Nils Joshua J. Kugler schrieb: On Sunday 21 December 2008, hamood Iqbal said something like: hi, i am trying to install bacula on centos 5.2 ver 2.4.3 using options: CFLAGS=-g -Wall ./configure \ --prefix=/usr \ --sbindir=/usr/sbin \ --sysconfdir=/etc/bacula \ --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --with-qwt=$HOME/bacula/depkgs/qwt \ --with-mysql \ --with-working-dir=/var/bacula \ --with-pid-dir=/var/run \ --enable-conio All folders that are not automatically created i have created them. Bacula installs but when i run ./bacula start command i get bacula-dir dead but pid file exists what is happening? I can't comment on your problem, but there *are* EL5 RPMs on the Bacula Source Forge site. They run fine on CentOS, as do just about any EL5 RPMs. j -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Numbering Volumes
Hello list! As DVD-burning seems to be broken right now I am backing up to 1GB-harddisk volumes which I'll burn to DVD manually. Is there a way to make bacula label the harddisk-volumes like this DVD-Volume-7.12.2008-n where n ist the current number of the volume used for this day's backup? Example: DVD-Volume-7.12.2008-1 DVD-Volume-7.12.2008-2 DVD-Volume-7.12.2008-3 DVD-Volume-14.12.2008-1 DVD-Volume-14.12.2008-2 DVD-Volume-14.12.2008-3 According to the Variable Expression chapter I could use my own counters for n if I define a counter ressource in the dir conf file. But how to reset the counter before the next backup? Maybe someone could point me into the right direction? Many thanks, Nils -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula hang waiting for storage
Hi! Just wanted to let you know that I came across the exact same error Error writing final EOF to tape. This Volume may not be readable. a couple of times with 2.4.2 using a Quantum DLT VS1 drive connected to Adaptec 29160LP. I don't think that the tape is really defective as bacula states. I could do working backups on these tapes later. Maybe its a problem with positioning (forwarding) the tape to the right position? If there is still interest in this issue I might search for the corresponding job-output. Nils Pasi Kärkkäinen schrieb: On Thu, Nov 27, 2008 at 05:53:41PM +0100, Arno Lehmann wrote: Hi, 27.11.2008 15:10, Pasi Kärkkäinen wrote: On Thu, Nov 27, 2008 at 08:14:45AM +0100, Arno Lehmann wrote: Hi, 26.11.2008 21:22, Bob Hetzel wrote: I've got bacula currently in a hung state with the following interesting info. When I run a status storage produces the following... Is your Bacula still stuck? If so, and you have gdb installed, and a Bacula with debug symbols, now might be a good time to see what it's doing... ... I have also seen this lately.. but that was with Bacula 2.5.18. I could make that hang happen multiple times, but I'm not totally sure what caused that.. Well, if you can recreate the issue it's worth the effort building Bacula with debug information so you get usable backtraces. If the problem happens again, you can use gdb to create a backtrace, showing the developers more details about what happens and thus enabling them to fix the issue. I would recommend that now. And now it's stuck again.. Last output in bconsole: 01-Dec 20:01 bacula-sd JobId 4231: Forward spacing Volume Pool4-Vol-0111 to file:block 0:218. 01-Dec 20:04 bacula-sd JobId 4231: Error: block.c:568 Write error at 509:3263 on device IBM-LTO3-Drive (/dev/nst0). ERR=Input/output error. 01-Dec 20:04 bacula-sd JobId 4231: Error: Error writing final EOF to tape. This Volume may not be readable. dev.c:1723 ioctl MTWEOF error on IBM-LTO3-Drive (/dev/nst0). ERR=Input/output error. 01-Dec 20:04 bacula-sd JobId 4231: End of medium on Volume 807NNNL3 Bytes=482,782,454,784 Blocks=7,483,606 at 01-Dec-2008 20:04. 01-Dec 20:04 bacula-sd JobId 4231: 3307 Issuing autochanger unload slot 7, drive 0 command. bconsole is still usable after this.. sta director shows a lot of jobs waiting for execution (since this was a 'copy pool uncopied jobs to tape'-job), but nothing happens really. sta storage makes bconsole hang.. last output: Device status: Autochanger IBM-LTO3-AutoChanger with devices: IBM-LTO3-Drive (/dev/nst0) Device FSDevice0 (/mnt/backup1/pool00) is not open. Device FSDevice1 (/mnt/backup1/pool01) is not open. Device FSDevice2 (/mnt/backup1/pool02) is not open. Device FSDevice3 (/mnt/backup1/pool03) is not open. Device FSDevice4 (/mnt/backup1/pool04) is mounted with: Volume: Pool4-Vol-0111 Pool:*unknown* Media type: File4 Total Bytes Read=3,848,656,896 Blocks Read=59,658 Bytes/block=64,512 Positioned at File=0 Block=3,848,592,601 Device IBM-LTO3-Drive (/dev/nst0) is not open. Device is being initialized. Drive 0 is not loaded. Used Volume status: hangs here, have to kill the bconsole What kind of backtrace do you want? From which daemon? bacula-sd? -- Pasi - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula hang waiting for storage
] Nov 8 15:53:15 bacula-Backupserver kernel: 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 16 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 17 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 18 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 19 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 20 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 21 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 22 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 23 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 24 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 25 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 26 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 27 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 28 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 29 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 30 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: 31 SCB_CONTROL[0x0] SCB_SCSIID[0xff] SCB_LUN[0xff] SCB_TAG[0xff] Nov 8 15:53:15 bacula-Backupserver kernel: Pending list: Nov 8 15:53:15 bacula-Backupserver kernel: 3 SCB_CONTROL[0x40] SCB_SCSIID[0x57] SCB_LUN[0x0] Nov 8 15:53:15 bacula-Backupserver kernel: Kernel Free SCB list: 1 0 Nov 8 15:53:15 bacula-Backupserver kernel: Untagged Q(5): 3 Nov 8 15:53:15 bacula-Backupserver kernel: Nov 8 15:53:15 bacula-Backupserver kernel: Dump Card State Ends Nov 8 15:53:15 bacula-Backupserver kernel: (scsi2:A:5:0): Device is disconnected, re-queuing SCB Nov 8 15:53:15 bacula-Backupserver kernel: Recovery code sleeping Nov 8 15:53:15 bacula-Backupserver kernel: Recovery SCB completes Nov 8 15:53:15 bacula-Backupserver kernel: Recovery code awake Nov 8 15:53:15 bacula-Backupserver kernel: aic7xxx_abort returns 0x2002 Nov 8 15:53:15 bacula-Backupserver kernel: st 2:0:5:0: Attempting to queue a TARGET RESET message Nov 8 15:53:15 bacula-Backupserver kernel: CDB: 0x10 0x0 0x0 0x0 0x1 0x0 Nov 8 15:53:15 bacula-Backupserver kernel: st 2:0:5:0: Command not found Nov 8 15:53:15 bacula-Backupserver kernel: aic7xxx_dev_reset returns 0x2002 Nov 8 15:53:26 bacula-Backupserver kernel: st 2:0:5:0: scsi: Device offlined - not ready after error recovery Nov 8 15:53:26 bacula-Backupserver kernel: st0: Error 1 (sugg. bt 0x0, driver bt 0x0, host bt 0x1). Julien Cigar schrieb: Same problem here with a Sony SDX-700C On Tue, 2008-12-02 at 15:30 +0100, Nils Blanck-Wehde wrote: Hi! Just wanted to let you know that I came across the exact same error Error writing final EOF to tape. This Volume may not be readable. a couple of times with 2.4.2 using a Quantum DLT VS1 drive connected to Adaptec 29160LP. I don't think that the tape is really defective as bacula states. I could do working backups on these tapes later. Maybe its a problem with positioning (forwarding) the tape to the right position? If there is still interest in this issue I might search for the corresponding job-output. Nils Pasi Kärkkäinen schrieb: On Thu, Nov 27, 2008 at 05:53:41PM +0100, Arno Lehmann wrote: Hi, 27.11.2008 15:10, Pasi Kärkkäinen wrote: On Thu, Nov 27, 2008 at 08:14:45AM +0100, Arno Lehmann wrote: Hi, 26.11.2008 21:22, Bob Hetzel wrote: I've got bacula currently in a hung state with the following interesting info. When I run a status storage produces the following... Is your Bacula still stuck? If so, and you have gdb installed, and a Bacula with debug symbols, now might be a good time to see what it's doing... ... I have also seen this lately.. but that was with Bacula 2.5.18. I could make that hang happen multiple times, but I'm not totally sure what caused that.. Well, if you can recreate the issue it's worth the effort building Bacula with debug information so you get usable backtraces. If the problem happens again, you can use gdb to create a backtrace, showing the developers more details about what happens and thus
Re: [Bacula-users] DVD Backup Version 2.0.2 OK?
Hi Richard, thanks for your comments. I edited the corresponding line in /usr/lib/bacula/dvd-handler. Unforutnately it didn't make a difference. On the other hand I could NOT see that the disc was actually being ejected after the first part. Should the tray have opened? Maybe I need to edit something else? Has anyone tried to write parts with 4,5GB? If this was possible I wouldn't need to write more than one part to each disc and everything was fine. I'm not much into the various XX-book standards... Nils Richard Mortimer schrieb: Hi, I'll add some comments here I cannot guarantee that they all apply to 2.4.x because I'm still using 2.2.x and haven't been tracking development that closely for well over a year. That said I did have DVD writing working and many of the errors that you report do look familiar. On Sat, 2008-11-29 at 20:26 +0100, Nils Blanck-Wehde wrote: Hi John, hi everyone! I think I am getting closer to get DVD-burning to work. I would really love to use this feature and I would be glad to help fix it. I just checked, I had dvd+rw-tools-7.0-0.el5.3.rpm installed. As this is is 7.04 I uninstalled the rpm and compiled / installed from this sources: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd +rw-tools-7.1.tar.gz Now, growisofs is version 7.1: * growisofs by [EMAIL PROTECTED], version 7.1 Does this version still require patching before building? I used the Debian version that already had the patches applied. Here is what happens now: DVD burning works AS LONG as bacula doesn't write more than one part. After the first part a mount error occurs. I think that bacula for some reason tries to mount the dvd after each part, maybe to check what it just wrote or to calculate the remaining space. It does try to check how much space is left. The mount failure isn't necessarily a problem doing the operating system mount of the DVD but rather that Bacula didn't find when it expected or maybe that it tried to open a file on the DVD in read/write mode. As far as I understand, it is NOT safe to burn parts 800MB to a dvd so I left the default value of 800M in bacula-sd.conf. I ran the SD as root (/usr/sbin/bacula-sd -d 99) so I don't think that there really is a mount error. Maybe the debug-output is misleading? Yes I agree. See what I wrote above. You will find the (somewhat lengthy) debug output of DIR and SD attached. If ANY other information (versions, configurations, hardware etc.) might help solve the issue, please ask. I will provide you with anything needed asap. I don't have time to look too closely at the moment but the following may help. First off I always found that I needed to comment out the following line in the /etc/bacula/scripts/dvd-handler script. growcmd += -use-the-force-luke=notray Add a # at the start of the line to make it # growcmd += -use-the-force-luke=notray This is because linux does (did?) not re-read the disk geometry automatically. The above line forces the DVD to be ejected after writing and the mount reloads it causing the OS to re-read the geometry and find the new data written to the DVD. I actually think that this is the problem that you are seeing because without it the OS will report unreadable blocks when doing the low level mount command. You may also find it useful to go through the steps in http://bridge.oldelvet.org.uk/bacula/BaculaDVDSetup.html If those steps are not all successful then Bacula has very little chance or correctly writing to the DVD. Regards Richard Many thanks in advance Nils This is the debug output from the director: 29-Nov 20:02 company_bacula-dir JobId 3: Start Backup JobId 3, Job=nightly-self-backup.2008-11-29_20.02.19 29-Nov 20:02 company_bacula-dir JobId 3: Created new Volume BaculaDVD0003 in catalog. 29-Nov 20:02 company_bacula-dir JobId 3: Using Device DVDWriter 29-Nov 20:02 company_bacula-sd JobId 3: Labeled new Volume BaculaDVD0003 on device DVDWriter (/dev/hda). 29-Nov 20:02 company_bacula-sd JobId 3: Wrote label to prelabeled Volume BaculaDVD0003 on device DVDWriter (/dev/hda) 29-Nov 20:02 company_bacula-dir JobId 3: Max Volume jobs exceeded. Marking Volume BaculaDVD0003 as Used. 29-Nov 20:03 company_bacula-sd JobId 3: Part 1 (52384166 bytes) written to DVD. 29-Nov 20:03 company_bacula-sd JobId 3: Remaining free space 4,695,588,864 on DVDWriter (/dev/hda) 29-Nov 20:03 company_bacula-sd JobId 3: Fatal error: block.c:856 Unable to open device next part DVDWriter (/dev/hda): ERR=Could not mount DVD device DVDWriter (/dev/hda). This is the debug-output of the SD: Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : BaculaDVD0003 PrevVolName : VolFile : 0 LabelType : PRE_LABEL LabelSize : 175 PoolName : DVDPool MediaType : DVD PoolType : Backup HostName : company-bacula Date label written: 29-Nov-2008 20:02
Re: [Bacula-users] DVD backup problems gone!
Hello everyone, I am trying hard to get DVD backups working as well. I posted about this to the list last week (topic: ERR=Could not mount DVD device), unfortunately with no reply so far. It looks like backing up to DVD isn't a very common thing around here... If anyone actually did manage to backup to DVD with a recent version of bacula, I would be very glad to here about it so at least i know that it in fact is possible. There is a message bundeled with the source code that suggests using an block-device above an UTF formatted DVD-RW. If someone successfully did this, I would be very glad if you shared. Many thanks in advance Nils Jari Fredriksson schrieb: Jari Fredriksson wrote: All very true. Great. I suggest that waiting slightly longer than you did is generally a good idea. A period of 24 hours isn't best practice. I wrote my query to Users 8th november with a Subject Strange DVD backup problem. Before that I wrote under Subject Moving from Tape to DVD, that was 7th Nov. Bug reports were filed 10th November, because Arno Lehmann responded that I think you've got enough information for a bug report at bugs.bacula.org Besides that, the only response was Hi, sorry I can´t help you, but I have the same problem Here. No idea what can help. tried with 2.28 and 2.4.3Maybe a bug report is what helps. And now my bug file is premature? Regards jarif - trying to help you to help me to help you to help me As we speak, I'm doing backups with a slightly modified 2.2.28 version, and hope to get something out of it.But it's not easy. Great. It'll be great to see the patches in the bug report. But as it stands now, the bug report is premature. Please, I'm trying to *help* you *help* us *help* you. :) thanks. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD Backup Version 2.0.2 OK?
Hi John, hi everyone! I think I am getting closer to get DVD-burning to work. I would really love to use this feature and I would be glad to help fix it. I just checked, I had dvd+rw-tools-7.0-0.el5.3.rpm installed. As this is is 7.04 I uninstalled the rpm and compiled / installed from this sources: http://fy.chalmers.se/~appro/linux/DVD+RW/tools/dvd+rw-tools-7.1.tar.gz Now, growisofs is version 7.1: * growisofs by [EMAIL PROTECTED], version 7.1 Does this version still require patching before building? Here is what happens now: DVD burning works AS LONG as bacula doesn't write more than one part. After the first part a mount error occurs. I think that bacula for some reason tries to mount the dvd after each part, maybe to check what it just wrote or to calculate the remaining space. As far as I understand, it is NOT safe to burn parts 800MB to a dvd so I left the default value of 800M in bacula-sd.conf. I ran the SD as root (/usr/sbin/bacula-sd -d 99) so I don't think that there really is a mount error. Maybe the debug-output is misleading? You will find the (somewhat lengthy) debug output of DIR and SD attached. If ANY other information (versions, configurations, hardware etc.) might help solve the issue, please ask. I will provide you with anything needed asap. Many thanks in advance Nils This is the debug output from the director: 29-Nov 20:02 company_bacula-dir JobId 3: Start Backup JobId 3, Job=nightly-self-backup.2008-11-29_20.02.19 29-Nov 20:02 company_bacula-dir JobId 3: Created new Volume BaculaDVD0003 in catalog. 29-Nov 20:02 company_bacula-dir JobId 3: Using Device DVDWriter 29-Nov 20:02 company_bacula-sd JobId 3: Labeled new Volume BaculaDVD0003 on device DVDWriter (/dev/hda). 29-Nov 20:02 company_bacula-sd JobId 3: Wrote label to prelabeled Volume BaculaDVD0003 on device DVDWriter (/dev/hda) 29-Nov 20:02 company_bacula-dir JobId 3: Max Volume jobs exceeded. Marking Volume BaculaDVD0003 as Used. 29-Nov 20:03 company_bacula-sd JobId 3: Part 1 (52384166 bytes) written to DVD. 29-Nov 20:03 company_bacula-sd JobId 3: Remaining free space 4,695,588,864 on DVDWriter (/dev/hda) 29-Nov 20:03 company_bacula-sd JobId 3: Fatal error: block.c:856 Unable to open device next part DVDWriter (/dev/hda): *ERR=Could not mount DVD device DVDWriter (/dev/hda)*. This is the debug-output of the SD: Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : BaculaDVD0003 PrevVolName : VolFile : 0 LabelType : PRE_LABEL LabelSize : 175 PoolName : DVDPool MediaType : DVD PoolType : Backup HostName : company-bacula Date label written: 29-Nov-2008 20:02 company_bacula-sd: reserve.c:316-0 jid=3 enter reserve_volume=BaculaDVD0003 drive=DVDWriter (/dev/hda) company_bacula-sd: reserve.c:189-0 jid=3 List begin reserve_volume: BaculaDVD0003 in_use=1 on device DVDWriter (/dev/hda) company_bacula-sd: reserve.c:331-0 jid=3 Vol attached=BaculaDVD0003, newvol=BaculaDVD0003 volinuse=1 on DVDWriter (/dev/hda) company_bacula-sd: reserve.c:339-0 jid=3 === set reserved vol=BaculaDVD0003 dev=DVDWriter (/dev/hda) company_bacula-sd: reserve.c:418-0 jid=3 === set in_use. vol=BaculaDVD0003 dev=DVDWriter (/dev/hda) company_bacula-sd: reserve.c:189-0 jid=3 List end new volume: BaculaDVD0003 in_use=1 on device DVDWriter (/dev/hda) company_bacula-sd: reserve.c:490-0 Dec reserve=0 dev=DVDWriter (/dev/hda) company_bacula-sd: append.c:96-0 Begin append device=DVDWriter (/dev/hda) company_bacula-sd: dvd.c:311-0 Enter: == open_next_part part=1 npart=0 dev=DVDWriter (/dev/hda) vol=BaculaDVD0003 mode=2 file_addr=52383955 company_bacula-sd: dvd.c:227-0 dvd_write_part: device is DVDWriter (/dev/hda), part is 1, is_mounted=0 company_bacula-sd: dvd.c:256-0 Write part: cmd=/usr/lib/bacula/dvd-handler /dev/hda write 1 /tmp/backup/BaculaDVD0003 timeout=16000 company_bacula-sd: dvd.c:258-0 Write part status=0 result=Running growisofs -use-the-force-luke=notray -quiet -use-the-force-luke=4gms -A 'Bacula Data' -input-charset=default -iso-level 3 -pad -p 'dvd-handler / growisofs' -sysid 'BACULADATA' -R -Z /dev/hda /tmp/backup/BaculaDVD0003 Executing 'mkisofs -quiet -A Bacula Data -input-charset=default -iso-level 3 -pad -p dvd-handler / growisofs -sysid BACULADATA -R /tmp/backup/BaculaDVD0003 | builtin_dd of=/dev/hda obs=32k seek=0' /dev/hda: Current Write Speed is 16.4x1352KBps. /dev/hda: flushing cache /dev/hda: updating RMA /dev/hda: closing session Part file /tmp/backup/BaculaDVD0003 successfully written to disk. company_bacula-sd: dvd.c:287-0 = unlink(/tmp/backup/BaculaDVD0003) company_bacula-sd: dvd.c:341-0 Inc part=2 num_dvd_parts=1 company_bacula-sd: dev.c:570-0 open_dvd_device: part=2 num_dvd_parts=1, VolCatInfo.VolCatParts=1 company_bacula-sd: dev.c:619-0 DVD device mount failed. company_bacula-sd: append.c:220-0 Got write_block_to_dev error on device DVDWriter
Re: [Bacula-users] ERR=Could not mount DVD device
Hi Jari, I configured sudo that no password is needed for user bacula to run mount and unmount. The corresponding line from /etc/sudoers is: bacula ALL = (ALL) NOPASSWD: /bin/mount, /bin/umount Nils Jari Fredriksson schrieb: Hello list! I am running bacula 2.4.2 from fschwarz's EL5 rpms on CentOS 5.2 My mount command (from storage definition) is: /usr/bin/sudo /bin/mount -t iso9660 -o ro %a %m I can mount and unmount the dvd-writer as user bacula with /usr/bin/sudo /bin/mount -t iso9660 -o ro /dev/dvdwriter-hda /mnt/bacula-dvd without any problems. How can you use sudo in the mount command? It asks for a password, doesn't it? Bacula hardly can respond to such request. !DSPAM:492bcae7231886581397638! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] ERR=Could not mount DVD device
Hello list! I am running bacula 2.4.2 from fschwarz's EL5 rpms on CentOS 5.2 I am having a hard time getting bacula to write backups to DVD. I have narrowed it down to the following: After burning a part to DVD, bacula mounts the volume to determine the used space and pass the result to growisofs. This mount fails and the used space is not determined correctly (I guess). My mount command (from storage definition) is: /usr/bin/sudo /bin/mount -t iso9660 -o ro %a %m I can mount and unmount the dvd-writer as user bacula with /usr/bin/sudo /bin/mount -t iso9660 -o ro /dev/dvdwriter-hda /mnt/bacula-dvd without any problems. The same error occurs when I do not use /etc/init.d/bacula-dir start to start the sd but instead run /usr/sbin/bacula-sd -d 99 as root. I really can't see why bacula should NOT be able to mount the device. I cannot reproduce this error on a shell as user bacula. Plus the exact same error happens when I run the sd as root. Maybe the output is misleading? I am quite stuck here. Any help would be greatly appreciated! Thanks in advance Nils My configuration (If any other info would help, please ask): This is my dvd-tools version: dvd+rw-tools-7.0-0.el5.3 I read that dvd+rw tools have to have a bacula-patch incorporated. I don't know if my version does so and to be honest I don't know how to find out... I don't know if it matters but I am using Platinum 16x DVD-R 4.7GB media (I have tried DVD+R media as well, no luck). This is the storage definition: Device { Name = DVDWriter Media Type = DVD Device Type = DVD Archive Device = /dev/dvdwriter-hda LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize = 50M; # decreased partsize to reproduce error more quickly (should be 800M) RequiresMount = yes; MountPoint = /mnt/bacula-dvd; MountCommand = /usr/bin/sudo /bin/mount -t iso9660 -o ro %a %m UnmountCommand = /usr/bin/sudo /bin/umount %m SpoolDirectory = /tmp/backup; WritePartCommand = /usr/lib/bacula/dvd-handler %a write %e %v FreeSpaceCommand = /usr/lib/bacula/dvd-handler %a free } This is the job's output: 24-Nov 22:40 company_bacula-dir JobId 18: Start Backup JobId 18, Job=nightly-self-backup.2008-11-24_22.40.03 24-Nov 22:40 company_bacula-dir JobId 18: There are no more Jobs associated with Volume Vol0013. Marking it purged. 24-Nov 22:40 company_bacula-dir JobId 18: All records pruned from Volume Vol0013; marking it Purged 24-Nov 22:40 company_bacula-dir JobId 18: Recycled volume Vol0013 24-Nov 22:40 company_bacula-dir JobId 18: Using Device DVDWriter 24-Nov 22:40 company_bacula-sd JobId 18: Labeled new Volume Vol0013 on device DVDWriter (/dev/dvdwriter-hda). 24-Nov 22:40 company_bacula-sd JobId 18: Wrote label to prelabeled Volume Vol0013 on device DVDWriter (/dev/dvdwriter-hda) 24-Nov 22:40 company_bacula-dir JobId 18: Max Volume jobs exceeded. Marking Volume Vol0013 as Used. 24-Nov 22:41 company_bacula-sd JobId 18: Part 1 (52384172 bytes) written to DVD. 24-Nov 22:41 company_bacula-sd JobId 18: Remaining free space 18,446,744,073,709,551,466 on DVDWriter (/dev/dvdwriter-hda) 24-Nov 22:41 company_bacula-sd JobId 18: Fatal error: block.c:856 Unable to open device next part DVDWriter (/dev/dvdwriter-hda): ERR=Could not mount DVD device DVDWriter (/dev/dvdwriter-hda). 24-Nov 22:41 company_bacula-sd JobId 18: Job write elapsed time = 00:01:09, Transfer rate = 758.7 K bytes/second 24-Nov 22:41 company_bacula-fd JobId 18: Fatal error: backup.c:892 Network send error to SD. ERR=Die Verbindung wurde vom Kommunikationspartner zurückgesetzt 24-Nov 22:41 company_bacula-dir JobId 18: Error: Bacula company_bacula-dir 2.4.2 (26Jul08): 24-Nov-2008 22:41:30 Build OS: i686-redhat-linux-gnu redhat JobId: 18 Job:nightly-self-backup.2008-11-24_22.40.03 Backup Level: Full Client: company_bacula-fd 2.4.2 (26Jul08) i686-redhat-linux-gnu,redhat, FileSet:Bacula-Server System-Backup FileSet 2008-11-15 15:56:40 Pool: Default-Harddisk (From Job resource) Storage:DVD (From user selection) Scheduled time: 24-Nov-2008 22:40:02 Start time: 24-Nov-2008 22:40:08 End time: 24-Nov-2008 22:41:30 Elapsed time: 1 min 22 secs Priority: 10 FD Files Written: 234 SD Files Written: 233 FD Bytes Written: 52,859,729 (52.85 MB) SD Bytes Written: 52,356,805 (52.35 MB) Rate: 644.6 KB/s Software Compression: None VSS:no Storage Encryption: no Volume name(s): Volume Session Id: 1 Volume Session Time:1227562801 Last Volume Bytes: 214 (214 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status:
Re: [Bacula-users] ERR=Could not mount DVD device
Hello again! Maybe I should add that the first part indeed gets written to the dvd. So there IS something on the DVD, it's readable and look quite ok (bacula header then tar-ish concatenation of files) Thanks for any help! Nils Nils Blanck-Wehde schrieb: Hello list! I am running bacula 2.4.2 from fschwarz's EL5 rpms on CentOS 5.2 I am having a hard time getting bacula to write backups to DVD. I have narrowed it down to the following: After burning a part to DVD, bacula mounts the volume to determine the used space and pass the result to growisofs. This mount fails and the used space is not determined correctly (I guess). My mount command (from storage definition) is: /usr/bin/sudo /bin/mount -t iso9660 -o ro %a %m I can mount and unmount the dvd-writer as user bacula with /usr/bin/sudo /bin/mount -t iso9660 -o ro /dev/dvdwriter-hda /mnt/bacula-dvd without any problems. The same error occurs when I do not use /etc/init.d/bacula-dir start to start the sd but instead run /usr/sbin/bacula-sd -d 99 as root. I really can't see why bacula should NOT be able to mount the device. I cannot reproduce this error on a shell as user bacula. Plus the exact same error happens when I run the sd as root. Maybe the output is misleading? I am quite stuck here. Any help would be greatly appreciated! Thanks in advance Nils My configuration (If any other info would help, please ask): This is my dvd-tools version: dvd+rw-tools-7.0-0.el5.3 I read that dvd+rw tools have to have a bacula-patch incorporated. I don't know if my version does so and to be honest I don't know how to find out... I don't know if it matters but I am using Platinum 16x DVD-R 4.7GB media (I have tried DVD+R media as well, no luck). This is the storage definition: Device { Name = DVDWriter Media Type = DVD Device Type = DVD Archive Device = /dev/dvdwriter-hda LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize = 50M; # decreased partsize to reproduce error more quickly (should be 800M) RequiresMount = yes; MountPoint = /mnt/bacula-dvd; MountCommand = /usr/bin/sudo /bin/mount -t iso9660 -o ro %a %m UnmountCommand = /usr/bin/sudo /bin/umount %m SpoolDirectory = /tmp/backup; WritePartCommand = /usr/lib/bacula/dvd-handler %a write %e %v FreeSpaceCommand = /usr/lib/bacula/dvd-handler %a free } This is the job's output: 24-Nov 22:40 company_bacula-dir JobId 18: Start Backup JobId 18, Job=nightly-self-backup.2008-11-24_22.40.03 24-Nov 22:40 company_bacula-dir JobId 18: There are no more Jobs associated with Volume Vol0013. Marking it purged. 24-Nov 22:40 company_bacula-dir JobId 18: All records pruned from Volume Vol0013; marking it Purged 24-Nov 22:40 company_bacula-dir JobId 18: Recycled volume Vol0013 24-Nov 22:40 company_bacula-dir JobId 18: Using Device DVDWriter 24-Nov 22:40 company_bacula-sd JobId 18: Labeled new Volume Vol0013 on device DVDWriter (/dev/dvdwriter-hda). 24-Nov 22:40 company_bacula-sd JobId 18: Wrote label to prelabeled Volume Vol0013 on device DVDWriter (/dev/dvdwriter-hda) 24-Nov 22:40 company_bacula-dir JobId 18: Max Volume jobs exceeded. Marking Volume Vol0013 as Used. 24-Nov 22:41 company_bacula-sd JobId 18: Part 1 (52384172 bytes) written to DVD. 24-Nov 22:41 company_bacula-sd JobId 18: Remaining free space 18,446,744,073,709,551,466 on DVDWriter (/dev/dvdwriter-hda) 24-Nov 22:41 company_bacula-sd JobId 18: Fatal error: block.c:856 Unable to open device next part DVDWriter (/dev/dvdwriter-hda): ERR=Could not mount DVD device DVDWriter (/dev/dvdwriter-hda). 24-Nov 22:41 company_bacula-sd JobId 18: Job write elapsed time = 00:01:09, Transfer rate = 758.7 K bytes/second 24-Nov 22:41 company_bacula-fd JobId 18: Fatal error: backup.c:892 Network send error to SD. ERR=Die Verbindung wurde vom Kommunikationspartner zurückgesetzt 24-Nov 22:41 company_bacula-dir JobId 18: Error: Bacula company_bacula-dir 2.4.2 (26Jul08): 24-Nov-2008 22:41:30 Build OS: i686-redhat-linux-gnu redhat JobId: 18 Job:nightly-self-backup.2008-11-24_22.40.03 Backup Level: Full Client: company_bacula-fd 2.4.2 (26Jul08) i686-redhat-linux-gnu,redhat, FileSet:Bacula-Server System-Backup FileSet 2008-11-15 15:56:40 Pool: Default-Harddisk (From Job resource) Storage:DVD (From user selection) Scheduled time: 24-Nov-2008 22:40:02 Start time: 24-Nov-2008 22:40:08 End time: 24-Nov-2008 22:41:30 Elapsed time: 1 min 22 secs Priority: 10 FD Files Written: 234 SD Files Written: 233 FD Bytes Written: 52,859,729 (52.85 MB) SD Bytes Written
[Bacula-users] Organising your config-files
Hello everyone, after a while my bacula-configuration files tend to get a little messed up. I was wondering whether anyone tried to split especially the director config-file into seperate files for shedules, filesets, clients and a general part. Is there some kind of include-statement (besides the on in the fileset-ressource) to achieve this? Best regards, Nils - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 2.4.2 vs 2.5.16 on CentOS
Hi everyone! I'm setting up a new bacula installation on CentOS 5.2. I planned on using the FSchwarz EL5 rpms because the install very well under CentOS 5.2 Now I am wondering whether it's worth the hassle to compile 2.5.16 from source. Unforunately I am not a programmer so the changelog of 2.5.16 doesn't really tell me anything? Maybe someone more involved can give me a hint here? Are there any 2.4.3 rpms that install under CentOS? I feel a little bad installing an outdated version Thanks for any advise, Nils - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula support Quantum SuperLoader 3 LT0-3 ?
Hello Everyone! This is my first post and I am trying not to ask something stupid. But nevertheless please be patient :-) I am working on a backup-concept for smaller (5-15 head) companies. I have successfully set up a low-power mini-ITX appliance running CentOS 5 and Bacula 2.2.6 As I still (to some degree) like tape (this is discussed elsewhere), I like to add an entry range tape-library to the setup. I am thinking of a Quantum SuperLoader 3 DLTv4 (which except for the reader itself seems to be the same as the LTO-3 one.). As I understand the mailslot cannot be ejected by bacula itself. Jason wrote, that it can be ejected manually via the front panel or via web interface. What I need to know is: Even if I cannot eject the mail slot with bacula, will it still be able to write to that tape? Which web interface are you talking of? The bacula-web interface or does the library itself come with some kind of web interface? I do need the mail slot as my boss wants to have one tape to be taken away to the vault every week. If I can't do this with the Quantum library, maybe someone could recommend another auto changer from that region that is proved to work? Any hint would be appreciated Best regards, Nils Jason A. Kates wrote: This tape drive works with bacula, but the mail slot is only usable via the web interface, not controllable via the scsi interface at all. You will have to use the web interface or the front panel to eject tapes. -Jason On Fri, 2007-11-23 at 09:55 -0500, Miguel Angel wrote: Hi list! I am interested in buy a tape device Quantum LTO-3 Superloader 3. Is anyone using this device with Bacula? Thanks -- View this message in context: http://www.nabble.com/Bacula-support-Quantum-SuperLoader-3-LT0-3---tp13913617p14407693.html Sent from the Bacula - Users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users