Re: [Bacula-users] File Set configuration and excluding some files?
On 3/20/2011 5:52 PM, Mike Eggleston wrote: > Afternoon, > > I'm trying to get some spam email folders excluded in the backup. I > wonder if there is an ordering issue I'm missing. For this unix server > I have a: > > File Set { > Name = Unix-Files-elo > Ignore Fileset Changes = yes > Include { > Options { > signature = MD5 > Exclude = yes > IgnoreCase = yes > > # Exclude files and directories that can be replaced > using the red hat network > WildDir = "/var/spool/imap/*/user/*/spam" > } > File = /var/spool/imap > } > } Here is a similar working example from my backups: FileSet { Name = "gecko Files" Ignore FileSet Changes = yes Include { Options { signature = MD5 wildDir = "/share/office/TmpShare/*/personal" wildDir = "/share/homes/*/thunderbird/*/ImapMail" wildDir = "/share/drawings/*dwgs/*/Received" ignore case = yes #so the above will match Personal, etc Exclude = yes } File = /etc File = /root File = /share } # end Include } # end FileSet I wonder if it is a problem with Ignore Case? The documentation is inconsistent about the space between Ignore and Case. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bat on Windows: Jobs Run pane is empty!
On 8/25/2010 2:51 AM, Niccolo Rigacci wrote: > On Wed, Aug 25, 2010 at 11:09:29AM +0200, Niccolo Rigacci wrote: >> >> I just installed Bat on Windows Server 2003, I tried both >> win32bacula-5.0.2.exe and win32bacula-5.0.3.exe, but the result >> is always the same: the "Jobs Run" pane remains empty. > > A new detail: the Jobs Run remains empty only if I run bat as the > Administrator. Running it as another user, it displays correctly. > So not a dll problem. > > Is it a bug or a feature? > I've seen this too. Hover your mouse cursor near the bottom of the window until you see it change to a slider (maybe not the right word, but you'll know when you see it). Drag upward and the information will display. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bat not showing all files
On 6/24/2010 7:37 AM, Mark Stiebel wrote: > > On Tue, Jun 22, 2010 at 10:06 AM, Mark Stiebel <mailto:m...@froop.net>> wrote: > > However, using the windows Bat GUI (both 32 and 64 bit) when trying > to use the Version Browser, it only shows a handful of the > directories available. Deselecting or increasing the record limit > makes no difference. > > > I've noticed now that its not only the version browser, but all the > lists seem to be cut short - jobs, media, pools. Seems to be something > limiting the amount of data that bat is receiving or display. > > Curiously, after enabling the "Display all message in console" debug > option everything works! I have the windows Bat set up on two different machines. They both access bacula running on a linux server. One of my windows machines is win7-64bit and it exhibits the problem you describe. The other is XP-32bit and it does not have the problem. I'll try to test with the debug option and see if that changes anything. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4
On 3/29/2010 4:19 PM, Hugh Brown wrote: > > This looks (to me, anyway) a lot like the problems reported earlier > with OpenSSL: > > * http://marc.info/?l=bacula-users&m=126889471504505&w=2 Oh, I hadn't seen that one. Yes it is the same problem and the fix proposed in that message worked for me too. Thanks for your help! -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with opensslv1.patch when openssl-0.9.8 installed (bacula 5.0.1-2, Centos 5.4 64 bit )
On 3/17/2010 11:38 PM, Norberto Meijome wrote: > Hi everyone, > I am getting build errors when building 5.0.1-2 from src rpm on Centos > 5.4, 64 bit . > > rpmbuild line: > > rpmbuild --target=$(uname -m) --define build_centos5=1--define > build_client_only=1 --define build_python=1 --define > build_tcpwrappers=1 -bb /bacula.spec > > The error I get is , @ configure stage : > > checking for OpenSSL... checking for EVP_PKEY_encrypt_old in -lssl... no > yes > checking for library containing dlopen... -ldl > > (notice the 'no', then 'yes'... ??) > > then, @ build stage : > Compiling smartall.c > Compiling rblist.c > Compiling tls.c > tls.c: In function 'bool tls_postconnect_verify_host(JCR*, > TLS_CONNECTION*, const char*)': > tls.c:354: error: invalid conversion from 'const X509V3_EXT_METHOD*' to > 'v3_ext_method*' > make[1]: *** [tls.lo] Error 1 > > > I then found > http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/fedora-12-and-opensslv1-bacula-5-0-1-2-rpm-release-104496/ > > > Question - is 5.0.1-2 ONLY meant for FC-11 / 12 ?? > > > I am not sure how to check, in an RPM Spec for version of openssl-devel > installed , but blatingly forcing a OS / library specifc patch on any OS > seems a bit much, IMHO. > > The patch below ( [1] ) for bacula.spec "Worked-For-Me (tm)". > > Please let me know if you want me to log this in Mantis. > > cheers, > Beto Confirming that I experienced the same problem on Centos 5.4 32-bit. Your patch to the spec file solved the problem for me too. I think this should be reported as a bug in the rpm spec file. Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Rebuilding 5.0.1-2 src rpm on Centos 5.4
I haven't been able to get the src rpm for 5.0.1-2 to build on Centos 5.4. I have successfully built many prior versions of bacula on this machine, so I'm not sure what is wrong. I've read the previous posts and the wiki article about this but none of them seems like the problem I have. I'm using the following command: rpmbuild --rebuild bacula-5.0.1-2.src.rpm --define "build_centos5 1" --define "build_mysql 1" The first errors appear here: Compiling rblist.c Compiling tls.c Compiling tree.c Compiling util.c tls.c: In function ‘bool tls_postconnect_verify_host(JCR*, TLS_CONNECTION*, const char*)’: tls.c:354: error: invalid conversion from ‘const X509V3_EXT_METHOD*’ to ‘v3_ext_method*’ make[1]: *** [tls.lo] Error 1 make[1]: *** Waiting for unfinished jobs make[1]: Leaving directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/lib' == Error in /usr/src/redhat/BUILD/bacula-5.0.1/src/lib == ==>Entering directory /usr/src/redhat/BUILD/bacula-5.0.1/src/findlib make[1]: Entering directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/findlib' Compiling find.c Compiling match.c Compiling find_one.c Compiling attribs.c Compiling create_file.c Compiling bfile.c Compiling drivetype.c Compiling enable_priv.c Compiling fstype.c Compiling mkpath.c make[1]: *** No rule to make target `../lib/libbac.la', needed by `all'. Stop. make[1]: *** Waiting for unfinished jobs Compiling savecwd.c make[1]: Leaving directory `/usr/src/redhat/BUILD/bacula-5.0.1/src/findlib' == Error in /usr/src/redhat/BUILD/bacula-5.0.1/src/findlib == and then it continues with many more errors like the previous. Any help appreciated. I can send in a full log if that would be useful. Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Feature Request - directory permissions
I am not subscribed to the devel list, so if someone would forward this I would appreciate it. The website says to submit it to both the users and devel lists. Thanks. Item 1: Restore proper ownership and permissions to created directories Origin: Mark Nienberg Date: 26 January 2010 What: Currently the only way to get bacula to restore directory ownership and permissions is to select a directory (not a file) to be restored and to use Replace=Always. Using Replace=Never or selecting a file (not a directory) to restore results in incorrect ownership and permission on any directories that bacula has to create above the level of the restored object. Why:It is confusing to find the file system in a different state after a restore. Users generally expect the directories to match the backed-up state. Notes: The bug report http://bugs.bacula.org/view.php?id=1444 is not entirely correct. Additional testing shows that results are different when files are marked for restore as opposed to directories. The bug report indicated that the behavior was specific to Replace=Never, but in fact the same thing happens with Replace=Always when a file is restored. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem restoring directory permissions
On 1/12/2010 5:05 PM, Mark Nienberg wrote: > In my test I used Replace Never. Testing now again with Replace Always > works perfectly! I'll reopen the bug report now that it should be > reproducible. Just to complete this thread: http://bugs.bacula.org/view.php?id=1444 -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem restoring directory permissions
On 1/12/10 11:03 AM, Martin Simmons wrote: > Did you mark the directories to be restored or only the files? I think the > problem could occur if you only restored the files. In bconsole I marked the directories, which then marks the files inside by default. I also did a restore using the BAT gui with the same results. > What was the "Replace" setting for the restore? At some point, restoring with > Replace not set to always would cause problems with the directory permissions, > but that might have been fixed. In my test I used Replace Never. Testing now again with Replace Always works perfectly! I'll reopen the bug report now that it should be reproducible. Thank you so much for your help! I'd never of found that. Mark -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem restoring directory permissions
On 1/11/2010 11:06 AM, Mark Nienberg wrote: > Can anyone shed any light on what may be wrong with my configuration? Or can > you > confirm that the same happens on your system? I should have added: [r...@khyber ~]# cat /etc/redhat-release CentOS release 5.4 (Final) [r...@khyber ~]# rpm -q bacula-mysql bacula-mysql-3.0.2-1 -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem restoring directory permissions
Recently one of my users accidentally deleted some files and directories from a samba file server. I restored the missing stuff from a bacula backup, but the user could not access the restored files. Some troubleshooting revealed that the files were restored correctly, but the directories containing the files were restored with incorrect permissions. In order to understand what happened I did some simple testing on the bacula server itself. Here is the simple fileset for the server. FileSet { Name = "khyber Files" Include { Options { signature=MD5 compression=GZIP } File = /etc File = /home File = /root } # end Include } I created some subdirectories with various permissions inside the /root folder drwxrwxrwx 2 root root 4.1k Jan 8 17:17 testdir/ drwxr-xr-x 2 root root 4.1k Jan 8 17:12 testdir2/ drwxrws--- 2 root root 4.1k Jan 6 18:24 testdir3/ drwxr-xr-x 2 mark ftp 4.1k Jan 10 10:54 testdir4/ I added some test files inside the test folders. After a bacula backup was performed, I renamed the test directories by appending "-save" to them. Then I restored from the bacula backup and compared the restored directories to the originals. drwxrw-rw- 2 root root 4.1k Jan 11 10:31 testdir/ drwxrwxrwx 2 root root 4.1k Jan 8 17:17 testdir-save/ drwxr--r-- 2 root root 4.1k Jan 11 10:31 testdir2/ drwxr-xr-x 2 root root 4.1k Jan 8 17:12 testdir2-save/ drwxrw 2 root root 4.1k Jan 11 10:31 testdir3/ drwxrws--- 2 root root 4.1k Jan 6 18:24 testdir3-save/ drwxr--r-- 2 mark ftp 4.1k Jan 11 10:31 testdir4/ drwxr-xr-x 2 mark ftp 4.1k Jan 10 10:54 testdir4-save/ The problem seems to always be related to the group and others "x" permission. The files inside the test directories were all restored correctly. The root umask is 022, but that doesn't explain this. Note that bacula correctly restored the owner and group so it is obviously saving the information about the directories. Can anyone shed any light on what may be wrong with my configuration? Or can you confirm that the same happens on your system? Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Does anyone enable the vxa_packetloader fix in mtx-changer.conf?
Brian Debelius wrote: > I have been using VXA Packetloader on Windows, and Linux, and I have not > ever had to enable this to get the script to work. I am just curious if > anyone uses it. > > (From mtx-changer.conf) > # If you have a VXA PacketLoader, it might display a different > # Storage Element line, so try setting the following to 1 > vxa_packetloader=0 No. I assume that was for some older version of the packetloader. I don't need it for my VXA-320. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Come build with us! The BlackBerry(R) 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/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Creating a Volume on a tape times out
Watson, Joe wrote: > With lsscsi I never find a device for /dev/nst0 is why I went with > /dev/sg0 is it possible bacula is expecting the latter and resolves it > on its own somehow? > > This is the output from lsscsi -g > [4:0:4:0]tapeHP Ultrium 4-SCSI W24W /dev/st0 /dev/sg0 > [4:0:4:1]mediumx HP 1x8 G2 AUTOLDR 2.60 /dev/sch0 /dev/sg1 looks like your Ultrium uses /dev/st0 so try /dev/nst0 in your conf file. nst0 is the same as st0 except it does not rewind. > Is there something in the bacula manual on how to turn on logging in the > mtx-changer script, how do I do that? in recent versions of bacula, you set it in mtx-changer.conf in older versions you set it directly in the script (in your case /etc/bacula/scripts/mtx-changer) -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- 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] Creating a Volume on a tape times out
Watson, Joe wrote: > Trying to label the tapes I have with Label Barcodes on bconsole and it > errors out every time. It times out every time I try labeling a volume > on a tape. In the section: Device { Name = "Ultrium 4-SCSI" Look at the line: Archive Device = /dev/sg0 It is likely that it should be something like: Archive Device = /dev/nst0 If that isn't it, then enable logging for the mtx-changer script and see what the log file says about the failed load. You can test with "mount" and "release", rather than attempting to "label". -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- 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] Migrating APPEND volumes
Mark Nienberg wrote: > In the documentation it says: > > "Jobs on Volumes will be Migration only if the Volume is marked, Full, Used, > or > Error. Volumes that are still marked Append will not be considered for > migration." > > That seems like a good idea. But will Bacula examine the volumes to see if > "Volume > Use duration" has been exceeded, in which case it should change the status > and > migrate it? Or must I do that manually before running the Job. In my case it > is a > Copy job, but I assume the same thing applies. Some actual testing seems to indicate that Bacula takes care of this without my help. Naturally. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- 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] Migrating APPEND volumes
In the documentation it says: "Jobs on Volumes will be Migration only if the Volume is marked, Full, Used, or Error. Volumes that are still marked Append will not be considered for migration." That seems like a good idea. But will Bacula examine the volumes to see if "Volume Use duration" has been exceeded, in which case it should change the status and migrate it? Or must I do that manually before running the Job. In my case it is a Copy job, but I assume the same thing applies. Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- 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
Re: [Bacula-users] bconsole just hangs on new 3.0.1 install
Daniel Clark wrote: > Trying to get bacula up for the first time, but it seems to just not > work - specifically bconsole is unable to connect to bacula-dir. I've > double and triple checked that the password are all the same as the FAQ > suggests, no luck; and if the passwords don't agree, why wouldn't it > just find that out immediately? Try using the real name and address instead of "localhost". Here is my bconsole.conf file as an example. # # Bacula User Agent (or Console) Configuration File # Director { Name = khyber2-dir DIRport = 9101 address = khyber2 Password = "xx" } -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] install bat on RHEL or CentOS
I've got this working now and I wrote up my experience in a wiki article: http://wiki.bacula.org/doku.php?id=howto_create_bat_3.0_rpm_on_rhel_5_or_centos_5 Thanks for the help. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] install bat on RHEL or CentOS
Jayson Broughton wrote: > - BAT has been successfully installed on the server. I had to create a > custom rpm from an Fedora Core 7 qt library and install it. This is how I > did it > > Creating Custom RPM for QT-4.4.3 & Enable BAT > 1. Download qt4-4.3.4-14.fc7.src.rpm from a repo > 2. rpmbuild --rebuild --define 'dist .el5' --define 'rhel5' > qt4.4.3.4-14.fc7.src.rpm > 3. Upon building, go to the directory that the RPM's were built and install > via: > 1. rpm -I qt4-3.4-14.el5.i386.rpm qt4-devel-4.3.4-14.el5.i386.rpm > qt4-x11-4.3.4-14.el5.i386.rpm > 4. After installing the RPM you need to recompile bacula from source to > enable bat, and install bat. > 1. ./configure --enable-bat --enable-client-only --with-qwt=/usr/lib > && make > 2. cp src/qt-console/bat /usr/sbin > 3. cp src/qt-console/bat.conf /etc/bacula > 4. Change the password in /etc/bacula/bat.conf to the director > password > 5. Start: bat -d99 -c /etc/bacula/bat.conf Thanks very much for the tips. This looks promising so I'll have a crack at it. I notice that qt4 4.4.3 is also available for RHEL at ATrpms (testing), so maybe I'll try that rather than rebuilding the fedora package. In any event the important thing seems to be that the RHEL qt4 package will not work and must be replaced. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] install bat on RHEL or CentOS
I see that the RHEL5 rpms from fschwarz do not include bat and I see in the archives that compiling bat on RHEL5 is a frequent problem. There is a wiki article about this but it is from bacula version 2.2.5. What is the current status and is there a How-to that will help me get it done? I'd prefer to use the contrib rpms for bacula itself. I guess I'd like to use the src rpm to build a bat rpm if possible. Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] must autochanger error be Fatal?
From time to time my library messes up a tape change, but the mtx-changer script (modified by me) detects this and exits with return value of 1 to indicate failure. In this case, bacula kills the job with a Fatal Error. I would prefer that bacula ask for operator intervention to fix the tape load and then continue after I manually mount it. Otherwise all the time it spent writing tapes up to the point of failure is wasted and must be run again. Does that make sense? Is it possible? A feature request maybe? Here is some sample output from such a case: 11-Jul 06:19 khyber-sd JobId 3179: End of Volume "A008" at 197:8966 on device "VXA3drive" (/dev/nst0). Write of 64512 bytes got -1. 11-Jul 06:20 khyber-sd JobId 3179: Re-read of last block succeeded. 11-Jul 06:20 khyber-sd JobId 3179: End of medium on Volume "A008" Bytes=196,927,266,816 Blocks=3,052,567 at 11-Jul-2009 06:20. 11-Jul 06:20 khyber-sd JobId 3179: 3307 Issuing autochanger "unload slot 8, drive 0" command. 11-Jul 06:23 khyber-dir JobId 3179: Recycled volume "A007" 11-Jul 06:23 khyber-sd JobId 3179: 3301 Issuing autochanger "loaded? drive 0" command. 11-Jul 06:23 khyber-sd JobId 3179: 3302 Autochanger "loaded? drive 0", result: nothing loaded. 11-Jul 06:23 khyber-sd JobId 3179: 3304 Issuing autochanger "load slot 7, drive 0" command. 11-Jul 06:52 khyber-sd JobId 3179: Fatal error: 3992 Bad autochanger "load slot 7, drive 0": ERR=Child exited with code 1. Results=libTool V1.62 - (c) 2002-2004 Exabyte Corp. -- then a bunch of garbage -- 11-Jul 06:52 khyber-sd JobId 3179: Job write elapsed time = 05:43:30, Transfer rate = 9.529 M bytes/second 11-Jul 06:52 khyber-sd JobId 3179: Fatal error: fd_cmds.c:170 Command error with FD, hanging up. Append data error. 11-Jul 06:52 gecko-fd JobId 3179: Fatal error: backup.c:948 Network send error to SD. ERR=Connection reset by peer 11-Jul 06:52 khyber-dir JobId 3179: Error: Bacula khyber-dir 3.0.1 (30Apr09): 11-Jul-2009 06:52:00 -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bat 3.0.1 from src.rpm not working
Here is some more info. I made the initial rpms using "rpmbuild --rebuild" (plus some options) Now, I did "rpm -i bacula.src.rpm" and then "rpmbuild -bb /usr/src/redhat/SPECS/bacula.spec" (plus some options) with this approach, the BUILD directory is not cleaned after the packages are build, so bat is able to locate the files it needs to do the "relink" and bat starts correctly. So now I'm wondering if this is a one-time-only requirement or if I must leave the BUILD directory in place in order to keep bat running in the future? Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bat 3.0.1 from src.rpm not working
Dirk Bartley wrote: > Something that changed recently is that bat is a script that runs the > binary. The script usually wants to see the binary in a subdirectory > called .libs of the pwd of the script. > > Not sure as to what the packaging solution is. All apologies. > > Dirk Oh, I guess it is a packaging problem then. The rpm installs the wrapper script in /usr/sbin/bat and the executable file in /bin/bat. At the top of the wrapper script it says: "This wrapper script should never be moved out of the build directory. If it is, it will not operate correctly." But of course there is no build directory in an rpm installation. I don't see how this could possibly work. Does anyone have a working bat that was installed from rpm? Mark Sent from an invalid address. Please reply to the group. > > > On Fri, 2009-06-19 at 10:35 -0700, Mark Nienberg wrote: >> I rebuilt the bacula 3.0.1 src rpm on a fedora core 7 system and everything >> seemed to >> work out fine except bat. An rpm was built and it installed, but when I >> start it I get >> >> [r...@khyber bacula-3.0.1]# bat >> /usr/sbin/bat: line 118: cd: >> /usr/src/redhat/BUILD/bacula-3.0.1/src/qt-console: No >> such file or directory >> g++: obj/main.o: No such file or directory >> g++: obj/bat_conf.o: No such file or directory >> g++: obj/mainwin.o: No such file or directory >> etc, etc >> >> Bat 2.4.4 built and worked just fine on this system. >> >> It has the correct qt: >> >> [r...@khyber bacula-3.0.1]# rpm -qa | grep qt >> qt4-x11-4.3.4-14.fc7 >> qt4-devel-4.3.4-14.fc7 >> qt4-4.3.4-14.fc7 >> >> Any hints on getting this to work? thanks, -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bat 3.0.1 from src.rpm not working
I rebuilt the bacula 3.0.1 src rpm on a fedora core 7 system and everything seemed to work out fine except bat. An rpm was built and it installed, but when I start it I get [r...@khyber bacula-3.0.1]# bat /usr/sbin/bat: line 118: cd: /usr/src/redhat/BUILD/bacula-3.0.1/src/qt-console: No such file or directory g++: obj/main.o: No such file or directory g++: obj/bat_conf.o: No such file or directory g++: obj/mainwin.o: No such file or directory etc, etc Bat 2.4.4 built and worked just fine on this system. It has the correct qt: [r...@khyber bacula-3.0.1]# rpm -qa | grep qt qt4-x11-4.3.4-14.fc7 qt4-devel-4.3.4-14.fc7 qt4-4.3.4-14.fc7 Any hints on getting this to work? thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bad file dates cause incremental backups
Kevin Keane wrote: > Easy solution: use "touch" to fix the file date. Or wait 15 years and > ten months and the problem will go away by itself. Yes, I am in the process of doing the touch thing. But the fact that these files get backed up makes me thing something is a little bit wrong with the algorithm that determines incrementals. Anyway, I can live with it. Thanks, -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bad file dates cause incremental backups
I have a bunch of files on a file server that have dates in the future like 3/28/2025. These are mostly image files downloaded from a digital camera that probably had the date set incorrectly. I noticed that these files are included in every incremental backup, even though they have not changed since the last full backup. The director/storage is bacula 2.4.4 on a fedora 7. The server is centOS 5.2. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] spool attributes in Schedule Resource?
I've decided to do some tests with Spool Attributes to see if it speeds up my full backups to tape. I noticed that the documentation says I can set Spool Attributes in the Job resource. It does not mention that I can set Spool Attributes in the Schedule Resource, although it does have Spool Data in the Schedule Resource. I think the Schedule would make more sense for my setup. Will it work there? -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Lost another label
Brian Debelius wrote: > I have mtx-changer modified for the wait_for_drive to time out after 25 > minutes. And, yes sometimes it does take a long time to load a tape. > I'll have to ping Mark Nienberg and see if hes discovered anything since > he last reported it. Although in his case, a second mount was successful. A second mount almost always works for me. But I have seen the second mount fail and then a third mount work. So if your problem is the same as mine, then the issue is not that the tape loses its label, it is that the drive doesn't successfully load the tape sometimes. I have modified the mtx-changer script so it loads a tape and then tries to read the label with btape. If it fails, then it unloads and reloads and tries again. If it fails again, then a third attempt is made before giving up. In theory, this reduces a 20% failure rate to .20 x .20 x .20 = .008 or 99.2% success. The 20% failure rate is a guess. I haven't actually counted my successes and failures, but if anything I suspect it fails even more often than 20%. -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula+Exabyte VXA2
Matthew Conley wrote: > Curious is anyone using a VXA2 with their bacula? I wanted to see the > storage part of other bacula config files. I'm using a VXA-320 with the packetloader changer. Would that help? -- Mark Nienberg Sent from an invalid address. Please reply to the group. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] tape replacement
Roy Kidder wrote: > One of my tapes was physically damaged. I want to label another tape with > the same label so that it truly takes the place of the old tape. In other > words, I don't want to delete the old one and create a new one. > > Can anyone tell me if this is possible? > Yes. Say your tape has volume name of "A001". In bconsole: purge volume=A001 delete volume=A001 (you could probably skip the purge command, the delete should do the same thing.) stick in your new tape and then use the "label" command. If you use barcodes, then obviously the new barcode must match the old one and you would use "label slots=1 barcodes" if your new tape is in slot 1. In either case, the label command will ask you which pool to put the volume in and you should make it match the old tape. Mark Nienberg -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] tape read errors
John Drescher wrote: > On Mon, Mar 3, 2008 at 5:59 PM, Mark Nienberg <[EMAIL PROTECTED]> wrote: >> John Drescher wrote: >> >> > Have you tried adding a delay in your mtxchanger script where it says >> > it might be needed? >> >> In mtx-changer >> >> # Increase the sleep time if you have a slow device >> # or remove the sleep and add the following: >> # sleep 15 >>wait_for_drive $device >> >> so it is using the wait routine instead of the delay. Is this what you >> mean? >> > Yes. That is what I mean. The wait_for_device does not always work > with all changers and so sleeping will sometimes improve things if > this is indeed the cause of the problem. I'll switch to the sleep method then and see how it goes. Thanks very much for your help. Mark - 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] tape read errors
John Drescher wrote: > Have you tried adding a delay in your mtxchanger script where it says > it might be needed? In mtx-changer # Increase the sleep time if you have a slow device # or remove the sleep and add the following: # sleep 15 wait_for_drive $device so it is using the wait routine instead of the delay. Is this what you mean? Mark - 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
[Bacula-users] tape read errors
I'm seeing this happen more often: 3304 Issuing autochanger "load slot 2, drive 0" command. 3305 Autochanger "load slot 2, drive 0", status is OK. 3301 Issuing autochanger "loaded? drive 0" command. 3302 Autochanger "loaded? drive 0", result is Slot 2. block.c:995 Read error on fd=6 at file:blk 0:0 on device "VXA3drive" (/dev/nst0). ERR=Input/output error. block.c:995 Read error on fd=6 at file:blk 0:0 on device "VXA3drive" (/dev/nst0). ERR=Input/output error. 3902 Cannot mount Volume on Storage Device "VXA3drive" (/dev/nst0) because: Requested Volume "" on "VXA3drive" (/dev/nst0) is not a Bacula labeled Volume, because: ERR=block.c:995 Read error on fd=6 at file:blk 0:0 on device "VXA3drive" (/dev/nst0). ERR=Input/output error. 3905 Device "VXA3drive" (/dev/nst0) open but no Bacula volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. So then I unmount and remount the volume (which means it is unloaded and reloaded by the changer) and it works. Bacula 2.2.6 with a VXA320 drive and packetloader changer. The tapes (yes it happens on multiple tapes) are relatively new and the drive has just been cleaned. Any suggestions for troubleshooting? Thanks, Mark - 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] Fatal error loading slot
John Drescher wrote: >> > 23-Feb 06:21 khyber-sd JobId 1843: 3304 Issuing autochanger "load slot >> > 1, drive 0" command. >> > >> > 23-Feb 06:26 khyber-sd JobId 1843: Fatal error: 3992 Bad autochanger >> > "load slot 1, drive 0": ERR=Child died from signal 15: Termination. >> > Results=Loading media from Storage Element 1 into drive 0...done >> > Program killed by Bacula watchdog (timeout) >> > >> > This is bacula 2.2.6. >> >> So I gather I am the only one to ever see this error. It seems more like a >> bacula >> error than an actual problem with the changer. I guess I'll restart bacula >> and hope >> for the best unless someone has a better idea. >> > I have never seen this error. I do have one question. Was the correct > tape actually loaded in the drive when this error occurred? How long > does your tape drive take to rewind a tape? Is it possible that the > rewind time + autochanger unload time + autochanger load time was > greater than 5 minutes? Also I believe you can make this 5 minute > limit larger. That's a good idea. I increased the timeout in the changer script. But in my experience it doesn't take nearly 5 minutes for this to happen. The correct tape was loaded into the drive by the changer. It seems like the bacula process that does the loading died for some reason (after requesting the load) and so it timed out. At least that is how I interpret the error message, but maybe the message is giving me the wrong impression. Mark - 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] Fatal error loading slot
Mark Nienberg wrote: > Can anyone shed some light on the following fatal error? It happened > during a tape change in the middle of a full backup. The autochanger > has been working just fine prior to this and in fact the requested tape > was successfully loaded into the drive (status storage shows it in there > and so does the drive utility). > > 23-Feb 01:10 khyber-dir JobId 1843: Start Backup JobId 1843, > Job=gecko.2008-02-23_01.05.52 > > 23-Feb 01:10 khyber-dir JobId 1843: Using Device "VXA3drive" > > 23-Feb 06:16 khyber-sd JobId 1843: End of Volume "A006" at 201:12847 > on device "VXA3drive" (/dev/nst0). Write of 64512 bytes got -1. > > 23-Feb 06:17 khyber-sd JobId 1843: Re-read of last block succeeded. > > 23-Feb 06:17 khyber-sd JobId 1843: End of medium on Volume "A006" > Bytes=200,757,150,720 Blocks=3,111,934 at 23-Feb-2008 06:17. > > 23-Feb 06:20 khyber-dir JobId 1843: There are no more Jobs associated > with Volume "A003". Marking it purged. > > 23-Feb 06:20 khyber-dir JobId 1843: All records pruned from Volume > "A003"; marking it "Purged" > > 23-Feb 06:20 khyber-dir JobId 1843: Recycled volume "A003" > > 23-Feb 06:20 khyber-sd JobId 1843: 3307 Issuing autochanger "unload slot > 5, drive 0" command. > > 23-Feb 06:21 khyber-sd JobId 1843: 3304 Issuing autochanger "load slot > 1, drive 0" command. > > 23-Feb 06:26 khyber-sd JobId 1843: Fatal error: 3992 Bad autochanger > "load slot 1, drive 0": ERR=Child died from signal 15: Termination. > Results=Loading media from Storage Element 1 into drive 0...done > Program killed by Bacula watchdog (timeout) > > This is bacula 2.2.6. So I gather I am the only one to ever see this error. It seems more like a bacula error than an actual problem with the changer. I guess I'll restart bacula and hope for the best unless someone has a better idea. Mark - 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] Fatal error loading slot
Mark Nienberg wrote: > Can anyone shed some light on the following fatal error? It happened > during a tape change in the middle of a full backup. The autochanger > has been working just fine prior to this and in fact the requested tape > was successfully loaded into the drive (status storage shows it in there > and so does the drive utility). > And as a follow up question: The job ended with an error but it wrote most of the backup to the first tape before it failed loading the second tape. Can I manually purge the job and change the first tape status back to "append" to get it to start over from the beginning? There is an older job on the first tape that I need to keep, so I can't purge the entire volume. Mark - 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
[Bacula-users] Fatal error loading slot
Can anyone shed some light on the following fatal error? It happened during a tape change in the middle of a full backup. The autochanger has been working just fine prior to this and in fact the requested tape was successfully loaded into the drive (status storage shows it in there and so does the drive utility). 23-Feb 01:10 khyber-dir JobId 1843: Start Backup JobId 1843, Job=gecko.2008-02-23_01.05.52 23-Feb 01:10 khyber-dir JobId 1843: Using Device "VXA3drive" 23-Feb 06:16 khyber-sd JobId 1843: End of Volume "A006" at 201:12847 on device "VXA3drive" (/dev/nst0). Write of 64512 bytes got -1. 23-Feb 06:17 khyber-sd JobId 1843: Re-read of last block succeeded. 23-Feb 06:17 khyber-sd JobId 1843: End of medium on Volume "A006" Bytes=200,757,150,720 Blocks=3,111,934 at 23-Feb-2008 06:17. 23-Feb 06:20 khyber-dir JobId 1843: There are no more Jobs associated with Volume "A003". Marking it purged. 23-Feb 06:20 khyber-dir JobId 1843: All records pruned from Volume "A003"; marking it "Purged" 23-Feb 06:20 khyber-dir JobId 1843: Recycled volume "A003" 23-Feb 06:20 khyber-sd JobId 1843: 3307 Issuing autochanger "unload slot 5, drive 0" command. 23-Feb 06:21 khyber-sd JobId 1843: 3304 Issuing autochanger "load slot 1, drive 0" command. 23-Feb 06:26 khyber-sd JobId 1843: Fatal error: 3992 Bad autochanger "load slot 1, drive 0": ERR=Child died from signal 15: Termination. Results=Loading media from Storage Element 1 into drive 0...done Program killed by Bacula watchdog (timeout) This is bacula 2.2.6. Thanks, Mark - 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] Using Bacula with CentOS + Xen
Keith Sudbury wrote: > I am also wondering what is the best way to install Bacula on RHEL and > it's clones like CentOS? This must be a popular version of Linux to > install Bacula on? Are there any RPM's available? EL5 rpms (which work fine on CentOS 5) are here http://sourceforge.net/project/showfiles.php?group_id=50727&package_id=213714 although it is one version behind at the moment. Mrk - 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] Barcode Labels
Bob Duman wrote: > I have been using Bacula for about 6 months with two independent tape > drives. I came up with my own volume naming scheme. We have just > purchased a Quantum Superloader 3 and it comes with a set of barcode > labels that do not match my volume naming scheme. The Quantum labels > are 3 alpha and 3 numeric characters (i.e. AFG670). My volume naming > scheme is one alpha and 5 numeric (i.e. A0001). > > > > Is there a way to rename volumes in Bacula to match the new barcodes? > If there is not, does anyone on the list know if the Quantum Superloader > 3 will support custom barcode labels with my volume format? > I am also migrating from my own volume names to standard barcode labels. I set up new pools for the barcode volumes and when the time comes for each of my tapes to be re-used I manually use bconsole to relabel them with barcodes. This deletes the old volume and all related information and sets up the tape in the new pool. Gradually my tapes are all moving into the new pools, but I can still restore from those that have not yet been recycled. Mark - 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] bat version browser and JobList not working
Sukesh Nischal wrote: > Hello > > I have the most recent version of bacula-bat installed. Problem is that > when I click on Version Browser or JobList nothing is showing on the > right hand window - it is blank. > > This was working previously. I dont know what Ive done to mess it up. > All I can remember is that I was tinkering with the bacula-dir.conf file > before this happened. But I have now restored the original file back > into place but this hasnt helped. > > I've rebooting my linux client and restarting the bacula daemons on the > Bacula server to no avail. > > Please help! Look carefully at the right hand side. If you see little vertical lines near the top or bottom, grip them with your mouse pointer and drag them up or down. This will resize the display area to show the browser or joblist. P.S. This happened to me too and it took a long time for me to figure it out! Mark - 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] Getting device / autochanger status for external script?
John Stoffel wrote: > Mark> John Stoffel wrote: >>> even if you *don't care* which drive gets used, bacula should just >>> pick it's own damm drive for the checking, if needed. And since >>> update slots hacks the Media table, what's the process to get the >>> status without an update? > > Mark> Does this give you what you need? > > Mark> #!/bin/sh > Mark> bconsole -c /etc/bacula/bconsole.conf < Mark> query > Mark> 15 > Mark> quit > Mark> END_OF_DATA > > Not really, since it doesn't show which tapes are in which drives (if > in any). I can already get this information from the DB using my > script. > > I'm now looking for: > > 1. Number of slots in jukebox > 2. Which tape(s) are in which drive(s). "status storage" is the only way I know to get bacula's opinion of what tape is in what drive. My changer came with a utility program that can output the slot occupants and the tape drive status. Maybe you have something similar? Otherwise mtx or the bacula mtx-changer script can do some of this. The number of slots for example: /etc/bacula/mtx-changer /dev/sg0 slots Mark - 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] Getting device / autochanger status for external script?
John Stoffel wrote: > > even if you *don't care* which drive gets used, bacula should just > pick it's own damm drive for the checking, if needed. And since > update slots hacks the Media table, what's the process to get the > status without an update? Does this give you what you need? #!/bin/sh bconsole -c /etc/bacula/bconsole.conf
[Bacula-users] library auto clean
My new VXA packetloader tape library has an option to clean itself when needed if I keep a cleaning tape in the library and configure it to do so. Does anyone know if this feature plays well with bacula? I'm wondering what happens if it decides to clean itself in between tape loads or something. Thanks, Mark - 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] bacula centos rpms
Dave wrote: > Hello, > What is the latest bacula rpms available for centos 5.x? Right now i'm > running the client only on a few machines and that's at 2.2.4-1 i'm > wondering if first there's something later and second if so, if there are > any new features clientside that would justify upgrade? 2.2.6 is available at http://sourceforge.net/project/showfiles.php?group_id=50727 (use the one for el5). You could also rebuild the source for 2.2.7 or wait a bit until it shows up in the rpm contrib area. I don't think there is anything on the client side that has changed, but it is easy enough to keep updated so why not? Mark - 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] restore failed
Hmm, seems like a catalog problem. When I list all the backups for this client I get this (shortened format): +---+--+---+-++ | JobId | Client | Level | StartTime | VolumeName | +---+--+---+-++ | 833 | gecko-fd | F | 2007-02-03 01:06:03 | Monthly-4 | | 1,236 | gecko-fd | F | 2007-07-07 01:08:55 | Monthly-3 | | 1,310 | gecko-fd | F | 2007-08-04 01:07:58 | Monthly-4 | | 1,386 | gecko-fd | F | 2007-09-01 01:08:56 | Monthly-5 | | 1,478 | gecko-fd | F | 2007-10-06 01:08:49 | Monthly-6 | | 1,553 | gecko-fd | F | 2007-11-03 01:10:53 | Monthly-1 | | 1,591 | gecko-fd | F | 2007-11-17 01:09:14 | Weekly-3 | | 1,611 | gecko-fd | F | 2007-11-24 01:05:36 | Weekly-4 | | 1,623 | gecko-fd | I | 2007-11-29 01:05:06 | Daily-0001 | | 1,626 | gecko-fd | I | 2007-11-30 01:05:10 | Daily-0002 | But that first job 833 from 2007-02-03 can't really be on volume Monthly-4 because that volume was overwritten on 2007-08-04. For some reason it wasn't dropped from the catalog. Is there a way for me to due this manually to get the catalog back in shape? Mark - 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] restore failed
I marked two directories to restore and the restore went like this: 20-Dec 16:32 buckeye-dir JobId 1678: Start Restore Job RestoreFiles.2007-12-20_16.32.41 20-Dec 16:32 buckeye-dir JobId 1678: Using Device "VXA3drive" 20-Dec 16:34 buckeye-sd JobId 1678: Ready to read from volume "Monthly-4" on device "VXA3drive" (/dev/nst1). 20-Dec 16:34 buckeye-sd JobId 1678: Forward spacing Volume "Monthly-4" to file:block 63:0. 20-Dec 16:39 buckeye-dir JobId 1678: Bacula buckeye-dir 2.2.6 (10Nov07): 20-Dec-2007 16:39:26 Build OS: i686-redhat-linux-gnu redhat (Stentz) JobId: 1678 Job:RestoreFiles.2007-12-20_16.32.41 Restore Client: gecko-fd Start time: 20-Dec-2007 16:32:49 End time: 20-Dec-2007 16:39:26 Files Expected: 120 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination:Restore OK -- warning file count mismatch Note that 120 files were expected, but none restored. Any ideas? Thanks, Mark - 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] is time difference causing problems with auto labeling
Jason Joines wrote: > Mark Nienberg wrote: >> Jason Joines wrote: >> >>> Anyone seen this before? Is it just a time synchronization issue >>> causing the error? >> Actually, it looks like your autolabel mechanism is not incrementing >> properly. I >> think bacula is trying to operate multiple times on the same volume name. >> >> Mark > > > > Here's my default pool definition: > Pool > { >Name = Default >Pool Type = Backup >Recycle = yes >AutoPrune = yes >Volume Retention = 365 days >Maximum Volume Jobs = 1 >Maximum Volume Bytes = 5368709120 >LabelFormat = "$JobName-$namecount" > } > > Failure to increment may've been part of the problem. I didn't > think so at the time because I hadn't yet had a job over 5 GB. Then I > realized I had set "Maximum Volume Bytes = 5242880" or 5 MB instead of 5 GB. > > I had started another thread about incrementing the counter. It is > defined like this: > Counter > { > Name = namecount > Minimum = 100 > } > I don't know if it will increment like that or not. I tried: > LabelFormat = "$JobName-$namecount+" but got an error about an invalid > character in my variable name. How do you use the increment operator? I don't know that. But I would first get it working with something like LabelFormat = "Test-" After that works you will know your problem was related to labels and you can then start messing with various labeling schemes. Mark - 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] is time difference causing problems with auto labeling
Jason Joines wrote: > Anyone seen this before? Is it just a time synchronization issue > causing the error? Actually, it looks like your autolabel mechanism is not incrementing properly. I think bacula is trying to operate multiple times on the same volume name. Mark - 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] is time difference causing problems with auto labeling
Jason Joines wrote: > > Anyone seen this before? Is it just a time synchronization issue > causing the error? I doubt it has anything to do with the time. Let's see the pool definition for the default pool in your bacula-dir.conf file. Mark - 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] RHEL/CentOS and mtx
I'm getting ready to upgrade my bacula server to better hardware and replace my single tape drive with an autoloader. I saw this comment in the documentation: "Note, we have feedback from some users that there are certain incompatibilities between the Linux kernel and mtx. For example between kernel 2.6.18-8.1.8.el5 of CentOS and RedHat and version 1.3.10 and 1.3.11 of mtx. This was fixed by upgrading to a version 2.6.22 kernel." Does anyone know if this issue has been resolved in the recent RHEL5.1 release? I was planning on using RHEL/CentOS on the new server but I don't want to use non-stock kernels. If it is still a problem I could use a fedora distro instead. Thanks, Mark - 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] bad LastWritten dates in catalog
Allan Black wrote: > Mark Nienberg wrote: >> Now I know this seems impossible and you are thinking that some sort of >> operator >> error has occurred. The only thing I can think of is that I may have >> restored from >> these tapes on those later dates, but of course that should not have >> affected the >> LastWritten date. > > No, it's not impossible, it wasn't operator error, and of course a restore > shouldn't > have affected the LastWritten field, but it did. :-) > > This is Issue ID 982, which was fixed by Eric Bollengier recently. There's a > patch on > the SourceForge download section for it. Thanks Allan and Arno, Good to know I'm not losing my mind. Mark - 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] bad LastWritten dates in catalog
In a pool of 4 volumes I discovered that two of them had what seem to be incorrect dates listed in the LastWritten field of the catalog. Needless to say, this messed up my tape rotation. One volume had the date 2007-10-18 when it was actually last used on 2007-09-29. The other was closer, off by only 3 days. Now I know this seems impossible and you are thinking that some sort of operator error has occurred. The only thing I can think of is that I may have restored from these tapes on those later dates, but of course that should not have affected the LastWritten date. I'll be keeping a close watch on them for a while, but I mention it here in case anyone has other ideas. This is bacula 2.2.5. P.S. I simply manually purged a tape to get back on the correct rotation. Thanks, Mark - 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] bug 969 not fixed
bug 969 shows as fixed in 2.2.5 but it is still broken for me as shown below. [EMAIL PROTECTED] ~]$ rpm -q bacula-mysql bacula-mysql-2.2.5-1 Run Restore job JobName: RestoreFiles Bootstrap: /var/bacula/buckeye-dir.restore.2.bsr Where: / Replace: always FileSet: gecko Files Backup Client: gecko-fd Restore Client: gecko-fd Storage: VXA3tape When:2007-10-18 15:02:54 Catalog: MyCatalog Priority:10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Restore Client 6: When 7: Priority 8: Bootstrap 9: Where 10: File Relocation 11: Replace 12: JobId Select parameter to modify (1-12): 11 Replace: 1: always 2: ifnewer 3: ifolder 4: never Select replace option (1-4): 4 Run Restore job JobName: RestoreFiles Bootstrap: /var/bacula/buckeye-dir.restore.2.bsr Where: / Replace: always << should be never FileSet: gecko Files Backup Client: gecko-fd Restore Client: gecko-fd Storage: VXA3tape When:2007-10-18 15:02:54 Catalog: MyCatalog Priority:10 Mark - 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] bconsole problem with modify restore job
[EMAIL PROTECTED] ~]$ rpm -q bacula-mysql bacula-mysql-2.2.4-1 In bconsole I cannot change the "Replace" option in a restore job. See the following partial bconsole session: 8 files selected to be restored. Defined Clients: 1: gecko-fd 2: gingham-fd 3: buckeye-fd 4: tesla-fd Select the Client (1-4): 1 Run Restore job JobName: RestoreFiles Bootstrap: /var/bacula/buckeye-dir.restore.1.bsr Where: / Replace: always FileSet: gecko Files Backup Client: gecko-fd Restore Client: gecko-fd Storage: File When:2007-10-03 11:33:07 Catalog: MyCatalog Priority:10 OK to run? (yes/mod/no): mod Parameters to modify: 1: Level 2: Storage 3: Job 4: FileSet 5: Restore Client 6: When 7: Priority 8: Bootstrap 9: Where 10: File Relocation 11: Replace 12: JobId Select parameter to modify (1-12): 11 Replace: 1: always 2: ifnewer 3: ifolder 4: never Select replace option (1-4): 4 Run Restore job JobName: RestoreFiles Bootstrap: /var/bacula/buckeye-dir.restore.1.bsr Where: / Replace: always that should be "never" FileSet: gecko Files Backup Client: gecko-fd Restore Client: gecko-fd Storage: File When:2007-10-03 11:33:07 Catalog: MyCatalog Priority:10 I'm sure this used to work in prior versions (at least in the 1.series). Mark - 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] Fedora/CentOS RPMs for 2.2.4 published
Felix Schwarz wrote: > No Fedora 5: > I did not build RPMs for Fedora 5 because the Fedora Project eol'd this > version > of Fedora at the end of June [1]. If you are still using Fedora 5 (or even > older > versions) IMHO you should switch either to new versions of Fedora or use > CentOS > if you need longer support cycles. However, if enough users demand FC5 > packages, > I'm willing to build them at least for 2.2.4. Sourceforge shows that your version 2.0.3 for fedora 5 had: 312 downloads for the client, 221 downloads for mysql, 130 downloads for postgre, and 140 downloads for sqlite for a total of 803 (combining i386 and x86_64). I don't think it is at all unusual to have a dedicated backup server on a protected network running an EOL version of fedora. Also, the official rpms still support fedora 4 (which I still use, I'm embarrassed to admit). In any event, thanks for your contributions. Mark - 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] exclusion question
Mark Nienberg wrote: > If not, is it possible to simulate it with an option something like this: > > Include { > Options { > Exclude = yes > } > File = \ } > > where the "program.to.run.on.client" would search for a particular file name > and > create a list of directories where it is present. A closer reading of the docs makes me think that the "program.to.run.on.client" would have to be run from a cron job or maybe a "Client Run Before Job" and then File = \> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] exclusion question
I recently upgraded from 1.38 to the current stable. I didn't do it earlier because, well, everything worked so well. Now I'm trying to come up to speed with the changes and new features. I'm curious if a feature to prevent descending into a directory by having an indicator file with some specific name in the directory was ever implemented. I vaguely remember it being on the wish list at one time. It would allow me to greatly simplify my FileSet resources. If not, is it possible to simulate it with an option something like this: Include { Options { Exclude = yes } File = \> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] label a tape replacement
I recently had a problem that made me want to erase and relabel a bacula tape, keeping its same name so it would stay in the same spot in the tape rotation scheme. I recycled and purged the volume in the catalog, then deleted the volume, erased the tape using the tape drive tools, then used bconsole to label it again with the old name. Is there a way to label a tape that is already in the catalog? It looks to me like the relabel command is intended to write labels on tapes that already have bacula labels, which in my case it did not (I erased it). I can see this coming up also when I decide a tape is too old and should be replaced. I'll need to substitute a blank tape and label it with a name that already exists. Thanks, Mark - 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] Exabyte VXA-2 PacketLoader 1x10 1U
Rob Ostrander wrote: > I am having the same really slow vxa throughput experience. I don't > have any real numbers to back it up though a job which used to take 4 > hours using dump has take 12+ in bacula. I suspect has to do with either > the block size, fast forward space file or compression. > > Here is the device description I am using: > Device { > Name = Drive-1 # > Drive Index = 0 > Media Type = "VXA Packet Tape" > Archive Device = /dev/nst0 > AutomaticMount = yes # when device opened, read it > AlwaysOpen = yes > RemovableMedia = yes > RandomAccess = no > AutoChanger = yes > Minimum Block Size = 1024 > Maximum Block Size = 1024 > Hardware End of Medium = No > Fast Forward Space File = No > Backward Space Record = No > Backward Space File = Yes > Forward Space Record = Yes > Forward Space File = Yes > Offline On Unmount = Yes > Label Media = Yes > } > > If you having a vxa drive working well could you please post your Device > {} settings? Here are two of them from my setup. I don't think you should use a fixed block size. # The big VXA-3 tape drive, used for weekly backups Device { Name = VXA3drive Media Type = VXA3 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # specify the changer device so it can be subbed into alert cmd below Changer Device = /dev/sg0 AutoChanger = no # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } # The old VXA-1 drive, used for occasional static backups Device { Name = VXA1drive Media Type = VXA1 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # specify the changer device so it can be subbed into alert cmd below Changer Device = /dev/sg1 AutoChanger = no # Enable the Alert command only if you have the mtx package loaded Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" } Mark Nienberg ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: excluding with wildcards
Cedric Tefft wrote: Mark Nienberg wrote: I understand that I can't change a fileset definition without triggering a full backup Actually, you can. Just add the line: Ignore FileSet Changes = yes to your file set definition. Does this mean that the fileset changes are ignored completely until the next full backup? Or does it mean that the incremental backups use the new fileset definition without forcing a full backup? The documentation says this: Normally, if you modify the FileSet Include or Exclude lists, the next backup will be forced to a Full so that Bacula can guarantee that any additions or deletions are properly backed up. If this directive is set to yes, any changes you make to the FileSet Include or Exclude lists will be ignored and not cause Bacula to immediately perform a Full backup. The default is no, in which case, if you change the Include or Exclude, Bacula will force a Full backup to ensure that everything is properly backed up. It is not recommended to set this directive to yes. Mark --- 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] Re: Base-64 encoding in Bacula
Howard Thomson wrote: Hi Mark, There was a recent, i.e. within the last three weeks or so, discussion on the bacula-devel list, about the 'standards' compliance of the base-64 encoding in the Bacula source tree. Kern Sibbald agreed that there was a bug in the implementation in the Bacula source, which made it partially incompatible with standards conforming decoding tools. There is (allegedly!) a missing bit-mask operation which results in extra bits being included in the encoding process, or something along those lines! As is common: consult the source! (specifically: $BACULA_DIR/src/lib/base64.[ch]) Thanks, I'll have a look. Was it decided to leave the encoding the way it is for backward compatibility or will it eventually be done in the standard way? Mark --- 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] Re: File attributes
James Harper wrote: I just threw together some MS SQL (because that's what I've got in front of me) code that sort of does what you want, but not in a way that could be used in a query (you'd have to put it in a user defined function, which is easy enough to do), and being MSSQL it won't work as given under any of the databases bacula uses. You can probably do the same thing in Postgres, but I'm not at all sure it can be done in the others... Note that the COLLATE thing is only there so that it knows that a 'W' and a 'w' are different. Shouldn't be an issue on non-MS databases. Hope it helps in some way (beware of line wrapping :) James DECLARE @b64 char(64) DECLARE @string varchar(6) DECLARE @val decimal(38,0) DECLARE @pos int SET @b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' SET @string = 'BEU0tK' SET @val = 0 SET @pos = 1 WHILE @pos <= LEN(@string) BEGIN SET @val = @val * 64 + CHARINDEX(SUBSTRING(@string, @pos, 1), @b64 COLLATE Latin1_General_CS_AS) - 1 SET @pos = @pos + 1 END PRINT @val Thanks for the example. I'll try to work out something similar and then try to match the results with some actual file dates. Mark --- 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] Re: File attributes
Cedric Tefft wrote: Mark Nienberg wrote: I'd like to write an SQL query to extract some information from the bacula catalog including file dates. I see from the bacula developers guide that the "File" table has a field named "LStat" that is defined as "File attributes in base64 encoding". I assume my file dates are in there, but how do I deal with the base64 bit? A typical entry looks like this: P0A HL4KO IHk B A A A BdD BAA Y BEU0tK BEHwQV BEHwQV A A C I've got about half an answer for 'ya. The database entry appears to be a series of base-64 encoded values corresponding to the fields of a UNIX stat structure (plus a couple extra bits), which 'man lstat' says is: struct stat { dev_t st_dev; /* ID of device containing file */ ino_t st_ino; /* inode number */ mode_tst_mode;/* protection */ nlink_t st_nlink; /* number of hard links */ uid_t st_uid; /* user ID of owner */ gid_t st_gid; /* group ID of owner */ dev_t st_rdev;/* device ID (if special file) */ off_t st_size;/* total size, in bytes */ blksize_t st_blksize; /* blocksize for filesystem I/O */ blkcnt_t st_blocks; /* number of blocks allocated */ time_tst_atime; /* time of last access */ time_tst_mtime; /* time of last modification */ time_tst_ctime; /* time of last status change */ }; Therefore, from your example, "P0A" is the base64-encoded value of st_dev, "HL4KO" is the base64-encoded value of st_ino, etc. So, if you're after the modification time (st_mtime) of your file, you should theoretically just have to base64 decode the string "BEHwQV" to get back a standard UNIX timestamp value (seconds since Jan 1, 1970). Exactly how you go about doing a base64 decode is, of course, the other half of the answer which I'm far too lazy to go into here, but Google should be able to take you the rest of the way, and if you're a C programmer, the bacula source code itself (in particular src/lib/base64.c) should be helpful. Thanks. That is an excellent half answer! Now I understand which values I am trying to decode. I am just having trouble decoding them. See my response to James Harper and thanks for your help. Mark --- 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] Re: File attributes
James Harper wrote: Do you want to deal with it in the query (harder), or in the code that processes the query (easier)? Are you asking what Base64 is, or do you know already and would just like some help doing something useful with it from within the SQL language? My hope was to write a custom query to put in the query.sql file so I could run it from bconsole, but if I have to I guess I could script something independently to deal with the conversion. Just in case you don't know already, the date fields in the text you have given below are "BEU0tK BEHwQV BEHwQV", and you need to decode them using Base64, where each letter represents 1 of 64 possible values (eg our numbering system is Base10 and the digits are 0123456789, base64 is the same but with all the numbers (10), all the lowercase letters (26), all the uppercase letters (26), and another 2 characters ('+' and '/' I think, but you'd need to check), giving you your 64 'digit' combinations. Thanks, I had the basic idea but that is a better explanation. Once you have decoded these values you should have a number that represents the number of seconds since midnight on Jan 1 1970 UTC. The following URL is to a really cool page that allows you to convert between all sorts of encoding methods: http://www.paulschou.com/tools/xlate/ I've tried a number of online decoders (including the one you suggest) and none of them returns anything that makes sense when I give it a value like BEHwQV. As you say, I am expecting a big integer, but I get back nonsense or an error message. That is what made me question whether I was going about it completely wrong. At this point I am stuck on the conversion. Thanks for your help. Mark --- 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] Re: File attributes
Mark Nienberg wrote: I'd like to write an SQL query to extract some information from the bacula catalog including file dates. I see from the bacula developers guide that the "File" table has a field named "LStat" that is defined as "File attributes in base64 encoding". I assume my file dates are in there, but how do I deal with the base64 bit? A typical entry looks like this: P0A HL4KO IHk B A A A BdD BAA Y BEU0tK BEHwQV BEHwQV A A C Thanks, Mark Anyone? --- 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] Re: excluding with wildcards
Bill Moran wrote: On Mon, 08 May 2006 11:16:10 -0700 Mark Nienberg <[EMAIL PROTECTED]> wrote: [snip] FileSet { Name = "gecko Files" Include { Options { signature = MD5 wildDir = "/share/office/TmpShare/*/personal" ignore case = yes #so the above will match Personal, etc Exclude = yes } File = /share } } The strange part about that is that I want the signature to be computed for the Files that are included, not the ones that are excluded. Anothe possibility may be the order of the Include Options and the second Include? You're looking at the config file wrong. In your defense, it is a little odd. Options are all added to that FileSet, but wild* options are treated differently depending on whether Exclude is set to yes or no. If Exclude is set to no, _only_ files listed in Wild* directives will be included. If it's set to yes, only files that match are _excluded_. So, the Exclude setting simply controls how Wild[file|dir] directives are interpreted. And it's always set to _something_, the default is no. OK, I see what you mean. In that case, perhaps my last fileset definition will work. I'll give it a try for my full backup next week. I understand that I can't change a fileset definition without triggering a full backup, so I usually wait and change it right before the scheduled full. Thanks for the explanation. Mark --- 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] excluding with wildcards
I'm trying to exclude some directories from a fileset with no luck. First I tried this: FileSet { Name = "gecko Files" Include { Options { signature = MD5 } File = /share } Exclude { File = "/share/office/TmpShare/*/personal" ) } But that didn't work. I thought it would because the documentation says: "You can add wild-cards to the File directives listed in the Exclude directory" Well, after reading some more documentation I tried this: FileSet { Name = "gecko Files" Include { Options { wildDir = "/share/office/TmpShare/*/personal/" ignore case = yes #so the above will match Personal, etc Exclude = yes } } Include { Options { signature = MD5 } File = /share } } But that didn't work either, so I modified it to remove the trailing / on the wildDir definition, but that didn't work either. I've been reading some more documentation examples and now I wonder if I need to have the Options in the same Include segment as the File definition. In other words, should I be doing this? FileSet { Name = "gecko Files" Include { Options { signature = MD5 wildDir = "/share/office/TmpShare/*/personal" ignore case = yes #so the above will match Personal, etc Exclude = yes } File = /share } } The strange part about that is that I want the signature to be computed for the Files that are included, not the ones that are excluded. Anothe possibility may be the order of the Include Options and the second Include? Any advice? Thanks, Mark --- 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] File attributes
I'd like to write an SQL query to extract some information from the bacula catalog including file dates. I see from the bacula developers guide that the "File" table has a field named "LStat" that is defined as "File attributes in base64 encoding". I assume my file dates are in there, but how do I deal with the base64 bit? A typical entry looks like this: P0A HL4KO IHk B A A A BdD BAA Y BEU0tK BEHwQV BEHwQV A A C Thanks, Mark --- 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] Re: case insensitive query
Troy Daniels wrote: An update to this. I cant vouch for this exact query - on my system it takes a looonnggg time to finish due to the 2 million plus files recorded and I gave up and canceled it, but the following simplified version worked: mysql> select Name from Filename where LCASE(Name) = 'makedev'; +-+ | Name| +-+ | MAKEDEV | +-+ 1 row in set (1.15 sec) So I dont understand why it wouldn't work in the other query - but I'm not a MySQL Guru. I am running MySQL Server 3.23.58 tho which could be the difference I suppose. Yes, I think that does make a difference. On this page: http://dev.mysql.com/doc/refman/4.1/en/charset-binary-op.html it notes that something is different about binary column types after v4. Not sure I understand it enough to say what the difference is though! Mark --- 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] Re: case insensitive query
Cedric Tefft wrote: Troy Daniels wrote: An update to this. I cant vouch for this exact query - on my system it takes a looonnggg time to finish due to the 2 million plus files recorded and I gave up and canceled it, but the following simplified version worked: mysql> select Name from Filename where LCASE(Name) = 'makedev'; +-+ | Name| +-+ | MAKEDEV | +-+ 1 row in set (1.15 sec) So I dont understand why it wouldn't work in the other query - but I'm not a MySQL Guru. I am running MySQL Server 3.23.58 tho which could be the difference I suppose. Hmm... yeah, I tried that, but it didn't work for me, whereas the CONVERT() strategy does: mysql> select Name from Filename where LCASE(Name) = 'makedev'; Empty set (1.03 sec) mysql> select Name from Filename where CONVERT(Name using latin1)='makedev'; +-+ | Name| +-+ | MAKEDEV | +-+ 1 row in set (1.85 sec) I am using mysql 5.0.18, though, like you, I don't know why that should make a difference. Thank you so much for your help on this. I've tested the suggestions above on my system, which uses MySQL v4.1 and found that the LCASE doesn't work but the CONVERT does work. As I am just getting into production with bacula, my database isn't large enough yet to make any speed conclusions. This is a great help. Thanks again. Mark --- 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] case insensitive query
I'm using Bacula to back up a Linux Samba fileserver among other machines. Of course the clients to the fileserver are windows machines and they don't care about case in filenames. They create all sorts of case combinations like "document1.doc", "Document2.DOC" and so on. My most common restore scenario is when someone deletes or corrupts a file and asks me to restore a previous version of it. The easiest way to do this in the console is (I think) to use the query command option 2 "List Jobs where a given File is saved", and then pick an appropriate jobID to restore from based on date of backup. The problem is that the search for the filename is case sensitive (the MySQL field is type "binary") so it is hard to guess what filename to enter. I wonder if I could use option 4 "Enter SQL list command" to do a case-insensitive search. Any suggestions on what this SQL command would look like for MySQL? Or is there a better way to do this? Thanks, Mark --- 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] Re: GFS rotating howto
Georg Lutz wrote: On 2006-04-10, Mark Nienberg wrote: How is your method different from the Daily, Weekly, Monthly Tape Usage Example in the Bacula Documentation? 1. The scheduling is different. In Bacula you cannot schedule on the last workday of a month or week because Bacula doesn't know of workdays and holidays. The internal scheduling mechanism does also not know of exceptions. At least at my site there are some days where no operator is here to change tapes and where no backup should take place (because the data is not altered much anyway on these days). 2. The volume recycling is different. I cannot use a recyling based on fixed dates(VolumeRetention), because backup does not take place on fixed dates(exceptions, holidays). My recycling mechanism is: Only overwrite the tape with the oldest data, nothing else. If there are holidays for one week, you end up with 7 tapes which can be overwritten in any particular order when you use the example in the bacula documentation. 3. The tape change is different. As I said in the howto, for security reasons we change tapes daily. Monthly and weekly tapes are stored offsite. So if the site burns down we can restore at least the state before the last weekend. Also I want to have the backup done in a definite timeframe during the night. Its not acceptable for me when the operator needs to change tapes in the morning and the backup is done during the day. Of course you can change this behaviour easily when you set "Maximum Volume Jobs = 2" (for files and catalog). However, that does not mean that my backup scheme is somehow better than others. What backup method one uses depends from the specific needs. I think most admins prefer a "fire and forget" solution with minimal human intervention. This often means that the tape resides in the streamer/changer until the backup software notifies the operators to insert some other tape. Thanks for the explanation. Your example has shed some light on some of the scheduling and retention issues I am currently dealing with. Mark --- 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] Re: GFS rotating howto
Georg Lutz wrote: Hi, I have created a small howto covering GFS rotation scheme and bacula together with some supplemental scripts. The GFS rotation scheme might not be useful for all scenarios (personally I think its only applicable in small environments), but I use it since over 10 years for a site, first with other backup tools, today with bacula. If you are interested, have a look at http://www.georglutz.de/wiki/Bacula . How is your method different from the Daily, Weekly, Monthly Tape Usage Example in the Bacula Documentation? Mark --- 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] Re: root password on mysql
Birger Blixt wrote: On 2006-04-04 23:45, Mark Nienberg wrote: Some of the installation scripts expect mysql to be running without a root password. Should I set the password to blank before installing or updating bacula or is there a way to pass the real password to the installation? I installed from rpms made by rebuilding the src.rpm. Just create the file .my.cnf in roots $HOME (/ or /root) Change the permissions to 600 , and add: [client] user = root password = 'the password' I didn't know that! Thanks, Mark --- 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] root password on mysql
Some of the installation scripts expect mysql to be running without a root password. Should I set the password to blank before installing or updating bacula or is there a way to pass the real password to the installation? I installed from rpms made by rebuilding the src.rpm. Thanks, Mark --- 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] Re: Bacula version 1.38.6 released
Kern Sibbald wrote: I have just released Bacula 1.38.6 to Source Forge. The following files have been updated: How long does it generally take before the src.rpm files are available? Thanks, Mark --- 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] Re: Alert: cannot open SCSI device '*None*'
Arno Lehmann wrote: The message you get is created by the default TapeAlert interface, i.e. it tries to read the tape status by calling tapeinfo with a non-existing device name. How to set this up should be in the manual; basically, all you need to do is to set the changer device entry in the storage configuration to the generic SCSI device of your tape drive. Under linux, this would be a /dev/sg? device name. If your tape drive doesn't support tapealerts (most current ones support them), you can simply remove the entry from the configuration. "Alert Command" in the SD configuration is what you should look at. And if you don't see /dev/sg0 then do "modprobe sg" and look again. Mark Nienberg --- 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] Re: Turning compression on and off automatically
Bill Moran wrote: We have a number of filesets that get backed up both to tape and to disk. For performance reasons, we'd like to have gzip turned off during tape backups, but for space reasons: on during disk backups. It doesn't look as if there's a way to specify such a thing, aside from creating seperate filesets - customized for the backup media. Am I missing anything? I do weekly full backups to tape and daily incrementals to disk, so I have the same issue. If I do create separate filesets, one with compression and one without, will the incrementals really work as incrementals or will the first one be promoted to full I wonder. Mark --- 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] Re: Announcing Bacuview-1.3, now with MySQL support
John Kodis wrote: I've just released version 1.3 of the Bacuview web application to its home on RubyForge, <http://bacuview.rubyforge.org/>, where you can go for screen shots and to read the NEWS, ChangeLog, and INSTALL files. In addition to the usual minor bug fixes, this release has one fairly major improvement: It now supports Bacula installations that use MySQL as their database engine. All that's needed to support a MySQL database is to set the adapter to mysql in the config/database.yml file. Bacuview picks this up and performs behind-the-scenes magic to deal with the naming differences between Postgres and MySQL databases. I'd be happy to answer any questions that you have, and to hear of any suggestions that you have for this project. I hope that you find it useful. Thank you for this. I installed it yesterday from scratch. Here are some suggestions for the INSTALL page. RUBY In this section you should also describe installation of IRB. I don't know if this gets installed as part of building ruby from source, but in Fedora Core 4 it is a separate rpm package and you need "yum install irb". I don't know if it was necessary, but I also installed the rpms for ruby-devel and ruby-mysql. GEM INSTALL --- For mysql users you can skip the "gem install postgres" and instead do "gem install mysql". If that fails (it did for me) you can try "gem install mysql --with-mysql-config=/usr/lib/mysql/mysql_config" or something similar. Frankly, I tried so many things that I'm not sure what finally worked. Is there any chance this program could be extended to allow file searches within the database? I'd love to be able to enter a partial name of a file and get back a list of all occurrences of that name along with the file dates and the jobs that contain it. Then I could go to bconsole and jump right to the correct job for restoration. Ultimately, could it be a complete front end for file restoration? Thanks again, Mark Nienberg --- 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-web install trick
I don't know if this is common knowledge or not, but this may help someone. In order to get bacula-web running on Fedora Core 4, and I assume on any system using PHP 5, do the following: Download and untar bacula-web from http://indpnday.com/bacula_stuff/bacula-web/mantisbt/main_page.php Let's say you put it in /var/www/html/bacula-web cd /var/www/html/bacula-web/external_packages mv phplot/ phplot.old now download the latest phplot from http://sourceforge.net/projects/phplot untar it into the bacula-web/external_packages directory being sure the directory is named phplot Make sure everything you just installed is readable by the httpd user. See your httpd.conf for the user and group. chmod -R apache.apache /var/www/html/bacula-web See the bacula-web documentation for help with other problems you might run into. Mark Nienberg --- 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] Re: where is bacula-web?
Barry Benowitz wrote: Mark, Bacula-web is separate. There is a pointer for it somewhere in the docs but I forget where. It's a pretty neat package. Thanks. Google turned up the website to download from. Mark --- 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] where is bacula-web?
I'd like to try out the bacula-web interface. I installed my bacula by rebuilding the src rpms. I see bacula-web documentation files but I don't see the php web pages themselves. Is this a separate download or am I missing it? Or maybe I was supposed to enable something in the configure? Thanks, Mark --- 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] Re: Bug #533 rpm install permissions problems
Kern Sibbald wrote: Good. You will probably need to change the SD to use group "disk" to get writing to tapes to work -- assuming you want to used tapes. If you mean the SD_GROUP setting in the /etc/init.d/bacula-sd file, then it is already set to "disk". Mark --- 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] Re: Bug #533 rpm install permissions problems
Kern Sibbald wrote: Hello Scott, I think we are having a few problems with directory permissions on the Bacula working directory, which for the rpm is /var/bacula. I think we need some changer in the configuration code to fix it, because currently all three daemons use the same directory, which is fine from a Bacula stand point, but from a permissions stand point, it won't work unless someone has a good idea. The problem is that the running permissions of Bacula are: DaemonUserGroup Dir baculabacula FD rootroot (I think) SDbacula disk I was thinking about having a separate subdirectory (/var/bacula/dir-working, ...) for each daemon, but in looking at the above table, it seems to me that the solution is simply to change the owner from the default, which is root to bacula. That should allow all daemons to access it with no changes after installing the rpm. What do you (or anyone else) think? I just did a clean install by building the rpms and the File daemon is set to run as root.bacula, not root.root as you suggest. I changed ownership and perms on /var/bacula as follows drwxrwx--- 2 rootbacula 4.1k Mar 15 23:10 bacula/ [EMAIL PROTECTED] var]# ls bacula/ total 33k -rw-r- 1 bacula bacula 198 Mar 15 23:10 BackupCatalog.bsr -rw-r- 1 bacula bacula 560 Mar 15 21:53 bacula-dir.9101.state -rw-rw 1 root bacula 192 Mar 15 17:01 bacula-fd.9102.state -rw-rw 1 root bacula 3.0k Mar 15 23:10 buckeye-dir.conmsg -rw-r- 1 bacula bacula 217 Mar 15 21:54 Client1.bsr -rw-rw-r-- 1 root bacula 8.6k Mar 15 23:10 log and this is working, at least for the tutorial examples. Mark Nienberg --- 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] Director daemon won't start
I built and installed the rpms for bacula 1.38.5-4 on Fedora Core 4 x86. The storage and file daemons start up properly, but the director does not. [EMAIL PROTECTED] init.d]# service bacula-dir status bacula-dir is stopped [EMAIL PROTECTED] init.d]# service bacula-dir start Starting Bacula Director services: [ OK ] [EMAIL PROTECTED] init.d]# service bacula-dir status bacula-dir dead but subsys locked Any hints on how I should proceed would be appreciated. Thanks, Mark Nienberg --- 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] Re: dir daemon won't start
Mark Nienberg wrote: > I build and installed the rpms for bacula on fedora core 4 x86. The file daemon and storage daemon start up properly, but the directory does not. [EMAIL PROTECTED] log]# rpm -qa | grep bacula bacula-mysql-1.38.5-4 bacula-debuginfo-1.38.5-4 [EMAIL PROTECTED] log]# service bacula-dir status bacula-dir is stopped [EMAIL PROTECTED] log]# service bacula-dir start Starting Bacula Director services: [ OK ] [EMAIL PROTECTED] log]# service bacula-dir status bacula-dir dead but subsys locked Running in foreground mode with debug on shows the problem to be permissions. I can fix it from here. Maybe the default install should look for this problem? [EMAIL PROTECTED] init.d]# service bacula-dir start Starting Bacula Director services: bacula-dir: dird.c:128 Debug level = 75 bacula-dir: mysql.c:142 mysql_init done bacula-dir: mysql.c:162 mysql_real_connect done buckeye-dir: bsys.c:517 Could not open state file. sfd=-1 size=188: ERR=No such file or directory 15-Mar 17:10 buckeye-dir: ERROR TERMINATION at message.c:254 Could not open console message file /var/bacula/buckeye-dir.conmsg: ERR=Permission denied 15-Mar 17:10 buckeye-dir: Error: message.c:668 fopen /var/bacula/buckeye-dir.buckeye-dir.146981400.mail failed: ERR=Permission denied 15-Mar 17:10 buckeye-dir: Error: message.c:706 fopen /var/bacula/log failed: ERR=Permission denied 15-Mar 17:10 buckeye-dir: Error: message.c:706 fopen /var/bacula/log failed: ERR=Permission denied 15-Mar 17:10 buckeye-dir: Error: message.c:668 fopen /var/bacula/buckeye-dir.buckeye-dir.146981400.mail failed: ERR=Permission denied 15-Mar 17:10 buckeye-dir: Error: message.c:668 fopen /var/bacula/buckeye-dir.buckeye-dir.146981400.mail failed: ERR=Permission denied 15-Mar 17:10 buckeye-dir: Error: message.c:706 fopen /var/bacula/log failed: ERR=Permission denied Mark --- 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] dir daemon won't start
Apologies if this is a double post. I wasn't subscribed when I first posted. I build and installed the rpms for bacula on fedora core 4 x86. The file daemon and storage daemon start up properly, but the directory does not. [EMAIL PROTECTED] log]# rpm -qa | grep bacula bacula-mysql-1.38.5-4 bacula-debuginfo-1.38.5-4 [EMAIL PROTECTED] log]# service bacula-dir status bacula-dir is stopped [EMAIL PROTECTED] log]# service bacula-dir start Starting Bacula Director services: [ OK ] [EMAIL PROTECTED] log]# service bacula-dir status bacula-dir dead but subsys locked [EMAIL PROTECTED] log]# service bacula-fd status bacula-fd (pid 3639) is running... [EMAIL PROTECTED] log]# service bacula-sd status bacula-sd (pid 3623) is running... Any suggestions on how to proceed would be appreciated. Thanks, Mark Nienberg --- 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