[Bacula-users] A Storage device can now be specified in a Pool resource. 1.39.20-20060822
I would like to test this, but can't find the proper syntax. Can some one shed some light on this? Thanks Roger Berry - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] database error
bacula starts properly and I can get in to bconsole and do status on dir, sd and fd. When I try to run a backup job I get the following. 13-Oct 10:11 bacula-dir: Start Backup JobId 25288, Job=ds0-metc.2006-10-13_10.11.26 13-Oct 10:11 bacula-sd: Volume "FVOL-0115" previously written, moving to end of data. 13-Oct 10:11 bacula-dir: ds0-metc.2006-10-13_10.11.26 Fatal error: catreq.c:307 Invalid Catalog request: CatReq Job=ds0-metc.2006-10-13_10.11.26 UpdateMedia VolName=FVOL-0115 VolJobs=0 VolFiles=0 VolBlocks=0 VolBytes=212 VolMounts=1 VolErrors=0 VolWrites=0 MaxVolBytes=1300 EndTime=1160759490 VolStatus=Append Slot=0 relabel=0 InChanger=1 VolReadTime=0 VolWriteTime=0 VolFirstWritten=0 VolParts=0 13-Oct 10:11 bacula-sd: ds0-metc.2006-10-13_10.11.26 Fatal error: Error getting Volume info: 1990 Invalid Catalog Request: CatReq Job=ds0-metc.2006-10-13_10.11.26 UpdateMedia VolName=FVOL-0115 VolJobs=0 VolFiles=0 VolBlocks=0 VolBytes=212 VolMounts=1 VolErrors=0 VolWrites=0 MaxVolBytes=1300 EndTime=1160759490 VolStatus=Append Slot=0 relabel=0 InChanger=1 VolReadTime=0 VolWriteTime=0 VolFirstWritten=0 VolParts=0 13-Oct 10:11 ds0.pdx.polyserve.com: ds0-metc.2006-10-13_10.11.26 Fatal error: job.c:1725 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data I am out of ideas. Has anyone seen this before? Thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] concurrent jobs don't spool at the same time
Hi all, I am having trouble with concurrent jobs not spooling in parallel -- they spool and despool, one at a time, in sequential order. I only get one job running at a time. I want daily backups that write one volume to disk, per job, with concurrent jobs that spool in parallel. Can someone please help me figure out what I'm doing wrong? My setup follows. Thank you, Adam bacula daemon version os --- director 1.38.11_1 FreeBSD 6.1 storage 1.38.11_1 FreeBSD 6.1 file 1.36.2debian linux The director, storage and file daemons have max concurrent jobs set to 20. Here are the relevant configuration snippets. # dir.conf ### Director { Maximum Concurrent Jobs = 20 } JobDefs { Pool = Default SpoolData = yes Spool Attributes = yes Maximum Concurrent Jobs = 20 } Storage { Name = File Device = FileStorage Media Type = File } Pool { Name = Default Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 2 weeks # one volume (file) per job Maximum Volume Jobs = 1 } ### # sd.conf Storage { Maximum Concurrent Jobs = 20 } Device { Name = FileStorage Media Type = File Archive Device = /some/disk LabelMedia = yes; Random Access = Yes; AutomaticMount = yes; RemovableMedia = no; AlwaysOpen = no; Spool Directory = /some/spool } ### # fd.conf FileDaemon { Maximum Concurrent Jobs = 20 } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] concurrent jobs don't spool at the same time
On Thu, 7 Dec 2006, Ryan Novosielski wrote: > Read the manual regarding this. You're missing a "Maximum Concurrent > Jobs" statement, though I couldn't swear whether it goes under Storage > or under Device. That should get you started, however. Thank you for your help. Although it seemed out of scope, I needed to add a "Maximum Concurrent Jobs = 20" to each Client resource of dir.conf. I wanted more, so I added a volume label format that would provide a unique volume label between clients to the Pool resource in dir.conf and pseudo devices to sd.conf (symbolic links to the same directory). I just need as many symlinks and pseudo devices in sd.conf for the number of parallel jobs I want to run. This seems to be working for now. The unique volume name is to prevent multiple jobs from trying to open the same volume at the same time (that happened in testing). > BTW, you should really upgrade that FD -- Bacula is not designed to be > run with different, somewhat-major, release versions. It has worked well for the last 2 months, but I am still testing. Thanks again, Adam > [EMAIL PROTECTED] wrote: > > Hi all, > > > > I am having trouble with concurrent jobs not spooling in parallel -- they > > spool and despool, one at a time, in sequential order. I only get one job > > running at a time. I want daily backups that write one volume to disk, > > per job, with concurrent jobs that spool in parallel. Can someone please > > help me figure out what I'm doing wrong? My setup follows. > > > > Thank you, > > > > Adam > > > > bacula > > daemon version os > > --- > > director 1.38.11_1 FreeBSD 6.1 > > storage 1.38.11_1 FreeBSD 6.1 > > file 1.36.2debian linux > > > > The director, storage and file daemons have max concurrent jobs set to 20. [snip] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula-fd.exe application error
Hi there I have just seen that my newly installed bacula client on a w2k machine, has triggered the following error message: 'The insruction at "0x00417563" referencd memory at "0x". The memory could not be "written". Click on OK bla bla bla' Anyone seen this before? bacula 1.38.0 if that has anything to say. Regards Thomas, Denmark --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cycling a USB drive - confused...
Hi Kern, (quoting may be a bit confused; sorry) >> It seems to me that with a bit of tweaking, not only could Bacula be made to >> know what is and what is not online, but it could also automatically mount >> the Volume if needed. All I need to do is steal (well, adapt is a better >> word) a bit of the DVD code. That would be very useful to me too, trying to use an Iomega Rev as per earlier messages to this list. >> In the mean time, dealing with these things won't be so simple for you. What >> you need to do is write two little scripts that you run: 1. a script that you >> run just before you remove a device, and 2. a script that you run when you >> insert the device. These scripts sound rather involved! Has anyone written anything similar? Thanks again Kern and the other developers / list support crew for an excellent job! -- Regards Richard (MQ) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Why doesn't bat get installed?
My system: Centos 5 bacula-2.2.6 I run configure, make, make install but bat isn't installed anywhere, nor is there a bat script in /etc/bacula. bat.conf does appear in /etc/bacula. Looking in bacula-2.2.6/src/qt-console/Makefile: > obj/qrc_main.o: qrc_main.cpp > $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qrc_main.o qrc_main.cpp > > ### Install > > install_confs: first FORCE > @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/$(DESTDIR)/etc/bacula/ || $(MKDIR) > $(INSTALL_ROOT)/$(DESTDIR)/etc/bacula/ > ./install_conf_file > > > install: install_confs FORCE > > uninstall: FORCE > > FORCE: There isn't an install called for the executable. Why not? Clint - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] HP DAT72 Tabe (C7438A) compression problem
Hi all, I have a HP DAT72 tape and installed it on a new debian sarge box. The problem I have is the following: I defined the tape with hardware compression: - I used the following command: mt -f /dev/nst0 datcompression 1 - I did not enable software compression with bacula. When I backuped several directories which are holding around 50GB the backup stopped after 33,900,640,561 bytes. This is not even the Amount the tape should save with compression disabled. What do I have to do to enable hardware compression? Thanks for your help, Oliver --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] HP DAT72 Tabe (C7438A) compression problem
Hi, Thanks for your explanation. I checked with the status with the mt command. # mt -f /dev/nst0 datcompression Compression on. Compression capable. Decompression capable. This looks to me, as the compression would be enabled. I had the same issue on my old debian box. It was always just writing around 33GB on the tape, never more.The data I try to backup are alot of Word-Documents and all different kind of sourcecode. So there should be at least some compression. I might try the software compression from bacula and see if that helps. But if you have some idea what else I could test I would be very glad. Thanks, Oliver > Hi. > > [EMAIL PROTECTED] wrote: > >> Hi all, >> >> I have a HP DAT72 tape and installed it on a new debian sarge box. The >> problem I have is the following: >> I defined the tape with hardware compression: >> - I used the following command: mt -f /dev/nst0 datcompression 1 - I >> did not enable software compression with bacula. >> >> When I backuped several directories which are holding around 50GB the >> backup stopped after 33,900,640,561 bytes. This is not even the Amount >> the tape should save with compression disabled. >> What do I have to do to enable hardware compression? > > First thing is to check that compression is actually enabled: mt status > or tapeinfo might tell you. > > Second thing is a completely different question: How to determine the > usable tape capacity? > > Some (sort of) facts: Manufacturers give highly optimistic values: Your > example: DAT72 means "raw" capacity of 36 GBytes. In "manufacturer > mode" this is 360 Bytes, of which you lose the space occupied > by End-Of-Anything marks. > Compression ratios are usually assumed to be 1:2, 1:2.6 (Sony) or even > higer (I forgot...), but in fact real-world data compresses quite > different. From my backups: I get between 18GB (with 1 GB = 2^30) and > 29 GB on a "20/40GB" DLT tape, with an average of about 22GB. Daily > incremental backups get great results for marketing purposes: up to 12 > GB on a DDS-2 tape (4/8 GB) - mostly log files which compress great. > When I store compressed digital media like mp3 of digital video files I > have about 3.5 GB on the same sort of tape. > > Conclusion: If you want to know how many bytes fit onto a tape you need > to measure the right thing: > For example, use 'dd if=/dev/urandom bs=32k of=/dev/st0'. Try with > varying block sizes and try with a number of 'mt weof's in between. Try > storing _your_ real data using tar, also trying different block sizes > and number of files. Then try the same with data compression. > > After some days you can draw some fine charts which tell you two > important things: How many tapes you need, and that the capacity > numbers given by the manufacturers have not much in common with what > you > encounter on a day-to-day basis. Forget the rest... > > I usually wonder when I see a tape marked "Full" with less then half > the nominal capacity (often indicates a broken tape) or "Append" at > three times the regular capacity (most often by chance the right sort > of data). > >> Thanks for your help, > > I don't know if that helps, but it might explain things. > > Arno > >> Oliver >> >> >> >> >> ------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real >> users. Discover which products truly live up to the hype. Start >> reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> ___ >> 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 email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Why is bacula issuing a list command on a changer without barcodes ?
Bacula was working perfectly before I upgraded from app-backup/bacula-1.36.3-r1 to version 1.38.5. I have a Sony tape changer (LIB-81) with 8 slots and an AIT3 drive. My problem is that when I issure an "update slots scan", I have : *update slots scan Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: Sony Select Storage resource (1-2): 2 Connecting to Storage daemon Sony at orval:9103 ... 3306 Issuing autochanger "slots" command. Device "SonyDrive" has 8 slots. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 7. 3307 Issuing autochanger "unload slot 7, drive 0" command. 3306 Issuing autochanger "list" command. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=1 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=2 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=3 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=4 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=5 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=6 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=7 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=8 InChanger set to zero. And all my tapes in changer get the flag "In Changer" to 0. I don't want bacula to use the List command. Why Bacula is not loading the next tape before trying to identify it ? As I have no barcode reader, here is the results of mtx status and mtx-changer list : orval bacula # mtx -f /dev/sg1 status Storage Changer /dev/sg1:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Full Storage Element 6:Full Storage Element 7:Full Storage Element 8:Full orval bacula # ./mtx-changer /dev/sg1 list 1: 2: 3: 4: 5: 6: 7: 8: orval bacula # I'm a bit lost now... And I don't know what to do. Did you already had that problem ? Regards, Pivert. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Why is it isuing a list command when no barcode ?
Bacula was working OK before my upgrade 1.36.3 -> 1.38.5. The problem is that when I "update slots scan", I have the following actions : (It even do not load each tape before telling that there is no volname.) *update slots scan Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: Sony Select Storage resource (1-2): 2 Connecting to Storage daemon Sony at orval:9103 ... 3306 Issuing autochanger "slots" command. Device "SonyDrive" has 8 slots. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result is Slot 1. 3307 Issuing autochanger "unload slot 1, drive 0" command. 3306 Issuing autochanger "list" command. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=1 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=2 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=3 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=4 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=5 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=6 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=7 InChanger set to zero. Connecting to Storage daemon Sony at orval:9103 ... 3301 Issuing autochanger "loaded drive 0" command. 3302 Autochanger "loaded drive 0", result: nothing loaded. No VolName for Slot=8 InChanger set to zero. I don't understand why I have the : 3306 Issuing autochanger "list" command. line, because I have no barcode, and the list command will return nothing. orval bacula # mtx -f /dev/sg1 status Storage Changer /dev/sg1:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Full Storage Element 6:Full Storage Element 7:Full Storage Element 8:Full orval bacula # ./mtx-changer /dev/sg1 list 1: 2: 3: 4: 5: 6: 7: 8: orval bacula # I'm a bit lost, I don't know why is my bacula not changing tapes correctly. Perhap's did you already met this problem ? Regards, --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Why is it isuing a list command when no barcode ?
Hello, Sorry for the double post.. It seems that I solved my problem by using the new "AutoChanger" configuration way. BTW, is there a build in transport encryption in bacula 1.38 ? Regards, Le Saturday 11 March 2006 14:54, [EMAIL PROTECTED] a écrit : > Bacula was working OK before my upgrade 1.36.3 -> 1.38.5. > > The problem is that when I "update slots scan", I have the following > actions : (It even do not load each tape before telling that there is no > volname.) > > *update slots scan > Using default Catalog name=MyCatalog DB=bacula > The defined Storage resources are: > 1: File > 2: Sony > Select Storage resource (1-2): 2 > Connecting to Storage daemon Sony at orval:9103 ... > 3306 Issuing autochanger "slots" command. > Device "SonyDrive" has 8 slots. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result is Slot 1. > 3307 Issuing autochanger "unload slot 1, drive 0" command. > 3306 Issuing autochanger "list" command. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=1 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=2 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=3 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=4 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=5 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=6 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=7 InChanger set to zero. > Connecting to Storage daemon Sony at orval:9103 ... > 3301 Issuing autochanger "loaded drive 0" command. > 3302 Autochanger "loaded drive 0", result: nothing loaded. > No VolName for Slot=8 InChanger set to zero. > > > I don't understand why I have the : > 3306 Issuing autochanger "list" command. > line, because I have no barcode, and the list command will return nothing. > orval bacula # mtx -f /dev/sg1 status > Storage Changer /dev/sg1:1 Drives, 8 Slots ( 0 Import/Export ) > Data Transfer Element 0:Empty > Storage Element 1:Full > Storage Element 2:Full > Storage Element 3:Full > Storage Element 4:Full > Storage Element 5:Full > Storage Element 6:Full > Storage Element 7:Full > Storage Element 8:Full > orval bacula # ./mtx-changer /dev/sg1 list > 1: > 2: > 3: > 4: > 5: > 6: > 7: > 8: > orval bacula # > > I'm a bit lost, I don't know why is my bacula not changing tapes correctly. > Perhap's did you already met this problem ? > > Regards, > > > --- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Encryption Actual Status
Hi, I would like to know more about the actual status of the encryptions with Bacula. - Can we encrypt datas on tape ? I see in the FileSet options that there is possible "encryption" option, but it's not documented. Is it hard to implement ? - Can we natively encrypt communications without using stunnel ? I see in the news : You must add --with-openssl to the configure command line if you want TLS communications encryption support. I compiled bacula with openssl, but there is no documentation about how to use that, how to generate certificates, and where to put them. Is the TLS included in the actual windows client ? Regards, --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] DVD does not recognise the media.
Hi ! I'm unable to label my DVD. (bacula 1.38.5) Here is what I do : homer bacula # bconsole Connecting to Director homer:9101 1000 OK: homer-dir Version: 1.38.5 (18 January 2006) Enter a period to cancel a command. *label Using default Catalog name=MyCatalog DB=bacula The defined Storage resources are: 1: File 2: DVD Select Storage resource (1-2): 2 Enter new Volume name: DVD-FULL-0001 Automatically selected Pool: Default Connecting to Storage daemon DVD at homer:9103 ... Sending label command for Volume "DVD-FULL-0001" Slot 0 ... 3910 Unable to open device "DVD-Writer" (/dev/hda): ERR=There is no valid media in the device "DVD-Writer" (/dev/hda). Label command failed for Volume DVD-FULL-0001. Do not forget to mount the drive!!! *q However, if I run the "mediainfo" command, I have good results : homer bacula # "/usr/bin/dvd+rw-mediainfo" /dev/hda INQUIRY:[LITE-ON ][DVDRW SOHW-1673S][JS02] GET [CURRENT] CONFIGURATION: Mounted Media: 1Bh, DVD+R Media ID: RICOHJPN/R00 Current Write Speed: 2.4x1385=3324KB/s Write Speed #0:2.0x1385=2770KB/s GET [CURRENT] PERFORMANCE: Write Performance: 2.4x1385=3324KB/[EMAIL PROTECTED] -> 0] Speed Descriptor#0:00/0 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s READ DVD STRUCTURE[#0h]: Media Book Type: A1h, DVD+R book [revision 1] Legacy lead-out at:2295104*2KB=4700372992 READ DISC INFORMATION: Disc status: blank Number of Sessions:1 State of Last Session: empty Number of Tracks: 1 READ TRACK INFORMATION[#1]: Track State: blank Track Start Address: 0*2KB Next Writable Address: 0*2KB Free Blocks: 2295104*2KB Track Size:2295104*2KB ROM Compatibility LBA: 262144 READ CAPACITY: 1*2048=2048 The logs are showing strange things : homer bacula # tail /var/log/messages Mar 12 18:41:37 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 Mar 12 18:41:38 homer attempt to access beyond end of device Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4 Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 Mar 12 18:41:38 homer attempt to access beyond end of device Mar 12 18:41:38 homer hda: rw=0, want=68, limit=4 Mar 12 18:41:38 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 Mar 12 18:41:40 homer attempt to access beyond end of device Mar 12 18:41:40 homer hda: rw=0, want=68, limit=4 Mar 12 18:41:40 homer isofs_fill_super: bread failed, dev=hda, iso_blknum=16, block=16 homer bacula # So, I tried to burn a DVD with growisofs, and it worked : homer bacula # growisofs -Z /dev/dvd -R -J /mnt/files/celine/Documents.tar.gz Executing 'mkisofs -R -J /mnt/files/celine/Documents.tar.gz | builtin_dd of=/dev/dvd obs=32k seek=0' /dev/dvd: "Current Write Speed" is 2.5x1385KBps. 1.09% done, estimate finish Sun Mar 12 19:38:02 2006 2.17% done, estimate finish Sun Mar 12 19:21:55 2006 3.25% done, estimate finish Sun Mar 12 19:16:03 2006 .. 98.67% done, estimate finish Sun Mar 12 19:04:48 2006 99.76% done, estimate finish Sun Mar 12 19:04:47 2006 Total translation table size: 0 Total rockridge attributes bytes: 257 Total directory bytes: 0 Path table size(bytes): 10 Max brk space used 21000 461128 extents written (900 MB) builtin_dd: 461136*2KB out @ average 2.2x1385KBps /dev/dvd: flushing cache /dev/dvd: closing track /dev/dvd: closing session homer bacula # What could be my problem ? Regards,
[Bacula-users] Mtx-changer issue on Solaris 10 test -e should be test -f
Hi, I think there is a typo in the mtx-changer script debug function. The script fails on the "test -e" line. On solaris, according to the man page, test -e is not available in the sh shell. Here is the output after setting "set= -vx" in the script. debug "Parms: $ctl $cmd $slot $device $drive" + debug Parms: /dev/scsi/changer/c2t4d0 list + test -e /var/bacula/working/mtx.log ./mtx-changer: test: argument expected Changing mtx-changer debug function from debug() { if test -e $dbgfile; then echo "`date +\"%Y%m%d-%H:%M:%S\"` $*" >> $dbgfile fi } To if test -f $dbgfile; then Allows the script to work on my machine. I looked at the current cvs code - it has the test -e. Hope this helps. Regards, Jared Davis --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] can't mount DVD+RW? Read this.
On Sat, 3 Jun 2006 15:27:53 +0200, "Kern Sibbald" <[EMAIL PROTECTED]> said: > What you said in the above paragraph is not strictly correct. To the > best of my knowledge Bacula has no paths hardcoded, and in particular, > the path to the tools in dvd-handler are definitely not hardcoded. > They are defined when Bacula is configured. If the tools do not exist > on your system, then there may be specific defaults. More likely in > your case, you already had the tools in /usr/bin (or perhaps that is > where the rpm expects them). When rebuilding the tools from source, > you have the choice of where to put the binaries, and apparently their > default does not agree with what was previously the case (when you > built Bacula or when the rpms were built). You know, now that I think back to it, you're right. I think I ended up realizing that I needed a patched version of the dvd+rw-tools after I ran configure for bacula itself, resulting in a mismatch. Oops. > > > If you're getting those messages, check /etc/bacula/dvd-handler and > > make sure the definitions near the top of the file match the actual > > locations of your dvd+rw tools. > > This is a good point. I think that the biggest problem here, the one that should be solved, is the fact that it fails in an extremely misleading way, instead of saying something like "program not found". > Unfortunately, your DVD problems may not be over as the current Bacula > support for DVDs is at best BETA. ... they're not problems, they're opportunities! ;) I suppose we should move this over to the dev list, but I take it that some patches to strengthen the DVD support would be well-received? I did see the release note saying DVD support is "Beta quality" -- what other parts of the DVD support need to be improved? Ben _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows-Client doesn't work
Hello! I try to make a backup with the Windows-Client (current Version 1.38.11 or so). First, Windows wasn't able to start the service because the configuration contained unix-like paths. Then I changed the paths like "C:\...". Now, there ist no error message when I start the service but the client terminates immediately. For a moment, I see a dos-box without any content. What can I do to solve this problem? CU, Markus - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] My Windows-Client doesn't work
Hello! I try to make a backup with the Windows-Client (current Version 1.38.11 or so). First, Windows wasn't able to start the service because the configuration contained unix-like paths. Then I changed the paths like "C:\...". Now, there ist no error message when I start the service but the client terminates immediately. For a moment, I see a dos-box without any content. What can I do to solve this problem? CU, Markus - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] My Windows-Client doesn't work
I have WinXP SP2. The Bacula service has the path to exceutable :"c:\Tools\bacula\bin\bacula-fd.exe" /service -c "c:\Tools\bacula\bin\bacula-fd.conf ". System has Full Control to the directory "c:\Tools\bacula\". The bacula.trace says: cassiopeia-fd: ../../lib/jcr.c:154 write_last_jobs seek to 192 cassiopeia-fd: ../../lib/mem_pool.c:404 Freed mem_pool count=4 size=4,004 I don't know, what this means. I wonder you have unix-like paths in your fd-config. My paths are: WorkingDirectory = C:\Tools\bacula\working Pid Directory = C:\Tools\bacula\working I don't have access to the server and the local network this evening but I don't think that there are any problems you wrote. Efren Bravo schrieb: > Which Windows version do you have? > > I've a Bacula client running on WinXP Esp SP2 without problems. > I've only had problems on Win2k SP4 and I've not been able to make it work > until now. > > This's my bacula-fd.conf on win: > ----- > # > # Default Bacula File Daemon Configuration file > # > # For Bacula release 1.38.10 (08 June 2006) -- cygwin 1.5.18(0.132/4/2) > # > # There is not much to change here except perhaps the > # File daemon Name to > # > > # > # List Directors who are permitted to contact this File daemon > # > Director { > Name = dhlrs-dir > Password = "fCNZWvKNCdhmBFdFNe/zIB8TihL7USamhItyZSyZKy6A" > } > > # > # "Global" File daemon configuration specifications > # > FileDaemon { # this is me > Name = dhlrs-fd > FDport = 9102 # where we listen for the director > WorkingDirectory = /bacula/working > Pid Directory = /bacula/working > } > > # Send all messages except skipped files back to Director > Messages { > Name = Standard > director = dhlrs-dir = all, !skipped > } > > > The Bacula service has the path to exceutable :"c:\bacula\bin\bacula-fd.exe" > /service -c "c:\bacula\bin\bacula-fd.conf > and Log on as Local System account. > > Do you checked the windows permissions? > I've: System to Full Control on bacula directory. > > I hope that it helps you > > - Original Message - From: <[EMAIL PROTECTED]> > To: > Sent: Wednesday, August 23, 2006 8:42 AM > Subject: [Bacula-users] My Windows-Client doesn't work > > >> Hello! >> >> I try to make a backup with the Windows-Client (current Version 1.38.11 or >> so). First, Windows wasn't able to start the service because the >> configuration contained unix-like paths. Then I changed the paths like >> "C:\...". >> >> Now, there ist no error message when I start the service but the client >> terminates immediately. For a moment, I see a dos-box without any content. >> >> What can I do to solve this problem? >> >> CU, Markus >> >> >> >> >> --------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ___ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> > > ----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Question regarding messages
Hi, I've been reading documentation and have found no answer for this question I'm about to talk about. I've also tried several combinations, some of them refused by bacula directly, others accepted but not working. In one of your bacula servers, we need a set of jobs to send 2 kind of emails for every job. The only difference between mails os the subject. The differences are on the arguments given to the "mailcommand" entry, as we need one of the mails to have one kind of internal code for automatic processing, and the other mail having a normal combination of % parameters. How can I achieve this? Is this possible? Thanks, Ruben. -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Where did BAT go?
I saw this as well on 2.2.6, but didn't file a bug report on it (sorry.) You could file a bug report for the next guy... Clint On Wed, 30 Jan 2008, Erik P. Olsen wrote: belen wrote: El Miércoles, 30 de Enero de 2008 14:45, Dan Langille escribió: Hi, My install directory is bacula-2.2.7 and the directory of bat is bacula-2.2.7/src/qt-console/bat [snip] Thanks a lot. I thought that was source but I see now that it actually IS the program. It makes me a little uneasy that it ended up there but I'll copy it to what I think should be its proper place and see if it behaves the way it should :-) -- Erik. - 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 - 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
Re: [Bacula-users] Where did BAT go?
Hi, The bug is related to the fact that 'make install' installs everything (bat.conf, etc.) except the executable. If this truly is the authors intent, the bug is in the documentation. Regards, Clint On Thu, 31 Jan 2008, belen wrote: Hi, I think it shouldn't be considered a bug becuase the bacula manual mentions it (configure options: --enable-bat If you have Qt4 >= 4.2 installed on your computer including the libqt4 and libqt4-devel (libqt4-dev on Debian) libraries, and you want to use the Bacula Administration Tool (bat) GUI Console interface to Bacula, you must specify this option. Doing so will build everything in the src/qt-console directory. In addition to the Qt4 libraries, bat needs the qwt package installed on your system. Please see the next configure item for the details.). Belén El Jueves, 31 de Enero de 2008 00:29, [EMAIL PROTECTED] escribió: I saw this as well on 2.2.6, but didn't file a bug report on it (sorry.) You could file a bug report for the next guy... Clint On Wed, 30 Jan 2008, Erik P. Olsen wrote: belen wrote: El Miércoles, 30 de Enero de 2008 14:45, Dan Langille escribió: Hi, My install directory is bacula-2.2.7 and the directory of bat is bacula-2.2.7/src/qt-console/bat [snip] Thanks a lot. I thought that was source but I see now that it actually IS the program. It makes me a little uneasy that it ended up there but I'll copy it to what I think should be its proper place and see if it behaves the way it should :-) -- Erik. - 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 -- Mª Belén Sánchez de la Piedad Administradora de Sistemas Silice TecnologÃa y Servicios C/Avda. José Fernández López,44 06800 Merida Tfno: 924 31 41 15 Movil: 691 661 326 Web: www.silicetelecom.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
Re: [Bacula-users] Error verifying one job
bacula schrieb: > Hi, > > i have 3 Jobs running nightly. Every job has verify-job. One job isnt > verifying right. I got this error: > > 30-Sep 01:05 bacula-dir JobId 227: Verifying against JobId=223 > Job=Datev-Tape.2008-09-29_23.05.00 > 30-Sep 01:05 bacula-dir JobId 227: Bootstrap records written to > /var/lib/bacula/bacula-dir.restore.42.bsr > 30-Sep 01:05 bacula-dir JobId 227: > 30-Sep 01:05 bacula-dir JobId 227: The job will require the following >Volume(s) Storage(s)SD Device(s) > === > 30-Sep 01:05 bacula-dir JobId 227: > 30-Sep 01:05 bacula-dir JobId 227:MontagTape >Tape > 30-Sep 01:05 bacula-dir JobId 227: > 30-Sep 01:05 bacula-dir JobId 227: Start Verify JobId=227 > Level=VolumeToCatalog Job=Datev-Tape-Verify.2008-09-29_23.15.04 > 30-Sep 01:05 bacula-dir JobId 227: Using Device "Tape" > 30-Sep 01:06 bacula-sd JobId 227: Ready to read from volume "Montag" on > device "Tape" (/dev/nst0). > 30-Sep 01:06 bacula-sd JobId 227: Forward spacing Volume "Montag" to > file:block 0:1. > 30-Sep 01:06 bacula-sd JobId 227: Error: block.c:275 Volume data error > at 0:1! Wanted ID: "BB02", got "". Buffer discarded. > 30-Sep 01:06 bacula-dir JobId 227: > c:/DATEV/DATEN/BSOFFICE/DATA/STANDARD/Mustervorlagen/MUSTER_KINDER.DOT > 30-Sep 01:06 bacula-dir JobId 227: > The following files are in the Catalog but not on the Volume(s): > 30-Sep 01:06 bacula-dir JobId 227: c:/DATEV/DATEN/A006/CDBINFO.INI > 30-Sep 01:06 bacula-dir JobId 227: > c:/DATEV/DATEN/BSOFFICE/DATA/STANDARD/Mustervorlagen/MUSTER_SAMMELFRISTVERLAENGERUNGEN_ALLGEMEIN.DOT > > then follow a huge list of files (~21.000) > > I backup the other jobs on the same tape and only this jobs doesnt > verify right. > > What would you guys recommend to do now? > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.8) > AntiVirus: ClamAV 0.94/8356 - Tue Sep 30 03:21:10 2008 > by Markus Madlener @ http://www.copfilter.org > > - > 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=100&url=/ > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Scanned with Copfilter Version 0.84beta3a (P3Scan 2.3.2) > AntiVirus: ClamAV 0.94/8373 - Sat Oct 4 04:00:50 2008 > by Markus Madlener @ http://www.copfilter.org > > no one? :( - 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=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two Disks At Once?
Grant schrieb: > Is it possible to setup jobs to backup to two different disks at the > same time? > > > - > 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=100&url=/ > ___________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Scanned with Copfilter Version 0.84beta3a (P3Scan 2.3.2) > AntiSpam: SpamAssassin 3.2.5 > AntiVirus: ClamAV 0.94/8373 - Sat Oct 4 04:00:50 2008 > by Markus Madlener @ http://www.copfilter.org > > Yes, you have to enable concurrent jobs. and if you like to only have this running once you need to use prioritys to handle the other jobs. <http://bacula.org/en/rel-manual/Basic_Volume_Management.html#SECTION00262> <http://bacula.org/en/rel-manual/Configuring_Director.html#SECTION00143> look at prioritys. cheers - 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=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error verifying one job
John Drescher schrieb: > I believe this means the tape was overwritten or corrupted for some > reason. Since the first block does not have a valid header on it > bacula is not able to go any further. > > John Hi, i tried to restore this job, same error. I cannot imagine why the tape(s) should be corrupted, the other jobs are on the same tape(s) and are restorable. Any way to properly check whats wrong? regards. - 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=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error verifying one job
John Drescher schrieb: > Are there any scsi errors in your dmesg output? Is this tape drive > part of an autochanger? > > John Hi, no i dont see any SCSi errors (its an iDE drive btw), also its not part of an autochanger. - 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=100&url=/ _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula 2.4.3 for Ubuntu Hardy i386/amd64
bacula packages for Ubuntu 8.04 can be found here: http://archive.getdeb.net/dump/hardy/bacula_2.4.3-1~getdeb1/ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.8) AntiVirus: ClamAV 0.94/8447 - Mon Oct 20 03:51:02 2008 by Markus Madlener @ http://www.copfilter.org - 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=100&url=/ _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to make the make_catalog_backup script work?
Hi, i setup a new bacula installation and only thing what isnt working yet is the make_catalog_backup script (im using sqlite3). I use the original script which comes with the Ubuntu packages. heres the output of ls -al in /var/lib/bacula: drwx-- 2 bacula bacula 4096 2008-11-27 15:03 . drwxr-xr-x 51 root root4096 2008-11-27 14:15 .. -rw-r- 1 bacula bacula 49152 2008-11-27 14:57 bacula.db -rw-r- 1 bacula bacula 196 2008-11-27 14:55 bacula-dir.9101.state -rw--- 1 bacula bacula 0 2008-11-27 12:28 bacula-dir.conmsg -rw-r- 1 root root 196 2008-11-27 14:55 bacula-fd.9102.state -rw-r- 1 bacula tape 196 2008-11-27 14:00 bacula-sd.9103.state lrwxrwxrwx 1 root root 20 2008-11-27 12:28 log -> ../../log/bacula/log and here is the output of the dir after i ran the script: drwx-- 2 bacula bacula 4096 2008-11-27 15:13 . drwxr-xr-x 51 root root4096 2008-11-27 14:15 .. -rw-r- 1 bacula bacula 49152 2008-11-27 14:57 bacula.db -rw-r- 1 bacula bacula 196 2008-11-27 14:55 bacula-dir.9101.state -rw--- 1 bacula bacula 0 2008-11-27 12:28 bacula-dir.conmsg -rw-r- 1 root root 196 2008-11-27 14:55 bacula-fd.9102.state -rw-r- 1 bacula tape 196 2008-11-27 14:00 bacula-sd.9103.state -rw-r--r-- 1 root root 0 2008-11-27 15:13 .db lrwxrwxrwx 1 root root 20 2008-11-27 12:28 log -> ../../log/bacula/log -rw-r--r-- 1 root root 27 2008-11-27 15:13 .sql any help would be fine :) thanks in advance =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.8) AntiVirus: ClamAV 0.94/8687 - Thu Nov 27 13:32:31 2008 by Markus Madlener @ http://www.copfilter.org - 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=100&url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fatal error while backup catreq.c:631
Hi all, recently I shifted my bacula director from a linux box to a qnap NAS. Everything went fine beside of the backup of 2 boxes. One is alinux box the other a qnap NAS. They're both trowing the same error catreq.c:631 Unfortunately I wasn't able to find anything about it via google. Hopefully someone of you can help. Please find inline the console log 2017-06-21 00:57:29 qnap-dir Fatal error: catreq.c:631 attribute create error. ERR=\ 2017-06-21 00:57:30 qnap-dir Error: Bacula qnap-dir 7.4.7 (16Mar17): Build OS: x86_64-openwrt-linux-gnu debian 8.7 JobId: 24 Job: shares.2017-06-20_23.05.02_10 Backup Level: Full (upgraded from Incremental) Client: "qnap3-fd" 7.4.7 (16Mar17) x86_64-openwrt-linux-gnu,debian,8.7 FileSet: "ad-shares" 2017-06-18 20:05:30 Pool: "File" (From Job resource) Catalog: "MyCatalog" (From Client resource) Storage: "File1" (From Job resource) Scheduled time: 20-Jun-2017 23:05:02 Start time: 20-Jun-2017 23:05:04 End time: 21-Jun-2017 00:57:30 Elapsed time: 1 hour 52 mins 26 secs Priority: 10 FD Files Written: 350,572 SD Files Written: 0 FD Bytes Written: 63,061,690,304 (63.06 GB) SD Bytes Written: 0 (0 B) Rate: 9348.0 KB/s Software Compression: 100.0% 1.0:1 Snapshot/VSS: no Encryption: no Accurate: no Volume name(s): Vol-0014|Vol-0015 Volume Session Id: 6 Volume Session Time: 1497978429 Last Volume Bytes: 9,525,673,956 (9.525 GB) Non-fatal FD errors: 1 SD Errors: 0 FD termination status: OK SD termination status: SD despooling Attributes Termination: *** Backup Error *** \ All other boxes did worked well. regards Holgi -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem labeling tapes dir and sd on different machines
Hi all, my current setup is director on a vm and sd is running on a qnap nas. Everything went fine runing all daemons on a single virtual machine writing to an nfs mount of the qnap. To improve performance in particualr for the bigger jobs we installed bacula directly on qnap to have the sd running there. Now we got the follwing problem. Autolabeling doesn't work anymore. After starting a job I got the following message: From: root@bacula <mailto:r...@bacula.jws.local> mailto:r...@bacula.jws.local> > Sent: Mon Jul 10 00:05:19 2017 To: admin Cc: Subject: Bacula: Intervention needed for shares.2017-07-09_23.05.00_13 Auto forwarded by a rule 10-Jul 00:05 qnap4-sd JobId 1: Job shares.2017-07-09_23.05.00_13 is waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "FileChgr1-Dev2" (/opt/bacula/tapes) Pool: File Media type: File1 That message never apperead on the single machine setup. The labels were properly autolabeled. Nevertheless I tried to label a tape. user@bacula:~# bconsole Connecting to Director localhost:9101 1000 OK: 1 bacula-dir Version: 7.0.5 (28 July 2014) Enter a period to cancel a command. *label Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" The defined Storage resources are: 1: File1 2: File2 Select Storage resource (1-2): 1 Enter new Volume name: TestVolume001 Defined Pools: 1: Default 2: File 3: Scratch Select the Pool (1-3): 2 Connecting to Storage daemon File1 at qnap4.jws.local:9103 ... Sending label command for Volume "TestVolume001" Slot 0 ... 3000 OK label. VolBytes=195 VolABytes=0 VolType=1 Volume="TestVolume001" Device="FileChgr1-Dev1" (/opt/bacula/tapes) Label command failed for Volume TestVolume001. Do not forget to mount the drive!!! SD creates the volume properly (as fare as I can see in the fielsystem) but director doesn't recognize it. Can someone please point me to the right direction how to get it work? cheers Holger xxx bacula-dir.conf xxxxxxx Director { # define myself Name = bacula-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run" Maximum Concurrent Jobs = 20 Password = "xyz" # Console password Messages = Daemon } JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = bacula-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File1 Messages = Standard Pool = File SpoolAttributes = yes SpoolData = yes Priority = 10 Write Bootstrap = "/var/lib/bacula/working/%c.bsr" } Job { Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" RunAfterJob = "/etc/bacula/scripts/delete_catalog_backup" Write Bootstrap = "/etc/bacula/working/%n.bsr" Priority = 11 # run after main backup } Job { Name = "RestoreFiles" Type = Restore Client= bacula-fd Storage = File1 # The FileSet and Pool directives are not used by Restore Jobs # but must not be removed FileSet="Full Set" Pool = File Messages = Standard Where = /nonexistant/path/to/file/archive/dir/bacula-restores } Job { Name = samba4 JobDefs = DefaultJob Client = samba4-fd FileSet = samba4 Storage = File1 Messages = Standard Client Run Before Job = /root/bin/backups Enabled = no } # List of files to be backed up FileSet { Name = "Full Set" Include { Options { signature = MD5 } File = /opt/sbin } Exclude { File = /opt/bacula/working File = /opt/bacula/tmp File = /proc File = /tmp File = /sys File = /.journal File = /.fsck } } FileSet { Name = samba4 Include { File = /opt File = /srv/home File = /srv/profiles File = /srv/backup Options { Signature = MD5 Compression = GZIP5 } } } Schedule { Name = "WeeklyCycle" Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 } WeeklyCycle Schedule { Name = "WeeklyCycleAfterBackup" Run = Full sun-sat at 23:10 } FileSet { Name = "Catalog" Include { Options { signature = MD5 } File = "/var/lib/bacula/bacula.sql" } } Client { Name = samba4-fd Password = "4711" Address = samba.local FDPort = 9102 C
Re: [Bacula-users] LZO compression on FreeBSD
Le Mon, 3 Jun 2013 23:28:46 + Doug Sampson écrit: > Hello- > > I want to use LZO compression in two of my jobs instead of GZIP. These jobs > back up to hard drives on a FreeBSD 9.1-RELEASE machine. Bacula v5.2.12. > > I installed archivers/lzo2 and verified that /usr/local/lib/liblzo2.so > exists. This was after I had been using Bacula on this particular server for > several years. > > Unfortunately after modifying the bacula-dir.conf to use LZO, the job result > shows 0% software compression for each of these two jobs. > > > Do I need to recompile bacula-server in order to incorporate LZO? I did not > see any make config option for LZO. Hello, yes you need to have LZO include and lib installed in your system AND you need to compile bacula (client, storage and director) in order to get LZO compression support. There is a major compression speed improvement in LZO 2.05 and up on 64bits Intel system. Check that you have at least LZO 2.05. There is no option in configure script like for GZIP compression. The configure script will auto-detect the lib. Please check that your compiler have access to lzo include files and lzo lib. At the end of the configure script execution, you get detailed output with all options/ settings. Check that lzo support is on before compiling bacula. Here is a part of the output with LZO option: Large file support: yes Bacula conio support: no -lreadline -ltinfo readline support: yes TCP Wrappers support: yes -lwrap TLS support: yes Encryption support: yes ZLIB support: yes LZO support: yes enable-smartalloc:yes enable-lockmgr: no bat support: yes enable-gnome: no enable-bwx-console: no enable-tray-monitor: no client-only: no build-dird: yes build-stored: yes Plugin support: yes ACL support: yes XATTR support:yes Python support: yes -lpthread -ldl -lutil -lm -lpython2.7 -lutil -lrt systemd support: no Batch insert enabled: PostgreSQL MySQL SQLite3 Regards. -- Laurent Papier - 03 88 75 80 50 Resp. système - SdV Plurimedia - <http://www.sdv.fr/> -- How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] using new LZ0 compression on BackupFiles with GZIP compression
Le Thu, 13 Mar 2014 14:56:59 +0100 Ralph Cunnington écrit: Hi, > @all, giving: > Bacula 5.2.13 on SLES11 SP1, 3 x Unix-Clients > > I'm wondering if I could change the compression method on-the-fly between > two backups on the same Backup-Files (Append). yes, you can. > Is there information put on the Backup-Files which compression method was > used ? yes, the compression method is stored with the data chunk. > Can I restore from GZIP-Files when LZO is now aktive ? > yes, as long as the client (bacula-fd) used when restoring still support gzip compression. I guess nobody will remove gzip support in his bacula-fd. -- Laurent -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problema with Bscan in Bacula Bersion 3
Dear friends, I try import volume to catalog and show me a error in query, see below: backup:/mnt/bacula/bacula/pc91# /etc/bacula3/bin/bscan -s -m -n bacula -u bacula -P cine798 -c bacula-sd.conf -v -V Vol-pc91-full-dados0035 pc91-dev bscan: butil.c:282 Using device: "pc91-dev" for reading. 18-Nov 10:03 bscan JobId 0: Ready to read from volume "Vol-pc91-full-dados0035" on device "pc91-dev" (/mnt/bacula/bacula/pc91). bscan: bscan.c:309 Using Database: bacula, User: bacula bscan: bscan.c:451 Pool record for pc91-full-dados found in DB. bscan: bscan.c:465 Pool type "Backup" is OK. bscan: bscan.c:475 Media record for Vol-pc91-full-dados0035 found in DB. bscan: bscan.c:493 Media type "pc91-dev" is OK. bscan: bscan.c:503 VOL_LABEL: OK for Volume: Vol-pc91-full-dados0035 bscan: bscan.c:521 SOS_LABEL: Found Job record for JobId: 33 bscan: bscan.c:1037 Fileset "pc91-dados" already exists. bscan: bscan.c:1152 Could not update JobId=1429 record. ERR=sql_update.c:196 Update failed: affected_rows=0 for UPDATE Job SET JobStatus='f',EndTime='2009-11-05 16:38:20',ClientId=2,JobBytes=24454341747,ReadBytes=0,JobFiles=19267,JobErrors=0,VolSessionId=107,VolSessionTime=1255442472,PoolId=10,FileSetId=8,JobTDate=1257446300,RealEndTime='2009-11-05 16:38:20',PriorJobId=0 WHERE JobId=1429 bscan: bscan.c:1250 Created JobMedia record JobId 1429, MediaId 31 18-Nov 10:08 bscan JobId 0: End of Volume at file 5 on device "pc91-dev" (/mnt/bacula/bacula/pc91), Volume "Vol-pc91-full-dados0035" bscan: bscan.c:338-1429 == JobId=0 bscan: bscan.c:970 Updated Media record at end of Volume: Vol-pc91-full-dados0035 18-Nov 10:08 bscan JobId 0: End of all volumes. bscan: bscan.c:970 Updated Media record at end of Volume: Vol-pc91-full-dados0035 bscan: bscan.c:638 End of all Volumes. VolFiles=5 VolBlocks=0 VolBytes=24,459,634,488 Records added or updated in the catalog: 1 Media 1 Pool 1 Job 19267 File The problem is that volume is not imported, any idea ? Thanks Mauricio -- ** Mauricio Bertholino mauri...@bertholino.com.br Fone: 11-7616-0777 ** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup ERROR
Dear, All my backup are with error in termination, a error are in QUERY, see below : 21-Nov 20:21 backup-dir JobId 71: Start Backup JobId 71, Job=dev1-dados.2009-11-21_20.21.28_03 21-Nov 20:21 backup-dir JobId 71: There are no more Jobs associated with Volume "Vol-dev1-full-dados0010". Marking it purged. 21-Nov 20:21 backup-dir JobId 71: All records pruned from Volume "Vol-dev1-full-dados0010"; marking it "Purged" 21-Nov 20:21 backup-dir JobId 71: Recycled volume "Vol-dev1-full-dados0010" 21-Nov 20:21 backup-dir JobId 71: Using Device "dev1-dev" 21-Nov 20:23 backup-sd JobId 71: Recycled volume "Vol-dev1-full-dados0010" on device "dev1-dev" (/mnt/bacula/bacula/dev1), all previous data lost. 21-Nov 20:23 backup-dir JobId 71: Max Volume jobs exceeded. Marking Volume "Vol-dev1-full-dados0010" as Used. 21-Nov 20:34 dev1-fd JobId 71: Generate VSS snapshots. Driver="VSS Win 2003", Drive(s)="CH" 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "System Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:27 backup-sd JobId 71: Job write elapsed time = 22:04:15, Transfer rate = 849.5 K bytes/second 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "FRS Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "TermServLicensing", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "WINS Jet Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "Dhcp Jet Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "NTDS", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "Removable Storage Manager", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "BITS Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "MSDEWriter", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:38 dev1-fd JobId 71: VSS Writer (BackupComplete): "COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE) 22-Nov 18:30 backup-dir JobId 71: Fatal error: sql_create.c:825 Fill File table Query failed: INSERT INTO File (FileIndex, JobId, PathId, FilenameId, LStat, MD5)SELECT batch.FileIndex, batch.JobId, Path.PathId, Filename.FilenameId,batch.LStat, batch.MD5 FROM batch JOIN Path ON (batch.Path = Path.Path) JOIN Filename ON (batch.Name = Filename.Name): ERR=Incorrect key file for table './bacula/File.MYI'; try to repair it 22-Nov 18:30 backup-dir JobId 71: Error: Bacula backup-dir 3.0.3 (18Oct09): 22-Nov-2009 18:30:15 Build OS: i686-pc-linux-gnu debian 4.0 JobId: 71 Job:dev1-dados.2009-11-21_20.21.28_03 Backup Level: Full Client: "dev1-fd" 3.0.3 (18Oct09) Linux,Cross-compile,Win32 FileSet:"dev1-dados" 2009-11-14 01:05:00 Pool: "dev1-full-dados" (From Job resource) Catalog:"MyCatalog" (From Client resource) Storage:"dev1-stor" (From Job resource) Scheduled time: 21-Nov-2009 20:21:21 Start time: 21-Nov-2009 20:21:31 End time: 22-Nov-2009 18:30:15 Elapsed time: 22 hours 8 mins 44 secs Priority: 10 FD Files Written: 231,306 SD Files Written: 231,306 FD Bytes Written: 67,449,611,446 (67.44 GB) SD Bytes Written: 67,497,284,781 (67.49 GB) Rate: 846.0 KB/s Software Compression: 28.9 % VSS:yes Encryption: no Accurate: no Volume name(s): Vol-dev1-full-dados0010 Volume Session Id: 1 Volume Session Time:1258842048 Last Volume Bytes: 67,559,784,461 (67.55 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:*** Backup Error *** 22-Nov 18:30 backup-dir JobId 71: Begin pruning Jobs. 22-Nov 18:30 backup-dir JobId 71: Query failed: CREATE TEMPORARY TABLE DelCandidates (JobId INTEGER UNSIGNED NOT NULL, PurgedFiles TINYINT, FileSetId INTEGER UNSIGNED, JobFiles INTEGER UNSIGNED, JobStatus BINARY(1)): ERR=Table 'DelCandidates' already exists 22-Nov 18:30 backup-dir JobId 71: Begin pruning Files. 22-Nov 18:30 backup-dir JobId 71: No Files found to prune. 2
[Bacula-users] Client work with Windows 7 professional ?
Dear, The client of version 3 are funcional with Windows 7 professional ? someone did the test? Thanks Mauricio -- ** Mauricio Bertholino mauri...@bertholino.com.br Fone: 11-7616-0777 ** -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Version browser problem
Hi, I have a problem with the Bat interface starting with 5.x series. When using the Version Browser, I select the Job, the Client, etc etc, Refresh, I get the list of Directories, I go to the file I want to restore and, at the "Versions of File" panel, I can click any checkbox *except* the one of the most recent backup. Is this some kind of bug, or am I doing something wrong? It doesn't happen with Bat of versions 3.x. Regards, Ruben. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] MaximumVolJobs not working!!!
Hi Pedro, > dolume Retention = 180 days This is should read "Volume Retention = 180 days" Regards, Armin -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] concurrent jobs don't spool at the same time
This is a follow up for the archives. My problem was that the Storage declaration in bacula-dir.conf was missing a the required "Maximum Concurrent Jobs = 20" setting. This is adequately explained in the manual at the following location. http://www.bacula.org/rel-manual/Tips_Suggestions.html#SECTION003817 I missed it several times and want to have it attached to this thread in the archive to save someone else the frustration I experienced. Adam On Thu, 7 Dec 2006, Ryan Novosielski wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Read the manual regarding this. You're missing a "Maximum Concurrent > Jobs" statement, though I couldn't swear whether it goes under Storage > or under Device. That should get you started, however. BTW, you should > really upgrade that FD -- Bacula is not designed to be run with > different, somewhat-major, release versions. > > [EMAIL PROTECTED] wrote: > > Hi all, > > > > I am having trouble with concurrent jobs not spooling in parallel -- they > > spool and despool, one at a time, in sequential order. I only get one job > > running at a time. I want daily backups that write one volume to disk, > > per job, with concurrent jobs that spool in parallel. Can someone please > > help me figure out what I'm doing wrong? My setup follows. > > > > Thank you, > > > > Adam > > > > bacula > > daemon version os > > --- > > director 1.38.11_1 FreeBSD 6.1 > > storage 1.38.11_1 FreeBSD 6.1 > > file 1.36.2debian linux > > > > The director, storage and file daemons have max concurrent jobs set to 20. > > Here are the relevant configuration snippets. > > > > # dir.conf ### > > > > Director { > > Maximum Concurrent Jobs = 20 > > } > > > > JobDefs { > > Pool = Default > > SpoolData = yes > > Spool Attributes = yes > > Maximum Concurrent Jobs = 20 > > } > > > > Storage { > > Name = File > > Device = FileStorage > > Media Type = File > > } > > > > Pool { > > Name = Default > > Pool Type = Backup > > Recycle = yes > > AutoPrune = yes > > Volume Retention = 2 weeks > > # one volume (file) per job > > Maximum Volume Jobs = 1 > > } > > ### > > > > # sd.conf > > > > Storage { > > Maximum Concurrent Jobs = 20 > > } > > > > Device { > > Name = FileStorage > > Media Type = File > > Archive Device = /some/disk > > LabelMedia = yes; > > Random Access = Yes; > > AutomaticMount = yes; > > RemovableMedia = no; > > AlwaysOpen = no; > > Spool Directory = /some/spool > > } > > ### > > > > # fd.conf #### > > > > FileDaemon { > > Maximum Concurrent Jobs = 20 > > } > > > > > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ___ > > Bacula-users mailing list > > Bacula-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bacula-users > > - -- > _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.5 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFeEjemb+gadEcsb4RAkT6AJwN7wo6OSIac7vOVVUp5muqEjk3GQCfR5wT > VRWlIymwy7C11Vtoi8ZR6sE= > =lQfo > -END PGP SIGNATURE- > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] postgres: index/table does not exist
Hi list, I am using freebsd 6.1, bacula 1.38.11_1, and postgresql-server-7.4.13_1. I run concurrent jobs and the following errors seem to appear when attributes are despooling into the catalog. What do these mean and how do I fix them? Jan 27 10:43:56 postgres: [58-1] ERROR: table "delcandidates" does not exist Jan 27 10:43:56 postgres: [59-1] ERROR: index "delinx1" does not exist Jan 27 10:43:56 postgres: [60-1] ERROR: index "delinx1" does not exist Jan 27 10:44:37 postgres: [61-1] ERROR: table "delcandidates" does not exist Jan 27 10:44:37 postgres: [62-1] ERROR: index "delinx1" does not exist Jan 27 10:44:37 postgres: [63-1] ERROR: index "delinx1" does not exist Jan 27 10:51:35 postgres: [64-1] ERROR: table "delcandidates" does not exist Jan 27 10:51:35 postgres: [65-1] ERROR: index "delinx1" does not exist Jan 27 10:51:35 postgres: [66-1] ERROR: index "delinx1" does not exist Jan 27 10:51:36 postgres: [67-1] ERROR: table "delcandidates" does not exist Jan 27 10:51:36 postgres: [68-1] ERROR: index "delinx1" does not exist Jan 27 10:51:36 postgres: [69-1] ERROR: index "delinx1" does not exist Jan 27 10:51:58 postgres: [70-1] ERROR: table "delcandidates" does not exist Jan 27 10:51:58 postgres: [71-1] ERROR: index "delinx1" does not exist Jan 27 10:51:58 postgres: [72-1] ERROR: index "delinx1" does not exist Jan 27 10:53:11 postgres: [73-1] ERROR: table "delcandidates" does not exist Jan 27 10:53:11 postgres: [74-1] ERROR: index "delinx1" does not exist Jan 27 10:53:11 postgres: [75-1] ERROR: index "delinx1" does not exist Jan 27 11:17:50 postgres: [76-1] ERROR: table "delcandidates" does not exist Jan 27 11:17:50 postgres: [77-1] ERROR: index "delinx1" does not exist Jan 27 11:17:50 postgres: [78-1] ERROR: index "delinx1" does not exist Jan 27 11:23:44 postgres: [79-1] ERROR: table "delcandidates" does not exist Jan 27 11:23:44 postgres: [80-1] ERROR: index "delinx1" does not exist Jan 27 11:23:44 postgres: [81-1] ERROR: index "delinx1" does not exist Jan 27 11:56:14 postgres: [82-1] ERROR: table "delcandidates" does not exist Jan 27 11:56:14 postgres: [83-1] ERROR: index "delinx1" does not exist Jan 27 11:56:14 postgres: [84-1] ERROR: index "delinx1" does not exist Jan 27 12:04:06 postgres: [85-1] ERROR: table "delcandidates" does not exist Jan 27 12:04:06 postgres: [86-1] ERROR: index "delinx1" does not exist Jan 27 12:04:06 postgres: [87-1] ERROR: index "delinx1" does not exist Jan 27 12:13:56 postgres: [88-1] ERROR: table "delcandidates" does not exist Jan 27 12:13:56 postgres: [89-1] ERROR: index "delinx1" does not exist Jan 27 12:13:56 postgres: [90-1] ERROR: index "delinx1" does not exist Jan 27 13:02:40 postgres: [91-1] ERROR: table "delcandidates" does not exist Jan 27 13:02:40 postgres: [92-1] ERROR: index "delinx1" does not exist Jan 27 13:02:41 postgres: [93-1] ERROR: index "delinx1" does not exist Jan 27 13:13:38 postgres: [94-1] ERROR: table "delcandidates" does not exist Jan 27 13:13:38 postgres: [95-1] ERROR: index "delinx1" does not exist Jan 27 13:13:38 postgres: [96-1] ERROR: index "delinx1" does not exist Jan 27 13:26:23 postgres: [97-1] ERROR: table "delcandidates" does not exist Jan 27 13:26:23 postgres: [98-1] ERROR: index "delinx1" does not exist Jan 27 13:26:23 postgres: [99-1] ERROR: index "delinx1" does not exist Thank you, Adam ----- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] purging volumes is very slow
Hello, I am putting bacula through it's paces and have run across some slowness when purging volumes. I am using freebsd 6.1, bacula 1.38.11_1, and postgresql-server-7.4.13_1 on a dual xeon with 2GB of ram. I have three 15-spindle raid5 arrays (5.6 TB each) to manage spooling and database needs. Each array can sustain at least 45-55 MiB/s. I do full backups to tape each night and write 920,675,853,003 bytes of 4,717,815 files across 3 400GB LTO-3 tapes. This is only a third of the data that would be archived every 24 hours if I were using bacula in production. I am concerned about the amount of time it takes the catalog to purge a volume. If this were in production, it would have to purge 7-10 volumes from the catalog each night. Is there a way I can speed up the purge process? Is there some specific postgres tuning that would increase delete performance? Actually, I've noticed select and insert performance is pretty bad, too. I'm trying some better disk management strategies that have significantly increased the insert performance (I shortened the nightly backup attribute despool by 13 hours), but deletes still take a long time. Has anyone else gone through this before? How did you solve performance issues? Thank you, Adam ps: I have tuned the freebsd kernel for increased sysv resources as recommended in the postgres manual. Perhaps I need more sysv tuning? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] slow postgres, index/table does not exist
Hi list, I am using freebsd 6.1, bacula 1.38.11_1, and postgresql-server-7.4.13_1. Each night I dump 913,157,728,765 bytes of 5,395,281 files to tape. I spool data and attributes. I will need to almost triple this amount to deploy bacula. Data goes to tape in under 16.5 hours, but attributes continue going into the catalog for over 13 hours afterwards. In other words, I'm still writing the previous night's data to the database when the new day's backup cycle starts. I never get a chance to get an ascii dump of the db before the next backup cycle begins. My untuned postgres is too slow. I'm researching ways to speed it up. If you have pointers, please share. Furthermore, each night has many errors like the following. What do these mean and how do I fix them? postgres[19278]: [324-1] ERROR: index "delinx1" does not exist postgres[19278]: [325-1] ERROR: index "delinx1" does not exist postgres[19278]: [326-1] ERROR: table "delcandidates" does not exist postgres[19278]: [327-1] ERROR: index "delinx1" does not exist postgres[19278]: [328-1] ERROR: index "delinx1" does not exist postgres[19278]: [329-1] ERROR: table "delcandidates" does not exist postgres[19278]: [330-1] ERROR: index "delinx1" does not exist postgres[19278]: [331-1] ERROR: index "delinx1" does not exist postgres[19278]: [332-1] ERROR: table "delcandidates" does not exist postgres[19278]: [333-1] ERROR: index "delinx1" does not exist postgres[19278]: [334-1] ERROR: index "delinx1" does not exist postgres[19278]: [335-1] ERROR: table "delcandidates" does not exist postgres[19278]: [336-1] ERROR: index "delinx1" does not exist postgres[19278]: [337-1] ERROR: index "delinx1" does not exist postgres[19278]: [338-1] ERROR: table "delcandidates" does not exist postgres[19278]: [339-1] ERROR: index "delinx1" does not exist postgres[19278]: [340-1] ERROR: index "delinx1" does not exist postgres[19278]: [341-1] ERROR: table "delcandidates" does not exist postgres[19278]: [342-1] ERROR: index "delinx1" does not exist postgres[19278]: [343-1] ERROR: index "delinx1" does not exist postgres[19278]: [344-1] ERROR: table "delcandidates" does not exist postgres[19278]: [345-1] ERROR: index "delinx1" does not exist postgres[19278]: [346-1] ERROR: index "delinx1" does not exist postgres[19278]: [347-1] ERROR: table "delcandidates" does not exist postgres[19278]: [348-1] ERROR: index "delinx1" does not exist postgres[19278]: [349-1] ERROR: index "delinx1" does not exist Thank you for your help. Bacula is well on its way to replacing our current method of madness. I just need to sort a few more things out. Adam - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Number of files mismatch...again
Hello Jose, On 22 Jan 2007 at 05:12:12 -0800, Jose Molina wrote: > Bacula 1.38.11 on FreeBSD 6, and we're using as a library an HP MSL 2024 > with a HP LTO3 Drive. I am also using freebsd 6.1, bacula 1.38.11_1, and a 24 slot LTO3 tape changer from HP (HP Storageworks MSL2024). I have not experienced the issues you mention. Here are my entries from bacula-sd.conf: Autochanger { Name = MSL2024 Device = LTO3-drive Changer Command = "/usr/local/sbin/chio-bacula %c %o %S %a %d" Changer Device = /dev/ch0 } Device { Name = LTO3-drive Drive Index = 0 Media Type = LTO3 Archive Device = /dev/nsa0 Device Type = Tape AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Offline On Unmount = no Hardware End of Medium = no BSF at EOM = yes Backward Space Record = no Fast Forward Space File = no TWO EOF = yes Maximum Network Buffer Size = 65536 Spool Directory = /spool/tape } I had to adjust the chio-bacula script to use the barcode reader, to offline before unload, repair inverted logic in the loaded aspect, and adjust the slots logic so the script would work for me. It takes me 16.5 hours to dump 900 gigabytes (fill 2.2 LTO3 tapes) of compressed data from 32 machines to tape. Here is one of my daily pools, adjusted for width constraints. Pool: FriTapePool +--++---+---+++-+---+ |id|vol name|volstat|volbytes | v f|slot|media|lastwritten| +--++---+---+++-+---+ |24|AC5760L3|Full |407,196,762,058| 408| 1 |LTO3 | 2007-01-20| |25|AC5761L3|Full |406,973,753,857| 408| 2 |LTO3 | 2007-01-20| |26|AC5762L3|Append | 93,281,786,206| 94| 3 |LTO3 | 2007-01-20| |27|AC5763L3|Append | 1| 0| 4 |LTO3 | | +--++---+---+++-+---+ While that averages about 15.25 MB/s, keep in mind that 32 servers are compressing data and then sending it to bacula all at the same time. Testing showed about an hour increase per server with compression off. Two thirds of the servers achieve compression rates of 50% to 70% while the other third see about 20% - 30%. I need to take daily backups offsite and the compression only helps. When I move to encryption, I won't require more tapes for a daily backup because encrypted data should not compress. This was all for testing bacula. I have to add 150 more machines to the mix, each with 25 to 75 GB of data. Adam - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: Query: DAilsy Chain TwoTape Drive on Bacula
> I have done this in the past with OmniBack. If I had > a two tape backup, > the backup would write to both tapes sequentially, > rather than waiting > for a tape change. Hope this is correct and clears > things up. I too have used this feature in the past (with dvds) and it can be a real time saver. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DLT 40/80GB never reaches 40GB
> Were the tapes ever used in a DLT1 drive? > --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Still can not label DVD+RW media.
I updated my bacula to the latest version in the repository last night built and installed that version. I tried a simple dvd backup but the label command still fails to complete even with rw media. The new problem is the operation never completes (well it was running for about 10 minutes at last check). Here is the label command taken from the gnome-console: label The defined Storage resources are: 1: File 2: DVD Select Storage resource (1-2): 2 Enter new Volume name: DVD0001 Automatically selected Pool: Default Connecting to Storage daemon DVD at jmd0:9103 ... Sending label command for Volume "DVD0001" Slot 0 ... End of Volume "DVD0001" at 0:0 on device "DVD-WRITER" (/dev/dvd) (part_size=0, free_space=0, free_space_errno=0). Remaining free space 0 on "DVD-WRITER" (/dev/dvd) CatReq Job=*System* UpdateMedia VolName=DVD0001 VolJobs=1 VolFiles=0 VolBlocks=0 VolBytes=0 VolMounts=0 VolErrors=0 VolWrites=0 MaxVolBytes=0 EndTime=1129728446 VolStatus=Full Slot=0 relabel=0 InChanger=0 VolReadTime=0 VolWriteTime=0 VolParts=0 And the error log (from the terminal): jmd0-sd: label.c:71 Enter read_volume_label device="DVD-WRITER" (/dev/dvd) vol=DVD0001 dev_Vol=*NULL* jmd0-sd: dev.c:655 rewind_dev fd=8 "DVD-WRITER" (/dev/dvd) jmd0-sd: dvd.c:544 Enter lseek_dev fd=8 part=0 nparts=0 jmd0-sd: dvd.c:554 lseek_dev SEEK_SET to 0 (part_start=0) jmd0-sd: label.c:138 Big if statement in read_volume_label jmd0-sd: label.c:143 Requested Volume "DVD0001" on "DVD-WRITER" (/dev/dvd) is not a Bacula labeled Volume, because: ERR=block.c:949 Read zero bytes at 0:0 on device "DVD-WRITER" (/dev/dvd). jmd0-sd: dev.c:655 rewind_dev fd=8 "DVD-WRITER" (/dev/dvd) jmd0-sd: dvd.c:544 Enter lseek_dev fd=8 part=0 nparts=0 jmd0-sd: dvd.c:554 lseek_dev SEEK_SET to 0 (part_start=0) jmd0-sd: label.c:245 return 2 jmd0-sd: label.c:299 write_volume_label() jmd0-sd: label.c:305 Label type=0 jmd0-sd: dev.c:655 rewind_dev fd=8 "DVD-WRITER" (/dev/dvd) jmd0-sd: dvd.c:544 Enter lseek_dev fd=8 part=0 nparts=0 jmd0-sd: dvd.c:554 lseek_dev SEEK_SET to 0 (part_start=0) jmd0-sd: label.c:538 Start create_volume_label() Volume Label: Id: Bacula 1.0 immortal VerNo : 11 VolName : DVD0001 PrevVolName : VolFile : 0 LabelType : PRE_LABEL LabelSize : 0 PoolName : Default MediaType : DVD PoolType : Backup HostName : jmd0 Date label written: 19-Oct-2005 09:27 jmd0-sd: label.c:527 Created Vol label rec: FI=PRE_LABEL len=154 jmd0-sd: label.c:341 Wrote label of 154 bytes to "DVD-WRITER" (/dev/dvd) jmd0-sd: label.c:344 Call write_block_to_dev() jmd0-sd: block.c:829 Just enough free space on the device to write the current part... jmd0-sd: dev.c:1521 weof_dev jmd0-sd: dvd.c:342 dvd_write_part: device is "DVD-WRITER" (/dev/dvd), part is 0, is_mounted=0 jmd0-sd: dvd.c:69 Exit make_dvd_filename: arch=/tmp/backup/DVD0001 jmd0-sd: dvd.c:357 dvd_write_part: cmd=/etc/bacula/dvd-handler 1 /dev/dvd /tmp/backup/DVD0001 timeout=300 jmd0-sd: dvd.c:69 Exit make_dvd_filename: arch=/tmp/backup/DVD0001 jmd0-sd: dvd.c:375 unlink(/tmp/backup/DVD0001) jmd0-sd: dvd.c:78 Enter mount_dev jmd0-sd: dvd.c:152 Device "DVD-WRITER" (/dev/dvd) cannot be mounted. ERR=mount: wrong fs type, bad option, bad superblock on /dev/dvd, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so jmd0-sd: dvd.c:196 open_mounted_dev: got 0 files in the mount point (not counting ., .. and .keep) jmd0-sd: askdir.c:294 Update cat VolFiles=0 jmd0-sd: askdir.c:313 >dird: CatReq Job=*System* UpdateMedia VolName=DVD0001 VolJobs=1 VolFiles=0 VolBlocks=0 VolBytes=0 VolMounts=0 VolErrors=0 VolWrites=0 MaxVolBytes=0 EndTime=1129728446 VolStatus=Full Slot=0 relabel=0 InChanger=0 VolReadTime=0 VolWriteTime=0 VolParts=0 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Still can not label DVD+RW media.
> I suggest you don't use the label command, but > rather let bacula label > volumes as needed. That's what I've been testing > with and this works here. > When I tried that it said it was waiting for an appendable media: 19-Oct 10:50 jmd0-dir: Start Backup JobId 71, Job=JMD0-Default.2005-10-19_10.50.19 19-Oct 10:50 jmd0-sd: Job JMD0-Default.2005-10-19_10.50.19 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "DVD-WRITER" (/dev/dvd) Media type: DVD Pool: Default 19-Oct 10:50 jmd0-dir: JMD0-Default.2005-10-19_10.50.19 Error: message.c:652 Operator mail program terminated in error. CMD=/usr/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s "Bacula: Intervention needed for JMD0-Default.2005-10-19_10.50.19" [EMAIL PROTECTED] ERR=Child exited with code 1 Is there a problem with my bacula-sd.conf? Device { Name = "DVD-WRITER" Media Type = DVD Archive Device = /dev/dvd LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; MaximumPartSize = 800M; Requires Mount = yes; Mount Point = /mnt/dvd; Mount Command = "/bin/mount -t iso9660 -o ro %a %m"; Unmount Command = "/bin/umount %m"; Spool Directory = /tmp/backup; WritePartCommand = "/etc/bacula/dvd-handler %e %a %v" FreeSpaceCommand = "/etc/bacula/dvd-handler %a %e" } --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Still can not label DVD+RW media.
> I think your are not using correctly the new > dvd-handler scripts (That's > not your fault as the default bacula-sd.conf is > wrong, and the > documentation has not been updated yet). You should > have these lines in > bacula-sd.conf: > WritePartCommand = "/etc/bacula/dvd-handler %a > write %e %v" > FreeSpaceCommand = "/etc/bacula/dvd-handler %a > free" I have this as of last night when I did the update on gentoo. > > Note the new dvd-handler script requires a patched > version of dvd > +rw-tools. The patch can be found in the "patches" > directory of bacula > sources. I did not do that. I'll try and report back. Thanks, John --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Still can not label DVD+RW media.
> > I think your are not using correctly the new > > dvd-handler scripts (That's > > not your fault as the default bacula-sd.conf is > > wrong, and the > > documentation has not been updated yet). You > should > > have these lines in > > bacula-sd.conf: > > WritePartCommand = "/etc/bacula/dvd-handler %a > > write %e %v" > > FreeSpaceCommand = "/etc/bacula/dvd-handler %a > > free" > I have this as of last night when I did the update > on > gentoo. I was wrong about this as the params have changed I will fix and try again. John --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Still can not label DVD+RW media.
After applying the patch, fixing the bacula-sd.conf and clearing the /tmp/backup folder DVD writing seems to be working now. Thanks Nicolas and Arno. Only one question remaning does DVD+R work too? --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] DVD Restore problem when spanning DVD+RWs
I got the following error when trying a restore that spanned two dvds using the cvs code from about 8 hours ago. The first dvd I labeled with the label command as DVD0002. When it was asking for a new disk I inserted the second I and ran the label command with the label DVD0003 but after mounting it decided to label the disk as DVD0001 which I had just purged from the system (this was the disk I could not label this morning). Anyways the backup completed without errors (I believe) but when I tried a complete restore I got the following errors just after the disk change and mount: md0-fd: -rw-r--r-- 1 root root231552 2005-01-21 03:10:55 /tmp/bacula-restores/root/.assistant/contentdb.default jmd0-fd: -rw-r--r-- 1 root root 5983 2004-12-08 19:47:55 /tmp/bacula-restores/root/.mailcap jmd0-fd: -rw--- 1 root root 118 2004-12-01 00:41:43 /tmp/bacula-restores/root/.twmMjGEBX jmd0-fd: -rw-r--r-- 1 root root 106 2005-07-09 22:23:14 /tmp/bacula-restores/root/rmmsp3400.sh jmd0-fd: -rw--- 1 root root 118 2004-12-01 01:53:23 /tmp/bacula-restores/root/.twmOPwctV jmd0-fd: -rw-r--r-- 1 root root 11059692 2005-08-19 08:00:12 /tmp/bacula-restores/root/reactos0.2.6-REL-iso.zip 19-Oct 19:46 jmd0-sd: Got EOF at file 0 on device "DVD-WRITER" (/dev/dvd), Volume "DVD0001" 19-Oct 19:46 jmd0-sd: End of Volume at file 0 on device "DVD-WRITER" (/dev/dvd), Volume "DVD0001" 19-Oct 19:46 jmd0-sd: End of all volumes. jmd0-fd: -rw-r--r-- 1 root root 95 2005-10-15 12:03:23 /tmp/bacula-restores/root/.fonts.cache-1 19-Oct 19:46 jmd0-dir: RestoreFiles.2005-10-19_19.19.11 Error: Bacula 1.37.41 (16Oct05): 19-Oct-2005 19:46:57 JobId: 77 Job: RestoreFiles.2005-10-19_19.19.11 Client: jmd0-fd Start time: 19-Oct-2005 19:19:13 End time: 19-Oct-2005 19:46:57 Files Expected: 50,163 Files Restored: 35,465 Bytes Restored: 4,649,000,421 Rate: 2793.9 KB/s FD Errors: 1 FD termination status: Error SD termination status: OK Termination:*** Restore Error *** 19-Oct 19:46 jmd0-dir: Begin pruning Jobs. 19-Oct 19:47 jmd0-dir: No Jobs found to prune. 19-Oct 19:47 jmd0-dir: Begin pruning Files. 19-Oct 19:47 jmd0-dir: No Files found to prune. 19-Oct 19:47 jmd0-dir: End auto prune. 19-Oct 19:47 jmd0-dir: message.c:454 Mail prog: bsmtp: bsmtp.c:277 Fatal connect error to localhost: ERR=Connection refused 19-Oct 19:47 jmd0-dir: RestoreFiles.2005-10-19_19.19.11 Error: message.c:465 Mail program terminated in error. CMD=/usr/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s "Bacula: Restore Error of jmd0-fd Full" [EMAIL PROTECTED] Thanks, John --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] DVD Restore problem when spanning DVD+RWs
> Hello, > > Is there anything in your spool dir ? (please run a > "ls -l") ls -al /tmp/backup/ -rw-r- 1 root bacula 465842513 Oct 19 18:26 DVD0001 -rw-r- 1 root bacula 190 Oct 19 18:25 DVD0003 > > Could you please try to run bacula-sd with this > command : > bacula-sd -c /etc/bacula/bacula-sd.conf -d100 -f > then send us the output (I'm not interested in > anything before you > change of DVD). > I did that but I have lost the info so I guess I can try the restore a second time. Thanks, John --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How do I get the label of the currently inserted dvd like it does for tapes.
During testing I did not mark my dvds so when I tried to identify them I thought I could just mount them in bacula and the console would display a message like it does for tapes. But it only said that the drive is mounted: 3002 Device "DVD-WRITER" (/dev/dvd) is mounted. I was able to trick bacula (ver 1.38.0 cvs) to tell me the mounted dvd by running the label command and looking at the debug but there has to be a better way? Thanks in Advance, John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] effect of database restart
--- Dan Langille <[EMAIL PROTECTED]> wrote: > On 4 Nov 2005 at 8:17, Ross Boylan wrote: > > > If I restart the database bacula is using, do I > need to restart any of > > the bacula daemons? I'm using postgres, if it > matters. > > I don't think so. Try it. Find out. > We have done this several times as our database server is not on the same machine that runs bacula. As long as you do not have any running jobs you should be ok. I am not sure what happens if any jobs are scheduled when the database is down as we did not test that. John --- 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] Errors updating database from version 8 to 9
I got the following errors when I upgraded my bacula database to version 9 using the update_postgresql_tables script. I was running bacula version 1.36.3 before the bacula upgrade and now I am at 1.38.0. My database is postgresql 7 or possibly postgresql 8. I just wanted to know if this is anything to worry about.. ALTER TABLE UPDATE 33 ALTER TABLE ALTER TABLE UPDATE 33 ALTER TABLE UPDATE 9 ALTER TABLE ALTER TABLE psql::12: ERROR: syntax error at or near "NextPoolId" at character 22 psql::12: LINE 1: ALTER TABLE pool SET NextPoolId=0; psql::12: ^ ALTER TABLE psql::14: ERROR: syntax error at or near "MigrationHighBytes" at character 22 psql::14: LINE 1: ALTER TABLE pool SET MigrationHighBytes=0; psql::14: ^ ALTER TABLE psql::16: ERROR: syntax error at or near "MigrationLowBytes" at character 22 psql::16: LINE 1: ALTER TABLE pool SET MigrationLowBytes=0; psql::16: ^ ALTER TABLE psql::18: ERROR: syntax error at or near "MigrationTime" at character 22 psql::18: LINE 1: ALTER TABLE pool SET MigrationTime=0; psql::18: ^ ALTER TABLE UPDATE 867 ALTER TABLE UPDATE 867 ALTER TABLE UPDATE 33 ALTER TABLE psql::36: NOTICE: CREATE TABLE will create implicit sequence "mediatype_mediatypeid_seq" for "serial" column "mediatype.mediatypeid" psql::36: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "mediatype_pkey" for table "mediatype" CREATE TABLE psql::55: ERROR: syntax error at or near "UNSIGNED" at character 120 psql::55: LINE 5:StorageId INTEGER UNSIGNED, psql::55: ^ psql::62: NOTICE: CREATE TABLE will create implicit sequence "storage_storageid_seq" for "serial" column "storage.storageid" psql::62: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "storage_pkey" for table "storage" CREATE TABLE psql::68: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "status_pkey" for table "status" CREATE TABLE INSERT 23531317 1 INSERT 23531318 1 INSERT 23531319 1 INSERT 23531320 1 INSERT 23531321 1 INSERT 23531322 1 INSERT 23531323 1 INSERT 23531324 1 INSERT 23531325 1 INSERT 23531326 1 INSERT 23531327 1 INSERT 23531328 1 INSERT 23531329 1 INSERT 23531330 1 INSERT 23531331 1 INSERT 23531332 1 INSERT 23531333 1 INSERT 23531334 1 INSERT 23531335 1 DELETE 1 INSERT 23531336 1 VACUUM Update of Bacula PostgreSQL tables succeeded. Thanks, John M. Drescher --- 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] Problem with bacula web
I get the following error in my browser when I try to view the bacula-web page: Fatal error: Call to undefined method DB_Error::numRows() in /www/html/bacula-web/classes.inc on line 158 Any ideas. I am using bacula 1.38.1, bacula gui 1.38.1, apache2 ver 2.0.54-r31 and php 5.0.5-r4. This is on a gentoo system with a 2.6 kernel. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bacula web
--- Danny Butroyd <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > >I get the following error in my browser when I try > to > >view the bacula-web page: > > > >Fatal error: Call to undefined method > >DB_Error::numRows() in > >/www/html/bacula-web/classes.inc on line 158 > > > > > You need to install pear-DB. I have that installed and the test.php works however gentoo recently changed the integration between php and apache2 so I am a little worried that this may be the cause. > This question was > posted last week - and > answered, sometimes its useful to search the > archives ;-) > Sorry about that. It's even worse for me as I have all the list emails still in my email box from the last 3 months (yes all 4000 of them...) John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bacula web
--- [EMAIL PROTECTED] wrote: > --- Danny Butroyd <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > > > > >I get the following error in my browser when I > try > > to > > >view the bacula-web page: > > > > > >Fatal error: Call to undefined method > > >DB_Error::numRows() in > > >/www/html/bacula-web/classes.inc on line 158 > > > > > > > > You need to install pear-DB. > I have that installed and the test.php works however > gentoo recently changed the integration between php > and apache2 so I am a little worried that this may > be > the cause. The problem was with postgres. Our db guy said that it had something to do with a library not compiled into postgres that returns the current size of the database after problems trying to patch and recompile our verson of postgres to use this library he instead compiled in a function so that the call to get the size will always return 1. This worked and bacula-web now runs although some parts of it return errors. John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with bacula web
> The problem was with postgres. Our db guy said that > it > had something to do with a library not compiled into > postgres that returns the current size of the > database > after problems trying to patch and recompile our > verson of postgres to use this library he instead > compiled in a function so that the call to get the > size will always return 1. This worked and > bacula-web > now runs although some parts of it return errors. > I found out the source of the php errors I was getting in bacula-web. Two of my tapes had no lastwritten date (labeled in 1.34.6 but never used) which was causing an error in one of the scripts. After inserting fake values into the date fields for these using psql it looks much better now without the errors. John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on gentoo help resources
did you do: rc-update add bacula default This will auto start bacula after a reboot. If you want it to start now just type: /etc/init.d/bacula start To see if it is started you can do: /etc/init.d/bacula status or better yet ps -ef | grep bacula What version of bacula are you running? If you want I can email you an ebuild I edited for the latest version. John --- Harry Putnam <[EMAIL PROTECTED]> wrote: > Using gentoo linux-2.6.14-gentoo-r2 > > Where can I get gentoo specific help starting to use > bacula? I'm > finding the whole at least first part of the online > tutorial: > > http://www.bacula.org/dev-manual/Brief_Tutorial.html#_ChapterStart1 > > Has too much stuff in it that does not apply to a > gentoo install. > > There is lots of talk of `./bacula start' which > doesn't exist in a > gentoo install. > > Attempts to start bacula-dir fail like this: > bacula-dir -v -d22 > bacula-dir: dird.c:131 Debug level = 22 > 22-Nov 09:24 bacula-dir: Fatal error: Could not > open database "bacula". > 22-Nov 09:24 bacula-dir: Fatal error: mysql.c:169 > Unable to connect > to MySQL server. > Database=bacula User=bacula > It is probably not running or your password is > incorrect. > 22-Nov 09:24 bacula-dir ERROR TERMINATION > Please correct configuration file: > /etc/bacula/bacula-dir.conf > > > Attempts to start the console with `bconsole' fail > like this: > bconsole > > Connecting to Director reader:9101 >22-Nov 09:17 bconsole: Fatal error: bnet.c:775 > Unable to connect >to Director daemon on reader:9101. ERR=Connection > refused > > mysql is running .. not sure about password but the > --help flag on > either of above shows no way to supply one anyway. > > So, I'm really shooting in the dark here and need to > hear from an > experienced user about the baby steps to get > started. > > > > --- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today > Register for a JBoss Training Course. Free > Certification Exam > for All Training Attendees Through End of 2005. For > more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: bacula on gentoo help resources
--- Harry Putnam <[EMAIL PROTECTED]> wrote: > <[EMAIL PROTECTED]> writes: > > > did you do: > > > > rc-update add bacula default > > No, just testing so far. > > > > > This will auto start bacula after a reboot. > > > > If you want it to start now just type: > > /etc/init.d/bacula start > > That fails when it trys to start the director with > error as posted. > > > To see if it is started you can do: > > > > /etc/init.d/bacula status > > Yes, it isn't running do to above failure > > > What version of bacula are you running? If you > want I > > can email you an ebuild I edited for the latest > > version. > > bacula-1.36.3-r2.ebuild > > How is it different than: > > ls /usr/portage/app-backup/bacula/*.ebuild > /usr/portage/app-backup/bacula/bacula-1.36.3-r2.ebuild > > I think part of the trouble is related to mysql. I > can start it with > no problem but attempting to set a password with > mysqladmin fails. > I'm re-emerging it right now since I think I may > have set a password > at some time now forgotten. Hoping it will wipe out > any set password > and I don't see one in /etc/passwd. > > When the emerge finishes I'll try it again. But > even before re-emerge > mysql would start fine with `/etc/init.d/mysql > start' > > Its not clear at all to me exactly what all needs to > be started and in > what sequence, along with the command lines needed > for the starts. > > > > --- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today > Register for a JBoss Training Course. Free > Certification Exam > for All Training Attendees Through End of 2005. For > more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: bacula on gentoo help resources
Sorry about that last empty post... > bacula-1.36.3-r2.ebuild > > How is it different than: > > ls /usr/portage/app-backup/bacula/*.ebuild > /usr/portage/app-backup/bacula/bacula-1.36.3-r2.ebuild The current version of bacula is 1.38.2 which is several months of development ahead of 1.36.3. Although this will not fix your problem as I agree with you it looks like a problem with the database. Did you run the bacula scripts to create the database and grant privileges? And you started mysql? Where there any errors or warnings when you ran these scripts? Also do you have mysql as one of your use flags for bacula? John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: bacula on gentoo help resources
Here is my ebuild for 1.38.2. This is basically a bumped version of the 1.36.3 ebuild. To use make sure you have a PORTDIR_OVERLAY set up in your make.conf. Instructions for this can be found here: http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds I created mine in the standard place /usr/local/portage To do this I added the following line to my make.conf PORTDIR_OVERLAY=/usr/local/portage And then I created the folder mkdir /usr/local/portage So to install the ebuild I do the following: # mkdir -p /usr/local/portage/app-backup/bacula # cp -r /usr/portage/app-backup/bacula/files/ /usr/local/portage/app-backup/bacula/files Then copy the ebuild to the folder /usr/local/portage/app-backup/bacula then # cd to /usr/local/portage/app-backup/bacula # ebuild bacula-1.38.2.ebuild digest Then you can emerge. emerge -u bacula If you previously installed a version of bacula you will have to run the update_bacula_tables script. John bacula-1.38.2.ebuild Description: 4206615897-bacula-1.38.2.ebuild
Re: [Bacula-users] Re: bacula on gentoo help resources
> > Did you run the bacula scripts to create the > database > > and grant privileges? And you started mysql? Where > > there any errors or warnings when you ran these > > scripts? > > Now that is somewhat confusing.. I see a herd of > scripts in > /etc/bacula but nothing explaining how to use them. > At least not in > the tutorial and really no manual comes with even > the tarball even > though it refers you to a `doc' directory, for html > manual there is > none in the tar.gz. Apparently the README's are out > of date. > Ah... This is a little confusing for me too. The reason is the scripts have moved a few times in the last few releases and I believe they have also been renamed so I was not absolutely sure where the script is on your system since I run 1.38.1 and 1.38.2 and I created my databases 6 months to a year ago on version 1.34.6. Anyways the scripts I have that appear to be the correct ones (in my bacula 1.38.1 system) are in /var/lib/bacula create_bacula_database make_bacula_tables grant_bacula_privileges I believe you have to run these in the order I listed above before you can even start bacula. > # /etc/init.d/mysql stop > * Stopping mysqld (/etc/mysql/my.cnf) ... [ !! ] > HOST:reader /etc/bacula > > # /etc/init.d/mysql start > * WARNING: "mysql" has already been started. > HOST:reader /etc/bacula > > Claims to have stopped but then warns its already started. One thing you will learn with gentoo that this claim is not always correct, but in this case the [!!] means that it was still running. To be absolutely sure it is running do this: # ps -ef | grep mysql If there is a line other than the grep line it is still running. If stop does not work you can do this: # pkill mysql # /etc/init.d/mysql zap John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re: bacula on gentoo help resources
> <[EMAIL PROTECTED]> writes: > > First, let me say I didn't realize trying to run > your ebuild involved > a whole new setup of a portage overlay. I'd seen > that term mentioned > on maillist but I've never done any of that. And > don't really want to > get involved in a whole other project here just to > run bacula. > > I understand and I believe Chris promissed a real ebuild in portage so ypu can wait. > So thanks for the package but it appears I need to > back up a few steps > and get a working install from existing packages. I > mean learn what I > need to know to make bacula work with mysql and how > to run emerge to > get the best jump on that. > > > create_bacula_database > > make_bacula_tables > > grant_bacula_privileges > > These all fail currently: (Output included at the > end) > It appears to be related to mysql permisions or > password etc. > > but I'm backing up a few steps and re-emerging first > mysql then bacula > with USE=mysql set hard somewhere. I guess in > /etc/make.conf. > > Chris pointed out that I need bacula added to mysql > access and I'm > currently trying to crack the syntax of > mysqlaccess.conf to get that > done. It is not self evident in the stock *.conf. > To me this looks like setting the use flags will not help as bacula is using mysql. Can you try something? # mysql -p and when it asks for the password enter the root password. If that works I think we have solved this one. Just type quit to quit and then call each script above (create_bacula_database ...) with a -p paramater. It should ask you for the root password. John --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Emerge -u world building older Kernel
--- Harry Putnam <[EMAIL PROTECTED]> wrote: > I've synced portage and run emerge -v -u World > > First thing I see happening is its building a older > kernel than what > I'm running: 2.6.14 but emerge is building: > linux-2.6.11.tar.bz2 > > Why is that? > I just checked and that file is with the package linux-headers. This is normal to emerge headers that are less than your kernel version. I have the same version installed on many of my systems. BTW. if it was emerging gentoo-sources-2.6.11 that would not be a problem as the emerge only unpacks the files in the /usr/src folder. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What do I need to do to get bacula talking to mysql
--- Christoph Haas <[EMAIL PROTECTED]> wrote: > On Thursday 24 November 2005 19:40, Harry Putnam > wrote: > > NEWUSER ALERT! > > ;) > > > Using the scripts supplied with the install: > > ./create_bacula_database -p hpreader > > Creating MySQL database > > Enter password: > > > > *** regardless what is entered here.. it fails: > > ERROR 1045 (28000): Access denied for user > 'root'@'localhost' > > (using password: YES) > > Creation of bacula database failed. The reason why I have suggested that was I got the same exact error when connecting to mysql. I have mysql running and in a root console I type: # mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) jmd0 # The simple fix for this was # mysql -p and then enter the password when it asks. I know the create_bacula_database scripts pass the command line args to the database so just by adding -p and nothing else to the command line this should work. Did yoy try that? I see above that you passed an hpreader along with the -p probably is the problem because mysql treates this as the name of the database. # mysql -p hpreader Enter password: ERROR 1049 (42000): Unknown database 'hpreader' jmd0 # Also did you verify that mysql was running when you tried that? John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] What do I need to do to get bacula talking to mysql
I wanted a clarify my post a little bit, because I beleive I missed a few details... > The reason why I have suggested that was I got the > same exact error when connecting to mysql. I have > mysql running and in a root console I type: > > # mysql > ERROR 1045 (28000): Access denied for user > 'root'@'localhost' (using password: NO) > jmd0 # > This was the error you got when you ran any of the scripts to create the bacula database. I know that these scripts pass the command on to the mysql command (which is a command line client to your mysql database). > The simple fix for this was > > # mysql -p > > and then enter the password when it asks. I know the > create_bacula_database scripts pass the command line > args to the database so just by adding -p and > nothing > else to the command line this should work. Did yoy > try > that? I see above that you passed an hpreader along > with the -p probably is the problem because mysql > treates this as the name of the database. > > > # mysql -p hpreader > Enter password: > ERROR 1049 (42000): Unknown database 'hpreader' > jmd0 # > > > Also did you verify that mysql was running when you > tried that? I know this is not the case because if the server (mysqld) is not running it would give the following error: # mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) I see that your new error is: > ERROR 1045 (28000): Access denied for user 'root'@'localhost' > (using password: YES) Did you add the correct system root password to your /etc/mysql/my.cnf file? After I do that I can run mysql with no -p parameter at all. # mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 to server version: 4.1.14-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. But if I enter the wrong root password in that file I get this error when connecting: # mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) jmd0 ~ # John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] gentoo ebuild?
Here is my ebuild for 1.38.2. This is basically a bumped version of the 1.36.3 ebuild. To use make sure you have a PORTDIR_OVERLAY set up in your make.conf. Instructions for this can be found here: http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds I created mine in the standard place /usr/local/portage To do this I added the following line to my make.conf PORTDIR_OVERLAY=/usr/local/portage And then I created the folder mkdir /usr/local/portage So to install the ebuild I do the following: # mkdir -p /usr/local/portage/app-backup/bacula # cp -r /usr/portage/app-backup/bacula/files/ /usr/local/portage/app-backup/bacula/files Then copy the ebuild to the folder /usr/local/portage/app-backup/bacula then # cd to /usr/local/portage/app-backup/bacula # ebuild bacula-1.38.2.ebuild digest Then you can emerge. emerge -u bacula If you previously installed a version of bacula you will have to run the update_bacula_tables script. John --- Andre Fischer <[EMAIL PROTECTED]> wrote: > hi, > is there anywhere a gentoo ebuild for bacula 1.38.2? > bye > fisch > > > > --- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > bacula-1.38.2.ebuild Description: 4206615897-bacula-1.38.2.ebuild
[Bacula-users] Restore files
Hello list, this is to show the (for me) impressive throughput in restoring files. Client and server are two HP Proliant G3 with 3 Gb RAM and mirrored SCSI disks, connected with a gigabit link. There is a problem in restoring one file (I think it is the last one), which resulted truncated. I tried to repeat the restore for that file only, but I got the same problem. Happy backup and restore to everybody and many thanks to people providing this exceptional tool. 26-Nov 12:31 domino2: RestoreFiles.2005-11-26_11.00.27 Error: attribs.c:339 File size of restored file /uno/notesdata/ravarino/mmonesi.nsf not correct. Original 1132986368, restored 715489280. 26-Nov 12:31 bacula-sd: End of all volumes. 26-Nov 12:31 bacula-dir: RestoreFiles.2005-11-26_11.00.27 Error: Bacula 1.36.3 (22Apr05): 26-Nov-2005 12:31:04 JobId: 3060 Job: RestoreFiles.2005-11-26_11.00.27 Client: domino2 Start time: 26-Nov-2005 11:00:29 End time: 26-Nov-2005 12:31:04 Files Expected: 8,510 Files Restored: 8,510 Bytes Restored: 255,108,659,471 Rate: 46938.1 KB/s FD Errors: 2 FD termination status: Error SD termination status: OK Termination: *** Restore Error *** Ferdinando Pasqualetti --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Auth Problem
I don't believe you have given enough info... Could you post the result of the error you are having along with a fd config on one of your remote clients. John --- [EMAIL PROTECTED] wrote: > Hello List, > > I can`t seem to get my auth working. > I only start one single Job. > > The Address of the client os ok, too. Tcpdump tells > me that the clients > gets some traffic from the server. > > No firewall is active on the client/server. > > I even set really stupid passwords in my config > files: > > SERVER #### > dory:/etc/bacula# grep -R Password * > bacula-dir.conf: Password = "12345" # > Console password > bacula-dir.conf: Password = "12345" # > password for FileDaemon > bacula-dir.conf: Password = "12345" # > password for FileDaemon > bacula-dir.conf: Password = "12345" > bacula-dir.conf: Password = "12345" > bacula-fd.conf: Password = "12345" > bacula-fd.conf: Password = "12345" > bacula-sd.conf: Password = "12345" > bacula-sd.conf: Password = "12345" > bconsole.conf: Password = "12345" > # > > > > client # > marlin:/etc/bacula# grep -R Password * > bacula-fd.conf: Password = "12345" > bacula-fd.conf: Password = "12345" > > > Any ideas? > Thanks, Mario > > > > > --- > This SF.net email is sponsored by: Splunk Inc. Do > you grep through log files > for problems? Stop! Download the new AJAX search > engine that makes > searching your log files as easy as surfing the > web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Volume status error
> Hi, > > Just started using Bacula and completed backup to > the first volume. Now > backup moved to second volume. However, the volume > status for the first > volume shows error. Also the size of data put on the > volume seems larger > than the spec (176G vs 160G). > I'd bet this is because hardware compression is turned on. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula 1.38.4 and debian installation
Hi Guys, I am planning to install bacula 1.38.4 latest version in debian sarge because for bacula there is no latest version of debian package so i need to compile. Can any one give me the list of all the dependency packages for bacula compilation in debian If any one know the installation guide or tutorial for debian that would be great. Thanks for your time
Re: [Bacula-users] bacula killing disks?
> And they access them fast and long. I see an occasional error during > normal disk operations, but lots during backups. Whether it is the > same error rate during both but more accesses during backups so more > errors, or a higher rate during backups, I haven't determined. > > Jeffrey > > You should never see a single hard drive error with a drive made in the last 5 years. Having errors is a sign that either the controller cables, powersupply or hard drive is bad or about to die. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula killing disks?
Is there a promise ide controller on the board? I have had serious problems (with the same error messages that you have posted) with some combinations of promise ide controllers, kernels. My solution was either to disable dma or replace the controller with a hotpoint one. John --- "Jeffrey L. Taylor" <[EMAIL PROTECTED]> wrote: > Quoting [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > Yes, I know. I am busily trying to determine which of the many > > > possible problems. You left out one possible cause, wrong software, > > > i.e., incorrect drivers. > > I considered that but I dismissed it because I was thinking more of hard > > errors. > > What type of error messages are you getting? > > > > John > > an 28 15:53:49 pogo kernel: hda: dma_intr: status=0x51 { DriveReady > SeekComplete > Error } > Jan 28 15:53:49 pogo kernel: hda: dma_intr: error=0x84 { DriveStatusError > BadCRC } > Jan 28 15:53:49 pogo kernel: ide: failed opcode was: unknown > > I am not clear from the message whether the controller or other entity > is complaining about an unknown opcode or the operation that caused > the error is uncertain. > > I think the problem started around the time I replaced the > motherboard. It is an ABIT with the NFORCE2 controller chips. > > Jeffrey > --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula killing disks?
> On Mon, 30 Jan 2006, [EMAIL PROTECTED] wrote: > > We have this same issue related to promise controllers on our backup > server, However we haven't migrated to Bacula yet, we're still using the > freeware > version of Arkeia. > Yes, I forgot to mention that. My problem had nothing to do with bacula but to do with software raid 5. It seems that under high load dma fails on some promise controllers and some kernel versions. I also want to make one correction to my last email. The controller I replaced my promise controllers with is a highpoint rocket raid 454 card not hotpoint which I believe makes large kitchen appliances :-) John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dir and SD can not connect
> Are you certain that the storage daemon is actually running? 'ps -A' & > look for a line with 'bacula-sd'. > Agreed, If you have the set the same password on the both machines this it is highly likely that the director is not running. Did you remember to add bacula to the startup scripts on the machine running the director? Did you reboot the director machine or start the daemon manually? John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dir and SD can not connect
> When I do a ./bconsole and then status. I choose 4 and it says that all the > daemons are running. That is odd because to generate the status it connects using the password. Are you using just one machine at the moment that has all the daemons installed? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dir and SD can not connect
I see all daemons are started. Could you post your bacula-sd.conf? And did you edit any of the .conf files after you started the daemons? John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dir and SD can not connect
> Director { > Name = ninja3-mon > Password = "170lKcTnVSAwDoqTiO7eZScbIXSYAjVtn5dKl6/CSPWI" > Monitor = no > } Hmm. I have Monitor = yes here but I do not think this is your problem. I assume ninja3 is the name of the one machine that you are running bacula on. Is ninja3 in your /etc/hosts file? John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dir and SD can not connect
> Didn't edit a thing except made sure all the passwords matched. > The reason I asked that is any change at all in any of the .conf files with bacula running requires either bacula to be restarted (all daemons that are involved in the change) or you to execute reload in the the bconsole window. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dir and SD can not connect
> trust me, I've done all of that. > I have a few questions. What version of bacula are you running? What os / version / kernel are you running? And could you post your bacula-dir.conf? Als o are your conf files in /etc/bacula or /var/lib/bacula or somewhere else? Are you sure bacula is using the correct .conf files? I ask the last question because with my setup (gentoo) there was a problem in the past with the location of the .conf files. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem labeling DVD on amd64
> Hi! > > I'm using bacula to backup on DVD. I was using bacula-1.37.40 on a > gentoo x86 (wihtout any problem) system before and switched to an amd64 > arch. After my switch, i've decided to install the latest stable version > of bacula (1.38.5). In the 2 scenarios, i'm using the patched version of > dvd+rw-tools. During the switch, my volume was not full and > bacula-1.38.5 on gentoo amd64 installation did complete the volume > wihtout any problem. But after the volume was full, i've put another > media just to find out that my new installation was not able to label > media anymore. > > First, a little question to see if i get it right: > > - Does bacula use dvd-handler to label the DVD? > > Cause if i'm right, i'm able to use it to put the label on the DVD; > > /usr/local/bacula/etc/dvd-handler /dev/dvd write 1 NEO_7 > > is doing OK and i can mount the DVD after that. > > I've also tried to use my bacula-1.37.40 x86 installation on my amd64 > machine but still no luck. I've also tried to install the latest CVS > version (1.92) but was not able to compile bacula-sd (scan.c seems > missing). > > I've attached the debug information of bacula when i try to label a > media. > > Thanks a lot for your help! > > saloon-dir: ua_label.c:652 label DVD-WRITER VolumeName=NEO_7 > > PoolName=Default > MediaType=DVD Slot=0 drive=-1 > saloon-sd: dircmd.c:194 PoolName=Default > MediaType=DVD Slot=0 drive=-1saloon-sd: dircmd.c:208 Do command: label > saloon-sd: dircmd.c:513 Found device DVD-WRITER > saloon-sd: dircmd.c:551 Found changer device DVD-WRITER > saloon-sd: dircmd.c:395 Stole device "DVD-WRITER" (/dev/dvd) lock, writing > label. > saloon-sd: dev.c:277 open dev: tape=0 dev_name="DVD-WRITER" (/dev/dvd) > vol=NEO_7 > mode=OPEN_READ_WRITE > saloon-sd: dev.c:283 call open_dvd_device mode=OPEN_READ_WRITE > saloon-sd: dev.c:470 Enter: open_dvd_dev: DVD dev= mode=OPEN_READ_WRITE > saloon-sd: dev.c:487 open_dvd_device: num_parts=0, VolCatInfo.VolCatParts=0 > saloon-sd: dvd.c:78 Enter mount_dev > saloon-sd: dvd.c:125 do_mount_dev: cmd=sudo /bin/mount -t iso9660 -o ro > /dev/dvd > /mnt/dvd mounted=0 > saloon-sd: dvd.c:117 === DVD mount=0 > saloon-sd: dvd.c:152 Device "DVD-WRITER" (/dev/dvd) cannot be mounted. > ERR=mount: > wrong fs type, bad option, bad superblock on /dev/dvd, >missing codepage or other error >In some cases useful info is found in syslog - try >dmesg | tail or so > > > saloon-sd: dvd.c:190 open_mounted_dev: ignoring . in /mnt/dvd > saloon-sd: dvd.c:190 open_mounted_dev: ignoring .. in /mnt/dvd > saloon-sd: dvd.c:182 open_mounted_dev: failed to find suitable file in dir > /mnt/dvd (dev="DVD-WRITER" (/dev/dvd)) > saloon-sd: dvd.c:196 open_mounted_dev: got 0 files in the mount point (not > counting ., .. and .keep) > saloon-sd: dvd.c:206 DVD mount=0 > saloon-sd: dvd.c:78 Enter mount_dev > saloon-sd: dvd.c:125 do_mount_dev: cmd=sudo /bin/mount -t iso9660 -o ro > /dev/dvd > /mnt/dvd mounted=0 > saloon-sd: dvd.c:117 === DVD mount=0 > saloon-sd: dvd.c:152 Device "DVD-WRITER" (/dev/dvd) cannot be mounted. > ERR=mount: > wrong fs type, bad option, bad superblock on /dev/dvd, >missing codepage or other error >In some cases useful info is found in syslog - try >dmesg | tail or so > > > saloon-sd: dvd.c:190 open_mounted_dev: ignoring . in /mnt/dvd > saloon-sd: dvd.c:190 open_mounted_dev: ignoring .. in /mnt/dvd > saloon-sd: dvd.c:182 open_mounted_dev: failed to find suitable file in dir > /mnt/dvd (dev="DVD-WRITER" (/dev/dvd)) > saloon-sd: dvd.c:196 open_mounted_dev: got 0 files in the mount point (not > counting ., .. and .keep) > saloon-sd: dvd.c:206 DVD mount=0 > saloon-sd: dvd.c:248 update_free_space_dev: > cmd=/usr/local/bacula/etc/dvd-handler > /dev/dvd free > saloon-sd: dvd.c:257 Free space program run : 4689887232 > No Error reported. > > saloon-sd: dvd.c:292 update_free_space_dev: free_space=4689887232 > freespace_ok=1 > free_space_errno=0 have_media=1 > saloon-sd: dev.c:514 Could not mount device "DVD-WRITER" (/dev/dvd), this is > not a > problem (num_parts == 0), and have media. > saloon-sd: dev.c:533 open dev: DVD dev= mode=OPEN_READ_WRITE part=0 npart=0 > volcatnparts=0 > saloon-sd: dev.c:535 openmode=2 OPEN_READ_WRITE > saloon-sd: dvd.c:69 Exit make_dvd_filename: arch=/home/bacula/work/NEO_7 > saloon-sd: dev.c:552 mode=OPEN_READ_WRITE open(/home/bacula/work/NEO_7, 0x42, > 0640) > saloon-sd: dev.c:576 after open fd=5 > saloon-sd: dvd.c:559 Enter lseek_dev fd=5 pa
Re: [Bacula-users] problem labeling DVD on amd64
> I've just done that and found nothing that fit my case. It was working > ok I tried a few times with several versions (1.37.XX) of bacula and I never got it to work well enough to trust it. For the most part the label command did not work. I remember that autolabeling worked under some cases and this was the only way I could get bacula to write to the media at all. > before and i can use the dvd-handler script to write to the DVD and > also, my line in bacula-sd.conf is : > > WritePartCommand = "/usr/local/bacula/etc/dvd-handler %a write %e %v" > > which seems to be fine... I have the same line. Sorry that I have not been any help. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem labeling DVD on amd64
> That's not what i get : > > # mount -t iso9660 /dev/dvd /mnt/dvd/ > # mount | grep dvd > /dev/hda on /mnt/dvd type iso9660 (rw) > > so i format the dvd : > > # umount /dev/dvd > # dd if=/dev/zero bs=1024 count=512 | growisofs -Z /dev/dvd=/dev/fd/0 > # mount -t iso9660 /dev/dvd /mnt/dvd/ > mount: wrong fs type, bad option, bad superblock on /dev/dvd, >missing codepage or other error >In some cases useful info is found in syslog - try >dmesg | tail or so > The last error message is expected as there is no file system on the dvd. > so back to bacula console : > > #label > Automatically selected Storage: DVD-WRITER > Enter new Volume name: Unexpected question has been received. > NEO_7 > Automatically selected Pool: Default > Connecting to Storage daemon DVD-WRITER at saloon:9103 ... > Sending label command for Volume "NEO_7" Slot 0 ... > 3000 OK label. Volume=NEO_7 Device="DVD-WRITER" (/dev/dvd) > Catalog record for Volume "NEO_7", Slot 0 successfully created. > Requesting to mount DVD-WRITER ... > 3907 Device "DVD-WRITER" (/dev/dvd) cannot be mounted. ERR=mount: wrong > fs type, bad option, bad superblock on /dev/dvd, >missing codepage or other error >In some cases useful info is found in syslog - try >dmesg | tail or so > > > Do not forget to mount the drive!!! > Sorry, I have debugging on and the error message goes to a different console. Here is the error I get for that command: jmd0-sd: dircmd.c:388 Stole device "DVD-WRITER" (/dev/dvd) lock, writing label. jmd0-sd: dev.c:277 open dev: tape=0 dev_name="DVD-WRITER" (/dev/dvd) vol=Test001 mode=OPEN_READ_WRITE jmd0-sd: dev.c:283 call open_dvd_device mode=OPEN_READ_WRITE jmd0-sd: dev.c:494 Enter: open_dvd_dev: DVD dev= mode=OPEN_READ_WRITE jmd0-sd: dev.c:511 open_dvd_device: num_parts=0, VolCatInfo.VolCatParts=0 jmd0-sd: dvd.c:78 Enter mount_dev jmd0-sd: dvd.c:152 Device "DVD-WRITER" (/dev/dvd) cannot be mounted. ERR=mount: wrong fs type, bad option, bad superblock on /dev/dvd, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so jmd0-sd: dvd.c:196 open_mounted_dev: got 0 files in the mount point (not counting ., .. and .keep) jmd0-sd: dvd.c:78 Enter mount_dev jmd0-sd: dvd.c:152 Device "DVD-WRITER" (/dev/dvd) cannot be mounted. ERR=mount: wrong fs type, bad option, bad superblock on /dev/dvd, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LTO3 performance
> We've got a HP DL/585, looks like same drive, dedicated SCSI-attached. > The lowest rate I saw on our simple btape fill was 58MB/sec. As for real > backup rates, various hosts give different speeds. With all four hosts > running 1.38.3 compiled from source, our most recent full backups gave > speeds of 34.6 (largest volume), 3.5, 14.4, and 5.3MB/s. The best I've > seen is in the 40s. None of this is using concurrent jobs or any > tweaking of settings, so hopefully this will improve a little once a bit > of effort is invested. ?? confused ?? You are doing backups over a network? Are you running a gigabit network? John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LTO3 performance
> Yes over a network except the fastest one (where all of our data lies), > mostly over gigabit. The two slowest hosts are due for retirement in the > next few months. > Greg. Without 100% gigbit (no 100MBit links/switches routers...) or better between the bacula server and the data you will not get better than 10MB/s, this is why I asked that. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LTO3 performance
> Indeed. However even for those hosts that do have 100Mb somewhere > between them and the tape drive, one might expect better than 3.5MB/s - > as I said, with some tweaking. > > Another speed factor we've noticed (which has possibly been discussed ad > nauseum elsewhere on this list) is that our full backup on one machine > runs at some 14MB/s, then its incrementals all run in the 40s. We are > quite sure that this is due to it backing up a large file (a VMWare > instance) in every incremental, compared with all of the little files in > the full. > Sorry, about questioning this so much. I recently got into an argument where I work (hospital environment) where the person incharge of network planning said that they have done benchmarks and gigabit does not inprove performance by much so it did not warrant the cost. They obviously have never had to backup 16TB of data that I have to deal with, but I admit the cost they were talking about > $1000 per network port was just plain nuts to me. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LTO3 performance
I have a few questions about your bakups. Is there a thousands of small files? Do you have compression set or a signiture in the file set resource? Are you using data spooling? Is the database on the same machine as the bacula server? What version of bacula are you using? Sorry if you answered these before. John --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Help me.................
> This problem is solved but now new problem has arise > when i start ./bconsole at that time it will run fine > but after some time (2 minute)it get hang, when i give > command > --- > *status > Status available for: > 1: Director > 2: Storage > 3: Client > 4: All > Select daemon type for status (1-4): 3 > The defined Client resources are: > 1: Server-fd > 2: cumin-fd > 3: cardomom-fd > 4: ads-fd > Select Client (File daemon) resource (1-4): 4 > Connecting to Client ads-fd at 10.10.200.96:9102 > Failed to connect to Client ads-fd. This means the client on ads-fd is either not running, the passwords (in your conf files) are not the same, or the network can't commnuicate. > --- > after that i have to again restart daemons with > command ./bacula restart. then again it will work fine > but after some time it get hang. > > i have found that i have mysql database but inside > that there is no any databases like bacula and mysql. > so is it necessary that these 2 database should be > exist in mysql database. can i manually create > databases (bacula and mysql) throuch script. > -- > ./create_bacula_database > ./create_mysql_database > ----- > once i trayed to run this script manually i give > error like > > [EMAIL PROTECTED] bacula]# ./create_mysql_database > ERROR 1045 (28000): Access denied for user > 'root'@'localhost' (using password: NO) > Creation of bacula database failed. > Do you have a root password set for mysql? If so you have to pass a -p to these scripts for them to prompt you for the password. I am a little confused by your situation, because if you have no bacula database the director will not start at all (at least for me) and if you have no director than bconsole will fail to connect. John --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to check bacula is working or not
You have your one tape in the TuesdayPool while your backup job is requesting a tape from the Default pool. John --- david robert <[EMAIL PROTECTED]> wrote: > Hi, > > Finally i have installed and bacula is running and i have configured > director.Now i want to check my bacula is working or not with scheduled job.I > can > run using run command from bconsole to run manually my question is i have > inserted > a tape and when i try to run the job it is giving following error in status i > have > tried to label this volume but still it is not working > > 07-Mar 15:01 backup01-sd: Job NightlySavemqe2.2006-03-07_14.55.07 waiting. > Cannot find any appendable volumes. > Please use the "label" command to create a new Volume for: > Storage: DLT-VS160 > Media type: DLT > Pool: Default > > But to night i have scheduled one job with volume name as follows > > Pool: TuesdayPool > +-++---+--+--+--+-+--+---+---+-+ > | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | > Recycle > | Slot | InChanger | MediaType | LastWritten | > +-++---+--+--+--+-+--+---+---+-+ > | 2 | Tuesday| Append|1 |0 | 432,000 | > 1 > |0 | 1 | DLT | -00-00 00:00:00 | > +-++---+--+--+--+-+--+---+---+-----+ > > This is correct or not this is going to run tonight > > if i want to run manually bacula jobs are working or not how do i do this > > Thanks for your help > > > > - > Yahoo! Photos � NEW, now offering a quality print service from just 8p a > photo. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Trouble restoring backed up file
--- Michael Morgan <[EMAIL PROTECTED]> wrote: > I am trying to restore a single file or directory from a full backup > job. However, when I specify the jobid in the console, it just sits > there telling me it is building the file tree. I tried it from a > smaller, incremental job, and it seemed to build the tree ok, but this > large full backup just doesn't happen. > > The backup job is 102k file count and approximately 18GB. How long > should I expect this to take to build the file tree? > This can be a very long time (1 hour or more) if you are using an older version of bacula or do not have the indexes setup correctly in a more recent version. John --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula/bat build reporting "cut: stdin: Illegal byte sequence"
hi, building bacula-trunk from src. "./configure ..." reports ... Creating bat Makefile cut: stdin: Illegal byte sequence cut: stdin: Illegal byte sequence cut: stdin: Illegal byte sequence cut: stdin: Illegal byte sequence Configuration on Thu Aug 2 07:59:56 PDT 2007: ... right befor completing i /can/ subsequently build the client, server & bat gui without apparent error. bat gui launches (some quirks, but i'll get to those later ...) question: are those " cut: stdin: Illegal byte sequence" a problem, or just a warning? thanks. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Virus WARNING!
Hi, [EMAIL PROTECTED] have sent you a mail containing the virus "HTML.Phishing.Bank-52". The mail were deleted. --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Virus WARNING!
Hi, [EMAIL PROTECTED] have sent you a mail containing the virus "HTML.Phishing.Pay-6". The mail were deleted. --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Virus WARNING!
Hi, [EMAIL PROTECTED] have sent you a mail containing the virus "HTML.Phishing.Auction-16". The mail were deleted. --- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
I wanted to upgrade from version 1.34.6 to 1.36.3 but when I go to start bacula I get an error about my PostgreSQL database configuration. It says something about expected version 8 but got 7 and terminates the init script for the bacula director. Normally I would have just upgraded the database however in my case the db is on a different linux box and serves many other applications so we are not ready to move to PostgreSQL 8. Does version 1.36.3 require PostgreSQL 8? I am running 64 bit gentoo linux on an Opteron 246 system with 4GB of memory, a DLT-IV tape drive and around 2.5 TB software raid 6 configured with 17 250 GB SATA disks. "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
Thank You. Now my only problem is I have a second server that is using version 1.34.6 and using the same database. I assume if I upgrade the database with the upgrade script I will have to upgrade bacula on the other box. Thanks Again, John --- Dan Langille <[EMAIL PROTECTED]> wrote: > On 20 Jul 2005 at 22:44, Dan Langille wrote: > > > On 20 Jul 2005 at 18:52, > [EMAIL PROTECTED] wrote: > > > > > I wanted to upgrade from version 1.34.6 to > 1.36.3 but > > > when I go to start bacula I get an error about > my > > > PostgreSQL database configuration. It says > something > > > about expected version 8 but got 7 and > terminates the > > > init script for the bacula director. > > > > This sounds like you did not run the Bacula > upgrade script. This > > will perform the necessary database changes to > migrate you from db > > version 8. > > I mean: form db version 7 to db version 8. These > are Bacula-specific > versions and used internally to ensure the code > doesn't use an > outdated database. > > -- > Dan Langille : http://www.langille.org/ > BSDCan - The Technical BSD Conference - > http://www.bsdcan.org/ > > > > > --- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] SOLVED: Win32 client drops connection -- nForce gigabit NIC implicated
> Any other users who run into this problem on similar > hardware might want > to try using a non-nForce NIC. > Did you have the firewall software turned on?? I have nForce NICs on several Opteron and Athlon64s with no problems after disabling the nVidia firewall which was preventing me from connecting to the domain controller. And this is at Gigabit mode as we have a mostly Gigabit network in our department. John --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore job that spans more than one tape.
I recently ran a backup job that spanned 4 tapes (DLT-IV) and since this is one of the first backups on this system (x86_64) I renamed the source directory and tried to do a complete restore to verify that my data is safe. When I ran the restore the job stopped at the end of the first tape stating that there were no more volumes to restore and the last file was the wrong size. What am I doing wrong? I was running bacula 1.34.6 to back up the data but this version would not restore it at all (all output files were zero bytes) so switched to version 1.36.3. Which I ran this restore job. Here is the last few lines from the gnome console: 02-Aug 20:35 dicom-sd: End of Volume at file 52 on device /dev/st0, Volume "TMImages-" 02-Aug 20:35 dicom-sd: TMImagesRestore.2005-08-02_16.37.46 Warning: Wrong Volume mounted on device /dev/st0: Wanted TMImages-0001 have TMImages- 02-Aug 20:35 dicom-dir: TMImagesRestore.2005-08-02_16.37.46 Fatal error: sql_get.c:823 sql_get.c:823 query SELECT MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock FROM Media WHERE VolumeName='TMImages-0001' failed: ERROR: column "endfile" does not exist 02-Aug 20:35 dicom-sd: TMImagesRestore.2005-08-02_16.37.46 Warning: acquire.c:192 Error getting Volume info: 1997 Volume "TMImages-0001" not in catalog. 02-Aug 20:35 dicom-sd: End of all volumes. 02-Aug 20:35 dicom-fd: TMImagesRestore.2005-08-02_16.37.46 Error: attribs.c:339 File size of restored file /mnt/md1/clean/images/TM/Original/Site1/Site001/4606/7004582.img not correct. Original 32559616, restored 23986176. 02-Aug 20:35 dicom-dir: TMImagesRestore.2005-08-02_16.37.46 Error: Bacula 1.36.3 (22Apr05): 02-Aug-2005 20:35:44 JobId: 719 Job: TMImagesRestore.2005-08-02_16.37.46 Client: dicom-fd Start time: 02-Aug-2005 16:37:49 End time: 02-Aug-2005 20:35:44 Files Expected: 9,315 Files Restored: 4,524 Bytes Restored: 51,707,737,523 Rate: 3622.3 KB/s FD Errors: 1 FD termination status: Error SD termination status: Error Termination:*** Restore Error *** 02-Aug 20:35 dicom-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal connect error to localhost: ERR=Connection refused 02-Aug 20:35 dicom-dir: TMImagesRestore.2005-08-02_16.37.46 Error: message.c:473 Mail program terminated in error. CMD=/usr/sbin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s "Bacula: Restore Fatal Error of dicom-fd Full" [EMAIL PROTECTED] ERR=Child exited with code 1 Could this be a result of a bad upgrade of the database? When I ran the upgrade script it said that it ran seccusfully, however there were warnings that user bacula was not the data base owner. I am using a postgresql database on a second linux box. Thanks in Advance, John M. Drescher --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore job that spans more than one tape.
--- [EMAIL PROTECTED] wrote: > I recently ran a backup job that spanned 4 tapes > (DLT-IV) and since this is one of the first backups > on > this system (x86_64) I renamed the source directory > and tried to do a complete restore to verify that my > data is safe. When I ran the restore the job stopped > at the end of the first tape stating that there were > no more volumes to restore and the last file was the > wrong size. What am I doing wrong? I was running > bacula 1.34.6 to back up the data but this version > would not restore it at all (all output files were > zero bytes) so switched to version 1.36.3. Which I > ran > this restore job. > > Here is the last few lines from the gnome console: > > 02-Aug 20:35 dicom-sd: End of Volume at file 52 on > device /dev/st0, Volume "TMImages-" > 02-Aug 20:35 dicom-sd: > TMImagesRestore.2005-08-02_16.37.46 Warning: Wrong > Volume mounted on device /dev/st0: Wanted > TMImages-0001 have TMImages- > 02-Aug 20:35 dicom-dir: > TMImagesRestore.2005-08-02_16.37.46 Fatal error: > sql_get.c:823 sql_get.c:823 query SELECT > MediaId,VolumeName,VolJobs,VolFiles,VolBlocks,VolBytes,VolMounts,VolErrors,VolWrites,MaxVolBytes,VolCapacityBytes,MediaType,VolStatus,PoolId,VolRetention,VolUseDuration,MaxVolJobs,MaxVolFiles,Recycle,Slot,FirstWritten,LastWritten,InChanger,EndFile,EndBlock > FROM Media WHERE VolumeName='TMImages-0001' failed: > ERROR: column "endfile" does not exist > > 02-Aug 20:35 dicom-sd: > TMImagesRestore.2005-08-02_16.37.46 Warning: > acquire.c:192 Error getting Volume info: 1997 Volume > "TMImages-0001" not in catalog. > > 02-Aug 20:35 dicom-sd: End of all volumes. > 02-Aug 20:35 dicom-fd: > TMImagesRestore.2005-08-02_16.37.46 Error: > attribs.c:339 File size of restored file > /mnt/md1/clean/images/TM/Original/Site1/Site001/4606/7004582.img > not correct. Original 32559616, restored 23986176. > 02-Aug 20:35 dicom-dir: > TMImagesRestore.2005-08-02_16.37.46 Error: Bacula > 1.36.3 (22Apr05): 02-Aug-2005 20:35:44 > JobId: 719 > Job: > TMImagesRestore.2005-08-02_16.37.46 > Client: dicom-fd > Start time: 02-Aug-2005 16:37:49 > End time: 02-Aug-2005 20:35:44 > Files Expected: 9,315 > Files Restored: 4,524 > Bytes Restored: 51,707,737,523 > Rate: 3622.3 KB/s > FD Errors: 1 > FD termination status: Error > SD termination status: Error > Termination:*** Restore Error *** > > 02-Aug 20:35 dicom-dir: message.c:462 Mail prog: > bsmtp: bsmtp.c:276 Fatal connect error to localhost: > ERR=Connection refused > 02-Aug 20:35 dicom-dir: > TMImagesRestore.2005-08-02_16.37.46 Error: > message.c:473 Mail program terminated in error. > CMD=/usr/sbin/bsmtp -h localhost -f "(Bacula) > [EMAIL PROTECTED]" -s "Bacula: Restore Fatal Error of > dicom-fd Full" [EMAIL PROTECTED] > ERR=Child exited with code 1 > > Could this be a result of a bad upgrade of the > database? When I ran the upgrade script it said that > it ran seccusfully, however there were warnings that > user bacula was not the data base owner. I am using > a > postgresql database on a second linux box. > > Thanks in Advance, > John M. Drescher > > > --- > SF.Net email is sponsored by: Discover Easy Linux > Migration Strategies > from IBM. Find simple to follow Roadmaps, > straightforward articles, > informative Webcasts and more! Get everything you > need to get up to > speed, fast. > http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > It looks like the database was indeed the problem. After examining the update script and the database I determined that the database was not fully updated because of the owner problem. The user bacula was not the owner so permissions were preventing the modification of the tables. After getting the proper username / password from the database admin I was able to fix the problem. I restarted the job and it appears to be working as I just remotely logged in and it was waiting for the second tape. John ------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users