[Bacula-users] Spooling
Has anyone got spooling to work with an OpenBSD client ? I'm using 1.38. - 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] Spooling
On 9/13/07, Keith Matthews [EMAIL PROTECTED] wrote: Has anyone got spooling to work with an OpenBSD client ? I'm using 1.38. Need more info. What have you tried? Why do you think it is not working? John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] webacula 0.5.beta
Before to begin the project, I have seen already available. I.e. installed and tried to work. I do not want to write critical remarks here . I shall note, that in webacula I at once have written those functions which I use daily. I do not know, whether it is necessary to load further webacula seldom used opportunities, or to be limited to a reasonable minimum. bweb it is written on perl. And constantly reminds me that I used in work firefox. But my working browser is konqueror., etc. Personally it seems to me, that perl the web-development is unpromising for the future. Probably, I am mistaken. Ryan Novosielski wrote: What I would personally like is to see is some collaboration between the bweb and webacula folks, maybe coming up with one product. I certainly don't want to run both (having many admin interfaces is getting out of hand) and bweb is farther along. Any chance of something like that happening? -- have a nice day - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Problem with 2.2.3
Hey After upgrading to 2.2.3 i'm getting a lot of problems with backup. With 2.0.3 everything worked just great. Have around XX jobs running from around 00:30 to 06:00 to different harddrive devices. The storage is against a enterprise DAS's with a fast frontend server with lots of memory/cpu juice and the network is with 1GBIT enterprise infrastructure all the way to the clients. This settings have been running without (i'm loving bacula) problem now for some years now.. It seems for me that backup is running correctly but when finishing up something happen with the communication to the FD and I think has something do with last critical patch released 10 sept. Anyone knows if this is a bug or could be bad configuration (something changes I have to do with the 2.0.3 configuration) ? Regards, Christian -- error message #1 against a local SD -- 13-Sep 06:00 bacula1-dir: Start Backup JobId xx, Job=JOB-NAME.2007-09-13_06.00.03 13-Sep 06:00 bacula1-dir: Created new Volume VOLUME-NAME in catalog. 13-Sep 06:00 bacula1-dir: Using Device DEVICE-NAME 13-Sep 06:00 bacula1-sd: Labeled new Volume VOLUME-NAME on device DEVICE-NAME (PATH/DEVICE-NAME). 13-Sep 06:00 bacula1-sd: Wrote label to prelabeled Volume VOLUME-NAME on device DEVICE-NAME (PATH/DEVICE-NAME) 13-Sep 06:00 bacula1-dir: Volume used once. Marking Volume VOLUME-NAME as Used. 13-Sep 06:59 bacula1-dir: JOB-NAME.2007-09-13_06.00.03 Fatal error: Max wait time exceeded. Job canceled. 13-Sep 06:59 bacula1-fd: JOB-NAME.2007-09-13_06.00.03 Fatal error: backup.c:892 Network send error to SD. ERR=Success 13-Sep 06:59 bacula1-sd: Job JOB-NAME.2007-09-13_06.00.03 marked to be canceled. 13-Sep 06:59 bacula1-sd: JOB-NAME.2007-09-13_06.00.03 Fatal error: append.c:259 Network error on data channel. ERR=No data available 13-Sep 06:59 bacula1-sd: Job write elapsed time = 00:59:20, Transfer rate = 2.846 M bytes/second 13-Sep 06:59 bacula1-dir: Bacula bacula1-dir 2.2.3 (09Sep07): 13-Sep-2007 06:59:24 Build OS: x86_64-unknown-linux-gnu redhat JobId: xx Job:JOB-NAME.2007-09-13_06.00.03 Backup Level: Full Client: CLIENT-NAME 2.2.3 (09Sep07) x86_64-unknown-linux-gnu,redhat, FileSet:CLIENT-NAME-FileSet 2007-09-13 06:00:03 Pool: CLIENT-NAME-Pool-Daily (From Run pool override) Storage:CLIENT-NAME-Storage (From Job resource) Scheduled time: 13-Sep-2007 06:00:02 Start time: 13-Sep-2007 06:00:04 End time: 13-Sep-2007 06:59:24 Elapsed time: 59 mins 20 secs Priority: 10 FD Files Written: 1 SD Files Written: 1 FD Bytes Written: 10,131,928,399 (10.13 GB) SD Bytes Written: 10,131,928,542 (10.13 GB) Rate: 2846.0 KB/s Software Compression: 22.1 % VSS:no Encryption: no Volume name(s): VOLUME-NAME Volume Session Id: 32 Volume Session Time:1189578554 Last Volume Bytes: 10,139,969,387 (10.13 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination:Backup Canceled -- -- error message #2 against a windows client -- 13-Sep 04:00 bacula1-dir: Start Backup JobId xx, Job=CLIENT-NAME2-Job.2007-09-13_04.00.00 13-Sep 04:00 bacula1-dir: Created new Volume CLIENT-NAME2-Daily-0001 in catalog. 13-Sep 04:00 bacula1-dir: Using Device CLIENT-NAME2-Device 13-Sep 04:00 bacula1-sd: Labeled new Volume CLIENT-NAME2-Daily-0001 on device CLIENT-NAME2-Device (PATH/CLIENT-NAME2). 13-Sep 04:00 bacula1-sd: Wrote label to prelabeled Volume CLIENT-NAME2-Daily-0001 on device CLIENT-NAME2-Device (PATH/CLIENT-NAME2) 13-Sep 04:00 bacula1-dir: Volume used once. Marking Volume CLIENT-NAME2-Daily-0001 as Used. 13-Sep 04:00 CLIENT-NAME2-fd: Generate VSS snapshots. Driver=VSS Win 2003, Drive(s)=CG 13-Sep 04:59 bacula1-dir: CLIENT-NAME2-Job.2007-09-13_04.00.00 Fatal error: Max wait time exceeded. Job canceled. 13-Sep 04:59 CLIENT-NAME2-fd: CLIENT-NAME2-Job.2007-09-13_04.00.00 Fatal error: ../../filed/backup.c:892 Network send error to SD. ERR=No error 13-Sep 04:59 bacula1-sd: Job CLIENT-NAME2-Job.2007-09-13_04.00.00 marked to be canceled. 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): Microsoft Exchange Writer, State: 0x1 (VSS_WS_STABLE) 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): IIS Metabase Writer, State: 0x1 (VSS_WS_STABLE) 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): MSDEWriter, State: 0x1 (VSS_WS_STABLE) 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): Event Log Writer, State: 0x1 (VSS_WS_STABLE) 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): WMI Writer, State: 0x1
Re: [Bacula-users] webacula 0.5.beta
Cool : multi-admin madness ;))) If I in due time have found the suitable software and would use it. Also I developed something another ... For example, wap the interface to bacula ;) Michael Short wrote: While I am not a bweb developer ( so far I've only done minor regression stuff ), I don't thing there is really a lot of stuff happening to bweb at the moment. Perhaps you could implement webacula functionality into bweb to help stop this multi-admin madness. Personally, I have had so many problems with bweb lately that I've given up trying to make it work 100%. -- have a nice day - 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-dir -t broken in 2.2.3?
i used the test-option to test my new configuration before reloading, but since 2.2.3 it seems broken.. [EMAIL PROTECTED] bacula# bacula-dir --help bacula-dir: invalid option -- - Copyright (C) 2000-2007 Free Software Foundation Europe e.V. Version: 2.2.3 (09 September 2007) Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file] -c file set configuration file to file -dnnset debug level to nn -f run in foreground (for debugging) -g groupid -r jobrun job now -s no signals -t test - read configuration and exit -u userid -v verbose user messages -? print this message. [EMAIL PROTECTED] bacula# /usr/sbin/bacula-dir -t 13-Sep 10:07 bacula-dir: ERROR TERMINATION at bsys.c:494 bacula-dir is already running. pid=9998 Check file /var/run/bacula/bacula-dir.9101.pid regards, michael - 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] Problem with 2.2.3
On this subject, I have upgraded from 2.0.3 to 2.2.3 and had the following problem. If you start a manual run, the first job start and when you start a second run the console freeze up for about 2 minutes and then everything is normal again, is this normal. Thanks Christoff On Thursday 13 September 2007 08:50:21 Christian Sakshaug wrote: Hey After upgrading to 2.2.3 i'm getting a lot of problems with backup. With 2.0.3 everything worked just great. Have around XX jobs running from around 00:30 to 06:00 to different harddrive devices. The storage is against a enterprise DAS's with a fast frontend server with lots of memory/cpu juice and the network is with 1GBIT enterprise infrastructure all the way to the clients. This settings have been running without (i'm loving bacula) problem now for some years now.. It seems for me that backup is running correctly but when finishing up something happen with the communication to the FD and I think has something do with last critical patch released 10 sept. Anyone knows if this is a bug or could be bad configuration (something changes I have to do with the 2.0.3 configuration) ? Regards, Christian -- error message #1 against a local SD -- 13-Sep 06:00 bacula1-dir: Start Backup JobId xx, Job=JOB-NAME.2007-09-13_06.00.03 13-Sep 06:00 bacula1-dir: Created new Volume VOLUME-NAME in catalog. 13-Sep 06:00 bacula1-dir: Using Device DEVICE-NAME 13-Sep 06:00 bacula1-sd: Labeled new Volume VOLUME-NAME on device DEVICE-NAME (PATH/DEVICE-NAME). 13-Sep 06:00 bacula1-sd: Wrote label to prelabeled Volume VOLUME-NAME on device DEVICE-NAME (PATH/DEVICE-NAME) 13-Sep 06:00 bacula1-dir: Volume used once. Marking Volume VOLUME-NAME as Used. 13-Sep 06:59 bacula1-dir: JOB-NAME.2007-09-13_06.00.03 Fatal error: Max wait time exceeded. Job canceled. 13-Sep 06:59 bacula1-fd: JOB-NAME.2007-09-13_06.00.03 Fatal error: backup.c:892 Network send error to SD. ERR=Success 13-Sep 06:59 bacula1-sd: Job JOB-NAME.2007-09-13_06.00.03 marked to be canceled. 13-Sep 06:59 bacula1-sd: JOB-NAME.2007-09-13_06.00.03 Fatal error: append.c:259 Network error on data channel. ERR=No data available 13-Sep 06:59 bacula1-sd: Job write elapsed time = 00:59:20, Transfer rate = 2.846 M bytes/second 13-Sep 06:59 bacula1-dir: Bacula bacula1-dir 2.2.3 (09Sep07): 13-Sep-2007 06:59:24 Build OS: x86_64-unknown-linux-gnu redhat JobId: xx Job:JOB-NAME.2007-09-13_06.00.03 Backup Level: Full Client: CLIENT-NAME 2.2.3 (09Sep07) x86_64-unknown-linux-gnu,redhat, FileSet:CLIENT-NAME-FileSet 2007-09-13 06:00:03 Pool: CLIENT-NAME-Pool-Daily (From Run pool override) Storage:CLIENT-NAME-Storage (From Job resource) Scheduled time: 13-Sep-2007 06:00:02 Start time: 13-Sep-2007 06:00:04 End time: 13-Sep-2007 06:59:24 Elapsed time: 59 mins 20 secs Priority: 10 FD Files Written: 1 SD Files Written: 1 FD Bytes Written: 10,131,928,399 (10.13 GB) SD Bytes Written: 10,131,928,542 (10.13 GB) Rate: 2846.0 KB/s Software Compression: 22.1 % VSS:no Encryption: no Volume name(s): VOLUME-NAME Volume Session Id: 32 Volume Session Time:1189578554 Last Volume Bytes: 10,139,969,387 (10.13 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination:Backup Canceled -- -- error message #2 against a windows client -- 13-Sep 04:00 bacula1-dir: Start Backup JobId xx, Job=CLIENT-NAME2-Job.2007-09-13_04.00.00 13-Sep 04:00 bacula1-dir: Created new Volume CLIENT-NAME2-Daily-0001 in catalog. 13-Sep 04:00 bacula1-dir: Using Device CLIENT-NAME2-Device 13-Sep 04:00 bacula1-sd: Labeled new Volume CLIENT-NAME2-Daily-0001 on device CLIENT-NAME2-Device (PATH/CLIENT-NAME2). 13-Sep 04:00 bacula1-sd: Wrote label to prelabeled Volume CLIENT-NAME2-Daily-0001 on device CLIENT-NAME2-Device (PATH/CLIENT-NAME2) 13-Sep 04:00 bacula1-dir: Volume used once. Marking Volume CLIENT-NAME2-Daily-0001 as Used. 13-Sep 04:00 CLIENT-NAME2-fd: Generate VSS snapshots. Driver=VSS Win 2003, Drive(s)=CG 13-Sep 04:59 bacula1-dir: CLIENT-NAME2-Job.2007-09-13_04.00.00 Fatal error: Max wait time exceeded. Job canceled. 13-Sep 04:59 CLIENT-NAME2-fd: CLIENT-NAME2-Job.2007-09-13_04.00.00 Fatal error: ../../filed/backup.c:892 Network send error to SD. ERR=No error 13-Sep 04:59 bacula1-sd: Job CLIENT-NAME2-Job.2007-09-13_04.00.00 marked to be canceled. 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) 13-Sep 04:59 CLIENT-NAME2-fd: VSS Writer (BackupComplete): Microsoft Exchange Writer, State: 0x1
Re: [Bacula-users] how to build bat in ubuntu 7.04 ?
On Wednesday 12 September 2007 19:22:34 Jeronimo Zucco wrote: Benjamin E. Zeller escreveu: OK, here you go: http://sourceforge.net/mailarchive/message.php?msg_id=46CAB20B.9070107%40 ma-c.de Sorry for my mistake. Just proceed as described in there, worked for me on Ubuntu 7.04 Yes ! Now bat compile and is working. Thanks a lot. Again apologizies from me for posting the wrong thread. -- Benjamin E. Zeller Ing.-Büro Hohmann Bahnhofstr. 34 D-82515 Wolfratshausen Tel.: +49 (0)8171 347 88 12 Mobil: +49 (0)160 99 11 55 23 Fax: +49 (0)8171 910 778 mailto: [EMAIL PROTECTED] www.ibh-wor.de pgpTRXf8NztZI.pgp Description: PGP signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] What do I want: Migration or data spooling?
Hello, I want to backup to DVD-RAM and I want to schedule backups at night, but as the space on a single DVD-RAM is limited and I don't want to change DVD-RAMs at night, I asked myself: What to do? I read about data spooling and have enought space to spool my nightly jobs as whole. Is this a bad idea? Should I better backup to file first and then migrate? (DVD-RAM is used like a (small) external harddisk, just plug a DVD-RAM in your drive, format it, mount it and you can use it like any other hard disk. No need for a special burning command or so.) mfg Eric pgpcS2V9WtGNG.pgp Description: PGP signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Jobs manually
Hi guys I have got a question that I was wondering how does bacula pick a pool for a manual job. If my memory serviced me correct the correct pool was picked in version 2.0.3 when you run the backup manually. But now it defaults to the Default pool everytime. If the jobs are scheduled the right pool is selected for the job. As can been seen in the example I have Pool = Default Full Backup Pool = Freightware_sys-Full-Pool Incremental Backup Pool = Freightware_sys-Inc-Pool Differential Backup Pool = Freightware_sys-Diff-Pool Thanks Christoff Here is an example: Bacula-dir.conf --- snip Client { Name = Freightware-fd Address = Freightware FDPort = 9102 Password = db14020e22005a9341bdc659fc704da5 Catalog = MyCatalog FileRetention = 30 days JobRetention = 31 days AutoPrune = yes } Job { Name = Freightware_sys Type = Backup Client = Freightware-fd FileSet = Freightware_sys-fs Pool = Default Full Backup Pool = Freightware_sys-Full-Pool Incremental Backup Pool = Freightware_sys-Inc-Pool Differential Backup Pool = Freightware_sys-Diff-Pool Schedule = Disk1-WeeklyCycle Storage = Freightware_sys-sd Messages = Standard Write Bootstrap = /var/bacula/working/Freightware_sys.bsr Priority = 10 } FileSet { Name = Freightware_sys-fs Include { Options { compression=gzip8 signature = MD5 } File = / File = /boot File = /x File = /u } Exclude { File = /dev File = /proc File = /sys File = /u/SAG/ada File = /u/SAG/dba } } Pool { Name = Freightware_sys-Full-Pool Pool Type = Backup Recycle = yes RecycleOldestVolume = yes Use Volume Once = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Bytes = 20g Label Format = Freightware_sys-Full- } Pool { Name = Freightware_sys-Diff-Pool Pool Type = Backup Recycle = yes RecycleOldestVolume = yes AutoPrune = yes Volume Retention = 1 month Maximum Volume Bytes = 10g Label Format = Freightware_sys-Diff- } Pool { Name = Freightware_sys-Inc-Pool Pool Type = Backup Recycle = yes # automatically recycle Volumes RecycleOldestVolume = yes AutoPrune = yes # Prune expired volumes Volume Retention = 1 month Maximum Volume Bytes = 5g Maximum Volume Jobs = 6 Label Format = Freightware_sys-Inc- } Storage { Name = Freightware_sys-sd Address = bacula# N.B. Use a fully qualified name here SDPort = 9103 Password = boo Device = Disk1 # Name of device in bacula-sd.conf Media Type = File1 } Schedule { Name = Disk1-WeeklyCycle Run = Level=Full 1st sun at 04:05 Run = Level=Differential 2nd-5th sun at 04:05 Run = Level=Incremental mon-sat at 04:05 } /snip In the console: Run Backup job JobName: Freightware_sys Level:Incremental Client: Freightware-fd FileSet: Freightware_sys-fs Pool: Default (From Job resource) Storage: Freightware_sys-sd (From Job resource) When: 2007-09-13 10:47:58 Priority: 10 OK to run? (yes/mod/no): mod - 8(pool) - The defined Pool resources are: 1: Default 2: Freightware_sys-Full-Pool 3: Freightware_sys-Diff-Pool 4: Freightware_sys-Inc-Pool -- The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or any action taken or omitted in reliance on the contents of this information is strictly prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, the Berco Group and its associated business entities and/or units accept no liability or responsibility whatsoever if information or data is, for whatever reason, corrupted or does not reach its intended destination. - 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] Seeking clarification: Priority Directive implemented or not for Client resource?
Hello all, I have continued my intense reading through the mostly excellent Bacula User's Guide and found on page 170 (Chapter 11: Configuring the Director) the section about the Priority Directive: Priority = number The number specifies the priority of this client relative to other clients that the Director is processing simultaneously. The priority can range from 1 to 1000. The clients are ordered such that the smaller number priorities are performed first (not currently implemented). The last sentence says with parentheses (not currently implemented). So, am curious, if the Clients are not ordered because this ordering is not implemented, then how does the Priority Directive work for Clients, if it works at all for Clients? Should the Priority Directive be ignored for Client resources? Note: I did notice that the sample Bacula Director configuration file ( bacula-dir.conf) which is created during configure / make install, does provide a Priority Directive value (10 and 11) for example DefaultJob and Catalog Backup Jobs but I also understand from the User's Guide that the context for the Priority Directive is different for these resources compared to the Client resource. This inconsistency at first-glance (of Priority Directive for Client resources not currently implemented, being different in behavior than for DefaultJob and BackupCatalog Job) is a little bit confusing but understandable that the context is different for different types of resources. Thanks for any clarifications / insights regarding the Client resource Priority Directive. - 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] What do I want: Migration or data spooling?
Hi, 13.09.2007 10:35,, Eric Böse-Wolf wrote:: Hello, I want to backup to DVD-RAM and I want to schedule backups at night, but as the space on a single DVD-RAM is limited and I don't want to change DVD-RAMs at night, I asked myself: What to do? I read about data spooling and have enought space to spool my nightly jobs as whole. Is this a bad idea? Should I better backup to file first and then migrate? I'd suggest to use migration. While spooling will work for one job, if you start another job later, this one will wait for a usable DVD disk first, before starting to spool data. Also, spooled data can not be ecovered after, for example, a system restart, wich is not a problem for regular volume files to be migrated. Arno (DVD-RAM is used like a (small) external harddisk, just plug a DVD-RAM in your drive, format it, mount it and you can use it like any other hard disk. No need for a special burning command or so.) mfg Eric - 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Seeking clarification: Maximum Concurrent Jobs (File Daemon)
Hello all, In the Bacula User's Guide I discovered, in Chapter 12.1 (The Client Resource), that the Maximum Concurrent Jobs default value is 2: Maximum Concurrent Jobs = number where number is the maximum number of Jobs that should run concurrently. The default is set to 2, but you may set it to a larger number. Each contact from the Director (e.g. status request, job start request) is considered as a Job, so if you want to be able to do a status request in the console at the same time as a Job is running, you will need to set this value greater than 1. However, in the sample File Daemon configuration file (bacula-fd), a Maximum Concurrent Jobs value is set to 20. That's an order of magnitude more than 2. Wow that's a big difference! Here's an example after a fresh configure / make install on my Xserve: # # Global File daemon configuration specifications # FileDaemon { # this is me Name = xserve-fd FDport = 9102 # where we listen for the director WorkingDirectory = /opt/local/var/bacula/working Pid Directory = /opt/local/var/run Maximum Concurrent Jobs = 20 } I am curious, is the documentation outdated and should the default value really be 20? Is there possibly a typographical error where 2 meant to be typed as 20? Did the core Bacula maintainers (Kern, et al?) change their mind based on real world user experiences from a default of 2 to 20? Also, since I am coming up the learning curve with Bacula, I probably don't understand enough yet about the entirety of Bacula and how the daemons interoperate, but it seems a little bit strange that the Client Resource which is also synonymous with the File Daemon has two different default values for Maximum Concurrent Jobs based on context (in the Bacula Director configuration context the Maximum Concurrent Jobs default value for the Client resource is 1 but in the Bacula File Daemon configuration context the Client's Maximum Concurrent Jobs default value is 2 (or maybe now its 20)?). I wonder if there might be a better way to more clearly articulate the abstract differences with respect to the context of the configuration files for the daemons? I'd be happy to contribute some documentation to this effect if the Bacula community would find it helpful especially for bringing new members of the community up the learning curve somewhat faster. Thank you for any clarification. -H - 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] mtx-changer and number of slots
Heyaaa!!! i'm testing Bacula 2.2.0, but i have problem with autochanger test for second drive: 3303 Issuing autochanger load 1 1 command. 3993 Bad autochanger command: /etc/bacula/scripts/mtx-changer /dev/sg1 load 1 /dev/nst1 1 3993 result=source Element Address 32 is Empty : ERR=Child exited with code 1 You must correct this error or the Autochanger will not work. why source Element Address 32 ??? why 32 ??? the same scripts returns: /etc/bacula/scripts/mtx-changer /dev/sg1 slots 30 -- 5o Peter.Mann at tuke.sk - 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-dir -t broken in 2.2.3?
On Thu, 13 Sep 2007 10:11:21 +0200, Michael Patzer said: i used the test-option to test my new configuration before reloading, but since 2.2.3 it seems broken.. [EMAIL PROTECTED] bacula# bacula-dir --help bacula-dir: invalid option -- - Copyright (C) 2000-2007 Free Software Foundation Europe e.V. Version: 2.2.3 (09 September 2007) Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file] -c file set configuration file to file -dnnset debug level to nn -f run in foreground (for debugging) -g groupid -r jobrun job now -s no signals -t test - read configuration and exit -u userid -v verbose user messages -? print this message. [EMAIL PROTECTED] bacula# /usr/sbin/bacula-dir -t 13-Sep 10:07 bacula-dir: ERROR TERMINATION at bsys.c:494 bacula-dir is already running. pid=9998 Check file /var/run/bacula/bacula-dir.9101.pid Yes, it looks like this change broke it unfortunately: svn diff -r4992:5362 src/dird/dird.c __Martin - 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] Trouble finding and mounting weekly tape after successful daily incremental backup
Hi, 28.08.2007 09:43,, Patrick Unthank wrote:: Hi, I am running atlantic-dir Version: 1.36.3 (22 April 2005) This is *really* old by now. You should consider upgrading to 2.2.3. to backup windows and Linux servers across a network at present. I am having a problem after the successful daily incremental backups and it is time to switch to a weekly full backup on a different pool of tapes that I receive errors in changing my media from the daily pool to the weekly pool. These are the errors I receive: 24-Aug 22:05 atlantic-dir: Start Backup JobId 2186, Job=atlantic-weekly.2007-08-24_22.05.00 24-Aug 22:06 atlantic-sd: 3301 Issuing autochanger loaded drive 0 command. 24-Aug 22:06 atlantic-sd: 3302 Autochanger loaded drive 0, result is Slot 8. 24-Aug 22:06 atlantic-sd: 3303 Issuing autochanger unload slot 8, drive 0 command. 24-Aug 22:07 atlantic-sd: 3304 Issuing autochanger load slot 3, drive 0 command. 24-Aug 22:08 atlantic-sd: 3305 Autochanger load slot 3, drive 0, status is OK. 24-Aug 22:08 atlantic-sd: atlantic-weekly.2007-08-24_22.05.00 Warning: Requested Volume Tape013 on /dev/nst0 is not a Bacula labeled Volume, because: ERR=block.c:793 Read zero bytes at 0:0 on device /dev/nst0. That about tells it all - the tape can not be verified to contain Bacula data. Either this tape is broken or the drive doesn't read it correctly. You could try to verify this tapes contents using btabe or bls, for example. In the end, you might simply decide to trash this tape. ... The tape that is in the drive is indeed Tape013 and has been changed from the daily incremental tape correctly, but it appears not to want to either recognise the correctly labelled tape or mount it for use in the weekly full backup? Any ideas? This is driving me slowly bonkers. Have you tried a different tape? Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Tape positioning failed
Hi, 01.09.2007 14:27,, Thomas wrote:: Hi List, this is the last bacula message: 01-Sep 08:31 backup-sd-bb: 3301 Issuing autochanger loaded? drive 0 command. 01-Sep 08:31 backup-sd-bb: 3302 Autochanger loaded? drive 0, result is Slot 20. 01-Sep 08:31 backup-sd-bb: Volume FUL110 previously written, moving to end of data. status sd Autochanger JBBB with devices: JBBB-1 (/dev/nst0) JBBB-2 (/dev/nst1) Device JBBB-1 (/dev/nst0) is mounted with: Volume: FUL110 Pool:FUL Media type: SDLT-320 Device is being initialized. Slot 20 is loaded in drive 0. Total Bytes Read=0 Blocks Read=0 Bytes/block=0 Positioned at File=0 Block=0 tape library drive status Tape Motion Reading since one hour the end of data is not found ... looks like a defective tape. how does bacula find the end of data? first forward to the last written file/block, and if this fails, reading the tape from beginning to find the end of data? this could explain the tape motion Reading and the time it took, the tape was filled with 175GB. Depending on your device setup. Typically, Bacula will issue a command to move to the End-Of-Data on the tape which the tape drive then does by quickly reading the tape, or by positioning to the data stored in the meta-data directory of the cartridge. This is technology dependent. i have canceled this operation by shutting down the sd and ejecting the tape with mtx. is there a better way to handle this ? Regards Thomas g, the next tape failed also: 01-Sep 11:14 backup-sd-bb: zlato.bb.ic3s.de.2007-08-31_23.01.10 Error: Unable to position to end of data on device JBBB-1 (/dev/nst0): ERR=dev.c:885 ioctl MTEOM error on JBBB-1 (/dev/nst0). ERR=Eingabe-/Ausgabefehler. 01-Sep 11:14 backup-sd-bb: Marking Volume FUL111 in Error in Catalog. this one fails faster it contains only ~ 500 MB, You might have a hardware problem. Power-cycling the tape drive while it's not used might help. Arno - 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-dir -t broken in 2.2.3?
On 13 Sep 2007 at 11:54, Martin Simmons wrote: On Thu, 13 Sep 2007 10:11:21 +0200, Michael Patzer said: i used the test-option to test my new configuration before reloading, but since 2.2.3 it seems broken.. [EMAIL PROTECTED] bacula# bacula-dir --help bacula-dir: invalid option -- - Copyright (C) 2000-2007 Free Software Foundation Europe e.V. Version: 2.2.3 (09 September 2007) Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file] -c file set configuration file to file -dnnset debug level to nn -f run in foreground (for debugging) -g groupid -r jobrun job now -s no signals -t test - read configuration and exit -u userid -v verbose user messages -? print this message. [EMAIL PROTECTED] bacula# /usr/sbin/bacula-dir -t 13-Sep 10:07 bacula-dir: ERROR TERMINATION at bsys.c:494 bacula-dir is already running. pid=9998 Check file /var/run/bacula/bacula-dir.9101.pid Yes, it looks like this change broke it unfortunately: svn diff -r4992:5362 src/dird/dird.c See http://bugs.bacula.org/view.php?id=946 It was fixed in SVN two days ago. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php - 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-dir -t broken in 2.2.3?
On Thu, 13 Sep 2007 07:41:54 -0400, Dan Langille said: On 13 Sep 2007 at 11:54, Martin Simmons wrote: On Thu, 13 Sep 2007 10:11:21 +0200, Michael Patzer said: i used the test-option to test my new configuration before reloading, but since 2.2.3 it seems broken.. [EMAIL PROTECTED] bacula# bacula-dir --help bacula-dir: invalid option -- - Copyright (C) 2000-2007 Free Software Foundation Europe e.V. Version: 2.2.3 (09 September 2007) Usage: dird [-f -s] [-c config_file] [-d debug_level] [config_file] -c file set configuration file to file -dnnset debug level to nn -f run in foreground (for debugging) -g groupid -r jobrun job now -s no signals -t test - read configuration and exit -u userid -v verbose user messages -? print this message. [EMAIL PROTECTED] bacula# /usr/sbin/bacula-dir -t 13-Sep 10:07 bacula-dir: ERROR TERMINATION at bsys.c:494 bacula-dir is already running. pid=9998 Check file /var/run/bacula/bacula-dir.9101.pid Yes, it looks like this change broke it unfortunately: svn diff -r4992:5362 src/dird/dird.c See http://bugs.bacula.org/view.php?id=946 It was fixed in SVN two days ago. Ah, sorry, out of date sources. __Martin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem with Storage Daemon authentification
Hello all, we use bacula on 139 Redhat 9 Shrike Servers, who are backing up more than 1800 servers. Sometimes (about 6-10 server daily) we get the error: 2-Sep 02:43 clientname-fd: tehuante.2007-09-12_01.00.01 Fatal error: Authorization key rejected by Storage daemon. Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help. 12-Sep 02:43 clientname-fd: clientname.2007-09-12_01.00.01 Fatal error: Failed to authenticate Storage daemon. 12-Sep 02:43 bigbox-3-11-1: clientname.2007-09-12_01.00.01 Fatal error: Socket error on Storage command: ERR=No data available 12-Sep 03:53 bigbox-3-11-1: clientname.2007-09-12_01.00.01 Error: Bacula bigbox-3-11-1 2.2.0 (08Aug07): 12-Sep-2007 02:43:51 I have done all settings described on: http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors In the bacula-sd.conf i have raised the Maximum Concurrent Jobs to 99 and in the Client and Storage Resource i have added the IP adress and not the hostname in the Address = field. The passwords are correct too. TLS is off. It gives me the willies, and i dont know how to fix this. Please help ! When you need more Information, feel free to give me some tips on how to give you this information. btw. sorry for my broken english :-) Greetings, Daniel - 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] Reducing bugs that aren't bugs
I have slightly changed the homepage at http://bugs.bacula.org/ in the hopes of reducing the number of bugs that aren't bugs that are filed. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php - 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] Requires Mount problem
Hi all, I've recently installed a bacula setup on RHEL5. I'm using the 2.0.3 RPMs that were up recently on sourceforge until the critical bug. Everything works fine except for one bit, namely, that I can't make bacula mount a drive upon use. The backup target is a Dell RD1000 hard drive cartridge; the OS just sees a removable hard drive. Here's the relevant entry from bacula-sd.conf: Device { Name = RD1000 Media Type = Removable HDD Device Type = File Archive Device = /opt/rd1000 LabelMedia = yes; Random Access = yes; Requires Mount = yes; Removable Media = yes; Mount Point = /opt/rd1000 Mount Command = /bin/mount /dev/sdb1 %m Unmount Command = /bin/umount %m AlwaysOpen = no; } When I run a job against it in bconsole, I get the following message: 10-Sep 13:51 backup.scholar: Please mount Volume rd1 on Storage Device RD1000 (/opt/rd1000) for Job backup.scholar.full.2007-09-10_13.49.34 For testing purposes I'm running all of the daemons as root. My config looks good according to the storage daemon configuration guide. Can someone please kindly point out what I'm missing? Thanks for your help, Ben - 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] Disregard
Hello, I have recently setup Bacula and have it working using a DDS-4 drive. However, since I am not always on site I want the brain dead users to be able to put in the next tape without any console access. They do so by selecting a tape based on the current day and insert into the drive. The job is configured to auto eject the tapes. However after much playing with configuration I cannot get Bacula to just go ahead and use whatever tape is mounted. For example I get the following messages: 10-Sep 23:01 crestsrv1-sd: Please mount Volume Set1-Monday on Storage Device DDS-4 (/dev/nst0) for Job crestsrv1.2007-09-10_23.00.00 How can I make Bacula ignore the volume status and just go ahead and overwrite the current tape in the drive with the next backup? Thanks. Rick _ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us- 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] webacula 0.5.beta
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think bweb is PHP-based, unless it uses both Perl and PHP. Yuri Timofeev wrote: Before to begin the project, I have seen already available. I.e. installed and tried to work. I do not want to write critical remarks here . I shall note, that in webacula I at once have written those functions which I use daily. I do not know, whether it is necessary to load further webacula seldom used opportunities, or to be limited to a reasonable minimum. bweb it is written on perl. And constantly reminds me that I used in work firefox. But my working browser is konqueror., etc. Personally it seems to me, that perl the web-development is unpromising for the future. Probably, I am mistaken. Ryan Novosielski wrote: What I would personally like is to see is some collaboration between the bweb and webacula folks, maybe coming up with one product. I certainly don't want to run both (having many admin interfaces is getting out of hand) and bweb is farther along. Any chance of something like that happening? - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG6U98mb+gadEcsb4RApYzAKCLmId8zg+ZYDv+3TkIfIUcHZJotQCdH+Eh RL0EK2P9Zv8HJ2h6BGocZ9M= =IjSx -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Frequent Intervention emails
Brian Debelius wrote: Arno Lehmann wrote: Hello, 05.09.2007 07:00,, Support wrote:: Dear All Anyone have an idea as to where I can change a setting to reduce the frequency of Bacula: Intervention needed ... that occur every 2 minutes. Normally it sends mail immediately, after one hour, two hours, four hours, and so on... That is what mine did this morning. Now, 1h, 2h, and 4h It gets confusing if there are multiple jobs waiting for media. The Now/1h/2h/4h messages are sent _for each job_, rather than once This is probably something which could be described as a minor bug. Certainly it can amount to an effective spam attack when there are 100 jobs waiting on the same media, as happens here from time to time. - 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] Critical Bacula Bug
Christoff van Zyl wrote: My 2c thought, is there a possibility to put a notification on the website And issue a press release. That will stop the rumour mill doing overtime and hopefully prevent any individual or organisation pointing to the bug as why Bacula shouldn't be used. As bacula is now quite widely used, it is better this gets out in the mainstream computing media so as many people as possible are aware there is a problem - any press release should emphasise that there is no data loss but data recovery can be awkward. Having said all that - as far as I can tell in 8 months of 2.0.x operation on dual tape drives, multiple clients and dozens of simultaneous backups, there have been NO occurances of the bug - nor has it been noticed here on 1.38 - 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] Critical Bacula Bug
Arno Lehmann wrote: We really need a good technical writer to create a short, concise and exact Getting Started manual, but the necessary skills are, unfortunately, not very common among open source people. Getting started guides must not be written by those are very famliar with the software, as that familiarity gets in the way of writing such a guide. The problem is that people who have just setup a system are seldom in a mood to write a summary of it. I have to locally document every change made and details of every new installation (including steps taken) and find that hard enough... - 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 rpm for rhel5?
Dave wrote: Hello, I've downloaded the bacula src.rpm and installed it on a Centos 5 machine. I want to build binaries but am only seeing build options for rhel4, i know there's a way around this i just can't remember what it is. any help appreciated. Thanks. Centos/RHEL 5 is a fork of Fedora Core 6 and will work with that defined. In order to actually run cleanly you will have to tweak the SPECfile distribution macro around line 231, however Scott did mail me to say that he would post an edited SPEC after I verified that compiling as FC6 works cleanly. - 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 performance with a 64512 block size
Marc Schiffbauer wrote: * Chris Howells schrieb am 10.09.07 um 16:47 Uhr: Arno Lehmann wrote: Thanks for your reply. I'd suggest to do some tests with Bacula, and after you found your best settings, clearly mark all tapes with their respective block sizes. Will do. Are you basically suggesting that I should use the following sd directives: Minimum Block Size = nnn Maximum Block Size = nnn I am *slightly* concerned about operating the drive in fixed block mode, given the dire warnings in the manual. The manual says that nnn being the same number for both settings means fixed blocksize. As I understand it, your solutions should be to just set the Minimum Block Size so you get a good perfromance. Minimum Block Size = 1048576 won't this fix your performance? How would this affect restores from older tapes? Althougth I'm only using LTO2 at the moment, this is of interest to me as well because there are clear bottlenecks showing up where the tape drive isn't running quite as fast as it should be with the default 64 k blocking size - especially on highly compressible data like logfiles and database dumps. - 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] Critical Bacula Bug
Hi, 13.09.2007 17:30,, Alan Brown wrote:: Arno Lehmann wrote: We really need a good technical writer to create a short, concise and exact Getting Started manual, but the necessary skills are, unfortunately, not very common among open source people. Getting started guides must not be written by those are very famliar with the software, as that familiarity gets in the way of writing such a guide. Well, the specific skills for a technical writer, IMO, include the ability to look at things from the outside. The problem is that people who have just setup a system are seldom in a mood to write a summary of it. I have to locally document every change made and details of every new installation (including steps taken) and find that hard enough... I know that... but we need much more than just a step-by-step description for a standard system, I think. Most important is that whatever gets written, the reader likes to read it, it is well structured, and of course correct for a wide variety of different setups. Unfortunately, I'm really not a good writer, myself... Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Multiplexing multiple jobs to tape
Chris Howells wrote: Hi, I am trying to figure out whether bacula supports multiplexing multiple simultaneous backup jobs to the same tape - having googled, the results are inconclusive :) Yes, but you end up with interleaved jobs on tape and restore becomes VERY slow due to the drive having to constantly shoeshine while skipping over the other interleaved jobs. It is far better to build a very fast raid0 array to spool data onto and then dump that spool to tape. - 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] Seeking clarification: Maximum Concurrent Jobs (File Daemon)
On 9/13/07, Hydro Meteor [EMAIL PROTECTED] wrote: Hello all, In the Bacula User's Guide I discovered, in Chapter 12.1 (The Client Resource), that the Maximum Concurrent Jobs default value is 2: Maximum Concurrent Jobs = number where number is the maximum number of Jobs that should run concurrently. The default is set to 2, but you may set it to a larger number. Each contact from the Director ( e.g. status request, job start request) is considered as a Job, so if you want to be able to do a status request in the console at the same time as a Job is running, you will need to set this value greater than 1. I am not sure but I do not believe the console counts. However, in the sample File Daemon configuration file (bacula-fd), a Maximum Concurrent Jobs value is set to 20. That's an order of magnitude more than 2. Wow that's a big difference! Here's an example after a fresh configure / make install on my Xserve: # # Global File daemon configuration specifications # FileDaemon { # this is me Name = xserve-fd FDport = 9102 # where we listen for the director WorkingDirectory = /opt/local/var/bacula/working Pid Directory = /opt/local/var/run Maximum Concurrent Jobs = 20 } I am curious, is the documentation outdated and should the default value really be 20? Is there possibly a typographical error where 2 meant to be typed as 20? Did the core Bacula maintainers (Kern, et al?) change their mind based on real world user experiences from a default of 2 to 20? It probably is 20 but to enable concurrency with a client you must also set Maximum Concurrent Jobs in the client section of the bacula-dir.conf file. In that section the default is 1 so without changing the settings you will not get any concurrency. John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Times in Windows
Eric Böse-Wolf wrote: Martin Simmons [EMAIL PROTECTED] writes: Please, I'm not a programmer, so don't throw peaky details at me, but what is an incremental backup worth, if files get backup'd up according to their created timestamp? Yes, the output of estimate shows the created timestamp (that may be a bug). However, incremental/differential backups are triggered by either the created or changed timestamps. First of all: Thanks for your answer. I nearly thought I get ignored on this list. :) Maybe it's a bad idea, I can't decide this, but couldn't bacula compare _filesizes_ also to decide, wether a file has changed? This could be done configurably, so people who don't want that could turn it off. It could be also done on a per FileSet basis. If it is a bad idea, please explain why. Far better for bacula to compare the file with database information and use that to decide what to backup (or not). This forms part of the Bacula TODO list - Item 1 - for accurate restoration of backups (aka snapshotting and variants) - 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] Critical Bacula Bug
On 13 Sep 2007 at 16:30, Alan Brown wrote: Arno Lehmann wrote: We really need a good technical writer to create a short, concise and exact Getting Started manual, but the necessary skills are, unfortunately, not very common among open source people. Getting started guides must not be written by those are very famliar with the software, as that familiarity gets in the way of writing such a guide. The problem is that people who have just setup a system are seldom in a mood to write a summary of it. I have to locally document every change made and details of every new installation (including steps taken) and find that hard enough... If someone wishes to use http://www.freebsddiary.org/bacula.php as a starting point, or anything else I have written about Bacula, please contact me and we'll talk about permission. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php - 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 and ddbb (MySQL) backups
Hi all, We (a little webhosting company) are planning to use Bacula in production as a backup solution. But, first of all we need to resolve one important and essencial question: ¿Is Bacula a reliable method to backup an _active_ databases (normally it will be a MySQL servers)? For example, if I have a box with a MySQL server _active_ just in the moment that Bacula does their backup job... ¿the resultant copy will be consistent as a copy you can get with the using of specialized tools as mysqldump? -- Thanks, Jordi Espasa Clofent - 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 and ddbb (MySQL) backups
On 13 Sep 2007 at 19:23, Jordi Espasa Clofent wrote: Hi all, We (a little webhosting company) are planning to use Bacula in production as a backup solution. But, first of all we need to resolve one important and essencial question: ¿Is Bacula a reliable method to backup an _active_ databases (normally it will be a MySQL servers)? For example, if I have a box with a MySQL server _active_ just in the moment that Bacula does their backup job... ¿the resultant copy will be consistent as a copy you can get with the using of specialized tools as mysqldump? Recommended solution: always use mysqldump. -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php - 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 and ddbb (MySQL) backups
Jordi Espasa Clofent wrote: Hi all, We (a little webhosting company) are planning to use Bacula in production as a backup solution. But, first of all we need to resolve one important and essencial question: ¿Is Bacula a reliable method to backup an _active_ databases (normally it will be a MySQL servers)? For example, if I have a box with a MySQL server _active_ just in the moment that Bacula does their backup job... ¿the resultant copy will be consistent as a copy you can get with the using of specialized tools as mysqldump? Short answer is not easily. Assuming you're using the most common table type of MyISAM, there's no guarantee that the files on disk at any given moment are consistent. Even if you were to take an instant snapshot, you'd just be backing up potentially corrupt data. If you search around, though, you should be able to find solutions that involve briefly locking tables just long enough to create an LVM snapshot of a consistent database, and then backing the snapshot up. Here's one example: http://lenz.homelinux.org/mylvmbackup/ I *believe* that for InnoDB tables, you can take an LVM snapshot of the partition holding the tablespace without locking the tables first, but I've never tried it myself, so you'd want to research this before trusting it as a backup method. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC - 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] Multiplexing multiple jobs to tape
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There were at one time serious problems with this when it came to reading the data back. I would test it out even if you do plan to use it, but apparently restores will be much quicker/more reliable if you do not do this and instead spool the data. Alan Brown wrote: Chris Howells wrote: Hi, I am trying to figure out whether bacula supports multiplexing multiple simultaneous backup jobs to the same tape - having googled, the results are inconclusive :) Yes, but you end up with interleaved jobs on tape and restore becomes VERY slow due to the drive having to constantly shoeshine while skipping over the other interleaved jobs. It is far better to build a very fast raid0 array to spool data onto and then dump that spool to tape. - 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 - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG6XlBmb+gadEcsb4RApPfAJ4/l0LcNVbvDUyIeB4XAMCNRrB/WACfe/Jd 5wYx/SR/vAEmJC3w7kOIW7M= =lv4X -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and ddbb (MySQL) backups
Recommended solution: always use mysqldump. Ok Dan. So ¿how do you do the ddbb backups if Bacula isn't a reliable solution in this case? I must assume that the correct way would be to work in both ways: Bacula for normal data and specialized tools (as mysqldump) for special data. -- Thanks, Jordi Espasa Clofent - 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 and ddbb (MySQL) backups
Jordi Espasa Clofent wrote: Recommended solution: always use mysqldump. Ok Dan. So ¿how do you do the ddbb backups if Bacula isn't a reliable solution in this case? I must assume that the correct way would be to work in both ways: Bacula for normal data and specialized tools (as mysqldump) for special data. Exactly. Live databases always have to be treated specially. You can use a separate tool to back them up to disk space which is then backed up to tape by the network backup. --- Chris Hoogendyk - O__ Systems Administrator c/ /'_ --- Biology Geology Departments (*) \(*) -- 140 Morrill Science Center ~~ - University of Massachusetts, Amherst [EMAIL PROTECTED] --- Erdös 4 - 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 and ddbb (MySQL) backups
Exactly. Live databases always have to be treated specially. You can use a separate tool to back them up to disk space which is then backed up to tape by the network backup. Ok Chris. Is the correct way, I suppose. What a pitty that Bacula can't do it. -- Thanks, Jordi Espasa Clofent - 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 and ddbb (MySQL) backups
We are talking about using bacula for both. Just with backing up databases you run a script that dumps the database first to a file then bacula performs a backup on that file. See the make_catalog_backup script. There is a section in the manual that talks about this: http://bacula.org/dev-manual/Catalog_Maintenance.html#SECTION002413 John - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with 2.2.3
Hey Have tested some more now, it seems that jobs that I was getting error after normal schedule is working when I have a small number of concurrent jobs running. I wonder what have been change since 2.0.3 that could have this affects? I have been reading the changelog and documentation and I can not find anything special except the critical bug fixed in 2.2.3 that trigger my upgrade at the first place. Actually I have 3 different bacula site-location that have been in used for some times now without troubles. I have upgrade two of those with 2.2.3 and I having trouble with both. But with the third (running 2.0.3) everything is working great/normal. Regards Christian Sakshaug Christoff van Zyl skrev: On this subject, I have upgraded from 2.0.3 to 2.2.3 and had the following problem. If you start a manual run, the first job start and when you start a second run the console freeze up for about 2 minutes and then everything is normal again, is this normal. Thanks Christoff On Thursday 13 September 2007 08:50:21 Christian Sakshaug wrote: Hey After upgrading to 2.2.3 i'm getting a lot of problems with backup. With 2.0.3 everything worked just great. Have around XX jobs running from around 00:30 to 06:00 to different harddrive devices. The storage is against a enterprise DAS's with a fast frontend server with lots of memory/cpu juice and the network is with 1GBIT enterprise infrastructure all the way to the clients. This settings have been running without (i'm loving bacula) problem now for some years now.. It seems for me that backup is running correctly but when finishing up something happen with the communication to the FD and I think has something do with last critical patch released 10 sept. Anyone knows if this is a bug or could be bad configuration (something changes I have to do with the 2.0.3 configuration) ? Regards, Christian -- error message #1 against a local SD -- 13-Sep 06:00 bacula1-dir: Start Backup JobId xx, Job=JOB-NAME.2007-09-13_06.00.03 13-Sep 06:00 bacula1-dir: Created new Volume VOLUME-NAME in catalog. 13-Sep 06:00 bacula1-dir: Using Device DEVICE-NAME 13-Sep 06:00 bacula1-sd: Labeled new Volume VOLUME-NAME on device DEVICE-NAME (PATH/DEVICE-NAME). 13-Sep 06:00 bacula1-sd: Wrote label to prelabeled Volume VOLUME-NAME on device DEVICE-NAME (PATH/DEVICE-NAME) 13-Sep 06:00 bacula1-dir: Volume used once. Marking Volume VOLUME-NAME as Used. 13-Sep 06:59 bacula1-dir: JOB-NAME.2007-09-13_06.00.03 Fatal error: Max wait time exceeded. Job canceled. 13-Sep 06:59 bacula1-fd: JOB-NAME.2007-09-13_06.00.03 Fatal error: backup.c:892 Network send error to SD. ERR=Success 13-Sep 06:59 bacula1-sd: Job JOB-NAME.2007-09-13_06.00.03 marked to be canceled. 13-Sep 06:59 bacula1-sd: JOB-NAME.2007-09-13_06.00.03 Fatal error: append.c:259 Network error on data channel. ERR=No data available 13-Sep 06:59 bacula1-sd: Job write elapsed time = 00:59:20, Transfer rate = 2.846 M bytes/second 13-Sep 06:59 bacula1-dir: Bacula bacula1-dir 2.2.3 (09Sep07): 13-Sep-2007 06:59:24 Build OS: x86_64-unknown-linux-gnu redhat JobId: xx Job:JOB-NAME.2007-09-13_06.00.03 Backup Level: Full Client: CLIENT-NAME 2.2.3 (09Sep07) x86_64-unknown-linux-gnu,redhat, FileSet:CLIENT-NAME-FileSet 2007-09-13 06:00:03 Pool: CLIENT-NAME-Pool-Daily (From Run pool override) Storage:CLIENT-NAME-Storage (From Job resource) Scheduled time: 13-Sep-2007 06:00:02 Start time: 13-Sep-2007 06:00:04 End time: 13-Sep-2007 06:59:24 Elapsed time: 59 mins 20 secs Priority: 10 FD Files Written: 1 SD Files Written: 1 FD Bytes Written: 10,131,928,399 (10.13 GB) SD Bytes Written: 10,131,928,542 (10.13 GB) Rate: 2846.0 KB/s Software Compression: 22.1 % VSS:no Encryption: no Volume name(s): VOLUME-NAME Volume Session Id: 32 Volume Session Time:1189578554 Last Volume Bytes: 10,139,969,387 (10.13 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination:Backup Canceled -- -- error message #2 against a windows client -- 13-Sep 04:00 bacula1-dir: Start Backup JobId xx, Job=CLIENT-NAME2-Job.2007-09-13_04.00.00 13-Sep 04:00 bacula1-dir: Created new Volume CLIENT-NAME2-Daily-0001 in catalog. 13-Sep 04:00 bacula1-dir: Using Device CLIENT-NAME2-Device 13-Sep 04:00 bacula1-sd: Labeled new Volume CLIENT-NAME2-Daily-0001 on device CLIENT-NAME2-Device (PATH/CLIENT-NAME2). 13-Sep 04:00 bacula1-sd: Wrote label to prelabeled Volume CLIENT-NAME2-Daily-0001 on device CLIENT-NAME2-Device (PATH/CLIENT-NAME2)
[Bacula-users] Documentation of older Version
Hello, I cannot find documentation for 1.38 anywhere on bacula.org. I suggest to keep not only the docs for most recent version, but also older versions. E.g. in Debian there is still 1.38 used, so many people would need the docs. Thanks kind regards Paul - 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] Problem with 2.2.3
After some more testing it seems that the backup also stops when only running alone. I cannot see any pattern now. It seems thats jobs with small amounts and large amounts of data/files have problems running alone or concurrent with other jobs. The client in this job is the same server that are master-bacula so the problem have nothing to do with the network. -- 13-Sep 20:20 bacula1-dir: Start Backup JobId xxJob=CLIENT-Job.2007-09-13_20.20.39 13-Sep 20:20 bacula1-dir: There are no more Jobs associated with Volume CLIENT-Daily-0001. Marking it purged. 13-Sep 20:20 bacula1-dir: All records pruned from Volume CLIENT-Daily-0001; marking it Purged 13-Sep 20:20 bacula1-dir: Recycled volume CLIENT-Daily-0001 13-Sep 20:20 bacula1-dir: Using Device CLIENT-Device 13-Sep 20:20 bacula1-sd: Recycled volume CLIENT-Daily-0001 on device CLIENT-Device (/PATH/CLIENT), all previous data lost. 13-Sep 20:20 bacula1-dir: Volume used once. Marking Volume CLIENT-Daily-0001 as Used. 13-Sep 21:19 bacula1-dir: CLIENT-Job.2007-09-13_20.20.39 Fatal error: Max wait time exceeded. Job canceled. 13-Sep 21:19 bacula1-fd: CLIENT-Job.2007-09-13_20.20.39 Fatal error: backup.c:892 Network send error to SD. ERR=Success 13-Sep 21:19 bacula1-sd: Job CLIENT-Job.2007-09-13_20.20.39 marked to be canceled. 13-Sep 21:19 bacula1-sd: CLIENT-Job.2007-09-13_20.20.39 Fatal error: append.c:259 Network error on data channel. ERR=No data available 13-Sep 21:19 bacula1-sd: Job write elapsed time = 00:58:43, Transfer rate = 2.400 M bytes/second 13-Sep 21:19 bacula1-dir: Bacula bacula1-dir 2.2.3 (09Sep07): 13-Sep-2007 21:19:26 Build OS: x86_64-unknown-linux-gnu redhat JobId: xx Job:CLIENT-Job.2007-09-13_20.20.39 Backup Level: Full Client: CLIENT 2.2.3 (09Sep07) x86_64-unknown-linux-gnu,redhat, FileSet:CLIENT-FileSet 2007-09-13 06:00:02 Pool: CLIENT-Pool-Daily (From Job resource) Storage:CLIENT-Storage (From Job resource) Scheduled time: 13-Sep-2007 20:20:37 Start time: 13-Sep-2007 20:20:41 End time: 13-Sep-2007 21:19:26 Elapsed time: 58 mins 45 secs Priority: 10 FD Files Written: 192 SD Files Written: 192 FD Bytes Written: 8,457,397,606 (8.457 GB) SD Bytes Written: 8,457,430,790 (8.457 GB) Rate: 2399.3 KB/s Software Compression: 74.6 % VSS:no Encryption: no Volume name(s): CLIENT-Daily-0001 Volume Session Id: 1 Volume Session Time:1189666879 Last Volume Bytes: 8,468,272,411 (8.468 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Canceled SD termination status: Canceled Termination:Backup Canceled -- Regards, Christian Sakshaug Christian Sakshaug skrev: Hey Have tested some more now, it seems that jobs that I was getting error after normal schedule is working when I have a small number of concurrent jobs running. I wonder what have been change since 2.0.3 that could have this affects? I have been reading the changelog and documentation and I can not find anything special except the critical bug fixed in 2.2.3 that trigger my upgrade at the first place. Actually I have 3 different bacula site-location that have been in used for some times now without troubles. I have upgrade two of those with 2.2.3 and I having trouble with both. But with the third (running 2.0.3) everything is working great/normal. Regards Christian Sakshaug Christoff van Zyl skrev: On this subject, I have upgraded from 2.0.3 to 2.2.3 and had the following problem. If you start a manual run, the first job start and when you start a second run the console freeze up for about 2 minutes and then everything is normal again, is this normal. Thanks Christoff On Thursday 13 September 2007 08:50:21 Christian Sakshaug wrote: Hey After upgrading to 2.2.3 i'm getting a lot of problems with backup. With 2.0.3 everything worked just great. Have around XX jobs running from around 00:30 to 06:00 to different harddrive devices. The storage is against a enterprise DAS's with a fast frontend server with lots of memory/cpu juice and the network is with 1GBIT enterprise infrastructure all the way to the clients. This settings have been running without (i'm loving bacula) problem now for some years now.. It seems for me that backup is running correctly but when finishing up something happen with the communication to the FD and I think has something do with last critical patch released 10 sept. Anyone knows if this is a bug or could be bad configuration (something changes I have to do with the 2.0.3 configuration) ? Regards, Christian -- error message #1 against a local SD -- 13-Sep 06:00 bacula1-dir:
Re: [Bacula-users] Job asks for label after mount, unmount states not mouned.
Hello, 13.09.2007 20:59,, Mike Mestnik wrote:: Am i crazy or should mount jobid=16 cause that job to unmount the just mounted volume and complain that I need to label. Which version of Bacula? Can you produce some console output showing the state of the DIR and SD before, while and after you do the mount? Any method of mounting causes the jobid to sqwak about not having a volume, and the device is unmounted. So there's no volume available. When I use the File backend how do I select what volume to mount? You don't, usually :-) The best I can do is cancel the job, delete the volume. ruining the job then asks for a label, the the label auto-mounts and the job says to use the label cmd(again!) and unmount reports the volume is unmounted already. Unfortunalty that's the loop I'm in. I'm using these instructions: http://www.bacula.org/dev-manual/Brief_Tutorial.html but I'm altering the config for my setup. So what does your setup look like now? autolabel would be nice, if it weren't for this problem. I turned autolabel and every thing else off to get things working again. I was hoping to find some one who has seen this. The SD is running on Linux and the FD and DIR is on FreeBSD... are there any version mismatches I should look out for? The only officially supported combination is DIR, SD and FD of the same version. That said, most often you can use older FDs (unless you rely on new features), but the DIR and SD versions should match. Eventually only the DIR will be on FreeBSD. I'm also looking to do multiple directors, one for each class of customer, and they may need to share SDs I could not get multiple Directors to work in the same SD. I'll attach some config. I don't have access to the SD at this time, I'm using 'ssh -i key' inside inetd to run 'nc' on the sd server. If there is an interest I am posting this config here. I really don't understand what you say here... bacula-sd stream tcp nowaitroot /usr/bin/ssh -q -T -o BatchMode=yes -i /etc/ssh/vault7-sd_dsa_key [EMAIL PROTECTED] # note for BatchMode to work the server's key needs to be added to the # system's known_hosts file, you can also use DNS(but don't quote # me.) you will need BatchMode so you need to copy the key. vault7:~visi/.ssh/authorized_keys from=mgmt8,command=nc localhost bacula-sd,othersecureoptions the dsa key If I read this correctly, this won't work. The SD needs to run all the time. The inetd-setup will probably invoke a new SD for each connection. Arno - 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 -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FileSet BUG or not?
Workaround (description of problem see below): FileSet { Name = test.set Include { File = |myfile } } myfile (chmod a+x): #!/bin/sh find /tmp/test/|egrep ^/tmp/test/[^/]+/1/.* Result: /tmp/test/a2/1/test_file /tmp/test/b1/1/test_file /tmp/test/b2/1/test_file /tmp/test/a1/1/test_file the end. problem - There is a structure of directories: find /tmp/test/ /tmp/test/ /tmp/test/a2 /tmp/test/a2/2 /tmp/test/a2/2/test_file /tmp/test/a2/test_file /tmp/test/a2/1 /tmp/test/a2/1/test_file /tmp/test/b1 /tmp/test/b1/2 /tmp/test/b1/2/test_file /tmp/test/b1/test_file /tmp/test/b1/1 /tmp/test/b1/1/test_file /tmp/test/b2 /tmp/test/b2/2 /tmp/test/b2/2/test_file /tmp/test/b2/test_file /tmp/test/b2/1 /tmp/test/b2/1/test_file /tmp/test/test_file /tmp/test/a1 /tmp/test/a1/2 /tmp/test/a1/2/test_file /tmp/test/a1/test_file /tmp/test/a1/1 /tmp/test/a1/1/test_file It is required to make backup on a mask: /tmp/test/*/1 The following FileSet description does not work: Include { Options { wilddir = /tmp/test/*/1 } Options { exclude = yes regexdir = .* } File = /tmp/test } bwild makes correct output: /tmp/test/a2/1 /tmp/test/b1/1 /tmp/test/b2/1 /tmp/test/a1/1 estimate command output only /tmp/test What here it is wrong? And how to receive demanded result? - 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] Job asks for label after mount, unmount states not mouned.
Sorry Arno, Communigate blows. On Thu, Sep 13, 2007 at 09:44:25PM +0200, Arno Lehmann wrote: Hello, Thank you for taking the time to reply. 13.09.2007 20:59,, Mike Mestnik wrote:: Am i crazy or should mount jobid=16 cause that job to unmount the just mounted volume and complain that I need to label. Which version of Bacula? *version mgmt8-dir Version: 1.38.5 (18 January 2006) Connecting to Storage daemon vault7-sd at mgmt8.mn2.visi.com:9103 vault7-sd Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Stentz) Daemon started 06-Sep-07 13:49, 3 Jobs run since started. Heap: bytes=213,859 max_bytes=280,772 bufs=87 max_bufs=98 Can you produce some console output showing the state of the DIR and SD before, while and after you do the mount? Here we go... While is not possible, the mount only lasts so long. This is a loop for me, so before and after should match, but I'll print both. SORRY for the long post, there are more answers below the output. *status dir mgmt8-dir Version: 1.38.5 (18 January 2006) i386-portbld-freebsd6.1 freebsd 6.1-RELEASE Daemon started 06-Sep-07 14:00, 19 Jobs run since started. No Scheduled Jobs. Running Jobs: Console connected at 13-Sep-07 10:21 JobId Level Name Status == 16 FullBackupCatalog.2007-09-13_10.10.30 is waiting for an appendable Volume Terminated Jobs: JobId Level Files Bytes Status FinishedName 10 Full 0 0 Cancel 13-Sep-07 10:04 mgmt8 12 Full 0 0 Cancel 13-Sep-07 10:04 mgmt8 14 Full 0 0 Cancel 13-Sep-07 10:04 mgmt8 3 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog 5 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog 7 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog 9 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog 11 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog 13 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog 15 Full 0 0 Cancel 13-Sep-07 10:04 BackupCatalog *status sd The defined Storage resources are: 1: vault7-sd 2: VaultX-stor Select Storage resource (1-2): 1 Connecting to Storage daemon vault7-sd at mgmt8.mn2.visi.com:9103 vault7-sd Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Stentz) Daemon started 06-Sep-07 13:49, 3 Jobs run since started. Heap: bytes=213,859 max_bytes=280,772 bufs=87 max_bufs=98 Running Jobs: Writing: Full Backup job BackupCatalog JobId=16 Volume= pool=Vault7 device=vault7-FileStorage (/var/backup) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 Jobs waiting to reserve a drive: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName === 62 Full 0 0 Cancel 06-Sep-07 13:54 BackupCatalog 1 Full 0 0 Error11-Sep-07 21:03 BackupCatalog 2 Full 0 0 Cancel 13-Sep-07 10:04 mgmt8 Device status: Device vault7-FileStorage (/var/backup) is not open. Device is BLOCKED waiting for media. In Use Volume status: *m 13-Sep 11:10 vault7-sd: Job BackupCatalog.2007-09-13_10.10.30 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: vault7-FileStorage (/var/backup) Media type: vault7-File Pool: Vault7 13-Sep 13:10 vault7-sd: Job BackupCatalog.2007-09-13_10.10.30 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: vault7-FileStorage (/var/backup) Media type: vault7-File Pool: Vault7 *mount The defined Storage resources are: 1: vault7-sd 2: VaultX-stor Select Storage resource (1-2): 1 3001 OK mount. Device=vault7-FileStorage (/var/backup) *m 13-Sep 14:53 vault7-sd: Job BackupCatalog.2007-09-13_10.10.30 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: vault7-FileStorage (/var/backup) Media type: vault7-File Pool: Vault7 *umount The defined Storage resources are: 1: vault7-sd 2: VaultX-stor Select Storage resource (1-2): 1 3901 Device vault7-FileStorage (/var/backup) is already unmounted. *status dir mgmt8-dir Version: 1.38.5 (18 January 2006) i386-portbld-freebsd6.1 freebsd 6.1-RELEASE Daemon started 06-Sep-07 14:00, 19 Jobs run since started. No Scheduled Jobs. Running Jobs: Console connected at 13-Sep-07 10:21 JobId Level Name
Re: [Bacula-users] Need help restoring bacula configuration
Hi, 11.09.2007 13:36,, Christoph Litauer wrote:: Dear admins, I accidently removed all files in /etc/bacula on my bacula server (rm wx-console.conf * should have been rm wx-console.conf*). As the daemons were still running I recreated a minimal bconsole.conf, connected to the director and tried to restore /etc/bacula. I got the following error: 11-Sep 11:08 bacula-sd: RestoreFiles.2007-09-11_11.08.24 Error: block.c:275 Volume data error at 1:2363602536! Wanted ID: BB02, got hein. Buffer discarded. As I found in http://www.bacula.org/dev-manual/Restore_Command.html this maybe caused by incorrect block size settings for my devices. I wonder wether this can be, because I use File devices ... ... but nevertheless I would try the configuration changes ... if I could: I also deleted bacula-sd.conf and don't really remember all the settings. Any other idea? I don't want to restart the daemons trying one configuration after another because now they are still running with my working configuration. Perhaps there is a way bacula-dir writes out the running configuration? You can get some of the configuration using the show commands, mainly 'show storage' in your case. Passwords, concurrency, etc. will not be a real problem, I suspect. The most important things - the device settings themselves - can not be reported, I believe. For file storage, they are not that important, though. Regarding the volume data errors, I don't have any idea except to try bls and bextract - these errors happen quite often, and I suspect they are not easily recovered. I have no idea why they happen, though. Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job asks for label after mount, unmount states not mouned.
Hi, 13.09.2007 22:14,, root wrote:: On Thu, Sep 13, 2007 at 09:44:25PM +0200, Arno Lehmann wrote: Hello, Thank you for taking the time to reply. 13.09.2007 20:59,, Mike Mestnik wrote:: Am i crazy or should mount jobid=16 cause that job to unmount the just mounted volume and complain that I need to label. Which version of Bacula? *version mgmt8-dir Version: 1.38.5 (18 January 2006) Connecting to Storage daemon vault7-sd at mgmt8.mn2.visi.com:9103 vault7-sd Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Stentz) Daemon started 06-Sep-07 13:49, 3 Jobs run since started. Heap: bytes=213,859 max_bytes=280,772 bufs=87 max_bufs=98 Oh oh... 1.38 and 2.0 are a bit too different, I suppose. I suggest to upgrade your whole setup to 2.2.3, as this will fix some bugs that might (or even will) get you into trouble sooner or later. Can you produce some console output showing the state of the DIR and SD before, while and after you do the mount? Here we go... While is not possible, the mount only lasts so long. This is a loop for me, so before and after should match, but I'll print both. ... ok, this looks more or less normal to me, i.e. I don't see anything explaining the issues you have. Any method of mounting causes the jobid to sqwak about not having a volume, and the device is unmounted. So there's no volume available. There have been many volumes, the current is test003. *llist volume Pool: Vault7 MediaId: 1 VolumeName: test003 Slot: 0 PoolId: 1 MediaType: vault7-File FirstWritten: 0 LastWritten: 0 LabelDate: 2007-09-13 10:25:39 VolJobs: 0 VolFiles: 0 VolBlocks: 0 VolMounts: 0 VolBytes: 1 VolErrors: 0 VolWrites: 0 VolCapacityBytes: 0 VolStatus: Append Recycle: 1 VolRetention: 31536000 VolUseDuration: 0 MaxVolJobs: 0 MaxVolFiles: 0 MaxVolBytes: 0 InChanger: 1 EndFile: 0 EndBlock: 0 VolParts: 0 LabelType: 0 StorageId: 1 Pool: VaultX No results to list. When I use the File backend how do I select what volume to mount? You don't, usually :-) For testing? A feature request? Of course, if you can give some reasons why this would be necessary. I don't think this is needed for testing; if you want to test the autochanger handling, you can set up a fake autochanger, which is controlled by the usual mtx-changer script interface, but uses files instead of tapes. The best I can do is cancel the job, delete the volume. ruining the job then asks for a label, the the label auto-mounts and the job says to use the label cmd(again!) and unmount reports the volume is unmounted already. Unfortunalty that's the loop I'm in. I'm using these instructions: http://www.bacula.org/dev-manual/Brief_Tutorial.html but I'm altering the config for my setup. So what does your setup look like now? This link worked for me: http://sourceforge.net/mailarchive/attachment.php?list_name=bacula-usersmessage_id=20070913185934.GK8912%40visi.comcounter=1 autolabel would be nice, if it weren't for this problem. I turned autolabel and every thing else off to get things working again. I was hoping to find some one who has seen this. The SD is running on Linux and the FD and DIR is on FreeBSD... are there any version mismatches I should look out for? The only officially supported combination is DIR, SD and FD of the same version. That said, most often you can use older FDs (unless you rely on new features), but the DIR and SD versions should match. That may be difficult, due to vendor supplied patches. I'd prefer binary over source, save browsing CVS. Availability for different OSs may make this difficult or impossible, for instance MSwin32 is not something I'd ever learn to build but is something I need to consider supporting. Then I can only suggest to upgrade to 2.2.3, and if that's really not possible, don't use Bacula. I don't think anyone can realistically support a combination of different versions of DIR and SD. Eventually only the DIR will be on FreeBSD. I'm also looking to do multiple directors, one for each class of customer, and they may need to share SDs I could not get multiple Directors to work in the same SD. I'll attach some config. I don't have access to the SD at this time, I'm using 'ssh -i key' inside inetd to run 'nc' on the sd server. If there is an interest I am posting this config here. I really don't understand what you say here... The communications pass like so... Dir -localhost:bacula-sd inetd(exec ssh -vault7:22 sshd(exec nc -localhost:bacula-sd bacula-sd)) Both bacula processes are unaware that they are not connecting over a localhost:bacula-sd connection. nc(AKA netcat) is used to proxy the request to the bacula-sd as though it were the
Re: [Bacula-users] Duplicate Address field values ok?
Hi, 10.09.2007 23:57,, Hydro Meteor wrote:: Hello again Arno, Today I just pulled down Kern's update to Bacula (version 2.2.3) and I installed it effortlessly on my Xserve. I am running all three Bacula daemons on the same Xserve machine. I edited the bconsole.conf file (to change its address field by changing its value to the static IP address of my Xserve). I did the same for all of the Address fields in the Bacula Director configuration file (bacula-dir.conf). Even so, when I ran bconsole for the first time, I received this message: 10-Sep 21:24 apple-xserve-dir: - Console-.2007-09-10_21.24.24 Error: bsock.c:182 gethostbyname() for host apple-xserve failed: ERR=Authoritative answer for host not found. This *might* have been an old message still spooled - look at the time stamp. It is possible that this was from before your configuration change. Where apple-xserve is the host name of my machine. But none of my Address fields in the config files have the value of apple-xserve any more. I wonder what file the console is reading which causes it to continue to attempt to use gethostbyname() with the name apple-xserve instead of my server's IP address? How would I discover this, any ideas? Does it happen again, or was this a one-time problem? As long as you use IP addresses only in the configuration files, I don't see where name resolving can fail... Thanks! -H On 9/9/07, *Arno Lehmann* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, 10.09.2007 05:12,, Hydro Meteor wrote:: Hello, In Chapter 6.3.4 of the Bacula User's Guide, with regard to naming resources, the Guide states that: Each of your Bacula components must have a unique name. This is especially necessary when backing up a fleet machines. I didn't see any similar requirements that the Address fields of resources also be unique. Can anyone confirm this? For example, would the following (in the bacula-dir.conf file) have any conflicts? # Client (File Services) to backup Client { Name = myunique-machine-name-1 Address = 192.168.1.25 http://192.168.1.25 http://192.168.1.25 FDPort = 9102 Catalog = MyCatalog Password = YxR21sehW8stTml8RUKYAfln3WSVPoyvJVJ276RqXRmY # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } and # Client (File Services) to backup Client { Name = myunique-machine-name-2 Address = 192.168.1.25 http://192.168.1.25 http://192.168.1.25 FDPort = 9102 Catalog = MyCatalog Password = YxR21sehW8stTml8RUKYAfln3WSVPoyvJVJ276RqXRmY # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } As much as it would be ideal to use a FQDN for the Address fields, there are some scenarios where this isn't possible and there is a concern from my colleague, about a collision in the Address fields. Hopefully as interpreted from the User's Guid, the uniqueness of the Name fields is all that's required (but better to check ahead of time to be safe than sorry later). I think what you intend to do would work. It's even a procedure I suggested a few times, and nobody complained that it didn't work :-) Although, in most cases, I suspect you won't need this sort of setup. Would yo mind explaining why you think you need this? Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de http://www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net mailto:Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
[Bacula-users] Updating Windows Time Stamps
I have a system with a folder of new files, but the time stamp of the files is not newer than the last backup. How do I update the timestamp of every file and folder in a directory so that it will be recognized by bacula? Surely there must be some utility available for this, preferably free. I have tried using the *nix tools for windows (touch) but I ran into some problems. Sincerely, -Michael - 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 and ddbb (MySQL) backups
Dan Langille wrote: On 13 Sep 2007 at 19:23, Jordi Espasa Clofent wrote: Hi all, We (a little webhosting company) are planning to use Bacula in production as a backup solution. But, first of all we need to resolve one important and essencial question: ¿Is Bacula a reliable method to backup an _active_ databases (normally it will be a MySQL servers)? For example, if I have a box with a MySQL server _active_ just in the moment that Bacula does their backup job... ¿the resultant copy will be consistent as a copy you can get with the using of specialized tools as mysqldump? Recommended solution: always use mysqldump. Regardless of what software you choose for network backup, you can always use ZRM for MySQL -- http://www.zmanda.com/backup-mysql.html. It does backups using /*mysqldump*/, LVM snapshots, /*mysqlhotcopy*/ or MySQL replication. It does not replace network backup. It is complementary. It handles backup and recovery of MySQL, and co-exists with your network backup software. --- Chris Hoogendyk - O__ Systems Administrator c/ /'_ --- Biology Geology Departments (*) \(*) -- 140 Morrill Science Center ~~ - University of Massachusetts, Amherst [EMAIL PROTECTED] --- Erdös 4 - 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] Exabyte Magnum 224 - mtx-changer / problem and solution.
I have recently noticed that my Magnum224 was not showing up all 24 slots specifically that the IMPORT/EXPORT slot (#24) was missing. As a result Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 ... 3306 Issuing autochanger slots command. Device Magnum224-0 has 24 slots. Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 ... 3306 Issuing autochanger list command. Catalog record for Volume A00030 updated to reference slot 1. Catalog record for Volume A00043 updated to reference slot 2. Catalog record for Volume A00032 updated to reference slot 3. Catalog record for Volume A00037 updated to reference slot 4. Catalog record for Volume A00023 updated to reference slot 5. Catalog record for Volume A6 updated to reference slot 6. Catalog record for Volume A7 updated to reference slot 7. Catalog record for Volume A8 updated to reference slot 8. Catalog record for Volume A00028 updated to reference slot 9. Catalog record for Volume A00010 updated to reference slot 10. Catalog record for Volume A00038 updated to reference slot 11. Catalog record for Volume A00039 updated to reference slot 12. Catalog record for Volume A00040 updated to reference slot 13. Catalog record for Volume A00012 updated to reference slot 14. Catalog record for Volume A00017 updated to reference slot 15. Catalog record for Volume A00016 updated to reference slot 16. Catalog record for Volume A00041 updated to reference slot 17. Catalog record for Volume A00042 updated to reference slot 18. Catalog record for Volume A00036 updated to reference slot 19. Catalog record for Volume A00018 updated to reference slot 20. Catalog record for Volume A00027 updated to reference slot 21. Catalog record for Volume A00034 updated to reference slot 22. Catalog record for Volume A00031 updated to reference slot 23. After some investigation the problem is the output of the mtx script: Storage Changer /dev/autochanger1:2 Drives, 24 Slots ( 1 Import/Export ) Data Transfer Element 0:Empty Data Transfer Element 1:Empty Storage Element 1:Full :VolumeTag=A00030 Storage Element 2:Full :VolumeTag=A00043 Storage Element 3:Full :VolumeTag=A00032 Storage Element 4:Full :VolumeTag=A00037 Storage Element 5:Full :VolumeTag=A00023 Storage Element 6:Full :VolumeTag=A6 Storage Element 7:Full :VolumeTag=A7 Storage Element 8:Full :VolumeTag=A8 Storage Element 9:Full :VolumeTag=A00028 Storage Element 10:Full :VolumeTag=A00010 Storage Element 11:Full :VolumeTag=A00038 Storage Element 12:Full :VolumeTag=A00039 Storage Element 13:Full :VolumeTag=A00040 Storage Element 14:Full :VolumeTag=A00012 Storage Element 15:Full :VolumeTag=A00017 Storage Element 16:Full :VolumeTag=A00016 Storage Element 17:Full :VolumeTag=A00041 Storage Element 18:Full :VolumeTag=A00042 Storage Element 19:Full :VolumeTag=A00036 Storage Element 20:Full :VolumeTag=A00018 Storage Element 21:Full :VolumeTag=A00027 Storage Element 22:Full :VolumeTag=A00034 Storage Element 23:Full :VolumeTag=A00031 Storage Element 24 IMPORT/EXPORT:Full :VolumeTag=A00035 The mtx script expects the slot number followed by a :Full: If it does not see that it ignores the slot. My fix was to use sed to remove the IMPORT/EXPORT from the stream so that the rest of the processing would work. Replace this line: ${MTX} -f $ctl status ${TMPFILE} With this: ${MTX} -f $ctl status | sed 's# IMPORT/EXPORT##g' ${TMPFILE} And then the result is: Device Magnum224-0 has 24 slots. Connecting to Storage daemon DEV6-Changer at dev6.radimg.pitt.edu:9103 ... 3306 Issuing autochanger list command. Catalog record for Volume A00030 updated to reference slot 1. Catalog record for Volume A00043 updated to reference slot 2. Catalog record for Volume A00032 updated to reference slot 3. Catalog record for Volume A00037 updated to reference slot 4. Catalog record for Volume A00023 updated to reference slot 5. Catalog record for Volume A6 updated to reference slot 6. Catalog record for Volume A7 updated to reference slot 7. Catalog record for Volume A8 updated to reference slot 8. Catalog record for Volume A00028 updated to reference slot 9. Catalog record for Volume A00010 updated to reference slot 10. Catalog record for Volume A00038 updated to reference slot 11. Catalog record for Volume A00039 updated to reference slot 12. Catalog record for Volume A00040 updated to reference slot 13. Catalog record for Volume A00012 updated to reference slot 14. Catalog record for Volume A00017 updated to reference slot 15. Catalog record for Volume A00016 updated to reference slot 16. Catalog record for Volume A00041 updated to reference slot 17. Catalog record for Volume A00042 updated to reference slot 18. Catalog record for Volume A00036 updated to reference slot 19. Catalog record for Volume A00018 updated to reference slot 20. Catalog record
Re: [Bacula-users] Bacula and ddbb (MySQL) backups
Jordi Espasa Clofent wrote: Exactly. Live databases always have to be treated specially. You can use a separate tool to back them up to disk space which is then backed up to tape by the network backup. Ok Chris. Is the correct way, I suppose. What a pitty that Bacula can't do it. I'm not sure it's a pity. ;-) It's the way tools are. You wouldn't ask Bacula to do your disk mirroring just because that is a form of backup. You use RAID software or hardware to do your disk mirroring. In the same way, databases are specialized and unique. Each database engine has its own mechanisms for table locking, transaction control, database dumping, etc. Those tools are developed within the context of that project. If Bacula developers were going to write that code instead and build it into Bacula, then they would be faced with people who wanted support for PostgreSQL, Oracle, msql, DB2, Sybase It's just not a practical way to build tools. John Drescher wrote: Ok Dan. So ¿how do you do the ddbb backups if Bacula isn't a reliable solution in this case? I must assume that the correct way would be to work in both ways: Bacula for normal data and specialized tools (as mysqldump) for special data. We are talking about using bacula for both. Just with backing up databases you run a script that dumps the database first to a file then bacula performs a backup on that file. See the make_catalog_backup script. You can obviously coordinate the tools. What John is talking about is a script controlled by Bacula that initiates the other tool, waits for it to complete, and then backs that up to tape. You could even contrive to run it through a named pipe or socket straight to the network backup program, though I've never tried to get that fancy. --- Chris Hoogendyk - O__ Systems Administrator c/ /'_ --- Biology Geology Departments (*) \(*) -- 140 Morrill Science Center ~~ - University of Massachusetts, Amherst [EMAIL PROTECTED] --- Erdös 4 - 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
[Bacula-users] Debian and Ubuntu Packages available
Hi all, this is to let you know that I have finished packaging Bacula 2.2.3 for the following distros: * Debian sarge (i386) * Debian etch (i386 and amd64) * Ubuntu edgy (i386 and amd64) * Ubuntu feisty (i386 and amd64) The packages are based on the debian unstable packages by John Goerzen (thanks John) Please note that these packages are being built using pbuilder which allows to build very clean packages regarding package dependencies and the like, however: Although the packages did build clean I have not tested them on every platform so if you want to use them in production: Please test them first. Also it would be useful to have some feedback here that they are working. I built a bat package (bacula-console-qt) for distros that have at least recent qt4 packages available. (libqwt5 is builtin statically on systems where it is not available) There is an issue on ubuntu left: Stopping bacula-fd does not work with the init script, so on upgrades you have to manually killall bacula-fd one time. Patch would be welcome. Find instructions to use the packages here: http://wiki.links2linux.de/en/index.php/PackMan_repo_instructions_for_Debian/Ubuntu_%28en%29 Cheers -Marc -- BUGS My programs never have bugs. They just develop random features. If you discover such a feature and you want it to be removed: please send an email signature.asc Description: Digital signature - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Duplicate Address field values ok?
On 9/13/07, Arno Lehmann [EMAIL PROTECTED] wrote: Hi, 10.09.2007 23:57,, Hydro Meteor wrote:: Hello again Arno, Today I just pulled down Kern's update to Bacula (version 2.2.3) and I installed it effortlessly on my Xserve. I am running all three Bacula daemons on the same Xserve machine. I edited the bconsole.conf file (to change its address field by changing its value to the static IP address of my Xserve). I did the same for all of the Address fields in the Bacula Director configuration file (bacula-dir.conf). Even so, when I ran bconsole for the first time, I received this message: 10-Sep 21:24 apple-xserve-dir: - Console-.2007-09-10_21.24.24 Error: bsock.c:182 gethostbyname() for host apple-xserve failed: ERR=Authoritative answer for host not found. This *might* have been an old message still spooled - look at the time stamp. It is possible that this was from before your configuration change. Thank you Arno, I believe you are correct. This message has since not duplicated so it was probably an old message spooled. Where apple-xserve is the host name of my machine. But none of my Address fields in the config files have the value of apple-xserve any more. I wonder what file the console is reading which causes it to continue to attempt to use gethostbyname() with the name apple-xserve instead of my server's IP address? How would I discover this, any ideas? Does it happen again, or was this a one-time problem? Appears to be a one-time problem. As long as you use IP addresses only in the configuration files, I don't see where name resolving can fail... Thank you very much ... its a joy and a challenge to learn about Bacula! Cheers, -H Thanks! -H On 9/9/07, *Arno Lehmann* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, 10.09.2007 05:12,, Hydro Meteor wrote:: Hello, In Chapter 6.3.4 of the Bacula User's Guide, with regard to naming resources, the Guide states that: Each of your Bacula components must have a unique name. This is especially necessary when backing up a fleet machines. I didn't see any similar requirements that the Address fields of resources also be unique. Can anyone confirm this? For example, would the following (in the bacula-dir.conf file) have any conflicts? # Client (File Services) to backup Client { Name = myunique-machine-name-1 Address = 192.168.1.25 http://192.168.1.25 http://192.168.1.25 FDPort = 9102 Catalog = MyCatalog Password = YxR21sehW8stTml8RUKYAfln3WSVPoyvJVJ276RqXRmY # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } and # Client (File Services) to backup Client { Name = myunique-machine-name-2 Address = 192.168.1.25 http://192.168.1.25 http://192.168.1.25 FDPort = 9102 Catalog = MyCatalog Password = YxR21sehW8stTml8RUKYAfln3WSVPoyvJVJ276RqXRmY # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } As much as it would be ideal to use a FQDN for the Address fields, there are some scenarios where this isn't possible and there is a concern from my colleague, about a collision in the Address fields. Hopefully as interpreted from the User's Guid, the uniqueness of the Name fields is all that's required (but better to check ahead of time to be safe than sorry later). I think what you intend to do would work. It's even a procedure I suggested a few times, and nobody complained that it didn't work :-) Although, in most cases, I suspect you won't need this sort of setup. Would yo mind explaining why you think you need this? Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de http://www.its-lehmann.de - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
[Bacula-users] Vista client-fd.conf file location?
I am using Windows Vista on one PC on my LAN as a client. My server is a Debian Linux box. Where is the client-fd.conf file to go? In Vista, Mr. Gates has done away with the Documents and Settings folder. An equivalent path to C:\Documents and Settings\All Users\Application Data\Bacula In the new Vista lingo would probably be C:\Users\Default\AppData\Bacula Right now, it seems that placing the conf file in either the bacula program files folder, or the root directory, does not allow it to be read, because it cannot access the client daemon over my network. The XP PCs that I have do not have a problem. For the Vista PC, I am using the latest Sourceforge Win32 version. Jeff K - 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] Problem with 2.2.3
Good morning It seems like everything is just fine again. Last night I removed the Max Wait Time from the job resource and everything works again (every job is OK). I have probably used the Max Wait Time wrong in my configuration. What about to make a Migrate from ver = ver section in the user guide where it will be listed the configuration changes and other thing that is importent between the version. Some of the other Open Source system I'm using has this feature and it making the upgrade job much easier and safer. It is probably not so important between the major updates, 1.x to 2.x but between 2.0.3 to 2.2.0, 2.2.0 - 2.2.3 has been nice. Perhaps you guys have allready written that, perhaps I have miss it. Regards, Christian Sakshaug Christian Sakshaug skrev: Hey Have tested some more now, it seems that jobs that I was getting error after normal schedule is working when I have a small number of concurrent jobs running. I wonder what have been change since 2.0.3 that could have this affects? I have been reading the changelog and documentation and I can not find anything special except the critical bug fixed in 2.2.3 that trigger my upgrade at the first place. Actually I have 3 different bacula site-location that have been in used for some times now without troubles. I have upgrade two of those with 2.2.3 and I having trouble with both. But with the third (running 2.0.3) everything is working great/normal. Regards Christian Sakshaug - 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