[Bacula-users] Bacula and Solaris 10_x86
I have no previous experience with Bacula. I am in the process of evaluating Bacula for use in our environment. I'd like to know Does Bacula and its supporting programs compile/run on Solaris 10_x86? Does Bacula/MTX work on Solaris 10_x86? Has anyone used it with an Exabyte Magnum 224 LTO Library? Mine only has the 1 LTO-3 drive. Thanks, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Does Bacula require MySQL locally?
I understand that the libraries are needed to compile support for MySQL into Bacula, but can I configure Bacula to use a MySQL server that isn't on the localhost? Thank you, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Using CSWbacula package from Blastwave, is mtx supported?
I didn't see a package for mtx in the Blastwave list, so I'm entirely unsure. I'm new to Bacula and testing it for fit in my environment. First priority is to see if its going to work w/ our Exabyte Magnum 224 LTO tape library. I was wondering since mtx is not in a Blastwave package, can it still be integrated w/ Bacula from that package? Also, if anyone is using an Exabyte Magnum 224 and wants to share their experience, I'll buy you a beer ;) Thanks, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using CSWbacula package from Blastwave, is mtx supported?
John, Thanks for the reply. I'm testing this on a Solaris x86 platform. Blastwave is a software repository that can be accessed with pkg-get to install precompiled binary packages onto Solaris systems. My Magnum 224 only has 1 LTO-3 drive. What I am having issue with at the moment is what device to configure in my Autochangers resource, or how to even tell what the robot is recognized as. My system sees the tape drive itself as /dev/rmt/0 (with all the associated 0ln, 0l, 0b, etc...) -Shon On 6/20/07, John Drescher <[EMAIL PROTECTED]> wrote: On 6/20/07, Shon Stephens <[EMAIL PROTECTED]> wrote: > > I didn't see a package for mtx in the Blastwave list, so I'm entirely > unsure. I'm new to Bacula and testing it for fit in my environment. First > priority is to see if its going to work w/ our Exabyte Magnum 224 LTO tape > library. I was wondering since mtx is not in a Blastwave package, can it > still be integrated w/ Bacula from that package? > > Also, if anyone is using an Exabyte Magnum 224 and wants to share their > experience, I'll buy you a beer ;) I am not sure what Blastwave is but I have been using a 2 drive LTO2 Exabyte Magnum 224 with bacula under 64 bit gentoo linux for just over a year now. I have recorded around 10TB of data on the archive and for the most part it works great with bacula. In the past I had drive locking problems with bacula 1.38.X. There have also been some issues with suboptimal usage of the two drives (see the list archives) but this appears to be fixed in the 2.1 series. John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Need help configuring Autochanger - call to Solaris_x86 users
Hello all, I'm new to Bacula and am evaluating it for use in my environment on a Solaris 10_x86 system. My tape device is recognized by the system as /dev/rmt/0. However I have not been able to identify the device associated with the changer. Can someone help me in identifying the device? I have an Exabyte Magnum 224. It has 1 magazine and 1 LTO-3 drive. If you have this library, will you consider sharing your mtx-changer script with me? Thank you, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Need advice on adapting mtx-changer for Exabyte Magnum 224
All, I was able to get the changer recognzied as /dev/scsi/changer/c5t4d1 on my Solaris 10_x86 system. Setup /kernel/drv/sgen.conf, loaded the driver, created the devlinks, and we're off. My Magnum 224 has 1 robot, and 1 LTO-3 drive. It holds can hold up to 24 tapes in 2 magazines. I currently have 1 fully loaded, 12 tape magazine installed. I'm now trying to get mtx-changer script working correctly by following the "Autochanger Resource" , http://www.bacula.org/rel-manual/Autochanger_Resource1.html, chapter of the User Guide. Some commands work, others don't. I tested all functions directly with mtx, and with the mtx-changer script. Mtx does perform all the operations correctly. It can load, unload, list, transfer, etc... However, as I said, some of the mtx-changer script functions aren't working correctly. I am unsure whether or not they need to work with the exact syntax described in the chapter, or if the commands will work, but with an expanded syntax (like the Changer Command) and bacula will function correctly. I peformed the mtx-changer tests in the same order as the guide, using its sytax. I also use a full command line to test if that works. In cases where the output isn't what I expected, I tried using mtx directly. First the mtx-changer "list" command ./mtx-changer /dev/scsi/changer/c5t4d1 list 0 /dev/rmt/0 0 1:Full:VolumeTag=A1 2:Full:VolumeTag=A2 3:Full:VolumeTag=A3 4:Full:VolumeTag=A4 5:Full:VolumeTag=A5 6:Full:VolumeTag=A6 7:Full:VolumeTag=A7 8:Full:VolumeTag=A8 9:Full:VolumeTag=A9 10:Full:VolumeTag=A00010 11:Full:VolumeTag=A00011 I know I have a fully loaded magazine in the library, so I check with mtx. [EMAIL PROTECTED]: mtx -f /dev/scsi/changer/c5t4d1 status Storage Changer /dev/scsi/changer/c5t4d1:1 Drives, 12 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full :VolumeTag=A1 Storage Element 2:Full :VolumeTag=A2 Storage Element 3:Full :VolumeTag=A3 Storage Element 4:Full :VolumeTag=A4 Storage Element 5:Full :VolumeTag=A5 Storage Element 6:Full :VolumeTag=A6 Storage Element 7:Full :VolumeTag=A7 Storage Element 8:Full :VolumeTag=A8 Storage Element 9:Full :VolumeTag=A9 Storage Element 10:Full :VolumeTag=A00010 Storage Element 11:Full :VolumeTag=A00011 Storage Element 12 IMPORT/EXPORT:Full :VolumeTag=A00012 I checked the mtx-changer script and can see whats happening, but am not quite sure what the best way to remedy this is... Next the slots command, which works with the syntax from the guide. ./mtx-changer /dev/scsi/changer/c5t4d1 slots 0 /dev/rmt/0 0 12 Testing unload with the syntax of the guide produced: ./mtx-changer /dev/scsi/changer/c5t4d1 unload usage: mtx-changer ctl-device command [slot archive-device drive-index] Insufficient number of arguments arguments given. Command expected 5 arguments So I tried with a full command: ./mtx-changer /dev/scsi/changer/c5t4d1 unload 0 /dev/rmt/0 0 Unloading Data Transfer Element into Storage Element 0...mtx: Request Sense: Long Report=yes This makes sense as there is no tape in the drive. The load command appears to work: ./mtx-changer /dev/scsi/changer/c5t4d1 load 3 /dev/rmt/0 0 And loaded proves so: ./mtx-changer /dev/scsi/changer/c5t4d1 loaded 0 /dev/rmt/0 0 3 Before I ran the next mtx-changer test in the guide, I wanted to see what the list command and mtx status output showed. ./mtx-changer /dev/scsi/changer/c5t4d1 list 0 /dev/rmt/0 0 1:Full:VolumeTag=A1 2:Full:VolumeTag=A2 4:Full:VolumeTag=A4 5:Full:VolumeTag=A5 6:Full:VolumeTag=A6 7:Full:VolumeTag=A7 8:Full:VolumeTag=A8 9:Full:VolumeTag=A9 10:Full:VolumeTag=A00010 11:Full:VolumeTag=A00011 3:A3 Now in this case, from what I can tell of mtx-changer script, its correct in not displaying slot 12, as there isn't a tape in that slot. Is the drive status being shown correctly though? What format should a loaded tape drive be displayed as by mtx-changer? Mtx status looks like I'd expect mtx -f /dev/scsi/changer/c5t4d1 status Storage Changer /dev/scsi/changer/c5t4d1:1 Drives, 12 Slots ( 1 Import/Export ) Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = A3 Storage Element 1:Full :VolumeTag=A1 Storage Element 2:Full :VolumeTag=A2 Storage Element 3:Empty:VolumeTag= Storage Element 4:Full :VolumeTag=A4 Storage Element 5:Full :VolumeTag=A5 Storage Element 6:Full :VolumeTag=A6 Storage Element 7:Full :VolumeTag=A7 Storage Element 8:Full :VolumeTag=A8 Storage Element 9:Full :VolumeTag=A9 Storage Element 10:Full :VolumeTag=A00010 Storage Element 11:Full :VolumeTag=A00011 Storage Element 12 IMPORT/EXPORT:Full :VolumeTag=A00012 Now back to the guide commands. I try to unload the tape: ./mtx-changer /dev/scsi/changer/c5t4d1 unload usage: mtx-changer ctl-device com
Re: [Bacula-users] Need advice on adapting mtx-changer for Exabyte Magnum 224
Thanks for the reply and info on cleaning tapes. I'm using v2.0.3 of Bacula. I think if I have my Changer Command correct that I'll be alright. Going to test it out and see what happens. Thanks, Shon On 6/28/07, John Drescher <[EMAIL PROTECTED]> wrote: I have a Magnum224 with 24 slots and 2 LTO2 drives but I am using linux and not Solaris. For that I did not have to change anything in the default mtx scripts as it works correctly. I believe the numbering is one slot off though but it does not matter. When I do a manual unload I verify the slot from the screen on the changer itself. I will try to answer the questions I can. One thing I would like to mention is that I am using bacula 2.X now. I mention that because I had a serious problems with 1.38.X and my changer. > So everything is back to normal, but I still have a few questions > > How can I get mtx-changer to display the status of all my slots > correctly? > Is the format that mtx-changer is displaying the status of a loaded > drive correct? > Does it matter to bacula that I had to use the full command to unload > the drive? > Will Bacula know what storage element is in the drive and to move it > back to the correct slot? For me bacula always puts the tape back into the stot it took it from. I have never tried manuall loading a tape there and seeing what would happen for an unload. How do I change tapes and update inventory? Use the release command in bacula to release any tape from the drive. Then change the tapes manually on the changer. I recommend doing that by unloading the magazines. Then after you are done with the manual stuff. type update slots in a bacula console. I was considering keeping a cleaning tape in slot 12, will this interfere > with Bacula at all? Can I schedule cleaning operations with Bacula? This is fine. I have a CLN_ barcode on my cleaning tape and in my pools I have Cleaning Prefix = "CLN" so that bacula recognizes that as a cleaning tape. Any responses, or wilingness to share some mtx-changer magic is very > appreciated. Also if you've used any replacement for mtx or mtx-changer and > want to share the experience that would be great! John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Need advice on adapting mtx-changer for Exabyte Magnum 224
Hey Ryan, I used an sgen.conf provided by Tandeberg support. I'm not sure if its in their Knowledge Base. Here is what I've got # Exabyte Magnum 224 tape library # sgen-diag=3; # device-type-config-list="changer"; # inquiry-config-list="EXABYTE", "Magnum 224"; #inquiry-config-list= "EXABYTE", "*"; #inquiry-config-list= "EXABYTE"; # name="sgen" class="scsi" target=0 lun=1; name="sgen" class="scsi" target=1 lun=1; name="sgen" class="scsi" target=2 lun=1; name="sgen" class="scsi" target=3 lun=1; name="sgen" class="scsi" target=4 lun=1; name="sgen" class="scsi" target=5 lun=1; name="sgen" class="scsi" target=6 lun=1; name="sgen" class="scsi" target=7 lun=1; name="sgen" class="scsi" target=8 lun=1; name="sgen" class="scsi" target=9 lun=1; name="sgen" class="scsi" target=10 lun=1; name="sgen" class="scsi" target=11 lun=1; name="sgen" class="scsi" target=12 lun=1; name="sgen" class="scsi" target=13 lun=1; name="sgen" class="scsi" target=14 lun=1; name="sgen" class="scsi" target=15 lun=1; # end Exabyte Magnum 224 Then I ran "add_drv sgen" and "devfsadm". That created /dev/scsi/changer/c5t4d1. Let me know if you get a working mtx-changer script. -Shon On 6/28/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Not to distract folks from your question, but I'm looking for a way to do this for a single tape drive so I can use smartmontools on it... do you have a pointer for a resource on setting up the sgen.conf file? I've been looking and not finding much (though I only suspected sgen was involved until this e-mail). Shon Stephens wrote: > All, > I was able to get the changer recognzied as > /dev/scsi/changer/c5t4d1 on my Solaris 10_x86 system. Setup > /kernel/drv/sgen.conf, loaded the driver, created the devlinks, and > we're off. My Magnum 224 has 1 robot, and 1 LTO-3 drive. It holds can > hold up to 24 tapes in 2 magazines. I currently have 1 fully loaded, 12 > tape magazine installed. > > I'm now trying to get mtx-changer script working correctly by > following the "Autochanger Resource" , > http://www.bacula.org/rel-manual/Autochanger_Resource1.html, chapter of > the User Guide. Some commands work, others don't. I tested all functions > directly with mtx, and with the mtx-changer script. Mtx does perform all > the operations correctly. It can load, unload, list, transfer, etc... > However, as I said, some of the mtx-changer script functions aren't > working correctly. I am unsure whether or not they need to work with the > exact syntax described in the chapter, or if the commands will work, but > with an expanded syntax (like the Changer Command) and bacula will > function correctly. > > I peformed the mtx-changer tests in the same order as the guide, > using its sytax. I also use a full command line to test if that works. > In cases where the output isn't what I expected, I tried using mtx > directly. > > First the mtx-changer "list" command > ./mtx-changer /dev/scsi/changer/c5t4d1 list 0 /dev/rmt/0 0 > 1:Full:VolumeTag=A1 > 2:Full:VolumeTag=A2 > 3:Full:VolumeTag=A3 > 4:Full:VolumeTag=A4 > 5:Full:VolumeTag=A5 > 6:Full:VolumeTag=A6 > 7:Full:VolumeTag=A7 > 8:Full:VolumeTag=A8 > 9:Full:VolumeTag=A9 > 10:Full:VolumeTag=A00010 > 11:Full:VolumeTag=A00011 > > I know I have a fully loaded magazine in the library, so I check with mtx. > [EMAIL PROTECTED]: mtx -f /dev/scsi/changer/c5t4d1 status > Storage Changer /dev/scsi/changer/c5t4d1:1 Drives, 12 Slots ( 1 > Import/Export ) > Data Transfer Element 0:Empty > Storage Element 1:Full :VolumeTag=A1 > Storage Element 2:Full :VolumeTag=A2 > Storage Element 3:Full :VolumeTag=A3 > Storage Element 4:Full :VolumeTag=A4 > Storage Element 5:Full :VolumeTag=A5 > Storage Element 6:Full :VolumeTag=A6 > Storage Element 7:Full :VolumeTag=A7 > Storage Element 8:Full :VolumeTag=A8 > Storage Element 9:Full :VolumeTag=A9 > Storage Element 10:Full > :VolumeTag=A00010 > Storage Element 11:Full > :VolumeTag=A00011 > Storage Element 12 IMPORT/EXPORT:Full :VolumeTag=A00012 > > I checked the mtx-changer script and can see whats happening, but am not > quite sure what the best way to remedy this is... > > Next the sl
Re: [Bacula-users] Need advice on adapting mtx-changer for Exabyte Magnum 224
I was able to get the mtx-changer script working correctly. I used the solaris-mtx-changer from the examples as a starting point. Then to work with the Magnum 224 and Solaris make a few changes -added a correct PATH statement for my system -Solaris doesn't have "seq" command, replaced seq in the wait_for_drive function with a perl statement -there are some commands that won't work (unload), unless the tape device is specified. I set this to a default, but still allow it to be set on command line too -changed the awk/sed statements for the list command to be compatible with a slot that is of type IMPORT/EXPORT Everything seems cool now. I do have one very important question: In the statement for the "unload" command, there is the following: mt -f $device rewoffl If I am using tapes to perform incremental backups, should I be rewinding the tape in the drive before unloading it to load another tape. If its loaded again, will it being rewound previously cause bacula to overwrite files on the tape? I don't believe so, but hopefully someone can answer that for sure. Thanks Shon On 6/28/07, John Drescher <[EMAIL PROTECTED]> wrote: I have a Magnum224 with 24 slots and 2 LTO2 drives but I am using linux and not Solaris. For that I did not have to change anything in the default mtx scripts as it works correctly. I believe the numbering is one slot off though but it does not matter. When I do a manual unload I verify the slot from the screen on the changer itself. I will try to answer the questions I can. One thing I would like to mention is that I am using bacula 2.X now. I mention that because I had a serious problems with 1.38.X and my changer. > So everything is back to normal, but I still have a few questions > > How can I get mtx-changer to display the status of all my slots > correctly? > Is the format that mtx-changer is displaying the status of a loaded > drive correct? > Does it matter to bacula that I had to use the full command to unload > the drive? > Will Bacula know what storage element is in the drive and to move it > back to the correct slot? For me bacula always puts the tape back into the stot it took it from. I have never tried manuall loading a tape there and seeing what would happen for an unload. How do I change tapes and update inventory? Use the release command in bacula to release any tape from the drive. Then change the tapes manually on the changer. I recommend doing that by unloading the magazines. Then after you are done with the manual stuff. type update slots in a bacula console. I was considering keeping a cleaning tape in slot 12, will this interfere > with Bacula at all? Can I schedule cleaning operations with Bacula? This is fine. I have a CLN_ barcode on my cleaning tape and in my pools I have Cleaning Prefix = "CLN" so that bacula recognizes that as a cleaning tape. Any responses, or wilingness to share some mtx-changer magic is very > appreciated. Also if you've used any replacement for mtx or mtx-changer and > want to share the experience that would be great! John - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] To rewind or not to rewind...
that is my question. My mtx-changer script currently contains mt -f $device rewoffl in the "unload" routine. I don't believe that my tapes should be being rewound, but I'm just not sure. Basically, if the tape is in PoolA and a job runs that needs a tape from PoolB, it will rewind the tape from PoolA, unload it, and load the tape from PoolB. The next job could need the tape from PoolA, if this tape gets loaded, will it being rewound previously cause Bacula to overwrite data? Or will Bacula seek the tape to find where to append to? Also, when I need to change magazines in my autochanger, should I rewind the tapes first? The next time the tapes go back into the magazine, they will be overwritten. Thanks, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unsure of btape output when testing autochanger
I am not sure of the expected behaviour of btape and am following the User Guide in configuring, testing my autochanger (Exabyte Magnum 224 LTO-3) with Bacula. I have already tested the tape device with mt and the changer with mtx. The mtx-changer script is working as described by the guide. I start with the tapes loaded in the magazine of the autochanger and no tape in the drive. If I run the first test btape -c bacula-sd.conf /dev/rmt/0cbn Tape block granularity is 1024 bytes. btape: butil.c:286 Using device: "/dev/rmt/0cbn" for writing. 10-Jul 14:37 btape: 3301 Issuing autochanger "loaded? drive 0" command. 10-Jul 14:37 btape: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 10-Jul 14:37 btape: Fatal Error at device.c:280 because: dev open failed: dev.c:425 Unable to open device "Ultrium-TD3" (/dev/rmt/0cbn): ERR=I/O error 10-Jul 14:37 btape: btape Fatal error: butil.c:195 Cannot open "Ultrium-TD3" (/dev/rmt/0cbn) It seems that btape is detecting that no tape is loaded, but doesn't try to load one. Is this its correct behavior? I load the tape in Slot 1 into the drive directly with mtx and try again. btape -c bacula-sd.conf /dev/rmt/0cbn Tape block granularity is 1024 bytes. btape: butil.c:286 Using device: "/dev/rmt/0cbn" for writing. 10-Jul 14:51 btape: 3301 Issuing autochanger "loaded? drive 0" command. 10-Jul 14:51 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. 10-Jul 14:51 btape: 3301 Issuing autochanger "loaded? drive 0" command. 10-Jul 14:51 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. btape: btape.c:368 open device "Ultrium-TD3" (/dev/rmt/0cbn): OK This seems to work, so I run the "test" command in btape btape: btape.c:1348 Now forward spacing 1 more file. We should be in file 5. I am at file 5. This is correct! === End Forward space files test === Ah, I see you have an autochanger configured. To test the autochanger you must have a blank tape that I can write on in Slot 1. Do you wish to continue with the Autochanger test? (y/n): === Autochanger test === 3301 Issuing autochanger "loaded" command. Slot 1 loaded. I am going to unload it. 3302 Issuing autochanger "unload 1 0" command. unload status=OK 0 3303 Issuing autochanger "load 1 0" command. 3303 Autochanger "load 1 0" status is OK. 10-Jul 14:55 btape: 3301 Issuing autochanger "loaded? drive 0" command. 10-Jul 14:55 btape: 3302 Autochanger "loaded? drive 0", result is Slot 1. btape: btape.c:368 open device "Ultrium-TD3" (/dev/rmt/0cbn): OK btape: btape.c:1235 Rewound "Ultrium-TD3" (/dev/rmt/0cbn) btape: btape.c:1242 Wrote EOF to "Ultrium-TD3" (/dev/rmt/0cbn) The test autochanger worked!! So it seems that btape can issue a load command, and unload properly. So whats the deal? Should btape has loaded a tape in the first place when it didn't detect one? Thanks, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How is a barcode reader supposed to work in Bacula?
I'm a little unsure how its used in Bacula. If its for automatic labeling of tapes, or ??? If I issue an update slots command in bconsole, I get this output, strange that there is an illegal character. Does anyone know how this output is supposed to look. Just for comparison I have the output of mtx-changer and mtx also. Should I use the barcodes as my Volume names in my Pools? Does Bacula still need to label the tapes if thats so? *update Update choice: 1: Volume parameters 2: Pool from resource 3: Slots from autochanger Choose catalog item to update (1-3): 3 The defined Storage resources are: 1: Mentora_Files 2: Exabyte_224 Select Storage resource (1-2): 2 Connecting to Storage daemon Exabyte_224 at adm3:9103 ... 3306 Issuing autochanger "slots" command. Device "Magnum_224" has 12 slots. Connecting to Storage daemon Exabyte_224 at adm3:9103 ... 3306 Issuing autochanger "list" command. Illegal character "=" in a volume name. Invalid Volume name: 1:Full:VolumeTag=A1 Illegal character "=" in a volume name. Invalid Volume name: 2:Full:VolumeTag=A2 Illegal character "=" in a volume name. Invalid Volume name: 3:Full:VolumeTag=A3 Illegal character "=" in a volume name. Invalid Volume name: 4:Full:VolumeTag=A4 Illegal character "=" in a volume name. Invalid Volume name: 5:Full:VolumeTag=A5 Illegal character "=" in a volume name. Invalid Volume name: 6:Full:VolumeTag=A6 Illegal character "=" in a volume name. Invalid Volume name: 7:Full:VolumeTag=A7 Illegal character "=" in a volume name. Invalid Volume name: 8:Full:VolumeTag=A8 Illegal character "=" in a volume name. Invalid Volume name: 9:Full:VolumeTag=A9 Illegal character "=" in a volume name. Invalid Volume name: 10:Full:VolumeTag=A00010 Illegal character "=" in a volume name. Invalid Volume name: 11:Full:VolumeTag=A00011 Illegal character "=" in a volume name. Invalid Volume name: 12:Full:VolumeTag=A00012 No Volumes found to label, or no barcodes. ./mtx-changer /dev/scsi/changer/c5t4d1 list 0 /dev/rmt/0cbn 0 1:Full:VolumeTag=A1 2:Full:VolumeTag=A2 3:Full:VolumeTag=A3 4:Full:VolumeTag=A4 5:Full:VolumeTag=A5 6:Full:VolumeTag=A6 7:Full:VolumeTag=A7 8:Full:VolumeTag=A8 9:Full:VolumeTag=A9 10:Full:VolumeTag=A00010 11:Full:VolumeTag=A00011 12:Full:VolumeTag=A00012 Does this output look like it should for mtx-changer? mtx -f /dev/scsi/changer/c5t4d1 status Storage Changer /dev/scsi/changer/c5t4d1:1 Drives, 12 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Storage Element 1:Full :VolumeTag=A1 Storage Element 2:Full :VolumeTag=A2 Storage Element 3:Full :VolumeTag=A3 Storage Element 4:Full :VolumeTag=A4 Storage Element 5:Full :VolumeTag=A5 Storage Element 6:Full :VolumeTag=A6 Storage Element 7:Full :VolumeTag=A7 Storage Element 8:Full :VolumeTag=A8 Storage Element 9:Full :VolumeTag=A9 Storage Element 10:Full :VolumeTag=A00010 Storage Element 11:Full :VolumeTag=A00011 Thanks, Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Proper use of the Scratch Pool?
I've got a "Scratch" Pool configured Pool { Name = Scratch Type = Backup } I don't understand how to use it though. Do I need to add Volumes to this pool before Bacula will use it to provide Volumes to other pools? Will it automatically name the Volumes from a barcode? When a volume (tape) is selected from this Pool to be provided to another Pool, is it relabeled? I really just don't get how this is used... -Shon - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Barcodes vs Volume Names
Where are you getting blank labels from? Thank you, Shon Stephens On 7/19/07, Arno Lehmann <[EMAIL PROTECTED]> wrote: Hi, 19.07.2007 19:15,, Thomas Glatthor wrote:: > Hi, > > i have printed my own barcode labels, good idea... I never thought about using "human readable" (more or less) barcodes. But that's something I'll keep in mind! > so the volumes have usefull barcodes/names like FBBW18 (Full, 2 chars for the company site, Week 18) > instead of something like "PVO184" . > for sdlt tapes the barcode must be code 39 without checksum, > there are several free barcode-fonts available that can be used e.g. with ooffice to print tape labels. Or use the program 'barcode' which should be available for many flavours of unix. Arno > > > Regards, > > Thomas > > > Arno Lehmann schrieb: >> Hi, >> >> 06.07.2007 19:40,, Matthews, John W. wrote:: >>> >>> Is there anyway to get bacula to "map" barcodes to Volume Names such that: >>> >>> 1) The Volume Names are different than the barcodes >>> >>> 2) "update" "slots from autochanger" will work without loading each tape >>> (i.e., bacula will know which volumes are loaded in which slots based >>> only on the barcodes) >> You'd have to modify mtx-changer (or whatever changer command you use) >> accordingly. That wouldn't be too difficult, I think, but labeling >> will be really funny :-) >> >> Arno >> >>> >>> jwm >>> >>> John W. Matthews, D.Sc. >>> Image-guided Therapy QA Center >>> Department of Radiation Oncology >>> Washington University School of Medicine >>> 314-747-5413 >>> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >>> >>> >>> >>> >>> >>> >>> >>> - >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 express and take >>> control of your XML. No limits. Just data. Click to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> >>> >>> >>> >>> ___ >>> Bacula-users mailing list >>> Bacula-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/bacula-users > -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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 2005. 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
[Bacula-users] Using bacula from Blastwave, where does one get the bweb and bacula-web sources?
I didn't see these included with the CSWbacula package. Is there somewhere besides the bacula source code to get these? -Shon - 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] Job Concurrency
I'm trying to understand job concurrency in Bacula and what strategy I should use for backing up clients. Its likely that I will have to backup around 50 clients. My strategy is to write incrementals to disk volumes and fulls to tapes. I assume its possible for Bacula to write to multiple disk volumes simultaneously if configured to do so, but what about tapes? I have my tapes divided by customer so that Customer1 Pool - 8 volumes, 2 in slots each week Customer2 Pool - 8 volumes, 2 in slots each week Can Bacula write a job from 2 different clients(file daemons) in Customer1 Pool at the same time? How does this work? I understand that Bacula can't write a job from Customer1 Pool and Customer2 Pool at the same time because these are different volumes. Also can bacula simultaneously spool to disk and write to tape for the same job? I'm looking for good advice on how to streamline Bacula so that I'm not always running backups or have to many jobs waiting on resources in use. Thanks, Shon - 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] Question about creating a Schedule with Volume Recycling, Windows FD
Hi all, I have recently started to move my production backups from ArcServe BrightStor to Bacula 2.0.3 after completing a testing phase. I am still not very familiar with Bacula and am trying to move jobs from AS to Bacula. Some things are easy enough to move from one to the other. However, a lot of the logic in scheduling can be taken care of by AS, while Bacula wants you to do some more thinking (probably better and more flexible way of scheduling). I am having difficulty understanding how to correctly configure this kind of rotation period with volume recycling. I have a group of hosts that I wish to backup 7 days a week. Full backup on Sunday. These backups are done to disk. On Monday of each week, I would like to copy the previous weeks jobs to tape. I have configured 4 pools. Week1, Week2, Week3, Week4. I want to overwrite when the volumes from these pools are presented again (weekly rotation). The disk volumes need to recycled in the same way. A volume on disk for each Week, and allow it to be overwritten when that week comes back in the rotation. I'm not necessarily asking for a config file, just some good advice on how to set this up and the various config sections I'll need to look at. I'm also starting to backup Windows systems with Bacula and need some good advice converting the following from AS to Bacula Saving the System State Windows System Options --- Traverse Directory Junctions and Volume mount points Do not Preserve File Hard Links Volume Shadow Copy Service Options --- Files included by a Writer will be excluded from file system backups Files excluded by a Writer will be excluded from file system backups Thanks in advance for any help and advice. -Shon - 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] Need help with Windows FD configuration
I am using Bacula 2.0.3 (though I'm not sure this is the Windows FD version). I'm trying to backup the Sytem State and configure VSS options, but haven't deciphered from the manual how to do them. I'm not very familiar with Windows, but these are clients that must be backed up by Bacula. FIrst, I need to backup the "System State". In the manual I see these instructions to run "ntbackup backup systemstate /F c:\systemstate.bkf" before backing up with Bacula. My question is can this be executed via the FD as a command, or does it need to be scheduled on the host? What are the requirements of running a command or script on a Windows system via the FD? The other things I'm trying to do are options from ArcServe Brightstor, where I'm migrating these clients from... Windows - Traverse Directory junctions, Volume mount points Windows - No preserve file hard links VSS - Exclude files included by writer VSS - Exclude files excluded by writer I can see that you can set "EnableVSS = yes", but not how to set any policies, or how to control its behavior. I see a FileSet option called "hardlinks", but not sure if this applies to NTFS file systems and No idea how to specify to Traverse Directory junctions and volume mount points. Any advice, pointers, etc. is very appreciated. -Shon - 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] Problems building RPM packages
All, I am trying to build bacula-2.0.3 rpms for RHEL4. I'm using 2.0.3because that is the version I'm running on my Solaris backup server (Blastwave packages are only at 2.0.3) The only SRPM I was able to find is bacula-2.0.3-10.fc6.src.rpm. When I attempt to rebuild the srpm for my distribution, I get this error rpmbuild --rebuild --define "build_rhel4 1" error: Failed build dependencies: wxGTK-devel is needed by bacula-2.0.3-10.i386 sqlite-devel is needed by bacula-2.0.3-10.i386 latex2html is needed by bacula-2.0.3-10.i386 These dependencies are not available in RHEL until release 5. I don't want to build the docs, I don't want to build the server, I just want to build a bacula-client-2.0.3.rhel4.x86_64.rpm and .i386 rpm. I tried removing the dependencies from the .spec file. This seems to work ok...except then it just won't build. Basically its unzips the source in /usr/src/redhat/BUILD/bacula-2.0.3, then creates a directory /usr/src/redhat/BUILD/bacula-2.0.3/bacula-2.0.3/ and copies the source into it for compilation. The build then fails because it can't locate "./configure", which does exist and is in the right place. Personally I like bacula, but this is just ridiculous. Can anyone help with either a correct procedure to produce these RPMS for RHEL3/4, or provide me with bacula-client-2.0.3 rpms for these releases? And yes, I've already read the readme and tried using the build_rpm.sh script Thanks, Shon - 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] Bacula doesn't see tape in drive after label barcodes
I have an autochanger with 12 tapes. I issue the label barcodes command and it cycles through the tapes in the changer and then does the following: 3307 Issuing autochanger "unload slot 11, drive 0" command. 3304 Issuing autochanger "load slot 12, drive 0" command. 3305 Autochanger "load slot 12, drive 0", status is OK. 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result: nothing loaded. 3000 OK label. VolBytes=64512 DVD=0 Volume="A00012" Device="Ultrium-TD3" (/dev/rmt/0cbn) Catalog record for Volume "A00012", Slot 12 successfully created. *release The defined Storage resources are: 1: Mentora_Files 2: Exabyte_224 Select Storage resource (1-2): 2 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result: nothing loaded. 3921 Device "Ultrium-TD3" (/dev/rmt/0cbn) already released. This is where Bacula then "loses" the 12th tape. I can't get Bacula to even recognize that its in the drive and needs to be unloaded. Does anyone know what the issue might be? -Shon - 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
Re: [Bacula-users] Bacula doesn't see tape in drive after label barcodes
So far so good. I can just post this as a workaround. For me, its only happened when labeling from barcodes. -Shon On Nov 5, 2007 10:21 AM, Arno Lehmann <[EMAIL PROTECTED]> wrote: > Hi, > > 05.11.2007 13:53,, Shon Stephens wrote:: > > > I have an autochanger with 12 tapes. I issue the label barcodes command > > and it cycles through the tapes in the changer and then does the following: > > > > 3307 Issuing autochanger "unload slot 11, drive 0" command. > > 3304 Issuing autochanger "load slot 12, drive 0" command. > > 3305 Autochanger "load slot 12, drive 0", status is OK. > > 3301 Issuing autochanger "loaded? drive 0" command. > > 3302 Autochanger "loaded? drive 0", result: nothing loaded. > > 3000 OK label. VolBytes=64512 DVD=0 Volume="A00012" Device="Ultrium-TD3" > > (/dev/rmt/0cbn) > > Catalog record for Volume "A00012", Slot 12 successfully created. > > > > *release > > The defined Storage resources are: > > 1: Mentora_Files > > 2: Exabyte_224 > > Select Storage resource (1-2): 2 > > 3301 Issuing autochanger "loaded? drive 0" command. > > 3302 Autochanger "loaded? drive 0", result: nothing loaded. > > 3921 Device "Ultrium-TD3" (/dev/rmt/0cbn) already released. > > > > This is where Bacula then "loses" the 12th tape. I can't get Bacula to > > even recognize that its in the drive and needs to be unloaded. Does > > anyone know what the issue might be? > > Unfortunately, I don't have the solution to this. I face the same > issue, and I can not always reproduce it, which makes it a bit hard to > analyze (available time is an issue here, too... :-) > > My workaround is to unmount the drive from Bacula, use mtx to unload > the tape and load the tape requested, and mount from Bacula again. > > Until now, that has worked every time. > > As it is, I'm not even sure this is an issue purely inside Bacula, > because a) the autochanger or drive seem to need the extra kick of > unloading / reloading a tape, and b) not all the installations I > support seem to show this behavior. It might be OS or hardware dependent. > > For me, the workaround is ok for a while because where it happens > tapes are not always needed to be changed. Also, the issue *seems* to > happen only when a tape from a different pool than the one currently > loaded is needed (which points to Bacula, not the environment). > > All this is only an impression, not the result of careful observation, > by the way. > > Arno > > > -Shon > > > > > > > > > > - > > 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 > > -- > Arno Lehmann > IT-Service Lehmann > www.its-lehmann.de > > - > 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 > - 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] Bacula speed limitations?
I was just wondering what the factors limiting the speed with which Bacula writes to tape are? I performed some testing on my LTO-3 drive and found that the theoretical limit is 276G/hr, while my backups are writing at around 174G/hr. The client is the Bacula system itself. The FD is reading files from a filesystem that resides on a SATAbeast FCA attached storage array. The files are Oracle dumps, and the options I have specified are: signature = MD5 verify = pins5 sparse = yes noatime = yes The only compression I am using is the tape devices compression, which at 2:1 compression should be over 500G/hr. I wrote a 3.4T job in 19h30m. At what seems to be a compression of 1.5:1. This should still be faster than the 174G/hr its acheiving. Would using MD5 signatures slow this up? Are any of these settings tunable and do they affect Bacula performance? mt-back4.director Version: 2.0.3 (06 March 2007) i386-pc-solaris2.8 solaris 5.8 Daemon started 05-Nov-07 07:07, 5 Jobs run since started. Heap: bytes=72,064 max_bytes=74,700 bufs=376 max_bufs=397 Thanks, Shon - 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
Re: [Bacula-users] Bacula speed limitations?
Ryan, I'm not sure what you mean, or how to test for this. What gets written to the catalog, when does it get written, and how does that affect the rest of the job? Thanks, Shon btw - Have you healed since we last corresponded? On Nov 6, 2007 9:10 PM, Ryan Novosielski <[EMAIL PROTECTED]> wrote: > It is quite possible that your catalog database cannot keep up with your > backups. I'd start there. > > .. Original Message ... > > On Tue, 06 Nov 2007 11:17:10 -0500 "Shon Stephens" > <[EMAIL PROTECTED]> wrote: > >I was just wondering what the factors limiting the speed with which > >Bacula writes to tape are? I performed some testing on my LTO-3 drive > >and found that the theoretical limit is 276G/hr, while my backups are > >writing at around 174G/hr. The client is the Bacula system itself. The > >FD is reading files from a filesystem that resides on a SATAbeast FCA > >attached storage array. The files are Oracle dumps, and the options I > >have specified are: > > > >signature = MD5 > >verify = pins5 > >sparse = yes > >noatime = yes > > > >The only compression I am using is the tape devices compression, which > >at 2:1 compression should be over 500G/hr. I wrote a 3.4T job in > >19h30m. At what seems to be a compression of 1.5:1. This should still > >be faster than the 174G/hr its acheiving. > > > >Would using MD5 signatures slow this up? > >Are any of these settings tunable and do they affect Bacula performance? > > > >mt-back4.director Version: 2.0.3 (06 March 2007) i386-pc-solaris2.8 solaris > >5.8 > >Daemon started 05-Nov-07 07:07, 5 Jobs run since started. > > Heap: bytes=72,064 max_bytes=74,700 bufs=376 max_bufs=397 > > > > > >Thanks, > >Shon > > > >- > >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 > > - 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] Prevent Bacula from writing files to Catalog DB?
I remember reading somewhere that its possible to configure a Job so that the files and attributes are not added to the Catalog DB. However, I can't find this documentation now. Basically, I have a client with millions of files, and don't want all that going into the database. My understanding is that if a backup is done without saving this information to the Catalog, that it can only be restored in a very specific way, and I won't be able to extract files by name. Can anyone clue me in re: this type of backup? Thanks, Shon - 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] One tape drive , many devices?
All, I have an autochanger that is currently configured and working. Autochanger { Name = Magnum_224 Device = Ultrium-TD3 Changer Command = "/opt/csw/etc/bacula/mtx-changer %c %o %S %a %d" Changer Device = /dev/scsi/changer/c6t4d1 } Device { Name = Ultrium-TD3 Media Type = LTO-3 Archive Device = /dev/rmt/0cbn LabelMedia = Yes AutomaticMount = Yes AlwaysOpen = Yes RemovableMedia = Yes RandomAccess = No AutoChanger = yes Spool Directory = /tmp Maximum Spool Size = 4831838208 # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c '/opt/csw/sbin/tapeinfo -f %c |grep TapeAlert|cat'" } I'd like to know, is it possible to setup multiple definitions for the same device. I'd like to be able to use hardware compression for some jobs (/dev/rmt/0cbn) and software-only (/dev/rmt/0bn) for others. Just wondering is anyone is doing this in their setup. Thanks, Shon - 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] Question about compressed backups
If I have a Fileset that defines "compression = GZIP" will Bacula ignore files that are already compressed? Thank you, Shon - 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
Re: [Bacula-users] Question about compressed backups
I'm a little concerned because of the fact that trying to compress an already compressed file can take longer or even create a larger sized file. -Shon On Nov 12, 2007 9:53 AM, Michael Short <[EMAIL PROTECTED]> wrote: > > Bacula has no way to determine whether or not a blob of data is > compressed. It simply grabs the data, compresses it, and streams it to > the SD without performing any other time consuming checks. > > I wouldn't worry about it though, GZIP compresses and uncompresses > pretty quickly with little to no overhead. > > Sincerely, > > -Michael > > - > 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 > - 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] Strange error parsing config
All, I'm running Bacula 2.0.3 on Solaris 10. I have had Bacula running recently in testing, and am now trying to move to production. However, when starting the Director, I get this error: 14-Nov 03:43 bacula-dir: ERROR TERMINATION at parse_conf.c:482 Config error: Could not find config Resource Sun_1300_Full referenced on line 47 :Schedule = "Sun_1300_Full" : line 47, col 29 of file /opt/csw/etc/bacula/bacula-dir_jobs.conf Schedule = "Sun_1300_Full" However, this resource is correctly defined in my config files: "bacula-dir_schedules.conf" Schedule { Name = "Sun_1300_Full" Run = Level=Full Sun at 13:00 } "bacula-dir_jobs.conf" Job { Name = "Customer_Oracle_Weekly_Tape" Type = Backup Client = db1.ora FileSet = "Customer_Oracle" Schedule = "Sun_1300_Full" Storage = Exabyte_224 Pool = Shopbop_Tapes Messages = Standard Write Bootstrap = "/opt/csw/var/bacula/bootstrap/%n.bsr" Spool Data = yes } Any ideas. This only now stopped working for me. -Shon - 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] Need help installing bacula-fd on Debian
All, I am completely unfamiliar with Debian and its installation system. I would like to know how others have easily (or not so easily) installed a Bacula client (FD) on Debian hosts. Thanks, Shon - 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
Re: [Bacula-users] Need help installing bacula-fd on Debian
David (and others) Thanks for your responses. I know it may seem like an easy thing, but I'm a really cautious guy when mucking with customer production system. I really appreciate all the tips, especially for a non-Debian guy like myself. -Shon On Nov 14, 2007 4:48 PM, David Legg <[EMAIL PROTECTED]> wrote: > Hi Shon, > > Shon Stephens wrote: > > I am completely unfamiliar with Debian and its installation > > system. I would like to know how others have easily > > installed a Bacula client (FD) on Debian hosts. > > > > I was, like yourself, unfamiliar with the Debian install method; having > been used to the RedHat Fedora release. However that has changed > recently as I've moved over to Ubuntu which as you may be aware is based > on Debian. Although others like Eric, Jason and Zakai have already > answered how to make bacula-fd on Debian I thought I'd mention that > installing it as a service is slightly different to RedHat and the > standard directories are slightly different too. > > Anywhoo, here's my recipe for installation... > > As root make a directory for the file daemon to be installed into: - > > # mkdir /usr/local/bacula > > Download bacula into a suitable directory. I use a local account for > this called webby: - > > # su webby > $ cd ~webby/downloads > $ wget http://downloads.sourceforge.net/bacula/bacula-2.2.5.tar.gz > > $ tar xfz bacula-2.2.5.tar.gz > $ cd bacula-2.2.5/ > $ CFLAGS="-g -Wall" \ > > ./configure \ > > --enable-client-only \ > > --sbindir=/usr/local/bacula/bin \ > > --sysconfdir=/usr/local/bacula/conf \ > > --enable-smart-alloc \ > > --with-subsys-dir=/var/run > > A lot of work goes on here... note that the directories specified will > be used when we do the next command. > > # make install > > Now edit the configuration file in > /usr/local/bacula/conf/bacula-fd.conf You should only have to change > the director name and password. > > By default Ubuntu doesn't enable a firewall, not sure what the score is > with pure debian. As my server was a public facing server with a > configured firewall I had to ensure ports 9102 and 9103 were open. > > Finally I installed it as a service as follows : - > > # cp /usr/local/bacula/conf/bacula-ctl-fd /etc/init.d/bacula > # chmod 755 bacula > > # update-rc.d bacula defaults 30 70 >Adding system startup for /etc/init.d/bacula ... > /etc/rc0.d/K70bacula -> ../init.d/bacula > /etc/rc1.d/K70bacula -> ../init.d/bacula > /etc/rc6.d/K70bacula -> ../init.d/bacula > /etc/rc2.d/S30bacula -> ../init.d/bacula > /etc/rc3.d/S30bacula -> ../init.d/bacula > /etc/rc4.d/S30bacula -> ../init.d/bacula > /etc/rc5.d/S30bacula -> ../init.d/bacula > # > > If your director, storage and file daemons are all connected by a LAN > you should be ready after updating the director's config file. If, like > me, your machines are separated by a broadband connection, with a NAT > router in between, your fun is only just beginning ;-) > > Hope that helps. > > Best Regards, > David Legg > > > > - > 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 > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
[Bacula-users] How to re-run job after Bacula dies?
All, I had a job running (despooling) from disk to tape. During this time I was making changes to bacula-dir.conf and I did a "reload" in bconsole. My changes weren't kosher and bacula died. The job already had filled 1 tape, and was despooling to another. When I started Bacula, the job wasn't running any longer, didn't appear to have completed and the spool file is also gone. What do I do? Also, is there a tool, utility, or bacula-dir command option to verify config file syntax before reloading the director? Thanks, Shon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
[Bacula-users] Problem with ClientRunBeforeJob command on Win32
All, I am having a hard time correctly configuring a job to run before a client backup on a Win32 host. I believe its just incorrect syntax or encapsulation in the bacula-dir.conf file. Was hoping someone could tell me how to correct this quickly. Here is the error 2007-11-19 04:19:14 mt-back4.director: No prior Full backup Job record found. 2007-11-19 04:19:14 mt-back4.director: No prior or suitable Full backup found in catalog. Doing FULL backup. 2007-11-19 04:19:16 mt-back4.director: Start Backup JobId 7, Job=Mt-Back3_Daily_Disk. 2007-11-19 04:19:22 mt-back4.director: Mt-Back3_Daily_Disk. 2007-11-19_04.19.14 Error: Illegal character in Volume name "{Mentora_Disks}" 2007-11-19 04:22:02 mt-back3.mentora.: ClientRunBeforeJob: run command "C:/Program Files/Bacula/systemstate.bat" 2007-11-19 04:22:02 mt-back3.mentora.: ClientRunBeforeJob: 'C:/Program' is not recognized as an internal or external command, 2007-11-19 04:22:02 mt-back3.mentora.: ClientRunBeforeJob: operable program or batch file. 2007-11-19 04:23:18 mt-back3.mentora.: Mt-Back3_Daily_Disk. 2007-11-19_04.20.35 Error: Runscript: ClientRunBeforeJob returned non-zero status=1. ERR=Unknown error 2007-11-19 04:20:40 mt-back4.director: Mt-Back3_Daily_Disk. 2007-11-19_04.20.35 Fatal error: Bad response to ClientRunBeforeJob command: wanted 2000 OK RunBefore, got 2905 Bad RunBeforeJob command. And here's the config Job { Name = "Mt-Back3_Daily_Disk" Type = Backup Client = mt-back3.mentora FileSet = "Mt-Back3_System" Schedule = "Incr_2000_Sun_Full" Storage = Mentora_Files Pool = Mentora_Disks Messages = Standard Write Bootstrap = "/opt/csw/var/bacula/bootstrap/%n.bsr" ClientRunBeforeJob = "C:/Program Files/Bacula/systemstate.bat" } I can also see that it doesn't like my attempt at Auto Labeling the volume. Here is my config for that. Pool { Name = Mentora_Disks Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 27d Volume Use Duration = 7d LabelFormat = "{$Pool}" } Thanks, Shon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] No database entries for backuped files
I am also having this issue. A look in the mysql tables shows entries in the "Filename" table, but nothing else, and trying to list jobs or files for the Client from bconsole shows no results, even though I have messages and email for successful backup. -Shon On Nov 20, 2007 8:58 AM, Beiss Kirsten <[EMAIL PROTECTED]> wrote: > Hi, > > when I run the first full backup on a brand new database. There are no > file/path entries written to the database. > > on the the console, list files jobid= gives me not Entries for the > named jobid. When I run a incremental backup appropriate entries a > generated. > > Any Idea > > Greeting > > Kirsten > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > 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 2005. 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] How to re-run job after Bacula dies?
Ryan, Do you know if once I purge a Volume, and its status is "Purged" , if I need to do anything else to have that Volume used again? Thanks, Shon On Nov 19, 2007 10:34 AM, Ryan Novosielski <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Shon Stephens wrote: > > All, > > I had a job running (despooling) from disk to tape. During this > > time I was making changes to bacula-dir.conf and I did a "reload" in > > bconsole. My changes weren't kosher and bacula died. The job already > > had filled 1 tape, and was despooling to another. When I started > > Bacula, the job wasn't running any longer, didn't appear to have > > completed and the spool file is also gone. > > > > What do I do? > > run the job, purging that tape if desired. You start fresh. > > > Also, is there a tool, utility, or bacula-dir command option to verify > > config file syntax before reloading the director? > > bacula-dir -t, if I'm not mistaken. > > - -- > _ _ _ _ ___ _ _ _ > |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II > |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) > \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHQaz8mb+gadEcsb4RAnDfAKCfnnoYas797E9wGzEfhOGgTcug+QCfTXHs > MOv2E3xqIWqWOS7pfJYGsBg= > =sO5G > -END PGP SIGNATURE- > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > 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 2005. 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] No database entries for backuped files
I am running Bacula 2.2.5 on Solaris 10_x86. My database is MySQL4. I just upgraded to 2.2.5 a few days ago from Blastwave packages. My messages indicated a successful backup of my client. A query of : 5: List all backups for a Client 7: List Volumes used by selected JobId 10: List total files/bytes by Job 11: List total files/bytes by Volume 12: List Files for a selected JobId 13: List Jobs stored on a selected MediaId 14: List Jobs stored for a given Volume name Given the correct JobId, Client, Volume, or MediaId shows no results. The only table that seems to have related information is Filename, which does have the names of the files I specified in the job. -Shon On Nov 20, 2007 9:27 AM, Dan Langille <[EMAIL PROTECTED]> wrote: > On 20 Nov 2007 at 9:16, Shon Stephens wrote: > > > On Nov 20, 2007 8:58 AM, Beiss Kirsten <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > when I run the first full backup on a brand new database. There are no > > > file/path entries written to the database. > > > > > > on the the console, list files jobid= gives me not Entries for the > > > named jobid. When I run a incremental backup appropriate entries a > > > generated. > > > > > > Any Idea > > > I am also having this issue. A look in the mysql tables shows entries > > in the "Filename" table, but nothing else, and trying to list jobs or > > files for the Client from bconsole shows no results, even though I have > > messages and email for successful backup. > > Please read http://www.bacula.org/?page=support > > Pay special attention to the "Information Needed" section. > > -- > Dan Langille - PGCon - http://www.pgcon.org/ > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
[Bacula-users] All the problems with Bacula
Ok. This is a rant and you can remove it from the list if you want to later. I just have to vent. Bacula is incredibly complex to setup. Its taken 4 months and its still not working correctly. Things that should be easy that Bacula makes overly complex: Labeling tapes Assigning tapes to pools Reassigning tapes to pools Managing disk media Things Bacula can't seem to get right: Detecting a tape is in the drive and using it Even though the correctly labeled tape is in the drive, and has the right Volume label, and is marked "Append", and is from the correct Pool Bacula is still waiting for a mount request. Every external program recognizes that the tape is in the drive and mounted. Not Bacula Catalog entries. I've not had a single backup job where the right entries made it into the Catalog Windows hosts. Good luck figuring out the esoteric path syntax because its different in different chapters of the manual and also different depending on which part of the config you are editing Basically I can't see that its useable for anything more than backing up a single system, and even then better be careful. I'm going with Arkeia Network Backup. Might cost money, but at least it will work as advertised which is more than can be said for Crapula - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] All the problems with Bacula
Like I said its a rant. Probably a poor choice to post, but I've really been having some inexplicable problems lately and kirk'd out something bad this morning. Setting up Bacula to test certain things went relatively smoothly. Its been setting it up for production that has presented its biggest challenges. The documentation is immense and the learning curve is certainly challenging. If it weren't for the support of all the kind folks here, I wouldn't have come as far as I have. For instance, the full abilities of the commands aren't well documented. It required searching the bacula-users posts to discover that I could do "label slots=1-12 pool=scratch barcodes". I did do something foolish the other day when I edited the jobs and ran reload in the console while a job was despooling. The conf wasn't correct (still trying to get the Windows Fileset syntax correct). Well of course the director puked and this is I suppose expected. What I didn't expect is that Bacula wouldn't be able to tell me what happened to the job, or that the data that had been spooled to disk would all be gone. This is when I started running into difficulty attempting to purge the tape and add it back to the scratch pool. In addition, I had a Full backup run on Sunday. I received email that the job was complete and was successful. Querying Bacula for any information regarding the job returned "no reuslts". Looking directly at the tables showed the Filename table did contain the filenames but the Job and File tables were empty. I don't believe this should have been the case, and there was nothing in mysql logs to indicate an error and none in Bacula logs. I am not unwilling to believe that there still could have been an issue with mysql. These are real concerns for me and trying to implement reliable backups. I do apologize to anyone I might have insulted, particularly the hard working Bacula developers. Poor choice of mine to post comments like that. -Shon On Nov 21, 2007 9:20 AM, Foo Bar <[EMAIL PROTECTED]> wrote: > > --- John Drescher <[EMAIL PROTECTED]> wrote: > > > > I have mostly problems with documentation and the learning curve, which > > is > > > especially going to be a problem for those that will use it once I get > > it > > > all set up (I can't get BAT to compile for example, hopefully the > > Debian > > > stable package will be updated soon). > > > > > BAT is a very recent addition to bacula (written mostly by a single > > developer in his free time) so it has not gone through the kind of > > testing that the other parts of the system have that have been around > > for years. > > I understand and don't expect miracles, just saying that Bacula currently > lacks in the ease of use department for those that can't learn it inside > out. For me that means I need a GUI for some colleagues and wouldn't mind > using it myself instead of the console. > > > ___ > Want ideas for reducing your carbon footprint? Visit Yahoo! For Good > http://uk.promotions.yahoo.com/forgood/environment.html > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > 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 2005. 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] All the problems with Bacula
Like I said its a rant. Probably a poor choice to post, but I've really been having some inexplicable problems lately and kirk'd out something bad this morning. Setting up Bacula to test certain things went relatively smoothly. Its been setting it up for production that has presented its biggest challenges. The documentation is immense and the learning curve is certainly challenging. If it weren't for the support of all the kind folks here, I wouldn't have come as far as I have. For instance, the full abilities of the commands aren't well documented. It required searching the bacula-users posts to discover that I could do "label slots=1-12 pool=scratch barcodes". I did do something foolish the other day when I edited the jobs and ran reload in the console while a job was despooling. The conf wasn't correct (still trying to get the Windows Fileset syntax correct). Well of course the director puked and this is I suppose expected. What I didn't expect is that Bacula wouldn't be able to tell me what happened to the job, or that the data that had been spooled to disk would all be gone. This is when I started running into difficulty attempting to purge the tape and add it back to the scratch pool. In addition, I had a Full backup run on Sunday. I received email that the job was complete and was successful. Querying Bacula for any information regarding the job returned "no reuslts". Looking directly at the tables showed the Filename table did contain the filenames but the Job and File tables were empty. I don't believe this should have been the case, and there was nothing in mysql logs to indicate an error and none in Bacula logs. I am not unwilling to believe that there still could have been an issue with mysql. These are real concerns for me and trying to implement reliable backups. I do apologize to anyone I might have insulted, particularly the hard working Bacula developers. Poor choice of mine to post comments like that. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
[Bacula-users] Staying the course....
I blew up and sent an inappropriate email to the list. I apologize to the developers, community at large, and particularly those that have been so helpful. I chose Bacula initially because of its flexibility and features and have let the pressure of getting this project completed get the better of me. I feel I'm close to a working solution and became vexed over some issues that I thought should have been simple to overcome. Sincerely, Shon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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] Staying the course....
John, I appreciate your offer for continued assistance and no doubt will need to make use of it. I hope I haven't burned too many bridges. I'm going to take a break and let this sit for the weekend. I'll take the earlier suggestion to read the entire manual. I've been picking it apart, but not ever read it like a book, so perhaps I've missed some philosophical points that are very relevant. -Shon On Nov 21, 2007 12:06 PM, John Drescher <[EMAIL PROTECTED]> wrote: > On Nov 21, 2007 11:46 AM, Shon Stephens <[EMAIL PROTECTED]> wrote: > > I blew up and sent an inappropriate email to the list. I apologize to > > the developers, community at large, and particularly those that have > > been so helpful. > > That is fine. If you still want to try bacula. Please post your > questions and we will be happy to help. I have been a bacula user for > 4+ years and I have been a member of this list for probably two of > them. I originally joined because I needed help with a problem but at > this point most of my activity on this list is to help others if I > can. I do this because I want to support bacula. One reason for this > is in my experience bacula is so much better (more flexable, no > extortion licence, significantly better free support, and it actually > works better) than the vertias backup executive that I was using in > the past (and still have licenses for). > > John > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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
[Bacula-users] Forward Progress
After a holiday hiatus and some soul-searching (aka curling up w/ the Bacula manual) I was able to make some significant progress I couldn't figure out what caused the initial missing catalog data. Since I had recently upgraded and wasn't capturing good backups, I dropped my tables and recreated them. This seemed to do the trick and the UNIX backups were off and running smooth and catalog data seems correct as well. I took some advice and put my systemstate.bat file in a path with no spaces. So c:\bacula works, but not c:\program files\bacula. I was attempting to keep everything under one directory, but I couldn't get the ClientRunBeforeJob script to run in a path with spaces and the bacula-fd for Windows couldn't seem to correclty locate its config files if I installed it anywhere but the default location. Good news is that this is now working and my Windows host backups are writing to disk. I can't say that working with tapes has gotten any easier, but after enough trial and mostly error I have figured out how to reassign tapes to a pool and change their status, etc.. When I load tapes into the autochanger and issue "label slots=1-12 pool=Scratch barcodes" it does the business. However Bacula can't keep track of the status of last tape it labels. Says its not in the changer and says its not loaded in the drive. When I issue "release" in bconsole, it tells me nothing is mounted and there is nothing to release. Running "update slots" shows that the tape hasn't been returned to its changer slot either. So I drop out of bconsole and use mtx directly to unload and but the tape back in its slot. Not that big a pain, and its now part of the procedure. Another weird issue with the changer is that when swapping tapes to a new series I first have to run an "mtx status" command before Bacula can see all my slots. Before that it only sees 11, not the full 12. Again, its now part of the procedure. So over the holiday over 20 different backups ran successfully and relatively quickly. I'm still a little fuzzy on how data spooling helps speed up jobs or helps run concurrent jobs. I have one job that takes 12 hours and it seems to spend 7 of that despooling. I have to read this part of the manual again for better comprehension. Thanks for everyone's understanding and continued advice. I think it really helped me overcome an initial hump. I still have some things I'm figuring out and need to run some test restores and verify. Does anyone run an automated verify after their backups? -Shon - 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] Seeking advice on recycling disk volumes and migration jobs
All, I have setup a pool of disk volumes Pool { Name = NAS1_Disks Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 27d Volume Use Duration = 7d LabelFormat = "${Pool}-${NumVols}" } The first backup written to this pool occurred on a Wednesday, and so the next volume, was as expected created and used on the following Wednesday. I now know the "Volume Use Duration" works as I'd expected. I'd like to know if on day 28, the first volume will become recycled and available for use again in the same pool? If I want the first volume to be reused, do I need to add a "Maximum Volumes" directive to the pool (I'd like 4 volumes total), or will Bacula see that there is a volume available and not create a new one? Also, since the first volume was created on a Wed, but ideally I'd like to have the new volume creation and the old volume recycling occur on Monday instead in order to fit to my migration strategy. How might I accomplish this? I was thinking I'd have to do an update of the volume information and calculate what the retention period would be to offset to Monday, but then I'd have to reset that after the first reuse. Its confusing to me slightly. My Migration strategy is to simply Migrate the enitre volume to tape at the end of the week based on the volume name. I'm not sure if this is the best strategy or if it might be better to do it by jobs. I think that could get messy when I have 50 jobs though. Any suggestions? Thank you again, Shon - 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] Experiences compiling bat on Solaris 10 x86
Busy day. I really like the screenshots of bat on the wiki and though I'm more a cli person, its a requirement of the project to have some kind of gui for at least reporting. I'd like to give bat a try and wanted to find out if anyone had recently compiled it for Solaris 10 x86 and particularly those who are using the Blastwave packages and bat. Thanks, Shon - 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
Re: [Bacula-users] 2.2.6 clients on 2.2.5 server?
Michael, I am running a 2.2.5 server and using the 2.2.6 Win-32 fd. I am able to do estimates, backups, and restores without issue. -Shon On Nov 30, 2007 9:56 AM, Michael Galloway <[EMAIL PROTECTED]> wrote: > i have version 2.2.5 server up and running, any reason to not use 2.2.6clients > with 2.2.5 server? > > -- michael > > - > 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 > - 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] Instructions for compiling bat on Solars 10 x86
I use Bacula 2.2.5 installed from Blastwave packages. The packages do not come with bat because the Qt4 dependency is not yet a Blastwave package. This is how I installed the pre-requisites, compiled Qt4, qtw, and bat. First, I setup Blastwave and installed Bacula. Those instructions were provided by someone else and can be found in the list archives. I then installed many Solaris Freeware packages (SFW) available from the Sun download site. SFWaalib SFWaconf SFWamake SFWasclk SFWbdb SFWcoreu SFWcurl SFWdb1 SFWdiffu SFWfile SFWfnlib SFWgawk SFWgcal SFWgcmn SFWgd SFWgdb SFWgfind SFWimlib SFWlibsane SFWlpcap SFWltool SFWlynx SFWmpeg SFWncur SFWnmap SFWnpbm SFWoggl SFWpcre SFWrline SFWrsync SFWscrn SFWsed SFWsgrep SFWshar SFWslang SFWtclx SFWtdmp SFWter SFWtetex SFWtop SFWungif SFWvim SFWvnc SFWxaw3d SFWxterm I used the gcc from Blastwave, so if it wasn't installed as a dependency when you installed pkg-get and Bacula, install it now with "pkg-get -i gcc3". I then made sure to have $PATH and $LD_LIBRARY_PATH set correctly. This should include both the Solaris lib locations as well as SFW and CSW(Blastwave) echo $PATH /opt/sfw/bin:/opt/sfw/sbin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/gcc3/bin:/opt/csw/mysql4/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin echo $LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/opt/csw/lib Once these things were done I downloaded the bacula-2.2.5 src, the dep-pkgs src, and the qt4 src. I first compiled qt4 with the default options to configure and installing it in /usr/local. This is very straight forward. Next I compiled qwt from the dep-pkgs. Basically just go into the qwt-5.0.2directory, edit the qwtconfig.pri for your options, and run qmake. Then run make and make install. Again, straight forward. Finally its time to compile bat. Bat does not compile on its own, and must be done during the compilation of bacula itself. Use configure with all the options for a regular compilation of Bacula with the addition of the following flags "--enable-bat" and "--with-qwt=path_to_qwt" In order to get configure to recognize where qwt is installed the Qt*.pc files located in path_to_qt4/lib/pkgconfig must be copied to /usr/lib/pkgconfig. Also when you configure Bacula, specify an alternate installation path than the one that Blastwave Bacula is installed to. I was using $HOME as the base. Now just run make. Bat will compile and be in the bacula-2.2.5/qt-console directory. I copied bat to /opt/csw/sbin and bat.conf to /opt/csw/etc/bacula (where Blastwave's files are located) This is not a very detailed set of instructions, but does cover the hurdles that I encountered when getting this to work correctly. I hope you find it useful -Shon - 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] SQL errors from failed incremental backup - what happened?
All, I have a job which has failed the last few nights with the following errors: 03-Dec 20:00 mt-back4.director JobId 0: Fatal error: sql_create.c:489 sql_create.c:489 query SELECT ClientId,Uname FROM Client WHERE Name=' mt-back3.mentora' failed: Lost connection to MySQL server during query 03-Dec 20:00 mt-back4.director JobId 0: sql_create.c:489 SELECT ClientId,Uname FROM Client WHERE Name='mt-back3.mentora' 03-Dec 20:00 mt-back4.director JobId 0: Fatal error: sql_create.c:524 sql_create.c:524 insert INSERT INTO Client (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES ('mt-back3.mentora','',1,5184000,15552000) failed: Duplicate entry 'mt-back3.mentora' for key 2 03-Dec 20:00 mt-back4.director JobId 0: sql_create.c:524 INSERT INTO Client (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES ('mt-back3.mentora ','',1,5184000,15552000) 03-Dec 20:00 mt-back4.director JobId 0: Error: sql_create.c:526 Create DB Client record INSERT INTO Client (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES ('mt-back3.mentora','',1,5184000,15552000) failed. ERR= 03-Dec 20:00 mt-back4.director JobId 0: Fatal error: Could not create Client record. ERR=sql_create.c:526 Create DB Client record INSERT INTO Client (Name,Uname,AutoPrune,FileRetention,JobRetention) VALUES ('mt-back3.mentora','',1,5184000,15552000) failed. ERR= I can see that at first, bacula appears to have lost its connection to the MySQL server. I have been investigating this. What I'm not positive about is the "duplicate entry" error and whether or not the rest of these errors are the result of the "lost connection" with MySQL. Any advice is much appreciated, Shon - 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