Re: [Bacula-users] problem with webacula
This is what you said Carlo Maesen Now I am trying to configure webacula. /usr/bin/sudo /usr/local/bacula/bin/bconsole -n -c /usr/local/bacula/bin/bconsole.conf As the apache user I can run: /usr/bin/sudo /usr/local/bacula/bin/bconsole -n -c /usr/local/bacula/bin/bconsole.conf I also see an error in the apache's error_log: Cannot open audit interface - aborting. Other pages are OK (last jobs - Pool/Volume ...) I changed ownership of bconsole to root:bacula with a mode of 0550. The service account, apache, is a member of the bacula group. I don't use sudo. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] slightly annoying bug in the console
This is what you said James Harper I'm not sure if this is just something peculiar to my configuration, but in the text console for bacula, if I type a command then backspace over it then press enter, bacula still acts as if I typed the command, or at least part of it. Does anyone else see this or is it just me? James This also happens with the 2.2.8 version built from the src.rpm on sourceforge on a CentOS 4.6 system. - 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/VMWARE crashes entire system [RESURRECTED]
On 9/19/07 10:22 AM, Scott Ruckh [EMAIL PROTECTED] wrote: I am running CentOS 4.5 x64 with self compiled kernel 2.6.13.4. I have installed the latest bacula 2.2.4 Director, Client, and Storage daemon on this server. Bacula run flawlessly most of the time. Unfortunately when I run VMWare Workstation and have a virtual machine running, Bacula crashes the entire system. I am running the latest version of the 5.x series of VMWare. I am also running fluxbox as my Window Manager, although I don't think that has anything to do with the problem. This problem has existed with all versions of Bacula starting with 1.3.8.11 which is the first version I installed. My backups are to an external USB disk connected to the Host OS. The virtual machine is not configured with USB port because at one time I thought there might be contention between the Physical USB disk and the USB port configured with the Virtual Machine. All virtual machines and host system work fine when bacula backups are not running. I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. Is anyone else successfully running a similar environment? As bacula is the only program that appears to cause the problem I am making an assumption it is a problem with bacula. If anyone has this type of environment working successfully I would like to hear about it. Thanks. I am now running bacula 2.2.6 built from source RPMs. Now I had a crash with no VMware running. I did not even have an Xsession running. This is two times in two weeks where the system crashes while bacula is running. The crash completely shuts the machine off. It is not just in a hung state. There is really nothing in the system logs except that the database backup job that runs before the backup is kicked off and is run successfully. After that, there is nothing in the logs. This is the first time this has happened when a VmWare guest OS was not running. Prior to the past two weeks, backups were running fine for about 29 days. This is a very random as far a when the crash occurs, but constant problem. I don't believe I am running an abnormal server configuration, but this Hard crash is very annoying. Anyone have anymore hints or suggestions to try? - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] Fwd: Broken 2.2.6 source rpm in Sourceforge
Hello All, I see from SF stats that there have been 92 downloads since I re-posted the SRPM last Friday. Can I assume all of the issues noted have been addressed? I ask because later this week I intend to post a special 2.2.6 to the beta-rpm section for upgrade from sqlite to sqlite3 for testing. Regards, Scott The most current version compiled fine and has been working fine for about a week for me (Centos 4.5). - 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] 2.2.6 RPM Release Bad Key
I am receiving the following errors: rpm -ihv bacula-2.2.6-1.src.rpm error: bacula-2.2.6-1.src.rpm: V3 DSA signature: BAD, key ID 10a792ad error: bacula-2.2.6-1.src.rpm cannot be installed I believe I have imported the Felix Schwartz key and the bacula public key installed. Any suggestions? -- http://photo-gallery.gemneye.org:1115/Gallery2/ - 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] RPMS (bacula 2.2.5) and file locations
I built the RPMS for bacula 2.2.5 from the src.rpm file downloaded from sourceforge. Taking a quick look at some of the files and my system I am wondering if the files in the RPM are installed to the correct location? Logwatch files: In the bacula RPM it looks like the logwatch files are placed in the following directories: /etc/log.d/conf/logfiles/bacula.conf /etc/log.d/conf/services/bacula.conf /etc/log.d/scripts/services/bacula On my CentOS 4 and CentOS 5 systems that is not the location for the logwatch files. Instead of /etc/log.d I think /etc/logwatch should be used. Possibly even this directory /usr/share/logwatch/default.conf/. Logrotate file: From the RPM in the file /etc/logrotate.d/bacula the log file points to /var/lib/bacula/log for the log file. This in fact does match the log location that is configured in the default /etc/bacual/bacula-dir file, but to stay consistent with the Red Hat file system layout I would think that the appropriate location for these files would be somewhere in the /var/log directory structure. Just my .02 worth. -- - 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] Client Run Before job
- Original Message - From: Steve Campbell [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Thursday, October 04, 2007 8:05 AM Subject: [Bacula-users] Client Run Before job I gave up a while back on getting a job to run on the client before doing the backup. Mostly all I am trying to do is get an MySQL backup (mysqldump) to run before I do a backup job that includes the file just created. As I recall, I was having a problem with the return code indicating the job had completed. I tried all of the suggestions in the manual, to no avail. Anyone out there have a simple step by step set of rules, scripts, whatever to get this accomplished for both the director conf and the client scripts? Sorry to be so vague on the problem errors I received, but it's been a while back and I got pulled away for another little fire. Kinda new to bacula also, although I'm fairly certain I have RTFM concerning this area. For now, I just run a job in cron to do the mysqldump in time to have the output ready for the bacula backup, but it would be nice to have it all run together. Here is what I use: http://www.worldcommunity.com/opensource/utilities/mysql_backup.html This is the directive I use in my job{} definition: ClientRunBeforeJob= /usr/local/bin/mysqlbackup/mysqlbackup.pl Then of course my FileSet {} definition would include the directories where the compressed archives have been created. As I use this configuration at home, it works fine for me. In the version I am using, clear text password is stored in configuration file so this would need to be evaluated in your environment. - 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] Client Run Before job
Thanks Scott, Can I assume the script does all of the waiting required before starting the data backup? How would this differ from just setting up a shell script that has a mysqldump statement in it? I don't read Perl real well and didn't see anything that does that (at least based on my knowledge of Perl) and just skimming the file. Sorry do be demanding, but this is the crutch of the problem I had before. Any type of shell didn't return a code before timing out. The manual addresses this, but in a couple of different ways. At the present time, by doing the mysqldump from cron locally on the client, and using logrotate to keep the directory clean, it works pretty well, but still I'd like to get it working with the benefit of ClientRunBefore. Yes, I use this script with bacula as mentioned before and it works great for me. I keep one week of bzip2 files which contain a dump of each of my MySQL databases. Each day I receive an e-mail which contains the output from this script (databases that were backed up, compressed file names, etc. Again, this works great for me, but may not be right for everyone. Actually the make_catalog_backup script, which is used in the BackupCatalog Job {} definition, that comes with bacula is basically doing exactly what you are trying to accomplish. It uses mysqldump to dump the bacula database to a file. That file is backed up, and then the file is deleted after the backup is completed. Possibly you just want to take a look at the make_catalog_backup script and the BackupCatalog job for an example? I am sure there are many different processes people have implemented to accomplish this task, I was just mentioning the one I chose and works well for me. Good Luck. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BACULA/VMWARE crashes entire system [ON-GOING PROBLEM]
This is what you said Josh Fisher Scott Ruckh wrote: I am running CentOS 4.5 x64 with self compiled kernel 2.6.13.4. I have installed the latest bacula 2.2.4 Director, Client, and Storage daemon on this server. Bacula run flawlessly most of the time. Unfortunately when I run VMWare Workstation and have a virtual machine running, Bacula crashes the entire system. I am running the latest version of the 5.x series of VMWare. I am also running fluxbox as my Window Manager, although I don't think that has anything to do with the problem. This problem has existed with all versions of Bacula starting with 1.3.8.11 which is the first version I installed. My backups are to an external USB disk connected to the Host OS. The virtual machine is not configured with USB port because at one time I thought there might be contention between the Physical USB disk and the USB port configured with the Virtual Machine. All virtual machines and host system work fine when bacula backups are not running. I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. All bacula daemons are running in user mode and only the FD is running as root. A hard lock like this means something is amiss at the kernel mode level. You could try backing up to a directory on SCSI/SATA/IDE disk as a test. If all works as expected when backing up to the non-USB drive, then maybe something is wrong in the way USB is being virtualized/configured. Is anyone else successfully running a similar environment? As bacula is the only program that appears to cause the problem I am making an assumption it is a problem with bacula. If anyone has this type of environment working successfully I would like to hear about it. I had reported it was believed that not backing up the VMware disk files of a live virtual machine solved the problem. Unfortunately I was wrong and the problem persists. Now that more testing has been completed, I can officially say the problem still exists. I recompiled the kernel, upgraded VMWare Workstation (to version 6), Upgraded VMWare Tools, and rebuilt all the VMWare modules using the same gcc that the kernel was built with, but none of that helped. I have the exact same issue. Unfortunately the problem is not always present as the backups do complete some of time. The only constant is that the hard crash only happens when bacula is running. Although the VM is not configured with a USB device there might possibly be some contention with the physical USB drive I back up to and the VM instance. As the crash does not happen every time it is hard to determine what exactly is going on. As no other programs really access the USB device, and the crash only happens when bacula is running, I am just guessing the problem might be with that combination. I know this is not really a priority on anyone's list, but I thought I would keep everyone informed who might have been following this thread. Thanks. - 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] RunAfterJob in bacula 2.2.4 [APPENDING RunBeforeJob]
Original Message - From: Steve Thompson [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Sent: Thursday, September 27, 2007 10:57 AM Subject: [Bacula-users] RunAfterJob in bacula 2.2.4 I recently upgraded bacula from 2.0.3 to 2.2.4 on my director system (CentOS 4.5 i686). Since then, the RunAfterJob can no longer be successfully started (not even once): 27-Sep 11:36 XXX-dir: AfterJob: run command /etc/bacula/after_catalog_backup 27-Sep 11:36 XXX-dir: AfterJob: Bad address The script has the proper ownership and permissions, and indeed is the same as the script used with 2.0.3. The RunBeforeJob script does run, and I can run the RunAfterJob script by hand as the bacula user. What is the Bad address telling me? On a somewhat related topic I actually have noticed the same thing with /etc/bacula/make_catalog_backup script that is run from the directive RunBeforeJob in the BackupCatalog job. If I run 'sudo -u bacula /etc/bacula/make_catalog_backup param1 param2 param3' from a shell prompt the shell script executes correctly creating the bacula.sql file in the /var/lib/bacula directory. When run from the BackupCatalog job the file is never created. In my case no error is displayed and the job completes (except no data gets backed up). This too was from an RPM upgrade of 2.0.3 to 2.2.4 on a CentOS 4.5 x86_64 system. I have not really researched this fully to be honest, including reading the release notes and new documentation, I just thought I would also piggy-back the OP at it sounds like a very similar problem that may require some attention. I have noticed I also use the directive ClientRunBeforeJob in other jobs and not the RunBeforeJob that was put in the BackupCatalog job definitions as part of the default 1.3.8.x installation. I guess I will need to research the differences and see what is going on. Thanks. - 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] Bacula 2.2.4 RPMS (x86_64) -- RunBeforeJob (make_catalog_backup) -- [SOLUTION]
I was not able to respond to the corresponding thread so here is the answer to the problem with upgrading to Bacula 2.2.4 from the src.rpm file and the catalog backup no longer working (although I originally assumed it to be a problem with the RunBeforeJob directive). In all my previous upgrades the make_catalog_backup script created the bacula.sql file in the /var/bacula directory. Also, the Catalog FileSet in my configuration always had the following directive: File = /var/bacula/bacula.sql. After upgrading to version 2.2.4 the make_catalog_backup script instead uses /var/lib/bacula. The Catalog FileSet in the bacula-dir.conf.rpmnew also has the following directive: File = /var/lib/bacula/bacula.sql. These two match as they should, but unfortunately my old bacula-dir.conf file still used the /var/bacula directory. So although the bacula.sql file was being created and later deleted it was never getting backed up. I have now changed the the File directive in my Catalog FileSet to match the correct directory and everything is working as it should. I assume this is all just something configured during the configure/make process, but I am surprised this is the first time this has bit me because this is not the first time I have built RPM packages from the src.rpm file and upgraded my environment. This might be documented somewhere and I just missed it. I just thought I would point this out just in case someone runs into a similar issue. Thanks.- 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] BACULA/VMWARE crashes entire system [ON-GOING PROBLEM] [UPDATE]
This is what you said David Blewett -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Ruckh wrote: I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. I use bacula in a similar manner, only I use LVM2 to create a snapshot of the filesystem that the vmware image files are on. I also have bacula use sparse file detection (which cuts the backup from 51GB [as reported by the OS] to 33.5GB [as reported by the guest OS]). I've tested restores of this method, and every thing seems fine. The host OS is Gentoo (kernel 2.6.21, vmware-server 1.0.3.44356, bacula 1.36.3 - 2.2.4). Guest is Windows NT4 (long story...). I have skipped backing up the vmware disk files on the host system and bacula has not crashed the server in 3-days. I will have to do some more extensive testing, but it appears like I will have to implement a better strategy for backing up the vmware disk files for systems that are on-line. The LVM snapshot idea sounds like a good idea. I do not know why backing up those files causes a hard crash, but at least for the time being the environment appears to be more stable. Thanks. - 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] BACULA/VMWARE crashes entire system [ON-GOING PROBLEM]
I am running CentOS 4.5 x64 with self compiled kernel 2.6.13.4. I have installed the latest bacula 2.2.4 Director, Client, and Storage daemon on this server. Bacula run flawlessly most of the time. Unfortunately when I run VMWare Workstation and have a virtual machine running, Bacula crashes the entire system. I am running the latest version of the 5.x series of VMWare. I am also running fluxbox as my Window Manager, although I don't think that has anything to do with the problem. This problem has existed with all versions of Bacula starting with 1.3.8.11 which is the first version I installed. My backups are to an external USB disk connected to the Host OS. The virtual machine is not configured with USB port because at one time I thought there might be contention between the Physical USB disk and the USB port configured with the Virtual Machine. All virtual machines and host system work fine when bacula backups are not running. I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. Is anyone else successfully running a similar environment? As bacula is the only program that appears to cause the problem I am making an assumption it is a problem with bacula. If anyone has this type of environment working successfully I would like to hear about it. Thanks. -- - 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] BACULA/VMWARE crashes entire system [ON-GOING PROBLEM]
This is what you said Robert LeBlanc Try excluding the VM's vmdk file directory from Bacula. My guess is that it is trying to read an ever changing file (the virtual hard disk). If you want to back-up your VMs while they are running, look into automating snapshots and be sure to exclude the portion of the snapshot that is holding the changes (usually name_of_VM-snap.vmdk or something like that. Robert LeBlanc On 9/19/07 10:22 AM, Scott Ruckh [EMAIL PROTECTED] wrote: I am running CentOS 4.5 x64 with self compiled kernel 2.6.13.4. I have installed the latest bacula 2.2.4 Director, Client, and Storage daemon on this server. Bacula run flawlessly most of the time. Unfortunately when I run VMWare Workstation and have a virtual machine running, Bacula crashes the entire system. I am running the latest version of the 5.x series of VMWare. I am also running fluxbox as my Window Manager, although I don't think that has anything to do with the problem. This problem has existed with all versions of Bacula starting with 1.3.8.11 which is the first version I installed. My backups are to an external USB disk connected to the Host OS. The virtual machine is not configured with USB port because at one time I thought there might be contention between the Physical USB disk and the USB port configured with the Virtual Machine. All virtual machines and host system work fine when bacula backups are not running. I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. Is anyone else successfully running a similar environment? As bacula is the only program that appears to cause the problem I am making an assumption it is a problem with bacula. If anyone has this type of environment working successfully I would like to hear about it. I will give this a try, I really had not thought that the VM files themselves might be the problem. I will test and report back. Thanks for the idea. - 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] BACULA/VMWARE crashes entire system [ON-GOING PROBLEM]
-- http://photo-gallery.gemneye.org:1115/Gallery2/ This is what you said Dan Langille On 19 Sep 2007 at 9:22, Scott Ruckh wrote: I am running CentOS 4.5 x64 with self compiled kernel 2.6.13.4. I have installed the latest bacula 2.2.4 Director, Client, and Storage daemon on this server. Bacula run flawlessly most of the time. Unfortunately when I run VMWare Workstation and have a virtual machine running, Bacula crashes the entire system. I am running the latest version of the 5.x series of VMWare. I am also running fluxbox as my Window Manager, although I don't think that has anything to do with the problem. Why do yo When fluxbox is running with no VM running, the problem does not exist. This problem has existed with all versions of Bacula starting with 1.3.8.11 which is the first version I installed. My backups are to an external USB disk connected to the Host OS. The virtual machine is not configured with USB port because at one time I thought there might be contention between the Physical USB disk and the USB port configured with the Virtual Machine. All virtual machines and host system work fine when bacula backups are not running. I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. It is not clear. Are you running Bacula in the VM or on the host machine? I think Bacula is running in the VM. I thought when I mentioned the backups were to USB disk and that the VM machine is not configured with USB ports that it would be clear that bacula is running on the HOST server and not the guest VM. Plus I believe I mentioned that bacula runs fine when no VM is running, which I thought would be clear that bacula is not running on a guest VM. I would start by running the regression tests. First, without the VM, then with the VM. See if they all pass. Everything works fine when no VMs are running. I have never done the regressions tests. I will have to read up on it and give it a try. Thanks. - 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] BACULA/VMWARE crashes entire system [ON-GOING PROBLEM]
This is what you said David Blewett -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Scott Ruckh wrote: I have tested this with all sorts of guest Virtual Machines and the results are the same; bacula will crash (completely unusable) the host machine. The only recovery method it to reboot the server. I use bacula in a similar manner, only I use LVM2 to create a snapshot of the filesystem that the vmware image files are on. I also have bacula use sparse file detection (which cuts the backup from 51GB [as reported by the OS] to 33.5GB [as reported by the guest OS]). I've tested restores of this method, and every thing seems fine. Unfortunately I am not using LVM2, but this does sound like an elegant alternative. Again, thanks for the idea. - 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] building RPMs for version 2.2.3 [UPDATE]
This is what you said Scott Ruckh Building the bacula v2.2.3 RPMS is not completing successfully. on line 199 an open brace { is missing from rhel5. For Source1: it does not match the version that is on source forge. There is not a matching Source2: file that I can find for this release. Once those have errors have been resolved, the following error is produced during the build process: + chmod 755 /rpmbuild/tmp/bacula-root/usr/sbin/bacula-tray-monitor chmod: cannot access `/rpmbuild/tmp/bacula-root/usr/sbin/bacula-tray-monitor': No such file or directory The following command was used to build the RPMs which worked for version 2.0.3. rpmbuild -bb --define build_centos4 1 --define build_mysql5 1 bacula.spec Thanks. Just an update. running the above rpmbuild command using the file, bacula-2.2.4-2.src.rpm, downloaded from sourceforge successfully creates the following RPMs: bacula-mysql-2.2.4-2.x86_64.rpm bacula-mtx-2.2.4-2.x86_64.rpm bacula-client-2.2.4-2.x86_64.rpm bacula-updatedb-2.2.4-2.x86_64.rpm - 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] building RPMs for version 2.2.3
Building the bacula v2.2.3 RPMS is not completing successfully. on line 199 an open brace { is missing from rhel5. For Source1: it does not match the version that is on source forge. There is not a matching Source2: file that I can find for this release. Once those have errors have been resolved, the following error is produced during the build process: + chmod 755 /rpmbuild/tmp/bacula-root/usr/sbin/bacula-tray-monitor chmod: cannot access `/rpmbuild/tmp/bacula-root/usr/sbin/bacula-tray-monitor': No such file or directory The following command was used to build the RPMs which worked for version 2.0.3. rpmbuild -bb --define build_centos4 1 --define build_mysql5 1 bacula.spec Thanks. -- - 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] Bacula Version: 2.1.28/MySQL 5 (new install)errors [SOLVED].
This is what you said Scott Ruckh On 3 Aug 2007 at 23:17, Scott Ruckh wrote: I am running Bacula version 2.1.28 (built from sources) on CentOS 4.5 x86_64. That is the latest BETA version of Bacula. I recently upgraded php to PHP 5.2.3 and subsequently I also upgraded MySQL to version 5.0.45. I hit a few bumps but all-in-all most things are back to normal. Unfortunately bacula is giving me some fits. Before MySQL upgrade I was running bacula 2.0.8 without too many issues. After the upgrade bacula did not work as expected. After trying a few things, I downloaded the latest beta from sourceforge and started over. I used the scripts in the /etc/bacula directory to create the MySQL database and tables, and then the grant permission script to grant permissions. The storage daemon, the client, and the director all start without errors. I kick off a backup job for a remote client and all starts off normal as it did before. The pre backup job runs fine and terminates. Then bacula looks like it is off to the races doing it thing. Unfortunately nothing is being written to the database during the backup, and in the log I get a ton of errors that look like the following: 03-Aug 22:49 firewall-dir: AMD01_FULL.2007-08-03_22.42.29 Fatal error: catreq.c:478 Attribute create error. sql_get.c:1005 Media record for Volume FULL-0001 not found. 03-Aug 22:49 firewall-dir: AMD01_FULL.2007-08-03_22.42.29 Fatal error: sql_create.c:730 sql_create.c:730 insert INSERT INTO batch VALUES (8774,1,'C:/path/','filename.ext','A A IH/ B A A A CJ/ A A BGm2w7 BGS3tM BGS3tM A A M','1QMVRHuM+6/LjZpNVY/8KQ') failed: Table 'bacula.batch' doesn't exist There definitely is not a bacula.batch table. Where does this table get created? Do I need to do any special initialization of the database before running the backup job. Is there something with MySQL5 that I need to consider that I did not have to with MySQL4? There is an upgrade script which you need to run manually. This will perform any database modifications required for the latest version you are running When I looked at the upgrade script it did not look like it would have any impact and the script was for upgrading older 1.38 type databases. FYI, I'm running 2.0.3 and do not have a batch table. I checked the database creation and update files. It does not seem to create the batch table. I'll check with devel@ and find out the story. I did a quick google for Media record for Volume not found and did not come up with anything useful. I am not sure what that error is telling me. It's tell you that it could not find an entry for the Volume it is trying to backup. BTW: Did you happen to drop the old database and create a new one for Bacula? Is FULL-0001 a VOLUME label that you created with the previous version of Bacula? I dropped tables and database after I could not get things working with old database. I have created the database and tables from scratch several times. Each time, the scripts completes successfully and database/tables are created. When the daemons are started for the first time, the bacula.Pool table is updated with the information from the bacula-dir.conf file. As such, I assumed bacula/MySQL are playing nice with each other. The FULL-001 is an auto-labled/auto-created volume (on disk). I will admit I have not looked at the manual in quite some time as the backups were working fine before the MySQL upgrade. I am hoping someone knows what this error means and can point me in the right direction. Interestingly enough when I built the src.rpm (v2.0.3) using: rpmbuild -bb --define build_centos4 1 --define build_mysql5 1 bacula.spec It appears to be working fine. When I used the following configure command when compiling from source (v2.0.3) when I had MySQL v4.x everything also worked fine. CFLAGS=-g -Wall -O0 -I/usr/lib64/mysql \ LDFLAGS=-L/usr/lib64/mysql -L/lib64 -L/usr/lib64 \ ./configure \ --sbindir=/usr/local/sbin/bacula \ --sysconfdir=/etc/sysconfig \ --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --with-pid-dir=/var/run \ --with-subsys-dir=/var/lock/subsys \ --enable-conio \ --with-openssl \ --with-mysql \ --with-working-dir=/usr/local/bin/bacula/working \ --with-dump-email=[EMAIL PROTECTED] \ --with-job-email=[EMAIL PROTECTED] \ --with-dir-user=bacula \ --with-dir-group=bacula \ --with-sd-user=bacula \ --with-sd-group=bacula \ --with-fd-user=root \ --with-fd-group=root \ --with-python Unfortunately using the above configure command with v2.0.3 and 2.1.x Betas when using MySQL v5 there appear to be some issues. The source compiles without error, but the above described symptoms are present. Is there something blatantly wrong with the configure command when using a MySQL5 database? Thanks. - This SF.net
[Bacula-users] Bacula Version: 2.1.28/MySQL 5 (new install) errors.
I am running Bacula version 2.1.28 (built from sources) on CentOS 4.5 x86_64. I recently upgraded php to PHP 5.2.3 and subsequently I also upgraded MySQL to version 5.0.45. I hit a few bumps but all-in-all most things are back to normal. Unfortunately bacula is giving me some fits. Before MySQL upgrade I was running bacula 2.0.8 without too many issues. After the upgrade bacula did not work as expected. After trying a few things, I downloaded the latest beta from sourceforge and started over. I used the scripts in the /etc/bacula directory to create the MySQL database and tables, and then the grant permission script to grant permissions. The storage daemon, the client, and the director all start without errors. I kick off a backup job for a remote client and all starts off normal as it did before. The pre backup job runs fine and terminates. Then bacula looks like it is off to the races doing it thing. Unfortunately nothing is being written to the database during the backup, and in the log I get a ton of errors that look like the following: 03-Aug 22:49 firewall-dir: AMD01_FULL.2007-08-03_22.42.29 Fatal error: catreq.c:478 Attribute create error. sql_get.c:1005 Media record for Volume FULL-0001 not found. 03-Aug 22:49 firewall-dir: AMD01_FULL.2007-08-03_22.42.29 Fatal error: sql_create.c:730 sql_create.c:730 insert INSERT INTO batch VALUES (8774,1,'C:/path/','filename.ext','A A IH/ B A A A CJ/ A A BGm2w7 BGS3tM BGS3tM A A M','1QMVRHuM+6/LjZpNVY/8KQ') failed: Table 'bacula.batch' doesn't exist There definitely is not a bacula.batch table. Where does this table get created? Do I need to do any special initialization of the database before running the backup job. Is there something with MySQL5 that I need to consider that I did not have to with MySQL4? I did a quick google for Media record for Volume not found and did not come up with anything useful. I am not sure what that error is telling me. I will admit I have not looked at the manual in quite some time as the backups were working fine before the MySQL upgrade. I am hoping someone knows what this error means and can point me in the right direction. Thanks. -- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Version: 2.1.28/MySQL 5 (new install)errors.
On 3 Aug 2007 at 23:17, Scott Ruckh wrote: I am running Bacula version 2.1.28 (built from sources) on CentOS 4.5 x86_64. That is the latest BETA version of Bacula. I recently upgraded php to PHP 5.2.3 and subsequently I also upgraded MySQL to version 5.0.45. I hit a few bumps but all-in-all most things are back to normal. Unfortunately bacula is giving me some fits. Before MySQL upgrade I was running bacula 2.0.8 without too many issues. After the upgrade bacula did not work as expected. After trying a few things, I downloaded the latest beta from sourceforge and started over. I used the scripts in the /etc/bacula directory to create the MySQL database and tables, and then the grant permission script to grant permissions. The storage daemon, the client, and the director all start without errors. I kick off a backup job for a remote client and all starts off normal as it did before. The pre backup job runs fine and terminates. Then bacula looks like it is off to the races doing it thing. Unfortunately nothing is being written to the database during the backup, and in the log I get a ton of errors that look like the following: 03-Aug 22:49 firewall-dir: AMD01_FULL.2007-08-03_22.42.29 Fatal error: catreq.c:478 Attribute create error. sql_get.c:1005 Media record for Volume FULL-0001 not found. 03-Aug 22:49 firewall-dir: AMD01_FULL.2007-08-03_22.42.29 Fatal error: sql_create.c:730 sql_create.c:730 insert INSERT INTO batch VALUES (8774,1,'C:/path/','filename.ext','A A IH/ B A A A CJ/ A A BGm2w7 BGS3tM BGS3tM A A M','1QMVRHuM+6/LjZpNVY/8KQ') failed: Table 'bacula.batch' doesn't exist There definitely is not a bacula.batch table. Where does this table get created? Do I need to do any special initialization of the database before running the backup job. Is there something with MySQL5 that I need to consider that I did not have to with MySQL4? There is an upgrade script which you need to run manually. This will perform any database modifications required for the latest version you are running When I looked at the upgrade script it did not look like it would have any impact and the script was for upgrading older 1.38 type databases. FYI, I'm running 2.0.3 and do not have a batch table. I checked the database creation and update files. It does not seem to create the batch table. I'll check with devel@ and find out the story. I did a quick google for Media record for Volume not found and did not come up with anything useful. I am not sure what that error is telling me. It's tell you that it could not find an entry for the Volume it is trying to backup. BTW: Did you happen to drop the old database and create a new one for Bacula? Is FULL-0001 a VOLUME label that you created with the previous version of Bacula? I dropped tables and database after I could not get things working with old database. I have created the database and tables from scratch several times. Each time, the scripts completes successfully and database/tables are created. When the daemons are started for the first time, the bacula.Pool table is updated with the information from the bacula-dir.conf file. As such, I assumed bacula/MySQL are playing nice with each other. The FULL-001 is an auto-labled/auto-created volume (on disk). I will admit I have not looked at the manual in quite some time as the backups were working fine before the MySQL upgrade. I am hoping someone knows what this error means and can point me in the right direction. - 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] Windows (FD v2.0.1): ClientRunBeforeJob
This is what you said Erich Prinz Agreed Troy! Add the .exe to the path name. I ran into this very same issue 'assuming' the extension would otto-magically be added. So much for assuming Erich On Jan 19, 2007, at 12:40 AM, Troy Daniels wrote: Hi Scott, I might be completely wrong but have you tried to append .exe to the ntbackup command? On my systems at least the full path is c:\WINDOWS\system32 \ntbackup.exe Microsoft normally tries to be nice and append the .exe extension automatically, but something may have changed in the latest version that interferes with that. However, it also hides the extension in by default in Explorer which leads to confusion more often than not in my experience. What version were you running before upgrading? And what version of Windows are you running? The answers to the above might help others answer your original question. Hope this helps, Troy Daniels. Perth Systems Admin. iTouch Australia (pty) ltd. To answer Kern, it was working with version 1.39.27. I can not remember what the actual version of the Windows FD was at that time. Both director and FD were upgraded at the same time when version 1.39.27 was installed. Now the Window FD is version 2.0.1. I will definitely give adding the extension (.EXE) a try, but I am not sure why that would make a difference. The .BAT file, which calls the ntbackup.exe, program works fine (from an windows command prompt). This leads me to believe the syntax in the .BAT file is correct. I assume the bacula-dir.conf file is correct because the .BAT file IS being called (or so appears from bacula's messages). The messages show the commands from the .BAT file. The problem is that what is in the .BAT does not run (when executed from bacula). The results are the same if I add the .EXE extension to the command line in the .BAT file. Below are the results: ClientRunBeforeJob: run command C:/Program Files (x86)/Bacula/bin/backup_systemstate.bat ClientRunBeforeJob: ClientRunBeforeJob: C:\WINDOWS\system32C:\WINDOWS\system32\ntbackup.exe backup systemstate /F C:\SystemState\systemstate.bkf ClientRunBeforeJob: 'C:\WINDOWS\system32\ntbackup.exe' is not recognized as an internal or external command, ClientRunBeforeJob: operable program or batch file. ClientRunBeforeJob: ClientRunBeforeJob: C:\WINDOWS\system32exit 0 I do not doubt the problem could be me, but this used to work in earlier versions of bacula. I started using this .BAT file in version 1.38.11. Thanks. Scott - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows (FD v2.0.1): ClientRunBeforeJob [RESOLVED]
This is what you said Martin Simmons On Thu, 18 Jan 2007 20:23:38 -0700 (MST), Scott Ruckh said: Importance: Normal I am trying to call a .BAT file using ClientRunBeforeJob. The config used to work fine before upgrading the Windows FD 2.0.1. It looks like the syntax in my bacula-dir.conf file is correct. It looks like the .BAT file is being called, and for some reason there is a problem with the .BAT file. Taking Bacula out of the equation, running the .BAT file works without any problem. Possibly the environment/context that the Bacula FD runs under is different then the user I am using to run the .BAT file. The security on the actual files appears to be correct for the SYSTEM user, which is what I believe is the context for the Bacula FD. Perhaps someone can lend some assistance. Here is what is reported from Bacula's messages. ClientRunBeforeJob: run command C:/Program Files (x86)/Bacula/bin/backup_systemstate.bat ClientRunBeforeJob: ClientRunBeforeJob: C:\WINDOWS\system32C:\WINDOWS\system32\ntbackup backup systemstate /F C:\SystemState\systemstate.bkf ClientRunBeforeJob: 'C:\WINDOWS\system32\ntbackup' is not recognized as an internal or external command, ClientRunBeforeJob: operable program or batch file. ClientRunBeforeJob: ClientRunBeforeJob: C:\WINDOWS\system32exit 0 Yes, C:\WINDOWS\system32\ntbackup, does exist and is the correct PATH. This is a 64-bit Windows system, right? If so, then I think you are being hit by the way that 64-bit Windows hacks file names when running 32-bit programs. Basically what happens is that a 32-bit program accessing C:\WINDOWS\system32 actually accesses C:\WINDOWS\SysWOW64, which contains files that a 32-bit Windows installation would provide. The real C:\WINDOWS\system32 contains 64-bit Windows. The problem is that Bacula runs C:\WINDOWS\system32\cmd.exe to execute your .BAT file. Because Bacula is a 32-bit program, it ends up runing the 32-bit cmd from C:\WINDOWS\SysWOW64\cmd.exe. Then when this cmd runs C:\WINDOWS\system32\ntbackup, it actually tries to run C:\WINDOWS\SysWOW64\ntbackup, which doesn't exist. To make it work, you'll have to put a copy of C:\WINDOWS\system32\ntbackup.exe is some other directory. __Martin Martin is right on! Thanks! Great find as I forgot to mention I was trying to run script on x64 system and originally I was running it on x32. It is still completely insane and does not make sense. Why can't the other command interpreter locate the fully qualified path to the ntbackup executable. Is that other directory structure unavailable when launched from the other cmd.exe interpreter? G!!! I am not a fan of Windows x64. Everyday I find something new I do not like. Thanks for the help. I hope this thread will educate others with similar situations. Maybe a 64bit Windows bacula FD would help? Now back to x32 where drivers worked and programs functioned as expected. Scott - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows (FD v2.0.1): ClientRunBeforeJob
I am trying to call a .BAT file using ClientRunBeforeJob. The config used to work fine before upgrading the Windows FD 2.0.1. It looks like the syntax in my bacula-dir.conf file is correct. It looks like the .BAT file is being called, and for some reason there is a problem with the .BAT file. Taking Bacula out of the equation, running the .BAT file works without any problem. Possibly the environment/context that the Bacula FD runs under is different then the user I am using to run the .BAT file. The security on the actual files appears to be correct for the SYSTEM user, which is what I believe is the context for the Bacula FD. Perhaps someone can lend some assistance. Here is what is reported from Bacula's messages. ClientRunBeforeJob: run command C:/Program Files (x86)/Bacula/bin/backup_systemstate.bat ClientRunBeforeJob: ClientRunBeforeJob: C:\WINDOWS\system32C:\WINDOWS\system32\ntbackup backup systemstate /F C:\SystemState\systemstate.bkf ClientRunBeforeJob: 'C:\WINDOWS\system32\ntbackup' is not recognized as an internal or external command, ClientRunBeforeJob: operable program or batch file. ClientRunBeforeJob: ClientRunBeforeJob: C:\WINDOWS\system32exit 0 Yes, C:\WINDOWS\system32\ntbackup, does exist and is the correct PATH. Thanks. -- Scott - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too
I saw this error already posted, but never saw a resolution. Director version: 1.39.27 (24 October 2006) (From CVS) Director OS: CentOS 4.3 Storage Daemon: Built from same CVS XP client: winbacula-1.39.26.exe Error received: 02-Nov 10:11 CLIENT-fd: ClientRunBeforeJob: run command C:/Bacula/bin/backup_systemstate.bat * 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Fatal error: Socket error on ClientRunBeforeJob command: ERR=Connection reset by peer 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Error: Bacula 1.39.27 (24Oct06): 02-Nov-2006 10:11:54 This is in the job definition ClientRunBeforeJob = C:/Bacula/bin/backup_systemstate.bat The contents of C:/Bacula/bin/backup_systemstate.bat: ntbackup backup systemstate /F C:\SystemState\systemstate.bkf When the batch file is executed (outside of bacula) it works fine. The Windows SYSTEM account has permissions to the directories in question. All of this worked fine before migrating to newer version of bacula. Previous bacula version was 1.38.9. Backup job completes fine if ClientRunBeforeJob directive is commented out. The XP bacula-fd.exe completely crashes and is closed after error (service is no longer running). Anyone know the cause of this error? Thanks. Scott - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows Service not starting
This is what you said Robert Nelson On the Windows system open a cmd prompt. Run: C:\Program Files\Bacula\bin\bacula-fd -t. That should tell you if the configuration file is okay. If there are no errors then change the service path to: C:\bacula\bin\bacula-fd.exe /service -d100 -c C:\Documents and Settings\All Users\Application Data\Bacula\bacula-fd.conf Then reply with the following file attached: C:\Documents and Settings\All Users\Application Data\Bacula\work\client name-fd.trace -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ruckh Sent: Wednesday, November 01, 2006 10:53 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Windows Service not starting I just upgraded director, storage daemon and clients (both Linux and Windows). Director, storage daemon, and Linux client built from CVS sources. The version from bconsole reports: Version: 1.39.27 (24 October 2006). The Windows client (winbacula-1.39.26.exe) which was installed was downloaded from sourceforge. Per ReleaseNotes I did the following: Manually copy the *.conf files from C:\Bacula\bin to C:\Documents and Settings\All Users\Application Data\Bacula. cd c:\bacula\bin net stop bacula net stop baculfd ./bacula-fd /remove (Install the new Bacula) The bacula service path to executable looks like the following: C:\bacula\bin\bacula-fd.exe /service -c C:\Documents and Settings\All Users\Application Data\Bacula\bacula-fd.conf During automatic start after system boot up or if I manually try to restart the service I get the following error: Source: Service Control Manager Event ID: 7034 The Bacula File Server service terminated unexpectedly. The configuration file looks correct. This is happening on a Windows XP SP2 machine. Anyone have any ideas why the service will not start? -- Thanks Scott I uninstalled, then re-installed, and it appears to be somewhat stable. At least the service will restart and I have successfully run a FULL backup. Thanks. Scott - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too
-- http://photo-gallery.gemneye.org:1115/Gallery2/ This is what you said Robert Nelson When did you update from the CVS? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ruckh Sent: Thursday, November 02, 2006 9:31 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too I saw this error already posted, but never saw a resolution. Director version: 1.39.27 (24 October 2006) (From CVS) Director OS: CentOS 4.3 Storage Daemon: Built from same CVS XP client: winbacula-1.39.26.exe Error received: 02-Nov 10:11 CLIENT-fd: ClientRunBeforeJob: run command C:/Bacula/bin/backup_systemstate.bat * 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Fatal error: Socket error on ClientRunBeforeJob command: ERR=Connection reset by peer 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Error: Bacula 1.39.27 (24Oct06): 02-Nov-2006 10:11:54 This is in the job definition ClientRunBeforeJob = C:/Bacula/bin/backup_systemstate.bat The contents of C:/Bacula/bin/backup_systemstate.bat: ntbackup backup systemstate /F C:\SystemState\systemstate.bkf When the batch file is executed (outside of bacula) it works fine. The Windows SYSTEM account has permissions to the directories in question. All of this worked fine before migrating to newer version of bacula. Previous bacula version was 1.38.9. Backup job completes fine if ClientRunBeforeJob directive is commented out. The XP bacula-fd.exe completely crashes and is closed after error (service is no longer running). Anyone know the cause of this error? Thanks. Scott Yesterday. 01-Nov-2006 Thanks. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too
This is what you said Robert Nelson Hmm, the fix was committed early yesterday morning. Can you double check that your src/win32/compat/compat.cpp matches the one in CVS? Also check that the Bacula.dll on your Windows client system matches the one you built from the CVS yesterday? -Original Message- From: Scott Ruckh [mailto:[EMAIL PROTECTED] Sent: Thursday, November 02, 2006 1:51 PM To: Robert Nelson Cc: bacula-users@lists.sourceforge.net Subject: RE: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too -- This is what you said Robert Nelson When did you update from the CVS? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ruckh Sent: Thursday, November 02, 2006 9:31 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too I saw this error already posted, but never saw a resolution. Director version: 1.39.27 (24 October 2006) (From CVS) Director OS: CentOS 4.3 Storage Daemon: Built from same CVS XP client: winbacula-1.39.26.exe Error received: 02-Nov 10:11 CLIENT-fd: ClientRunBeforeJob: run command C:/Bacula/bin/backup_systemstate.bat * 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Fatal error: Socket error on ClientRunBeforeJob command: ERR=Connection reset by peer 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Error: Bacula 1.39.27 (24Oct06): 02-Nov-2006 10:11:54 This is in the job definition ClientRunBeforeJob = C:/Bacula/bin/backup_systemstate.bat The contents of C:/Bacula/bin/backup_systemstate.bat: ntbackup backup systemstate /F C:\SystemState\systemstate.bkf When the batch file is executed (outside of bacula) it works fine. The Windows SYSTEM account has permissions to the directories in question. All of this worked fine before migrating to newer version of bacula. Previous bacula version was 1.38.9. Backup job completes fine if ClientRunBeforeJob directive is commented out. The XP bacula-fd.exe completely crashes and is closed after error (service is no longer running). Anyone know the cause of this error? Thanks. Scott Yesterday. 01-Nov-2006 Thanks. I just rebuilt from CVS again. I got passed the crash, .BAT file did complete, and backup is running. Now I will test for a few days and see if I have eliminated some of my problems or have more to contend with. Thanks. Scott - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too
This is what you said Robert Nelson Also if the XP client was built from the same CVS then its name should have been winbacula-1.39.27.exe. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ruckh Sent: Thursday, November 02, 2006 1:51 PM To: Robert Nelson Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too This is what you said Robert Nelson When did you update from the CVS? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ruckh Sent: Thursday, November 02, 2006 9:31 AM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] ClientRunBeforeJob (XP Client) Crashes -- Me Too I saw this error already posted, but never saw a resolution. Director version: 1.39.27 (24 October 2006) (From CVS) Director OS: CentOS 4.3 Storage Daemon: Built from same CVS XP client: winbacula-1.39.26.exe Error received: 02-Nov 10:11 CLIENT-fd: ClientRunBeforeJob: run command C:/Bacula/bin/backup_systemstate.bat * 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Fatal error: Socket error on ClientRunBeforeJob command: ERR=Connection reset by peer 02-Nov 10:11 BACULA-dir: CLIENT_FULL.2006-11-02_10.11.02 Error: Bacula 1.39.27 (24Oct06): 02-Nov-2006 10:11:54 This is in the job definition ClientRunBeforeJob = C:/Bacula/bin/backup_systemstate.bat The contents of C:/Bacula/bin/backup_systemstate.bat: ntbackup backup systemstate /F C:\SystemState\systemstate.bkf When the batch file is executed (outside of bacula) it works fine. The Windows SYSTEM account has permissions to the directories in question. All of this worked fine before migrating to newer version of bacula. Previous bacula version was 1.38.9. Backup job completes fine if ClientRunBeforeJob directive is commented out. The XP bacula-fd.exe completely crashes and is closed after error (service is no longer running). Anyone know the cause of this error? Thanks. Scott Yesterday. 01-Nov-2006 The XP client was the most recent version downloadable from sourceforge files. http://easynews.dl.sourceforge.net/sourceforge/bacula/winbacula-1.39.26.exe - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows Service not starting
I just upgraded director, storage daemon and clients (both Linux and Windows). Director, storage daemon, and Linux client built from CVS sources. The version from bconsole reports: Version: 1.39.27 (24 October 2006). The Windows client (winbacula-1.39.26.exe) which was installed was downloaded from sourceforge. Per ReleaseNotes I did the following: Manually copy the *.conf files from C:\Bacula\bin to C:\Documents and Settings\All Users\Application Data\Bacula. cd c:\bacula\bin net stop bacula net stop baculfd ./bacula-fd /remove (Install the new Bacula) The bacula service path to executable looks like the following: C:\bacula\bin\bacula-fd.exe /service -c C:\Documents and Settings\All Users\Application Data\Bacula\bacula-fd.conf During automatic start after system boot up or if I manually try to restart the service I get the following error: Source: Service Control Manager Event ID: 7034 The Bacula File Server service terminated unexpectedly. The configuration file looks correct. This is happening on a Windows XP SP2 machine. Anyone have any ideas why the service will not start? -- Thanks Scott - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Split Volume Files
This is what you said Rudolph Bott Hey There, does anybody know if it is possible to let bacula split volume files when you use disk storage? We think it might have a big impact on performance when you tell bacula to have several files with the size of...let's say 5gb each instead of one huge 230gb file. Per other's recommendations from this list I use Maximum Volume Bytes = 2147483648 in my Pool definition to keep individual volumes from being too large. - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Split Volume Files
This is what you said Rudolph Bott Dan Langille schrieb: On 6 Oct 2006 at 18:18, Rudolph Bott wrote: Dan Langille wrote: On 6 Oct 2006 at 17:34, Rudolph Bott wrote: does anybody know if it is possible to let bacula split volume files when you use disk storage? We think it might have a big impact on performance when you tell bacula to have several files with the size of...let's say 5gb each instead of one huge 230gb file. Yes. Look at the Pool parameters. I use this: Maximum Volume Bytes = 1GB Wops. I completely overlooked this. But I guess in order to use this parameter you have to let Bacula automatically create volumes in the pool, don't you? No, not AFAIK, you can still create volumes manually. Not very practical, but you could. Hm I never had the intention to create volumes manually...but actually bacuala didn't try to add volumes to the pool by itself at all. Did I overlook something? Automatic labeling is enabled in the bacula-configuration(s) but after bacula hit the max-volume-bytes limit it simply stopped (complaining about Cannot find any appendable volumes). Is there anything else that I have to activate in order to get this feature up and running? FYI, I'm running bacula 1.38.11 with mysql. Are you using Maximum Volumes = in your Pool Definition. If you are using a hard limit, make sure you have enough volumes. I have a pool definition that looks like the following and it acts as expected. Pool { Name = INCR-Pool Pool Type = Backup Recycle = yes Recycle Oldest Volume = yes AutoPrune = yes Volume Retention = 1 months Accept Any Volume = yes Maximum Volume Jobs = 12 Maximum Volumes = 53 Maximum Volume Bytes = 2147483648 LabelFormat = INCR- } - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Run before job
This is what you said Arno Lehmann Hi, On 9/27/2006 9:29 AM, Diego wrote: Hi I try various ways for backup a mysql. I think the best is do a mysqldump (run before job) and backup the sql file (Fileset = { File = tmp/mydatabase.sql } ) but I have a lot of problems with permissions with any command. Where the command run before job is executed?in the director host (bacula-director)?or in the client host (bacula-fd)? A Run Before Job command is executed on the director machine, a Client Run Before Job command on the FD machine. this is the command I try: mysqldump -h localhost -u zimbra --all-databases --socket=/opt/zimbra/db/mysql.sock --password=7glTIK_2QcuMJ_wgQVv8Pmxz mydatabase.sql Thanks for the password :-) You should change it NOW. Any suggestions? Yes - Read the manual for mysqldump. There are some options you should consider for good results. Think about locking, key disabling, --add-drop-tables for example. This depends on your restore needs, though. Make sure the command you execute results in the action you want. Run it from a shell, as the user Bacula would run it as. Make sure there are no errors. For example, I could imagine that --all-databases might conflict with giving a limited account to use. Verify that the database dump actually contains all the info you need. And, last not least, do you have any error messages? As the original poster is not concerned with passwords, check out: http://www.worldcommunity.com/opensource/utilities/mysql_backup.html It is a configurable perl script that can be run before a backup to dump databases to disk. - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula causing system crash.
I have discussed this topic before but I was not sure at had enough evidence to defend my stance. Anyway, 3 or 4 weeks have passed and I still have the same problem. I am wondering if anyone else has a similar set up to mine. I am running CentOS 4.3 (x86_64) with latest vendor supplied patches. I am running bacula 1.38.8 compiled from source. I am backing up to disk (external USB2 WD-500GB disk). I am running fluxbox windows manager and running VMWare Workstation 5.5x. I run anywhere between 2-4 virtual machines within VMWare. Typically I have 1 x Windows 2003 Virtual Machine and 1 x CentOS Virtual machine running. The problem is that bacula will crash the host system, the CentOS machine, when it begins to write files to the USB disk. I have a job to backup the database before backup run. This job always completes, but after that the host system is in the state of no return. You can not get video signal, and can not see anything on the screen. The host system, the bacula server, is completely hung. I ran this system for a month or so without any problems without any virtual machines. Then I ran for almost 2 weeks straight with the 2 VMs listed above running. As soon as I added a 3rd machine running (a Fedora Core 5) the system crashed in the same spot. Although the environment runs fine all day long, as soon as bacula finishes backing up the databases and begins backups the host system will crash. Last night it killed the host system with only the 2 Virtual machines running. It crashed in exactly the same spot. Last night would have been a FULL backup as opposed to an incremental backup. This problem is definitely related to bacula. Everything else works fine all day long. The system hangs in the exact same spot when it dies (according to the log files). I originally thought maybe there was a contention problem with the external USB drive and USB devices in the Virtual Machines. I disabled all USB devices in the virtual machines thinking that would help, but it has not helped the situation. Bacula and VmWare are definitely not playing nice together. Does anyone have any suggesstions? Is anyone successfully running a similar environment? If anyone has some insight on a resolution I would appreciate your input. Thanks. -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] System crashing hard -- presumably Bacula is the culprit
I have been running bacula Version: 1.38.8 (compiled from source) for a few months now. I am running CentOS 4.3 on an x86_64 platform. I am backing up to disk (external USB storage). This has been running fine for the past few months. This week the system has crashed hard (no kernel panic) 2 times. I can not find anything of value in any of the system logs. It is a complete hang of the system. I am running VMware Workstation on this server. The reason I mention this is because the only significant change to the system this week is that more VM instances have been running on the server this week. All day long the Virtual Machines and the physical system plays nicely with one another. Then, within 2 minutes of seeing this bacula message Volume INCR-0003 previously written, moving to end of data, the system hangs. The above message is seen write after the script defined in the RunBeforeJob (for the physical system) directive is run (and completed successfully). It is a presumed 2 minutes because that is the time from the above message to the last message written to the /var/log/messages file. I can not find any other jobs running at that time then would be any different then the jobs running throughout the day. Anyone have any suggestions on things I could tune that would prevent the system from crashing? My bacula configurations are not all that complex or strange. Anyone else seen this type of behavior? Thanks. -- Scott - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] System crashing hard -- presumably Bacula is the culprit
-- http://photo-gallery.gemneye.org:1115/Gallery2/ This is what you said Martin Simmons On Thu, 10 Aug 2006 08:41:10 -0700 (MST), Scott Ruckh said: I have been running bacula Version: 1.38.8 (compiled from source) for a few months now. I am running CentOS 4.3 on an x86_64 platform. I am backing up to disk (external USB storage). This has been running fine for the past few months. This week the system has crashed hard (no kernel panic) 2 times. I can not find anything of value in any of the system logs. It is a complete hang of the system. I am running VMware Workstation on this server. The reason I mention this is because the only significant change to the system this week is that more VM instances have been running on the server this week. All day long the Virtual Machines and the physical system plays nicely with one another. Then, within 2 minutes of seeing this bacula message Volume INCR-0003 previously written, moving to end of data, the system hangs. The above message is seen write after the script defined in the RunBeforeJob (for the physical system) directive is run (and completed successfully). It is a presumed 2 minutes because that is the time from the above message to the last message written to the /var/log/messages file. Perhaps you can configure syslogd to send these messages to the console as well? The screen is completely gone so I could not see any console messages and this server is not connected to a console server. I can not find any other jobs running at that time then would be any different then the jobs running throughout the day. Anyone have any suggestions on things I could tune that would prevent the system from crashing? Is the USB disk for anything other than backups? If not, maybe the problem the problem is USB-related. Can you do a backup to a non-USB disk? Thanks for the feedback. I do not really have that available disk space for backups on a non-USB device (this environment is for home office). When I am only running 1-2 virtual machines everything works fine, or at least has run fine in the past. The same has been true this week. Now twice this week when 3 Virtual machines were running the system crashed nearly at the same time (right after the RunBefore script has been completed). As backups seem to work when when more memory is available (less VM's running) it does not appear to be a USB issue (at least the USB Drive). Possibly a conflict with the USB sharing between physical machine and virtual machine. Also, as the only time the system crashes is at the start of the backup process, I do not think hardware is failing. Maybe conflicting as stated above. Thanks for the feedback. - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem with wx-console on windows
This is what you said Orallo Orallo Hi Bill, And thanks for your input, I appreciate your help. I dont think I am missing any steps, but here I will do a play by play of what I click/select/press etc. As I mentioned on my original post, I've been able to perform restores succesfully using the regular bconsole, but the GUI would be nice use. - I open wx-console, and it connects to my bacula director, and it lists the list of available commands. - Next I click on the restore tab. - Next I click on enter restore mode and the listboxes are enabled and populated. - Next I select one of the Job Names that are on the first listbox. RestoreITFD and automatically, the client (IT-FD) gets listed and selected, so does the fileset (IT-FD-SET) so does the pool (default) the storage (File) and the before (sets to the current time and date) then I click OK at the bottom of the screen and it switches to the a screen divided into two, the left side shows it-fd with a red X to the left, if I right click on it it the X turns to a green check mark, no matter what I do, the right side of the screen shows NOTHING at all, no file names, no drives, no directories, nothing I have not had much success using the wx-console to restore files back to windows servers. I perform the exact steps from bconsole and the restores work fine. I was having a different problems then what you have described. My restore would start but no files would restore. It was kind of strange because when I first tested the wx-console it did actually work. As wx-console was unreliable and I could still restore from bconsole it was not a show stopper. I thought I read the experiences from other users to see if it was a problem worth pursuing. - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building SRPM on Centos
This is what you said R.I. Pienaar hey, yeah I could get a manual build going, but manual builds wont work, we have policies here about only RPM based apps going onto production. I guess there is always modifying a .SPEC file to meet your needs. As the build for bacula was straight forward, I would guess (as I have not written bacula spec file), that the .SPEC file would be relatively easy to create. - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building SRPM on Centos
This is what you said R.I. Pienaar hello, So further to my previous mails about TLS, I've now moved on to try make my CentOS 4.3 machines, the closest RPM I could find was the one for el3 ones on the bacula download list. So I saw on this list someone suggest doing --with-openssl=/ in the spec, I did this now the configure output says yes for the above. However mid-build I get a lot of problem, I'll show some here: - /usr/bin/g++ -static -L../lib -L../findlib -o static-bacula-fd filed.o authenticate.o acl.o backup.o chksum.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o verify_vol.o \ -lz-lfind -lbac -lm -lpthread -ldl \ -L/usr/lib -lssl -lcrypto snip /usr/lib/libssl.a(kssl.o)(.text+0x195): In function `populate_cksumlens': : undefined reference to `valid_cksumtype' /usr/lib/libssl.a(kssl.o)(.text+0x1ad): In function `populate_cksumlens': : undefined reference to `krb5_checksum_size' /usr/lib/libssl.a(kssl.o)(.text+0x1d5): In function `populate_cksumlens': : undefined reference to `krb5_checksum_size' snip - I have posted this before, but here it goes again. Obviously this is not for the RPM build, but this is what I use for compiling sources on CentOS 4.3 x86_64 system. CFLAGS=-g -Wall -O0 -I/usr/lib64/mysql \ LDFLAGS=-L/usr/lib64/mysql -L/lib64 -L/usr/lib64 \ ./configure \ --sbindir=/usr/local/bin/bacula \ --sysconfdir=/etc/bacula \ --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --with-pid-dir=/var/run/bacula \ --with-subsys-dir=/var/run/subsys/bacula \ --enable-conio \ --with-openssl \ --with-mysql \ --with-working-dir=/usr/local/bin/bacula/working \ --with-dump-email=appropriate-email-address \ --with-job-email=appropriate-email-address \ --with-dir-user=bacula \ --with-dir-group=bacula \ --with-sd-user=bacula \ --with-sd-group=bacula \ --with-fd-user=root \ --with-fd-group=root \ --with-python Then run a make, and make install. Note: make install by itself did not work. Separate steps were required. - 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.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 1.38.11 and RedHat EL 4
This is what you said Djoni Windberg Hi, I cannot make bacula 1.38.11 works in Red Hat Enterprise Linux 4. I had downloaded baculaxxx.tar.gz and compilate with the parameters below. ### ./configure --prefix=/usr --sbindir=/usr/local/sbin --sysconfdir=/usr/local/etc/bacula --with-scriptdir=/usr/local/etc/bacula --enable-smartalloc --with-mysql --with-working-dir=/var/bacula --with-pid-dir=/var/run --with-subsys-dir=/var/lock/subsys --enable-conio ## Here is what I used for a 64-bit system: CFLAGS=-g -Wall -O0 -I/usr/lib64/mysql \ LDFLAGS=-L/usr/lib64/mysql -L/lib64 -L/usr/lib64 \ ./configure \ --sbindir=/usr/local/bin/bacula \ --sysconfdir=/etc/bacula \ --with-scriptdir=/etc/bacula \ --enable-smartalloc \ --with-pid-dir=/var/run/bacula \ --with-subsys-dir=/var/run/subsys/bacula \ --enable-conio \ --with-openssl \ --with-mysql \ --with-working-dir=/usr/local/bin/bacula/working \ --with-dump-email=appropriate-email-address \ --with-job-email=appropriate-email-address \ --with-dir-user=bacula \ --with-dir-group=bacula \ --with-sd-user=bacula \ --with-sd-group=bacula \ --with-fd-user=root \ --with-fd-group=root \ --with-python - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Dealing with the past... lastlog (sparse files), x86_64, and Bacula
This is what you said Gregory Brauer Due to some poor foresight on the part of the implementers of the last utilities, the lastlog is stored as a sparse file where the specified size of the sparse file is based on the highest possible user on the system. On a 64-bit system, that means you get a file which is reported by ls and seen by Bacula as 1254130450140 bytes (1.14 TB) in size. What would be the best way of dealing with this issue? It looks like all users running Bacula on a 64-bit system will run into this problem soon. Thanks. Greg If you search the archives you would find a thread I started on this exact problem when I first started using Bacula. There was even a person who attempted to code a utility that would quickly (un)compress the sparse file. This way you could exclude the actual sparse file but backup the compressed file. The utility never worked for me. I never found a good solution to the problem. If I used the sparse option from bacula the data written was less but the actual time to perform backup was not reduced. As my system is not in a production environment, I have chosen to just skip the lastlog file until a real solution can be delveloped. Scott - 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using Multiple Disks
-- This is what you said Ryan Novosielski -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This sort of thing goes in the Schedule{} definition, not the others. _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 I could be totally wrong. I am by no means an expert at this stuff. I have been using bacula for less then a couple of months. Here is my director file if interested. I could be totally wrong, but I think it is close to what you are trying to accomplish. My FULL, Incrermentals, Differentials, and Catalogs all go to different mount points, have their own labels, and have their own storage definition. This could be totally wrong, but that is what I am using. # # Default Bacula Director Configuration file # # The only thing that MUST be changed is to add one or more # file or directory names in the Include directive of the # FileSet resource. # # For Bacula release 1.38.8 (14 April 2006) -- redhat # # You might also want to change the default email address # from root to your address. See the mail and operator # directives in the Messages resource. # Director {# define myself Name = linux.fq.dn-dir DIRport = 9101# where we listen for UA connections QueryFile = /etc/bacula/query.sql WorkingDirectory = /usr/local/bin/bacula/working PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = aPassword # Console password Messages = Daemon } JobDefs { Name = DefaultWeeklyJob Type = Backup Level = Full Schedule = WeeklyCycle Storage = FSD_FULL Messages = Standard Pool = FULL-Pool Priority = 10 } # # Define the main nightly save backup job # By default, this job will back up to disk in /tmp Job { Name = Linux Client FULL JobDefs = DefaultWeeklyJob Client = aLinuxClient FileSet = Linux Client FULL ClientRunBeforeJob= /usr/local/bin/mysqlbackup/mysqlbackup.pl Write Bootstrap = /BACKUPS/Bootstrap/linux.fq.dn.bsr } Job { Name = Windows Client FULL JobDefs = DefaultWeeklyJob FileSet = Windows Client FULL Client = aWindowsClient ClientRunBeforeJob = C:/bacula/bin/backup_systemstate.bat Write Bootstrap = /BACKUPS/Bootstrap/windozeclient.bsr } # Backup the catalog database (after the nightly save) Job { Name = BackupCatalog JobDefs = DefaultWeeklyJob Client = aLinuxClient Level = Full FileSet=Catalog Storage= FSD_CTLG Pool=CTLG-Pool Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog RunBeforeJob = /etc/bacula/make_catalog_backup bacula bacula dbPassword # This deletes the copy of the catalog RunAfterJob = /etc/bacula/delete_catalog_backup Write Bootstrap = /BACKUPS/Bootstrap/BackupCatalog.bsr Priority = 11 # run after main backup } # # Standard Restore template, to be changed by Console program # Only one such job is needed for all Jobs/Clients/Storage ... # Job { Name = RestoreFiles Type = Restore Client=aLinuxClient FileSet=Linux Client FULL Storage = FSD_FULL Pool = FULL-Pool Messages = Standard Where = / } # List of files to be backed up on server linux.fq.dn FileSet { Name = Linux Client FULL Include { Options { compression = GZIP signature = MD5 wildfile = /var/log/lastlog wildfile = /.journal wildfile = /.fsck wilddir = /ISO wilddir = /proc wilddir = /tmp wilddir = /sys wilddir = /dev wilddir = /mnt wilddir = /BACKUPS wilddir = /var/spool/squid wilddir = /var/lib/mysql Exclude = yes } File = / File = /boot File = /home File = /var } } FileSet { Name = Windows Client FULL Enable VSS = yes Include { Options { compression = GZIP signature = MD5 } File = C:/ File = D:/ } Exclude { File = pagefile.sys } } # # When to do the backups, full backup on first sunday of the month, # differential (i.e. incremental since full) every other sunday, # and incremental backups other days Schedule { Name = WeeklyCycle Run = Level=Full Storage=FSD_FULL FullPool=FULL-Pool 1st-5th sun at 02:05 Run = Level=Differential Storage=FSD_DIFF FullPool=FULL-Pool DifferentialPool=DIFF-Pool 2nd-5th sun at 02:05 Run = Level=Incremental Storage=FSD_INCR IncrementalPool=INCR-Pool FullPool=FULL-Pool mon-sat at 02:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup Run = Level=Full Full Storage=FSD_CTLG FullPool=CTLG-Pool sun-sat at 02:10 } # This is the backup of the catalog FileSet { Name = Catalog Include { Options { signature = MD5 } File = /usr/local/bin/bacula/working/bacula.sql } } # Client (File Services) to backup Client { Name =
Re: [Bacula-users] Client Run Before Job script failing.
-- This is what you said Will McDonald Hi all. Tried to send this mail yesterday and it appeared to bounce. Apologies if this is a duplicate. I have a problem with a Client Run Before Job script to backup MySQL databases which is only occurring when it's called by Bacula. On the Director I have: [EMAIL PROTECTED] scripts]# cat /etc/redhat-release; rpm -qa | grep bacula; ps aux | grep [b]acula CentOS release 4.3 (Final) bacula-mysql-1.38.5-4 bacula-mtx-1.38.5-4 bacula 25352 0.0 0.4 39808 2168 ?Ssl 09:20 0:00 /usr/sbin/bacula-sd -u bacula -g disk -v -c /etc/bacula/bacula-sd.conf root 25357 0.0 0.3 18132 1848 ?Ssl 09:20 0:00 /usr/sbin/bacula-fd -u root -g bacula -v -c /etc/bacula/bacula-fd.conf bacula 25362 0.0 0.5 60420 2988 ?Ssl 09:20 0:00 /usr/sbin/bacula-dir -u bacula -g bacula -v -c /etc/bacula/bacula-dir.conf And the clients are: [EMAIL PROTECTED] scripts]# cat /etc/redhat-release; rpm -qa | grep bacula; ps aux | grep [b]acula CentOS release 4.3 (Final) bacula-client-1.38.5-4 root 14325 0.0 0.4 38976 2216 ?Ssl Mar28 13:31 /usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf The script runs mysqlshow to build a list of available databases then dumps them out to a standard location. It runs fine from the shell as root on the client hosts themselves, when called during a backup though I see the following: 06-Jun 10:56 archive: Start Backup JobId 1045, Job=devmon1.2006-06-06_10.56.26 *messages 06-Jun 10:56 devmon1: ClientRunBeforeJob: /usr/bin/mysqlshow: Access denied for user 'root'@'localhost' (using password: NO) Again, running mysqlshow on a client from the shell as root works perfectly: Looks like your are running the bacula program as the user bacula. When you run your script as root and use root's home directory for your my.cnf file that will be different then your bacula user. Plus some shells do not respect some of your dot files in a non-interactive shell, but I am not sure this is your problem. I am using, http://worldcommunity.com/opensource/utilities/mysql_backup.html, to backup my databases from Bacula Director (ClientRunBeforeJob). ClientRunBeforeJob= /usr/local/bin/mysqlbackup/mysqlbackup.pl This appears to work good for me. ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Client Run Before Job script failing.
-- The Bacula Director and Storage daemons are running as bacula on the backup server. The Bacula File Daemon running on the clients is running as use root, group bacula. As the script's running on the client I'd have thought it'd execute as root, and it is. I am using, http://worldcommunity.com/opensource/utilities/mysql_backup.html, to backup my databases from Bacula Director (ClientRunBeforeJob). ClientRunBeforeJob= /usr/local/bin/mysqlbackup/mysqlbackup.pl This appears to work good for me. Do you have passworded MySQL root user access? i.e. to you need to supply -p somepass when connecting using the CLI? Will. Yes, I have configured root to require a password when logging in. The username and password configured for doing the backups is included in the script's configuration ($user and $password). Scott ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Creating Rescue CD -- Not working
I am trying to create the rescue CD on a CentOS 4.3. I am using v1.38.8 of bacula fd, and I am using bacula rescue v1.8.3. This is on an x86_64 distro if that makes any difference. Here is the output from make all when in the linux/cdrom directory of bacula-rescue: make all ./makekernel Updating modules in root RAM disk Coping /boot/vmlinuz-2.6.13.4 to /usr/src/bacula-rescue-1.8.3/linux/cdrom/cdtree/boot/isolinux/vmlinuz ./makebinaries Building root /sbin. Some Could not find messages are normal ... Could not find fsck.jfs on your system Could not find lilo on your system Could not find mkbootdisk on your system Could not find mkfs.jfs on your system Could not find mkreiserfs on your system Could not find raidstart on your system Could not find reiserfsck on your system Could not find scsi_info on your system Building root shared libaries ... ./makebinaries: line 154: unexpected EOF while looking for matching `' ./makebinaries: line 168: syntax error: unexpected end of file make: *** [binaries] Error 2 Has anyone else come across these errors? -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Abnormally Slow Backup Behavior on x86_64 Platform
-- Bob wrote: Hello, I am running a Bacula backup server (ver.1.38.5) on a RH-EL4 system with ~30 Linux clients. All the clients are running on Intel i386 platforms with the exception of one system. This x86_64 system is running the RH-EL4 x86_64 version of the OS. It is this system I have a problem with. Full backups take forever. A full backup of 10gigs takes 25-35 minutes on other systems, but this system it takes 24-36 HOURS. Also, the CPU on this system is slammed to 95-98 percent while the backup is operating. I'll add the back/restore operations do work, but it takes forever, and the user can not use the machine while the backup is in progress. This system has a fast CPU AMD 3800 ATHLON and 1Gig ram. The motherboard is a MSI K8N Neo2, Video is xfx-geforce 6800gs agp. Also, I'll note another network attached type backup program, Bru-Pro, has the same problem, only worse. I mention this because I think their is some under lying common problem between these two applications; accessing file systems, indexing files, compressing file systems, and transferring file system data over a network. Here is my config.out from an alomost identical system (CentOS 4.3). Host: x86_64-unknown-linux-gnu -- redhat Bacula version: 1.38.8 (14 April 2006) Source code location: . Install binaries: /usr/local/bin/bacula Install config files: /etc/bacula Scripts directory: /etc/bacula Working directory: /usr/local/bin/bacula/working PID directory: /var/run/bacula Subsys directory: /var/run/subsys/bacula Man directory: /usr/share/man Data directory: /usr/share C Compiler: gcc 3.4.5 C++ Compiler: /usr/bin/g++ 3.4.5 Compiler flags: -g -Wall -O0 -I/usr/lib64/mysql Linker flags:-L/usr/lib64/mysql -L/lib64 -L/usr/lib64 Libraries: -lpthread -ldl Statically Linked Tools:no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: MySQL Database lib: -L/usr/lib/mysql -lmysqlclient -lz Job Output Email: email Traceback Email:email SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port:9103 Director User: bacula Director Group: bacula Storage Daemon User:bacula Storage DaemonGroup:bacula File Daemon User: bacula File Daemon Group: bacula SQL binaries Directory /usr/bin Large file support: yes Bacula conio support: yes -ltermcap readline support: no TCP Wrappers support: no TLS support:yes ZLIB support: yes enable-smartalloc: yes enable-gnome: no enable-wx-console: no enable-tray-monitor: client-only:no build-dird: yes build-stored: yes ACL support:yes Python support: yes -L/usr/lib/python2.3/config -lpython2.3 -lutil -lrt --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Retaining incremental with full backups
This is what you said Dan Trainor Dan Trainor wrote: Good morning - I've not yet started using Bacula, but I'm getting ready to. I'm very impressed with how it works, and the documentation is clear and concise - even without having used bacula yet, I'm very impressed. One thing that I did not see in the documentation was how I could retain a set of incremental backups, with a full backup. What I'd like to do is do one full backup nightly, and then incremental backups every four hours, until the next nightly backup. I'd like to retain these incremental backups for as long as I retain their corresponding full backup. I'd like to have at least ten days' worth of these sets. I did not see this type of setup in the documentation. If anyone would care to explain this to me, I would greatly appreciate it. Thanks! -dant Seems like a reasonable request. Your Pool directives will need to be planned, but it seems like something bacula can do. Myslef and many others do weekly full backups and daily incrementals in between without problems. Increasing frequency should not be that big of deal, although I have not personally attempted it. I am not sure how people deal with tracking of deleted files between backups, but everything else from you request seems doable. --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File-based Storage and Pool Definitions
This is what you said Mark McCracken Hi guys - I'm new to bacula, but I've been reading the docs and trying different things to accomplish my goal here, and I'm stumped. Maybe you can help me. I have 6 machines on my home network that I want to backup, all to a large drive mounted at /mnt/lacie on my storage daemon. I want to have a separate subdirectory for each machine (/mnt/lacie/libby, /mnt/lacie/jazz, etc), and below that a separate subdirectory for each level (/mnt/lacie/libby/Full, /mnt/lacie/libby/Incremental). I am doing Fulls and Incrementals only, no Differentials. I do monthly full backups and weekly incremental backups, and I want to keep about 2 months worth of stuff on there at all times (a little slop one way or the other is fine). In a perfect world, my directories would look something like this after being completely filled by bacula over the course of 2-3 months: /mnt/lacie/ libby/ Full/ Monthly0001 Monthly0002 Incremental/ Weekly0001 Weekly0002, 0003, etc up to 0008 jazz/ (just like libby's tree) (other machines just like libby and jazz) I am a novice bacula user, so beware -- Here is an example of what I am doing. Not exactly what you are doing, but it should get you started. Ignore all comments becuase they probably do not make sense. They are there because I cut and paste not because I have gone back and edited them to make sense. ===bacula-sd.conf= Device { Name = SD_FULL Media Type = File Archive Device = /BACKUPS/Full LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = SD_INCR Media Type = File Archive Device = /BACKUPS/Incremental LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = SD_DIFF Media Type = File Archive Device = /BACKUPS/Differential LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Device { Name = SD_CTLG Media Type = File Archive Device = /BACKUPS/Catalog LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } ===bacula-dir.conf= # Definition of file storage device Storage { Name = FSD_FULL # Do not use localhost here Address = MyBacula# N.B. Use a fully qualified name here SDPort = 9103 Password = . Device = SD_FULL Media Type = File } Storage { Name = FSD_INCR # Do not use localhost here Address = MyBacula# N.B. Use a fully qualified name here SDPort = 9103 Password = . Device = SD_INCR Media Type = File } Storage { Name = FSD_DIFF # Do not use localhost here Address = MyBacula# N.B. Use a fully qualified name here SDPort = 9103 Password = . Device = SD_DIFF Media Type = File } Storage { Name = FSD_CTLG # Do not use localhost here Address = MyBacula# N.B. Use a fully qualified name here SDPort = 9103 Password = . Device = SD_CTLG Media Type = File } Pool { Name = FULL-Pool Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes Recycle Oldest Volume = yes # Recycle Oldest Volume AutoPrune = yes # Prune expired volumes Volume Retention = 1 months # 3 months Accept Any Volume = yes # write on any volume in the pool Maximum Volume Jobs = 1 Maximum Volumes = 10 LabelFormat = FULL- } Pool { Name = DIFF-Pool Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes Recycle Oldest Volume = yes # Recycle Oldest Volume AutoPrune = yes # Prune expired volumes Volume Retention = 2 months # 32 days Accept Any Volume = yes # write on any volume in the pool Maximum Volume Jobs = 2 Maximum Volumes = 9 LabelFormat = DIFF- } Pool { Name = INCR-Pool Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes Recycle Oldest Volume = yes # Recycle Oldest Volume AutoPrune = yes # Prune expired volumes Volume Retention = 1 months # 7 days Accept Any Volume = yes # write on any volume in
[Bacula-users] Restores -- XP Client -- Bacula 1.38.8
I am having some problems with restores, or possible a mis-understanding of how restores work. I am running Bacula 1.38.8, both server (CentOS x86_64) and client. One of my clients is a Windows XP machine running the VSS enabled bacula client. Full backups run once weekly with incremental backups running the other days. All backups are done to disk storage device. When I tested restores orginally (only having on Full backup in the catalog), everything worked as expected. Now some time has passed and I have a catalog filled with several backups (full and incremental) for different clients. I tried using the wx-console app from the Windows XP machine to perform a restore. After selecting the tab for restores and going into restore mode, I entered all the information pertaining to the last full backup for this particular client including the FULL-pool and enterting a date one second after the Full backup in the Before: field. I marked several top-level sub-directories. Modified the job with the correct client, and kicked off the restore. Very few of the files actually restored. I tried this several times changing the directories, dates, Pools, etc., and I was never able to get all the files restored. I ran what I believe is the same restore from bconsole on the server and all files restored as expected. Is anyone else experiencing similar problems? If not, can you tell me what I am doing wrong? Thank You. -- --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restore from windows
This is what you said Alexey Koptsevich Hello, We are evaluating Bacula as a replacement for our out-of-contract NetBackup installation at an academic site. Everything seems very attractive, except for one thing: as far as I understand from the documentation, there is no way for Windows users to restore their files with a GUI tool. So either admin should do restore for them, or they should be taught to log into the backup server and initiate restore from the command-line. I would appreciate if someone on this list could confirm that. Thanks, Alex There is a simple GUI client for Windows that will allow for the restoration of files. I personally have not had a whole lot of success from the Windows client, but that might just be my issue. To answer your question, there is a windows GUI (wx-console). --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] BartPE plugin
But doesn't tell me where to download the plugin. It doesn't appear to be in the win32 bacula distributable, the bacula sourceforge downloads, or the list of plugins on the bartpe site. Any suggestions? Thanks James Does this work? http://dl.sourceforge.net/sourceforge/bacula/winbacula-bartpe-1.36.1.zip I added the latest binaries and added the MS Visual C runtime library to the .inf file. Basically the plug-in is copying binaries to plug-in directory along with .inf file, and enabling bacula plug-in BartPE before creating ISO image. I tried a simple restore using BartPE and it appeared to work fine. I have not tried a complete bare metal restore. --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore: Windows XP; Bacula Version: 1.38.8; ERROR
This is what you said Troy Daniels Scott, I noticed you stated you changed your bootstrap file after selecting the file to be restored. By any chance did you change it to the one created during the backup process? If so, as I understand it (And I could be wrong) you just told the system to restore all the files recorded in that file. The selection mode should build it's own bootstrap file, containing only the file you asked for. (You should see a message to this effect once you enter 'done' I believe). Try it without changing the bootstrap file and see if it makes a difference. Cheers, Troy Daniels Systems Administrator iTouch Australia PTY LTD We have so much time, and so little to do! Strike that, reverse it. -- Willy Wonka and the Chocolate Factory. Scott Ruckh wrote: This is what you said Scott Ruckh I am trying a restore for the very first time, so this may just be user error, but I got strange results when trying to restore a single file to a Windows XP client. I ran the WX-Console program from the target machine (Windows XP). I went into restore mode and I marked a single file for restore from the root of the C:\ drive. If I ran lsmark the correct file was returned. If I ran ls the directory was displayed and the single file was prefixed with an *. I ran the count command and the response was that 1 file is selected for restore. All of this looks correct to me so I issue the done command. The restore job needs to be modified so I change the Bootstrap file, the client name, Where = / (to put back the file where it came from) etc, until job parameters look correct. I then launch the job. The restore kicks off and the file I selected is restored with no problem. Seems good, right? Well here is the kicker: Unfortunately the restore continues going through the entire FileSet. I can not tell if the job is just reading files, or if it is actually restoring files. Whatever the case may be, I do not understand why this would happen. Once the single file was restored I would have thought the job would have completed sucessfully. I have yet to let the job run all the way through because it scares me that all the files keep scrolling on the console and the Storage Device is continuosly active. I am almost certain it was restoring the other files based on events that happened during the restore, though I do not have valid proof and I am too nervous to test. Is this normal? Is this user error? Is this a bug? Anyone know what is going on? I went ahead and tested because I thought the damage was already done. In fact I did the same restore from the director's console just to see if it made a difference. The results from the director's console were exactly the same as the target's console. Also, I proved other files are definitely getting restored even after only 1 file was marked for restoration. I am using disk as my storage device in case it makes a difference. I am almost certain I am using the correct settings for the restore job, so I have no idea what is going on. Anyone have any idea what is going on? There you have it!! Prime example of user error. I obviously did not understand the .bsr file. I will re-read the documentation in the restore section of the users manual because I do not remember the bsr's usage being discussed. I have only been using bacula for a few days, so I am learning new stuff every day. Thanks for the response and the solution! Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
This is what you said Pieter (NL) Did you look, with for example wx-console, if the files you didn't want to be backed up are indeed excluded to make sure if your fileset is or isn't the problem Pieter -- View this message in context: http://www.nabble.com/Backups-too-big%2C-and-other-questions-t1502635.html#a4083663 Sent from the Bacula - Users forum at Nabble.com. Backing up the sparse file (1.2TB in size (64K actual size)), with the spase otion enabled for the file, still takes about 2.5 hours to backup. Does this sound correct? That is an improvement on the 7 hours without sparse enabled, but I would have guessed that backing up a sparse file whose actual file size is 64K would only take a matter of seconds. Here is the new FileSet with the sparse option enabled: FileSet { Name = Firewall Full Include { Options { signature = MD5 sparse = yes compression = GZIP } File = /var/log/lastlog } Include { Options { compression = GZIP signature = MD5 wildfile = /var/log/lastlog wildfile = /.journal wildfile = /.fsck wilddir = /proc wilddir = /tmp wilddir = /sys wilddir = /dev wilddir = /mnt wilddir = /BACKUPS wilddir = /var/spool/squid Exclude = yes } File = / File = /boot File = /home File = /var } } I could probably remove /wildir = /BACKUPS as /BACKUPS is its own filesystem, but I included it for readability. If this is still not the correct way to handle the sparse file, please let me know. Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
This is what you said Eric Warnke Oops tar -Scf lowercase s is somthing else. Cheers, Eric Good idea. I tried: tar -Sc -f /var/log/lastlog.tar /var/log/lastlog But it appears to do much the same as bacula. It too must read through the entire file, so it does not speed things up. Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore: Windows XP; Bacula Version: 1.38.8; ERROR
I am trying a restore for the very first time, so this may just be user error, but I got strange results when trying to restore a single file to a Windows XP client. I ran the WX-Console program from the target machine (Windows XP). I went into restore mode and I marked a single file for restore from the root of the C:\ drive. If I ran lsmark the correct file was returned. If I ran ls the directory was displayed and the single file was prefixed with an *. I ran the count command and the response was that 1 file is selected for restore. All of this looks correct to me so I issue the done command. The restore job needs to be modified so I change the Bootstrap file, the client name, Where = / (to put back the file where it came from) etc, until job parameters look correct. I then launch the job. The restore kicks off and the file I selected is restored with no problem. Seems good, right? Well here is the kicker: Unfortunately the restore continues going through the entire FileSet. I can not tell if the job is just reading files, or if it is actually restoring files. Whatever the case may be, I do not understand why this would happen. Once the single file was restored I would have thought the job would have completed sucessfully. I have yet to let the job run all the way through because it scares me that all the files keep scrolling on the console and the Storage Device is continuosly active. I am almost certain it was restoring the other files based on events that happened during the restore, though I do not have valid proof and I am too nervous to test. Is this normal? Is this user error? Is this a bug? Anyone know what is going on? Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
This is what you said Eric Warnke Unfortunately I have looked high and low, there is just no good way to read sparse files intelligently. Whoever though of providing the functionality without an API to step through the block mapping was a moron. It is truly a brain dead technology. At least there is a fcntl under Win32 to deal with it with some intelligence. Cheers, Eric On 4/26/06, Bill Moran [EMAIL PROTECTED] wrote: Scott Ruckh [EMAIL PROTECTED] wrote: This is what you said Eric Warnke Oops tar -Scf lowercase s is somthing else. Cheers, Eric Good idea. I tried: tar -Sc -f /var/log/lastlog.tar /var/log/lastlog But it appears to do much the same as bacula. It too must read through the entire file, so it does not speed things up. The only program I'm aware of that will back up sparse files efficiently is dump. But dump isn't cross-platform - not even a little. I want to thank everyone for their help. I am not even sure why this file is created this way, seems like a strange implementation from someone on the outside looking in. I will just learn to deal with /var/log/lastlog until something better come up. Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 'make install' fails
This is what you said Westley Annis I'm trying to install bacula on a new install of Fedora Core 5. Getting error messages that read no rule to make target and then it lists one of the following files: /findlib/libfind.a /lib/libbac.a I'm trying to use a default configuration for now, using the examples in the help files. MySQL as the database. I got these errors when I tried to do a 'make install' before running make. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore: Windows XP; Bacula Version: 1.38.8; ERROR
This is what you said Scott Ruckh I am trying a restore for the very first time, so this may just be user error, but I got strange results when trying to restore a single file to a Windows XP client. I ran the WX-Console program from the target machine (Windows XP). I went into restore mode and I marked a single file for restore from the root of the C:\ drive. If I ran lsmark the correct file was returned. If I ran ls the directory was displayed and the single file was prefixed with an *. I ran the count command and the response was that 1 file is selected for restore. All of this looks correct to me so I issue the done command. The restore job needs to be modified so I change the Bootstrap file, the client name, Where = / (to put back the file where it came from) etc, until job parameters look correct. I then launch the job. The restore kicks off and the file I selected is restored with no problem. Seems good, right? Well here is the kicker: Unfortunately the restore continues going through the entire FileSet. I can not tell if the job is just reading files, or if it is actually restoring files. Whatever the case may be, I do not understand why this would happen. Once the single file was restored I would have thought the job would have completed sucessfully. I have yet to let the job run all the way through because it scares me that all the files keep scrolling on the console and the Storage Device is continuosly active. I am almost certain it was restoring the other files based on events that happened during the restore, though I do not have valid proof and I am too nervous to test. Is this normal? Is this user error? Is this a bug? Anyone know what is going on? I went ahead and tested because I thought the damage was already done. In fact I did the same restore from the director's console just to see if it made a difference. The results from the director's console were exactly the same as the target's console. Also, I proved other files are definitely getting restored even after only 1 file was marked for restoration. I am using disk as my storage device in case it makes a difference. I am almost certain I am using the correct settings for the restore job, so I have no idea what is going on. Anyone have any idea what is going on? Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
-- This is what you said John Kodis On Mon, Apr 24, 2006 at 06:50:33PM -0700, Scott Ruckh wrote: I think I have found the culprit, /var/log/lastlog . It is a sparse file and appears to be 1.2TB, which is way larger then the total space of the filesystem, In reality, this file only uses 64K of actual used disk space, but I am guessing bacula sees it as a 1.2TB file. In the olden days, prior to the wide-spread use of 64 bit computers, Unix user IDs were 32 bit integers, and the lastlog file had an entry for each one. There were few enough that the bit of wasted space didn't matter. At some point, Red Hat changed user IDs to 64 bit integers on 64 bit platforms, and since the lastlog file still had an entry for each one, there were now so many user IDs that the wasted space does matter, bloating the lastlog file to 1.2TB as you've noted. They've corrected this problem in recent releases of their distribution. $ uname -p x86_64 $ ls -l /var/log/lastlog -r 1 root root 11390920 Apr 25 07:49 /var/log/lastlog I am not sure my FileSet is correct (see below), but it sort-of worked. The backup still took 3 hours longer then if I completely excluded /var/log/lastlog. FileSet { Name = Firewall Full Include { Options { signature = MD5 sparse = yes compression = GZIP } File = /var/log/lastlog } Include { Options { compression = GZIP signature = MD5 } File = / File = /boot File = /home } Include { Options { compression = GZIP signature = MD5 wildfile = /var/log/lastlog Exclude = yes } File = /var } Exclude { File = /proc File = /tmp File = /sys File = dev File = /.journal File = /.fsck File = /mnt File = /var/spool/squid File = /BACKUPS } } The good news is the backup only took about 13GB of space as opposed to the 205GB of space it had gobbled up before I had to cancel the job. The bad news is that this backup is 3 hours longer then running the backup and just excluding /var/log/lastlog. Does the above FileSet look correct for what I am trying to accomplish? Thanks for the help. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
This is what you said Pieter (NL) I use following filesets. First exclude in options and after that include: FileSet { Name= bsdserver1 files Include { Options { signature = MD5 compression = GZIP Exclude = yes WildDir = /proc WildDir = /dev } File = /etc File = /usr/local/etc File = /usr/image/part2/home File = /usr/image/part2/profiles File = /usr/image/part2/oldproj File = /usr/image/part1/mysql.bak } } Maybe for you something like this will work: FileSet { Name = Firewall Full Include { Options { compression = GZIP signature = MD5 exclude = yes WildFile = /var/log/lastlog WildDir = /proc WildDir = /tmp WildDir = /sys WildDir = /dev WildDir = /.journal WildDir = /.fsck WildDir = /mnt WildDir = /var/spool/squid WildDir = /BACKUPS } File = / File = /boot File = /home File = /var } Pieter -- Thanks for the reply, but I believe you have excluded the /var/log/lastlog file all together. This is not the desired result. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Incremental job changes to Full (Storage does not change)
- Bacula release 1.38.8 - I thought I would ask this question again as I think it got lost inanother topic. I have a schedule that looks like the following: Schedule { Name = WeeklyCycle Run = Level=Full Storage=FSD_FULL FullPool=FULL-Pool 1st sun at 02:05 Run = Level=Differential Storage=FSD_DIFF DifferentialPool=DIFF-Pool2nd-5th sun at 02:05 Run = Level=Incremental Storage=FSD_INCR IncrementalPool=INCR-Poolmon-sat at 02:05 } If the Incremental schedule is run, but then later changed to a FULL backdue to not having a previous FULL, the job keeps the Pool as defined by the job definition, but writes it to the Storage device defined in theSchedule (in this case FSD_INCR). The job, by default, is defined to use Pool, FULL-Pool, and storage,FSD_FULL. How do I get a job that has been changed from incremental or differentialto FULL to use the FULL storage device? Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incremental job changes to Full (Storage doesnot change)
This is what you said Wolfgang Denk In message [EMAIL PROTECTED] you wrote: How do I get a job that has been changed from incremental or differentialto FULL to use the FULL storage device? Use the FullPool and DifferentialPool (and eventually IncrementalPool) options, i. e. something like this: Schedule { Name = WeeklyCycleHydra Run = FullFullPool = FULL 1st sun at 00:10 Run = DifferentialFullPool = FULL DifferentialPool = DIFF 2nd-5th sun at 00:10 Run = Incremental FullPool = FULL DifferentialPool = DIFF IncrementalPool = INCR mon-sat at 00:10 } I was already using those options in my schedule. It looks like you are saying to add the other pool options for each RUN statement. I had not tried this. Are you already using this, and is it working? Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Incremental job changes to Full (Storagedoesnot change)
This is what you said Wolfgang Denk In message [EMAIL PROTECTED] you wrote: I was already using those options in my schedule. It looks like you are saying to add the other pool options for each RUN statement. I had not tried this. Are you already using this, and is it working? Yes, I'm using this. It's working fine for automatically scheduled jobs. You still have to be careful if you - for example - manually start an incremental backup which gets propagated into a full one - then none of these configuration settings will be consulted, and you must take care to manually adjust pool, storage etc. Best regards, Wolfgang Denk Now that I think about it, the Pool is not my problem, but rather the storage. The FULL-Pool was chosen, but it wrote it to the INCREMENTAL Storage Device rather then then the FULL storage device. Am I getting confused? I do not believe your suggestions will resolve my issue. I am running a manual FULL right now to get a FULL backup before the Incremental schedule kicks off which I think will fix everything. It would be nice that this would work automatically when a new client is added and the first backup is run. If I am not correct in my thinking, let me know. Thanks. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backups too big, and other questions
Output from df -h looks like the following: df -h FilesystemSize Used Avail Use% Mounted on /dev/sda6 129G 23G 100G 19% / /dev/sda1 99M 27M 68M 29% /boot none 1006M 0 1006M 0% /dev/shm /dev/sda3 49G 109M 46G 1% /home /dev/sda2 97G 2.5G 89G 3% /var /dev/sdb1 459G 131G 305G 31% /BACKUPS FileSet looks like the following # List of files to be backed up FileSet { Name = aname Include { Options { signature = MD5 } File = / File = /boot File = /var File = /home } Exclude { File = /proc File = /tmp File = /sys File = dev File = /.journal File = /.fsck File = /mnt File = /var/spool/squid File = /BACKUPS } } The backup is to disk for this single system and the backup is well over 143GB in space. The actual data being backed up is less then 30GB. Why is this backup so big? With Compression on this same backup (with locally attached storage) takes up around 30GB of space and takes over 8 hours to backup. 8 hours is way to long to back up 30GB of space. Simlarly a 10GB NT client backing up to same storage and director with compression enabled across the network takes about 48 minutes and takes up way less space. What is going on? Also, I have used the override Pool values in my schedule. If an Incremental backup kicks off due to schedule, but is later changed to full backup due to not having and existing Full backup, the backup job will still use the Incremental Pool. If the job was changed to Full, why wasn't the Pool changed to Full? Thanks. Scott -- --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
This is what you said Jason Martin On Mon, Apr 24, 2006 at 07:31:43PM -0400, Dan Langille wrote: The backup is to disk for this single system and the backup is well over 143GB in space. The actual data being backed up is less then 30GB. Why is this backup so big? Run the estimate command. Something is taking up the space. Are you backing up to disk and also backing up the Bacula Volumes? i.e backing up your backups. Also, are you spooling and including the spool directory in the backup? -Jason Martin You can see from my ealier post that my total used space (of the volumes listed in my file list) was about 25.3GB (per the output from df -h). My backup volume (to disk) was already 10 times the size of the total used disk space before I cancelled the job. I am excluding /BACKUPS in my file list so you can see I am not backing up my backups. Also, I am going straight to disk so I am not spooling first. I think I have found the culprit, /var/log/lastlog . It is a sparse file and appears to be 1.2TB, which is way larger then the total space of the filesystem, In reality, this file only uses 64K of actual used disk space, but I am guessing bacula sees it as a 1.2TB file. I am guessing I can exclude this file, but is there a more graceful way of handling this file. Now that I believe I have found the trouble maker I will go back through the bacula archives to see if there is a solution. If not, has anyone else had to deal with this file? Thanks fo your help. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backups too big, and other questions
This is what you said Jason Martin On Mon, Apr 24, 2006 at 06:50:33PM -0700, Scott Ruckh wrote: I think I have found the culprit, /var/log/lastlog . It is a sparse file and appears to be 1.2TB, which is way larger then the total space of the filesystem, In reality, this file only uses 64K of actual used disk space, but I am guessing bacula sees it as a 1.2TB file. Wow. I don't think that file is particularly important and it can probably be deleted. You might want to run a fsck on that filesystem to make sure all is well. What is the ls -l output on that file? I think I am going to try Dan's suggestion of setting the sparse file configuration parameter. /var/log/lastlog is the file that contains all the data from when you run the lastlog command (it displays the last time users logged into the system). I am running CentOS 4.3 which is a RHEL4 clone. I do not know if it is part of other distros. A du on the file shows that in reality it is only 64K. Anyway, thanks for everyone's help. Scott --- 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=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users