Re: [Bacula-users] [Storage-Space usage] Prevent duplicate file-backups?
It would indeed be a great space saving feature. But I wouldn't place my bet only on md5sums, it has been proven that there -could- occur false matches. There has to be some additional checking as well, starting with the filename. The chances of a duplicate md5sum in the same filename, while having different contents, are so small I doubt it would ever occur. Yes yes, Murphy's Law, I know, but realistically... would it ever occur? Filename match doesn't necessarly need to be a 1-1 check, but more of a pattern check, when a file is copied and renamed, a part of the original name is mostly kept. Tijl Van den Broeck On 10/25/06, Hristo Benev [EMAIL PROTECTED] wrote: If this is not possible with current version it is a very good request for feature. Probably this can be done with md5sum'ing - works even if files are renamed, and just linking files in catalog... Yes, it will require little bit more processing power, but it could save a lot of space. -- Hristo Benev IT Manager WAVEROAD Partners in Telecommunications 514-935-2020 x225 T 514-935-1001 F www.waveroad.ca [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Rif: Re: File Table entries not pruned
As far as I understand dbcheck is to be run regularly (I run it during the day, when bacula is idle), not mailly for File table, but for Filename and Path tables. If the systems that are backuped have a lot of auto generated filenames that are lately deleted. Table and Path tables do not have a use count (at least in 1.36.3 that I am still using), so they cannot be removed during pruning or purging of jobs (unless you scan tables like dbcheck, but it would be very unefficient). -- Ferdinando Pasqualetti G.T.Dati srl Tel. 0557310862 - 3356172731 - Fax 055720143 Christoph Haas [EMAIL PROTECTED] Inviato da: [EMAIL PROTECTED] 25/10/2006 23.39 Per bacula-users@lists.sourceforge.net CC Oggetto Re: [Bacula-users] File Table entries not pruned On Wednesday 25 October 2006 23:18, Martin Simmons wrote: On Wed, 25 Oct 2006 23:00:09 +0200, Christoph Haas said: Actually I haven't changed my config in months. And after each full backup I can run dbcheck and it will remove a few ten thousand File entries. So I suspected that some part of Bacula misses to remove old database rows. And it didn't crash either. The storage daemon dies from time to time though. But that should keep altering the database directly anyway. Yes, it sounds like a bug to me. Which database is that? Did Bacula do any pruning during the night? MySQL 4.1.11a on Debian Sarge. I intend to switch to PostgreSQL 8.1 anyway when I upgrade that machine to Debian Etch. I'm not entirely happy with MySQL. Yes, I found these pruning entries in the logs: 25-Oct 05:02 torf-dir: Begin pruning Jobs. 25-Oct 05:02 torf-dir: Pruned 2 Jobs for client lonestar-fd from catalog. 25-Oct 05:02 torf-dir: Begin pruning Files. 25-Oct 05:02 torf-dir: No Files found to prune. 25-Oct 05:02 torf-dir: End auto prune. 25-Oct 05:01 torf-dir: Begin pruning Jobs. 25-Oct 05:01 torf-dir: Pruned 2 Jobs for client mentors-fd from catalog. 25-Oct 05:01 torf-dir: Begin pruning Files. 25-Oct 05:01 torf-dir: No Files found to prune. 25-Oct 05:01 torf-dir: End auto prune. 25-Oct 03:06 torf-dir: Begin pruning Jobs. 25-Oct 03:06 torf-dir: Pruned 2 Jobs for client torf-fd from catalog. 25-Oct 03:06 torf-dir: Begin pruning Files. 25-Oct 03:06 torf-dir: No Files found to prune. 25-Oct 03:06 torf-dir: End auto prune. 24-Oct 21:29 torf-dir: Begin pruning Jobs. 24-Oct 21:29 torf-dir: No Jobs found to prune. 24-Oct 21:29 torf-dir: Begin pruning Files. 24-Oct 21:32 torf-dir: Pruned Files from 2 Jobs for client torf-fd from catalog. 24-Oct 21:32 torf-dir: End auto prune. 24-Oct 05:00 torf-dir: Begin pruning Jobs. 24-Oct 05:00 torf-dir: No Jobs found to prune. 24-Oct 05:00 torf-dir: Begin pruning Files. 24-Oct 05:00 torf-dir: No Files found to prune. 24-Oct 05:00 torf-dir: End auto prune. 24-Oct 05:00 torf-dir: Begin pruning Jobs. 24-Oct 05:00 torf-dir: No Jobs found to prune. 24-Oct 05:00 torf-dir: Begin pruning Files. 24-Oct 05:00 torf-dir: No Files found to prune. 24-Oct 05:00 torf-dir: End auto prune. 24-Oct 03:05 torf-dir: Begin pruning Jobs. 24-Oct 03:05 torf-dir: Pruned 0 Jobs for client torf-fd from catalog. 24-Oct 03:05 torf-dir: Begin pruning Files. 24-Oct 03:05 torf-dir: No Files found to prune. 24-Oct 03:05 torf-dir: End auto prune. 23-Oct 05:32 torf-dir: Begin pruning Jobs. 23-Oct 05:32 torf-dir: No Jobs found to prune. 23-Oct 05:32 torf-dir: Begin pruning Files. 23-Oct 05:32 torf-dir: No Files found to prune. 23-Oct 05:32 torf-dir: End auto prune. Most of the days there are neither jobs nor files pruned. It would be useful to remove the cron job one night and run dbcheck manually to list the orphaned File records and find the JobIds. Okay. How would I do that? Doesn't dbcheck just tell me the quantity of orphaned records? I just tried it: Select function number: 8 Checking for orphaned File entries. This may take some time! Found 176 orphaned File records. That's from last night where I incrementally backed up three hosts. 6 jobs were pruned according to the logs but no files were found to prune. Then try to find out when the corresponding records with the same JobId were removed from the Job table (since that's what orphaned means for a File record). Uhm. Any hint on what to look for? Thanks, Christoph - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Using Tomcat but need to do more? Need
Re: [Bacula-users] Can't write to the tape
Hi, On 10/26/2006 3:13 AM, Greg Little wrote: Thanks for the patch, I implemented the changes and set the tapes back to nst0 Now I am getting: waiting for a mount request so I do a mount, get: 3001 OK mount. Device=LTO-2 (/dev/nst0) But it just sits at the waiting for mount request. This is where I usually try umount/mount, and then get the BLOCKED media. Is it possible that the tape Bacula requests is not in the autochanger? You should have an operator mail requesting a certain tape. Make sure you insert a tape from the pool required, and make sure you inform Bacula of the tape change, i.e. issue an 'update slots' command. So if I upgrade to 1.39.26, am I going to have to dump my database and then import it back in? No. I thought that there are a lot of changes between 38 and 39 Yes. so I am not sure if I am going to be able to move up, and I have a bunch of old backups from 38 that I don't want to lose. You won't lose any backups when you follow the documented upgrade path: Install new Bacula version, run catalog upgrade script, start Bacula, try if everythin works, if it doesn't restore your old version, your catalog, and report a bug. BTW: I would not recommend 1.39 for production use yet as I see some issues I find hard to analyze. For example, the DIR seems to have a serious memory leak in certain situations, and the SD sometimes blocks waiting for jobs tapes without any possible way of getting it to continue... Is there an upgrade from 38 to 39 doc? I looked and couldn't find one. The ReleaseNotes file, and IIRC there is some documentation of the catalog upgrade scripts. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File Table entries not pruned
On Wed, 25 Oct 2006 23:39:16 +0200, Christoph Haas said: On Wednesday 25 October 2006 23:18, Martin Simmons wrote: On Wed, 25 Oct 2006 23:00:09 +0200, Christoph Haas said: Actually I haven't changed my config in months. And after each full backup I can run dbcheck and it will remove a few ten thousand File entries. So I suspected that some part of Bacula misses to remove old database rows. And it didn't crash either. The storage daemon dies from time to time though. But that should keep altering the database directly anyway. Yes, it sounds like a bug to me. Which database is that? Did Bacula do any pruning during the night? MySQL 4.1.11a on Debian Sarge. I intend to switch to PostgreSQL 8.1 anyway when I upgrade that machine to Debian Etch. I'm not entirely happy with MySQL. OK. Hopefully it doesn't lose SQL commands though! I think you should upgrade to Bacula 1.38.11 before investigating any further, because that contained a bug fix for pruning (see http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=613). It would be useful to remove the cron job one night and run dbcheck manually to list the orphaned File records and find the JobIds. Okay. How would I do that? Doesn't dbcheck just tell me the quantity of orphaned records? I just tried it: Select function number: 8 Checking for orphaned File entries. This may take some time! Found 176 orphaned File records. That's from last night where I incrementally backed up three hosts. 6 jobs were pruned according to the logs but no files were found to prune. If you switch on verbose mode then it will ask if you want to list them. Then try to find out when the corresponding records with the same JobId were removed from the Job table (since that's what orphaned means for a File record). Uhm. Any hint on what to look for? The verbose file listing includes the jobid, so the first thing to check is that this is a sensible value and then check in your logs to see if that job was old enough to be pruned. __Martin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Different timeouts in different subnets
Hi @ all Bacula users, I am using Bacula for several year now and I am really satisfied with it. But now I have a strange Problem. I am not sure but I think it first occurred since I updated from version 1.36 to 1.38 . Now I am running 1.38.11 My Bacula has to backup several WinXP clients over night. When the client runs, there is no problem and the backup is done properly. But if the users switch off their clients ( what happen often, unfortunately ) the duration of the timeout depends on the IP-Subnet the client is in . I have the following Timeout settings in the bacula-dir.conf FD Connect Timeout = 5 minutes SD Connect Timeout = 5 minutes If the Client is in the same IP-Subnet as the Bacula-director, the director tells: 24-Oct 08:43 Bacula-dir: Start Backup JobId 3040, Job=StudentA2190_A.2006-10-23_19.40.53 24-Oct 08:44 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Warning: bnet.c:853 Could not connect to File daemon on 192.168.10.67:9102. ERR=No route to host Retrying ... 24-Oct 08:50 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Fatal error: bnet.c:859 Unable to connect to File daemon on 192.168.10.67:9102. ERR=No route to host 24-Oct 08:50 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Error: Bacula 1.38.11 (28Jun06): 24-Oct-2006 08:50:29 ... Scheduled time: 23-Oct-2006 19:40:52 Start time: 24-Oct-2006 08:43:53 End time: 24-Oct-2006 08:50:29 Elapsed time: 6 mins 36 secs Timeout after 6 and a half minutes,ERR=No route to host ; thats OK. But if the Client resides in a different IP-Subnet is says: 25-Oct 02:39 Bacula-dir: Start Backup JobId 3070, Job=StudentA1080_A.2006-10-24_18.00.11 25-Oct 02:45 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Warning: bnet.c:853 Could not connect to File daemon on 192.168.30.33:9102. ERR=Connection timed out Retrying ... 25-Oct 04:18 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Fatal error: bnet.c:859 Unable to connect to File daemon on 192.168.30.33:9102. ERR=Connection timed out 25-Oct 04:18 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Error: Bacula 1.38.11 (28Jun06): 25-Oct-2006 04:18:47 ... Scheduled time: 24-Oct-2006 18:00:10 Start time: 25-Oct-2006 02:39:16 End time: 25-Oct-2006 04:18:47 Elapsed time: 1 hour 39 mins 31 secs Timeout after 1 hour and 40 minutes, ERR=Connection timed out; thats a little bit long. I have observed many log entries and its always the same: same subnet = 6 m different subnet =1:40 h. There is no packet filtering between the subnets. Has anyone experienced an behavior like that? Has anyone a hint for me how to shorten this 1:40 h timeout. Thank you for your help. Marc -- Marc Brückner Institute of Shipping Economics and Logistics Mail to: [EMAIL PROTECTED] Universitaetsallee GW 1 Block APhone: +49 421 22096-67 28359 Bremen Fax: +49 421 22096-55 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Storage-Space usage] Prevent duplicate file-backups?
Tijl Van den Broeck wrote: It would indeed be a great space saving feature. But I wouldn't place my bet only on md5sums, it has been proven that there -could- occur false matches. There has to be some additional checking as well, starting with the filename. The chances of a duplicate md5sum in the same filename, while having different contents, are so small I doubt it would ever occur. Yes yes, Murphy's Law, I know, but realistically... would it ever occur? Filename match doesn't necessarly need to be a 1-1 check, but more of a pattern check, when a file is copied and renamed, a part of the original name is mostly kept. Tijl Van den Broeck On 10/25/06, Hristo Benev [EMAIL PROTECTED] wrote: If this is not possible with current version it is a very good request for feature. Probably this can be done with md5sum'ing - works even if files are renamed, and just linking files in catalog... Yes, it will require little bit more processing power, but it could save a lot of space. -- Hristo Benev IT Manager WAVEROAD Partners in Telecommunications 514-935-2020 x225 T 514-935-1001 F www.waveroad.ca [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users SHA1SUM could be used instead md5sum, but the time consumed is 4 times bigger (31M tar.gz file). Probably the best way will be diff (fastest). I do not think that 2 files with same size will have different md5sum but as Tijl Van den Broeck said Murfphy's law is here :). Having checksum (md5 or sha1) will help in case that the same file is on 2 servers like (i386 folder in Windows) so just checksum could be send and director could prevent sending the file over the network(imagine bandwidth savings if this is over wan link). And this could help bacula add a feature - sort of CDP (continuous data protection). -- Hristo Benev IT Manager WAVEROAD Partners in Telecommunications 514-935-2020 x225 T 514-935-1001 F www.waveroad.ca [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Storage-Space usage] Prevent duplicate file-backups?
I have seen this discussed in this list before and I believe there are several problems on top of the small chance that a file will have the same size and same md5sum but different contents. One is do we only search (for dups) in the current backup job or volume or do we include other backups and other volumes. If we inclulde other backups how do we handle the case where a file from job X is on a volume from job Y because of a duplicate and now some user has purged that volume that contains job Y. John - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Labeling problem
Thanks mt worked! Eric _ From: Ryan Novosielski [EMAIL PROTECTED] To: Eric Yellin [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Sent: Thursday, October 19, 2006 8:29 PM Subject: Re: [Bacula-users] Labeling problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Check the documentation on the 'relabel' command. If that does not suit, do an 'mt rewind' and 'mt weof'. See `man mt` if you need assistance. Eric Yellin wrote: I installed Bacula and labeled a few tapes. After playing around with it a bit I deleted the database and re-created it. When trying to run a backup I got the following: Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: Tape-Drive1 (/dev/sa0) Media type: DLT-1 Pool: Default The volumes are already labeled and therefore I cannot label them: Cannot label Volume because it is already labeled: volume:1 Since I deleted the database, I can't use the purge or relabel commands either. How can I proceed and relable the already labeled volume that is not in the database? Thanks, Eric - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer III |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFN8QJmb+gadEcsb4RAl/rAJ9hCuBLv070DxRw4JNyFn0rdrvX5gCcDVXt yCZRklAK4oIegspbJXyDzw8= =xh9f -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Moving to a new machine
On Fri, Oct 20, 2006 at 07:24:57AM -0400, Dan Langille wrote: On 19 Oct 2006 at 22:01, Ross Boylan wrote: I have a new machine where I want to run bacula (that is the director, the storage pools, the database), and wonder if anyone has any advice on how to move over to it. For example, would this work? 1) install bacula 2) copy configuration files (*.conf) from old machine 3) migrate my database from the old machine (I'm using PostgreSQL). The old machine is using an older version of the database, so I'd like to migrate to the newer version at the same time. 4) copy the spool directory to which I write disk backups to the new machine. Copy may not be necessary. Just creating the directories should be enough. The pool directory should be empty when jobs are not running. I meant copying the contents of the spool directory. The layout of of the two machines will be similar. I'm using bacula-director-pgsql 1.38.11-6 on Debian. I backup to disk, and intermittently burn the disk files to DVD. I see there's been some discussion of a migration feature, but that looks as if it's oriented to a different problem, and it seems only to be in 1.39. Does bacula know (in the DB, presumably) what machine particular files or backups came from? Put differently, if I go through the above procedure, will bacula running on the new machine think the records in the database are talking about the new machine, or the old one? You'll also be moving the bacula-sd I think, because you're moving the volumes etc. Yes. If it thinks they are from the old machine (which seems likely), is it possible to fake it out by changing the value of 1 or more fields in the DB? Would that be a good idea--for example, the new machine does not have exactly the same files as the old, so I could see bacula getting confused by fakes. The Volumes are known by the Storage Daemon. So long as you keep both the SD and the Volumes on the same machine (in general), you'll be fine. Will the new box have a different hostname/IP address? Remember to update the Address fields if so. New hostname, and probably new IP. Good point. Is this a reference to the field in the conf files only, or is there a similar field in the database? Will you be keeping both the old and new running at the same time, if only for a while? The old one will continue running, but will probably be on only intermittently. Among other things, I'll probably keep duplicate backups there, as I've been copying the backups (the spool directory) to the new machine now. Thanks. Ross - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] prune volumes
hi all, my goal is to make a backup from all servers with the same volume per day. i have a autochanger with 7 tapes. i use one volume per day and recycle the volume every new week. my problem is now, if the new volume are used a second time it wasn`t pruned and fills. i always need to purge the volume from the console for recycle. i set the retention to 5 days, so it shuld be autopruned the day before. can anyone help me out ? here are a example for one day : JobDefs { Name = webserver1 montag Type = Backup Level = INCREMENTAL Client = webserver1 FileSet = hardenedweb Schedule = montag Storage = Autochanger Messages = Standard Pool = montag Priority = 10 Prune Jobs = yes Prune Files = yes Prune Volumes = yes } Client { Name = webserver1 Address = webserver1 FDPort = 9102 Catalog = MyCatalog Password = File Retention = 5 days Job Retention = 5 days AutoPrune = yes } Pool { Name = montag Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 5 days Accept Any Volume = no Recycle Current Volume = yes } i use this for all days (7 times) -- -- NativeMail System --- -- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Irregular backups
Hi alll, I have the need to backup a laptop that is connected to the network at irregular intervals, which precludes any form of scheduling. Does anyone have a means of backing up at, say an hour after logging into the network, or of connecting to the server. I have a user who is frequently away from the network and never leaves the laptop connected to the network overnight. Therefore I need to stimulate the backup automatically without the users intervention or mine. The laptop runs windoze, so I need the means of triggering a script, etc. Any ideas TIA, Paul - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Irregular backups
Hi alll, I have the need to backup a laptop that is connected to the network at irregular intervals, which precludes any form of scheduling. Does anyone have a means of backing up at, say an hour after logging into the network, or of connecting to the server. I have a user who is frequently away from the network and never leaves the laptop connected to the network overnight. Therefore I need to stimulate the backup automatically without the users intervention or mine. The laptop runs windoze, so I need the means of triggering a script, etc. Any ideas TIA, Paul - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] using Fifo for backup, restore
Has anybody successfully used the Fifo device type for backup and restore? I've been able backups working (I think) but when I try to restore, it says that it's looking for a particular volume on the fifo device. The backup data that I'm cat'ing into the device doesn't seem to satisfy bacula. I am using the same storage and media type for backup and restore, and using the job's RunBeforeJob to cat data from (backup) and to (restore) the fifo. I'll post what I have for job and storage definitions, but first I'd like to just find out if anybody has made the Fifo device type work successfully for both backup and restore. -- . signature.asc Description: This is a digitally signed message part - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File Daemon port not open on linux
Hi there thanks for getting back to me. The contents of the Bacula-dir.conf file are as follows: I have only shown part of the password for obvious reasons. Director {# define myself Name = bacula-dir DIRport = 9101# where we listen for UA connections QueryFile = /usr/local/bacula/bin/query.sql WorkingDirectory = /usr/local/bacula/bin/working PidDirectory = /usr/local/bacula/bin/working Maximum Concurrent Jobs = 5 Password = huG6k9o0559 # Console password Messages = Daemon } Many thanks Luke -Original Message- From: Dan Langille [mailto:[EMAIL PROTECTED] Sent: 23 October 2006 12:30 To: Luke Taylor Subject: RE: [Bacula-users] File Daemon port not open on linux Please remember to CC the mailing list. Include the Director resource from bacula-dir.conf ... i.e. Director {# define myself Name = bacula-dir On 23 Oct 2006 at 12:01, Luke Taylor wrote: Hi there The service is running and the port is now open, but I am still getting errors when attempting to connect to the file Daemon. My bacula-dir.conf file on the bacula server contains the following client definition for the file daemon: Client { Name = twiki01-fd Address = 10.26.13.113 FDPort = 9102 Catalog = MyCatalog Password = 123 File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } Please note the password is one that I have put in myself. The bacula-fd.conf file on the file daemon contains the following: # List Directors who are permitted to contact this File daemon # Director { Name = bacula-dir Password = 123 } I am still unable to connect when running a job, I get the following error: 23-Oct 11:58 bacula-dir: *Console*.2006-10-23_11.58.04 Fatal error: Unable to authenticate with File daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Please see http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors for help. Have you any ideas on this, I have looked around the internet but can't seem to find anything, I think it may be something to do with the password but I am unsure what the file daemon password is set as because it generates a random password during setup. Your help is appreciated. Regards Luke -Original Message- From: Dan Langille [mailto:[EMAIL PROTECTED] Sent: 19 October 2006 19:45 To: Luke Taylor Cc: bacula-users Subject: Re: [Bacula-users] File Daemon port not open on linux On 19 Oct 2006 at 16:00, Luke Taylor wrote: Good afternoon I have Bacula installed on a CentOS machine. It is backing up fine, and is also backing up my Windows workstation. I am experiencing a problem when trying to back up another linux machine. I have sent over the bacula-fd binaary file and also bacula-fd.conf. I have configured bacula-fd.conf to match the server, and have run the binary as per intructions on Bacula's website. When trying to connect from the Bacula server I get an error saying: 17-Oct 15:55 bacula-dir: TwikiBackup.2006-10-17_15.55.20 Fatal error: Unable to authenticate with File daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). The passwords are fine, the daemon has been restarted and there are no other jobs running (although the max concurrent is set to 5 just to make sure) When running a netstat on the linux file daemon I can see that the port the director is trying to connect on isn't running. Is there something I am missing with the install as I am unable to find anything on the web to help me with this. Verify that bacula-fd is running: ps auwx | grep bacula-fd -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] cannot connect to the director
Hi all, I am running windows 2003 operating system. Recently, downloaded and installed Bacula - 1.39.26 ..I get bacula(client) and Bacula(storage) on my system tray.When i start wx-console from my start-programs-Bacula i get : connecting . Failed to connect to the director Can anyone help me to fix this issue and tell how to take backup in bacula...-- Thanks,araskumar.a - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] IBM Domino Notes online backup under Linux/UNIX
Hi, as the topic came up some days ago: Anyone looking for an online backup of Domino .nsf/.ntf databases under Linux/UNIX should take a look at http://domino.voigt.tv . There you find a tool named dbbackup which facilitates the Domino C API Toolkit to properly switch databases to backup mode and then copying them to some backup path. It can be easily integrated with e.g. bacula . Futher background information can be found here: Part I: Online Backup of databases with the C API Example http://smoki.atblogs.de/index.php?op=ViewArticlearticleId=798blogId=82 http://smoki.atblogs.de/index.php?op=ViewArticlearticleId=798blogId=82 http://smoki.atblogs.de/index.php?op=ViewArticlearticleId=827blogId=82 Hope that is interesting, WR, Bruno -- [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] 2 full backups in a row
Hi Here is my situation. Once a month I run a full backup on a FULL pool. Then the monday after I run an Incremental backup on an INCREMENTAL pool and of course it first run a FULL backup which take more than one night. This situation is not good. I use a different pool for the FULL backups to be able to take them away from the company. How can I avoid to run 2 FULL backups in a row ?? Thanks for your advice Raphael - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula with vxa tapeloader with firewire
Hello, Is bacula able to work with a firewire port instead of SCSI ? Thank you Raphael - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Irregular backups
In response to Paul Constable [EMAIL PROTECTED]: Hi alll, I have the need to backup a laptop that is connected to the network at irregular intervals, which precludes any form of scheduling. Does anyone have a means of backing up at, say an hour after logging into the network, or of connecting to the server. I have a user who is frequently away from the network and never leaves the laptop connected to the network overnight. Therefore I need to stimulate the backup automatically without the users intervention or mine. The laptop runs windoze, so I need the means of triggering a script, etc. I've managed to work around this with clever scheduling. By setting reschedule on error to 1 hour, setting the backup to start at 9:00 AM and setting the system to reschedule 9 times, we get most of our mobile users most of the time that they are in. The upshot is that it tries to initiate a backup every hour between 9:00 AM and 6:00 PM. Not the perfect solution, but it's working OK for us. -- Bill Moran Collaborative Fusion Inc. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Special characters on Ms Windows filenames...
Hello, On languages such as the Portuguese language there are special characters with accute accent or circumflex accent, such as ÃÁ ç (hope you see them correctly). When backing up windows files with filenames with characters such as those, bacula (?) translate the to different characters. For instance: On windows File System: C:\Documents and Settings\Administrator\My Documents\susana\backups\susana\serviço/susana\documentação\ Bacula(?) Translation: C:/Documents and Settings/Administrator/My Documents/susana/backups/susana/serviço/susana/documentação/ When I restore them, the filenames are correctly restored to their original name. So that means that bacula seems to handle correctly those characters. My problem is that I'm trying to set one directory for backup(on the file set) which have those kind of characters, but bacula (or the system) cant get there File option on file set: File = C:/Documents and Settings/Susana Magalhães What i get when trying to back it up: 26-Oct 15:43 GSI01-fd: Could not stat C:/Documents and Settings/Susana Magalhães/: ERR=O sistema não conseguiu localizar o ficheiro especificado. Which means ERR=The system cannot find the path specified. If I use the translation bacula does, File option on file set would be like this: File = C:/Documents and Settings/Susana Magalhães And it works. So, whenever there's a folder with those special characters, I need to do that translation Is there a easy way to overcome this situations? This seems to be a charset problem. But how can I solve it? Thanks -- Jaime Ventura [Infra-estruturas e Comunicações] Rua Dr. António Bernardino de Almeida, 431 4200 - 072 Porto Telef: +351 22 834 05 00 (04) - ext. 1641 Fax: +351 22 832 11 59 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] url:www.isep.ipp.pt http://www.isep.ipp.pt - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Storage-Space usage] Prevent duplicate file-backups?
John Drescher wrote: I have seen this discussed in this list before and I believe there are several problems on top of the small chance that a file will have the same size and same md5sum but different contents. One is do we only search (for dups) in the current backup job or volume or do we include other backups and other volumes. If we inclulde other backups how do we handle the case where a file from job X is on a volume from job Y because of a duplicate and now some user has purged that volume that contains job Y. John - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users My opinion is that as backup solution we could check only in one volume, but on one volume we could have information from more file daemons. Otherwise we will have problems with volume retention and this is true mainly for removable storage (tapes, external drives...). With file system storage we could use an algorithm similar to CDP to limit the number of copies that are held in storage or age and because file system is randomly accessible and always available it will be easy to copy data. Or if database type storage type is used (why not) we could just create/delete links to a row. About searching for duplications it will be just comparing a checksum this could be done fast in SQL with b-tree indexes (I think) and if found file is not transmitted over the network, just the relevant info (filename, location, permissions etc...) -- Hristo Benev IT Manager WAVEROAD Partners in Telecommunications 514-935-2020 x225 T 514-935-1001 F www.waveroad.ca [EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Can't write to the tape
Hi, On 10/26/2006 3:13 AM, Greg Little wrote: Thanks for the patch, I implemented the changes and set the tapes back to nst0 Now I am getting: waiting for a mount request so I do a mount, get: 3001 OK mount. Device=LTO-2 (/dev/nst0) But it just sits at the waiting for mount request. This is where I usually try umount/mount, and then get the BLOCKED media. Is it possible that the tape Bacula requests is not in the autochanger? You should have an operator mail requesting a certain tape. Make sure you insert a tape from the pool required, and make sure you inform Bacula of the tape change, i.e. issue an 'update slots' command. So if I upgrade to 1.39.26, am I going to have to dump my database and then import it back in? No. I thought that there are a lot of changes between 38 and 39 Yes. so I am not sure if I am going to be able to move up, and I have a bunch of old backups from 38 that I don't want to lose. You won't lose any backups when you follow the documented upgrade path: Install new Bacula version, run catalog upgrade script, start Bacula, try if everythin works, if it doesn't restore your old version, your catalog, and report a bug. BTW: I would not recommend 1.39 for production use yet as I see some issues I find hard to analyze. For example, the DIR seems to have a serious memory leak in certain situations, Can you explain the above as I don't have any credible reports of memory leaks in the Director (but *possibly* in the tray monitor) -- i.e. there are no open bug reports as of the beginning of my vacation. and the SD sometimes blocks waiting for jobs tapes without any possible way of getting it to continue... I'd also like more information on this, unless you are referring to the bug report open on this which is triggered by Always Open=no. And I agree with you that 1.39, is not yet ready for critical production. Is there an upgrade from 38 to 39 doc? I looked and couldn't find one. The ReleaseNotes file, and IIRC there is some documentation of the catalog upgrade scripts. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Best regards, Kern - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula tailored emails and monitoring
DAve, Yes. I'm interested in it. We use Cacti and are expanding its use across the board so this is something that I will most likely need to do in the near future. Any tips/tricks you've discovered would be most helpful. Thanks in advance. Ian W. Parker DAve [EMAIL PROTECTED] 10/20/2006 12:02 PM DAve wrote: Good morning, Maybe this is really three requests but I think they are all related. I've been given a work order to report on Bacula results. 1, to send a client email when Bacula completes a backup job. This email, unlike the one I and my support staff receive, should only report completion and the total bytes written by the SD. This I think is easy enough using the current resources to send the data to a script which will parse out the rest of the normal Bacula message retaining just the info I want. My question would be, what exactly is the data sent to bsmtp? I can capture it but I was hoping it was documented somewhere. 2, is there a way to test Bacula reporting? If I know the answer to #1 I could of course just create a file and p ipe it to my script. Unless there is some way to test this already without running a job. 3, I need to send the data from each backup to Cacti for monitoring. I had at first thought a runafterjob would be the answer, and if so I can't figure out where to get the total bytes written value. I've looked through the manual paying attention to the section http://bacula.org/rel-manual/Tips_Suggestions.html#SECTION000353000 Though now I think a daily cron job along the lines of the bacula-src/example/report.pl might be a better idea. If others are doing this are there any suggestions?Looking through the manual again and checking some others scripts I think a SQL query posting the required data to a DB is the best way to handle Cacti monitoring. I'll pursue that route. Anyone interested in what I come up with?DAve-- Three years now I've asked Google why they don't have alogo change for Memorial Day. Why do they choose to do logosfor other non-international holidays, but nothing forVeterans?Maybe they forgot who made that choice possible.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Bacula-users mailing listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Can't write to the tape
So I issued update slots: 3306 Issuing autochanger list command. Invalid Slot number: /var/lib/bacula/mtx-changer: line 156: MTX: command not found Invalid Slot number: /var/lib/bacula/mtx-changer: line 156: -f: command not found Catalog record for Volume LD0009L2 updated to reference slot 1. Catalog record for Volume LD0029L2 updated to reference slot 2. Catalog record for Volume LD0001L2 updated to reference slot 3. Catalog record for Volume LD0011L2 updated to reference slot 4. Catalog record for Volume LD0012L2 updated to reference slot 6. Catalog record for Volume LD0003L2 updated to reference slot 7. Catalog record for Volume LD0015L2 updated to reference slot 8. Catalog record for Volume LD0021L2 updated to reference slot 9. Catalog record for Volume LD0027L2 updated to reference slot 10. Catalog record for Volume LD0007L2 updated to reference slot 12. Catalog record for Volume LD0026L2 updated to reference slot 13. Catalog record for Volume LD0024L2 updated to reference slot 14. Catalog record for Volume LD0005L2 updated to reference slot 15. Catalog record for Volume CLNU00L2 updated to reference slot 16. As you can see, the one I am looking for is LD0012L2, which is in slot 6. The error is about the barcode labeler, which was suggested earlier, so I just commented that back out. The tape drive moves the tape into the slot: 26-Oct 10:09 fluffy-sd: 3305 Autochanger load slot 6, drive 0, status is OK. 26-Oct 10:09 fluffy-sd: 3301 Issuing autochanger loaded drive 0 command. 26-Oct 10:09 fluffy-sd: 3302 Autochanger loaded drive 0, result is Slot 6. 26-Oct 10:09 fluffy-sd: Please mount Volume LD0012L2 on Storage Device LTO-2 (/dev/nst0) for Job fluffy.2006-10-25_18.07.22 I get an email: 26-Oct 10:09 fluffy-sd: Please mount Volume LD0012L2 on Storage Device LTO-2 (/dev/nst0) for Job fluffy.2006-10-25_18.07.22 And I issue another mount command, now the right tape is in the slot, and the status says: 2971 Increme fluffy.2006-10-25_18.07.22 is waiting for a mount request And I get another email about mounting the tape. Is there a deeper level of debugging that I can figure out what the disconnect is here? I set the debug level to 100 on storage, but it doesn't return anything other than what it already says. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald Sent: Thursday, October 26, 2006 9:35 AM To: Arno Lehmann Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Can't write to the tape Hi, On 10/26/2006 3:13 AM, Greg Little wrote: Thanks for the patch, I implemented the changes and set the tapes back to nst0 Now I am getting: waiting for a mount request so I do a mount, get: 3001 OK mount. Device=LTO-2 (/dev/nst0) But it just sits at the waiting for mount request. This is where I usually try umount/mount, and then get the BLOCKED media. Is it possible that the tape Bacula requests is not in the autochanger? You should have an operator mail requesting a certain tape. Make sure you insert a tape from the pool required, and make sure you inform Bacula of the tape change, i.e. issue an 'update slots' command. So if I upgrade to 1.39.26, am I going to have to dump my database and then import it back in? No. I thought that there are a lot of changes between 38 and 39 Yes. so I am not sure if I am going to be able to move up, and I have a bunch of old backups from 38 that I don't want to lose. You won't lose any backups when you follow the documented upgrade path: Install new Bacula version, run catalog upgrade script, start Bacula, try if everythin works, if it doesn't restore your old version, your catalog, and report a bug. BTW: I would not recommend 1.39 for production use yet as I see some issues I find hard to analyze. For example, the DIR seems to have a serious memory leak in certain situations, Can you explain the above as I don't have any credible reports of memory leaks in the Director (but *possibly* in the tray monitor) -- i.e. there are no open bug reports as of the beginning of my vacation. and the SD sometimes blocks waiting for jobs tapes without any possible way of getting it to continue... I'd also like more information on this, unless you are referring to the bug report open on this which is triggered by Always Open=no. And I agree with you that 1.39, is not yet ready for critical production. Is there an upgrade from 38 to 39 doc? I looked and couldn't find one. The ReleaseNotes file, and IIRC there is some documentation of the catalog upgrade scripts. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server
Re: [Bacula-users] File Table entries not pruned
On Thursday 26 October 2006 11:53, Martin Simmons wrote: On Wed, 25 Oct 2006 23:39:16 +0200, Christoph Haas said: On Wednesday 25 October 2006 23:18, Martin Simmons wrote: Yes, it sounds like a bug to me. Which database is that? Did Bacula do any pruning during the night? MySQL 4.1.11a on Debian Sarge. I intend to switch to PostgreSQL 8.1 anyway when I upgrade that machine to Debian Etch. I'm not entirely happy with MySQL. OK. Hopefully it doesn't lose SQL commands though! You mean whether the information in MySQL can be properly moved to PgSQL? That's surely a good question. And I don't know if that move is wise anyway. (/me eagerly awaits comments from happy pgsql users :) ) I think you should upgrade to Bacula 1.38.11 before investigating any further, because that contained a bug fix for pruning (see http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=613). I'll try that, too. It would be useful to remove the cron job one night and run dbcheck manually to list the orphaned File records and find the JobIds. Okay. How would I do that? Doesn't dbcheck just tell me the quantity of orphaned records? I just tried it: Select function number: 8 Checking for orphaned File entries. This may take some time! Found 176 orphaned File records. That's from last night where I incrementally backed up three hosts. 6 jobs were pruned according to the logs but no files were found to prune. If you switch on verbose mode then it will ask if you want to list them. Didn't work here. No verbose output at all. Then try to find out when the corresponding records with the same JobId were removed from the Job table (since that's what orphaned means for a File record). Uhm. Any hint on what to look for? The verbose file listing includes the jobid, so the first thing to check is that this is a sensible value and then check in your logs to see if that job was old enough to be pruned. Unfortunately the verbose flag doesn't change anything: - # /usr/sbin/dbcheck -c /etc/bacula/bacula-dir.conf Hello, this is the database check/correct program. Modify database is off. Verbose is off. Please select the fuction you want to perform. 1) Toggle modify database flag 2) Toggle verbose flag 3) Check for bad Filename records 4) Check for bad Path records 5) Check for duplicate Filename records 6) Check for duplicate Path records 7) Check for orphaned Jobmedia records 8) Check for orphaned File records 9) Check for orphaned Path records 10) Check for orphaned Filename records 11) Check for orphaned FileSet records 12) Check for orphaned Client records 13) Check for orphaned Job records 14) Check for all Admin records 15) Check for all Restore records 16) All (3-15) 17) Quit Select function number: 2 Verbose is on. 1) Toggle modify database flag 2) Toggle verbose flag 3) Check for bad Filename records 4) Check for bad Path records 5) Check for duplicate Filename records 6) Check for duplicate Path records 7) Check for orphaned Jobmedia records 8) Check for orphaned File records 9) Check for orphaned Path records 10) Check for orphaned Filename records 11) Check for orphaned FileSet records 12) Check for orphaned Client records 13) Check for orphaned Job records 14) Check for all Admin records 15) Check for all Restore records 16) All (3-15) 17) Quit Select function number: 8 Checking for orphaned File entries. This may take some time! Found 418925 orphaned File records. 1) Toggle modify database flag 2) Toggle verbose flag 3) Check for bad Filename records 4) Check for bad Path records 5) Check for duplicate Filename records 6) Check for duplicate Path records 7) Check for orphaned Jobmedia records 8) Check for orphaned File records 9) Check for orphaned Path records 10) Check for orphaned Filename records 11) Check for orphaned FileSet records 12) Check for orphaned Client records 13) Check for orphaned Job records 14) Check for all Admin records 15) Check for all Restore records 16) All (3-15) 17) Quit Select function number: - So right last night Bacula left 418,925 orphaned file records. :( I'll try to upgrade now. Christoph - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
Re: [Bacula-users] Can't write to the tape
On Thursday 26 October 2006 12:15, Greg Little wrote: 3306 Issuing autochanger list command. Invalid Slot number: /var/lib/bacula/mtx-changer: line 156: MTX: command not found Invalid Slot number: /var/lib/bacula/mtx-changer: line 156: -f: command not found I think you have the buggy version of mtx-changer in 1.38. One of the lines below in your script will only have MTX, not ${MTX} or $MTX, I don't remember which one by now. Edit the installed mtx-changer and fix that and see if that helps. It may not fix your mount problem, but it needs to be fixed in any case. # Enable the following if you are using barcodes and need an inventory ${MTX} -f $ctl inventory ${MTX} -f $ctl status ${TMPFILE} rtn=$? -- -- Michael - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Irregular backups
On Thu, 26 Oct 2006, Bill Moran might have said: In response to Paul Constable [EMAIL PROTECTED]: Hi alll, I have the need to backup a laptop that is connected to the network at irregular intervals, which precludes any form of scheduling. Does anyone have a means of backing up at, say an hour after logging into the network, or of connecting to the server. I have a user who is frequently away from the network and never leaves the laptop connected to the network overnight. Therefore I need to stimulate the backup automatically without the users intervention or mine. The laptop runs windoze, so I need the means of triggering a script, etc. I've managed to work around this with clever scheduling. By setting reschedule on error to 1 hour, setting the backup to start at 9:00 AM and setting the system to reschedule 9 times, we get most of our mobile users most of the time that they are in. The upshot is that it tries to initiate a backup every hour between 9:00 AM and 6:00 PM. Not the perfect solution, but it's working OK for us. What about putting something like an rsync in the laptop's login.bat of the roaming profile? When the laptop connects the data is copied to a machine on the network that is backed up regularly with bacula? Mike - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Exabyte Packetloader1x10 autochanger problems
I am trying to get bacula-sd 1.38.11 running on my debian sarge box (bacula via backports) using a Exabyte packetloader1x10 /w VXA-3 drive connected to a 39160 SCSI card. In the Testing your tape drive with bacula chapter i can write and read the drive with tar, the btape 'test' section works, and btape 'fill' works if manualy operate the changer with mtx for the second tape. The problems start with the btape 'auto' test where i recieve the following messages... === Autochanger test === 3301 Issuing autochanger loaded command. Slot 5 loaded. I am going to unload it. 3302 Issuing autochanger unload 5 0 command. unload status=OK 0 3303 Issuing autochanger load 1 0 command. 3303 Autochanger load 1 0 status is OK. 26-Oct 08:44 btape: 3301 Issuing autochanger loaded drive 0 command. 26-Oct 08:44 btape: 3302 Autochanger loaded drive 0, result is Slot 1. btape: btape.c:338 open device Exabyte320 (/dev/nst0): OK 26-Oct 08:44 btape: 3301 Issuing autochanger loaded drive 0 command. 26-Oct 08:44 btape: 3302 Autochanger loaded drive 0, result is Slot 1. btape: btape.c:1198 Bad status from rewind. ERR=dev.c:678 Rewind error on Exabyte320 (/dev/nst0). ERR=Input/output error. The test failed, probably because you need to put a longer sleep time in the mtx-script in the load) case. Adding a 30 second sleep and trying again ... 3301 Issuing autochanger loaded command. Slot 1 loaded. I am going to unload it. 3302 Issuing autochanger unload 1 0 command. unload status=OK 0 3303 Issuing autochanger load 1 0 command. 3303 Autochanger load 1 0 status is OK. 26-Oct 08:55 btape: 3301 Issuing autochanger loaded drive 0 command. 26-Oct 08:55 btape: 3302 Autochanger loaded drive 0, result is Slot 1. btape: btape.c:338 open device Exabyte320 (/dev/nst0): OK 26-Oct 08:56 btape: 3301 Issuing autochanger loaded drive 0 command. 26-Oct 08:56 btape: 3302 Autochanger loaded drive 0, result is Slot 1. 26-Oct 08:56 btape: Fatal Error at dev.c:1525 because: dev.c:1524 Attempt to WEOF on non-appendable Volume btape: btape.c:1198 Bad status from rewind. ERR=dev.c:1524 Attempt to WEOF on non-appendable Volume the second block just repeats over and over. From how i read that it sounds like the tape is write protected, yet when i drop out the test and try to write to the tape it has just loaded with tar, it works with no issues. This is how my Autochanger and Device resouce look... Autochanger { Name = DevserverPacketloader Device = VXA3Drive Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d Changer Device = /dev/sg2 } Device { Name = VXA3Drive Drive Index = 0 Media Type = VXA Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Hopefully i am doing something glaringly wrong here, any suggestions? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Exabyte Packetloader1x10 autochanger problems
On 2006-10-26 12:10:33 -0700, Ryan Parrish [EMAIL PROTECTED] said: Device { Name = VXA3Drive Drive Index = 0 Media Type = VXA Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Figured it out (well it's working now, dont know if i 'figured it out' ;-) ). By adding a 'Device Type = Tape' to the device resource the btape 'auto' test works, and 'label barcodes' works in the console. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Authorization error
Got Debian version of bacula installed. Got Debian mysql installed. Successfully ran mtx to load tape in HP 1200E DDS Library. Successfully ran mt to rewind tape in 1200E. Successfully ran tar to write and then read back from tape in 1200E. Successfully configured bacula-sd.conf to talk to the HP 1200E Autochanger Successfully got btape to run 'test' against the 1200E including autochanger test. Logged into mysql and saw the bacula database see that bacula has successfully created a database populated with tables. However bconsole fails with: /etc/bacula # bconsole Connecting to Director hpcvsjpg:9101 26-Oct 13:50 bconsole: Fatal error: bnet.c:859 Unable to connect to Director daemon on hpcvsjpg:9101. ERR=Connection refused I have searched this list for bconsole authorization issues, and have found lots of people having this problem, however have not found that anyone ever had a solution. Also checked: http://www.bacula.org/rel-manual/faq.html#AuthorizationErrors and verfied the Name/Password/MediaType/Device were set the same and corrctly throughout as indicated. This is frustrating to say the least. I have a few questions: 1 - How does one get bconsole to actually connect to the director? 2 - Where can the System Admin change the passwords to something other than what was installed by default? Seems like a big security hole, to have a password to my data backup system that I don't know the password for nor how to change it. Details: Debian 3.1 Kernel 2.6.17.1 Bacula Version 1.38.11 Mysql Version 5.0.24 TIA, -jpg - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Exabyte Packetloader1x10 autochanger problems
On 2006-10-26 15:18:18 -0700, Ryan Parrish [EMAIL PROTECTED] said: On 2006-10-26 12:10:33 -0700, Ryan Parrish [EMAIL PROTECTED] said: Figured it out (well it's working now, dont know if i 'figured it out' ;-) ). By adding a 'Device Type = Tape' to the device resource the btape 'auto' test works, and 'label barcodes' works in the console. Spoke too soon :-( The auto test now passes every time and the when i ran the 'label barcodes' it worked for the first tape it encountered but failed on each tape after, and now fails every time on each tape when i run it (it skips the first one that is already cataloged) with the following output console output Sending label command for Volume B008 Slot 3 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 2. 3307 Issuing autochanger unload slot 2, drive 0 command. 3304 Issuing autochanger load slot 3, drive 0 command. 3305 Autochanger load slot 3, drive 0, status is OK. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 3. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 3. 3912 Failed to label Volume: ERR=dev.c:678 Rewind error on VXA3Drive (/dev/nst0). ERR=Input/output error. Label command failed for Volume B008. /console output I noticed another fellow (John Felczak) having similar issues with a packetloader a few days back, did those every get worked out? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Exabyte Packetloader1x10 autochanger problems
On 2006-10-26 15:18:18 -0700, Ryan Parrish [EMAIL PROTECTED] said: On 2006-10-26 12:10:33 -0700, Ryan Parrish [EMAIL PROTECTED] said: Figured it out (well it's working now, dont know if i 'figured it out' ;-) ). By adding a 'Device Type = Tape' to the device resource the btape 'auto' test works, and 'label barcodes' works in the console. Spoke too soon :-( The auto test now passes every time and the when i ran the 'label barcodes' it worked for the first tape it encountered but failed on each tape after, and now fails every time on each tape when i run it (it skips the first one that is already cataloged) with the following output console output Sending label command for Volume B008 Slot 3 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 2. 3307 Issuing autochanger unload slot 2, drive 0 command. 3304 Issuing autochanger load slot 3, drive 0 command. 3305 Autochanger load slot 3, drive 0, status is OK. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 3. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 3. 3912 Failed to label Volume: ERR=dev.c:678 Rewind error on VXA3Drive (/dev/nst0). ERR=Input/output error. Label command failed for Volume B008. /console output I noticed another fellow (John Felczak) having similar issues with a packetloader a few days back, did those every get worked out? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Exabyte Packetloader1x10 autochanger problems
Ryan, i'm using Bacula 1.38.5, SuSE 9.3, VXA-320 Packetloader 1U10 and it works fine with this configuration: Storage-Part in bacula-dir.conf Storage { Name = VXA-320 Address = somehost.anywhere SDPort = 9103 Password = changed Device = VXA-320# must be same as Device in Storage daemon Media Type = X-23 # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device } Autochanger Device part in bacula-sd.conf # # Devices # # Autochanger Exabyte Packetloader 1Ux10 Autochanger { Name = Exabyte Packetloader 1Ux10 Device = VXA-320 Changer Command = etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg3 } # Tape Exabyte VXA-320 Device { Name = VXA-320 Drive Index = 0 Media Type = X-23 Archive Device = /dev/nst0 AutomaticMount = yes; AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = yes # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Ryan Parrish schrieb: On 2006-10-26 15:18:18 -0700, Ryan Parrish [EMAIL PROTECTED] said: On 2006-10-26 12:10:33 -0700, Ryan Parrish [EMAIL PROTECTED] said: Figured it out (well it's working now, dont know if i 'figured it out' ;-) ). By adding a 'Device Type = Tape' to the device resource the btape 'auto' test works, and 'label barcodes' works in the console. Spoke too soon :-( The auto test now passes every time and the when i ran the 'label barcodes' it worked for the first tape it encountered but failed on each tape after, and now fails every time on each tape when i run it (it skips the first one that is already cataloged) with the following output console output Sending label command for Volume B008 Slot 3 ... 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 2. 3307 Issuing autochanger unload slot 2, drive 0 command. 3304 Issuing autochanger load slot 3, drive 0 command. 3305 Autochanger load slot 3, drive 0, status is OK. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 3. 3301 Issuing autochanger loaded drive 0 command. 3302 Autochanger loaded drive 0, result is Slot 3. 3912 Failed to label Volume: ERR=dev.c:678 Rewind error on VXA3Drive (/dev/nst0). ERR=Input/output error. Label command failed for Volume B008. /console output I noticed another fellow (John Felczak) having similar issues with a packetloader a few days back, did those every get worked out? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula not loading autochanger (lots more info)
John, maybe you try the Exabyte Tools vxaTool and libTool. vxaTool for the Tape libTool for the changer Download these from Exabyte-Website. For commandline options check the readme in the archive. if libTool does not show you some information about the barcode on tape in slot 8 its a problem with the label or the barcodereader. Have you had a look at the tape or barcode-label? John Felczak schrieb: Restarted the bacula daemons now that I fixed the path problem in tha bacula user's environment, hoping that had fixed things, but still no joy. Update slots still weirds out on the slot numbers and forgets about slot 8 entirely as before. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Fwd: Authorization error
-- Forwarded message --From: John Drescher [EMAIL PROTECTED]Date: Oct 26, 2006 11:20 PM Subject: Re: [Bacula-users] Authorization errorTo: jpg [EMAIL PROTECTED]Are you 100% sure that the director is actually running?ps -ef | grep bacula -- John M. Drescher - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Different timeouts in different subnets
This is due to the algorithm used by Bacula to do connect timeouts. It isn't really a timeout, it is really a retry count. If you take the connect timeout in seconds and divide it by 10 you get the number of retries. It doesn't account for the time spent in the connect call. If the connect took zero amount of time to fail, the two would be the same thing. To make matters worse, the connect call takes a different amount of time to fail depending on whether or not a switch is involved. So in your case, 5 minutes is equal to 300 seconds, divided by 10 equals 30. So you will get 30 retries. Now, on the same subnet, it takes 6 minutes and 36 seconds to do 30 retries. So it takes 1 minute and 36 seconds for 30 calls to connect to fail or roughly 3 seconds per try. On different subnets, it takes 1 hour 39 minutes and 31 seconds or 189 seconds or roughly 3 minutes per try. The reason for the differences is probably caching on the switch. I suspect that in the same subnet case the arp is failing (so the IP address can't be converted to an Ethernet address), in the other case the switch is responding to the arp and a higher level (and longer timeout) is coming into play, probably the TCP connect timer. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Brückner Sent: Thursday, October 26, 2006 5:45 AM To: bacula-users@lists.sourceforge.net Cc: Knischka; Holger Luedecke Subject: [Bacula-users] Different timeouts in different subnets Hi @ all Bacula users, I am using Bacula for several year now and I am really satisfied with it. But now I have a strange Problem. I am not sure but I think it first occurred since I updated from version 1.36 to 1.38 . Now I am running 1.38.11 My Bacula has to backup several WinXP clients over night. When the client runs, there is no problem and the backup is done properly. But if the users switch off their clients ( what happen often, unfortunately ) the duration of the timeout depends on the IP-Subnet the client is in . I have the following Timeout settings in the bacula-dir.conf FD Connect Timeout = 5 minutes SD Connect Timeout = 5 minutes If the Client is in the same IP-Subnet as the Bacula-director, the director tells: 24-Oct 08:43 Bacula-dir: Start Backup JobId 3040, Job=StudentA2190_A.2006-10-23_19.40.53 24-Oct 08:44 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Warning: bnet.c:853 Could not connect to File daemon on 192.168.10.67:9102. ERR=No route to host Retrying ... 24-Oct 08:50 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Fatal error: bnet.c:859 Unable to connect to File daemon on 192.168.10.67:9102. ERR=No route to host 24-Oct 08:50 Bacula-dir: StudentA2190_A.2006-10-23_19.40.53 Error: Bacula 1.38.11 (28Jun06): 24-Oct-2006 08:50:29 ... Scheduled time: 23-Oct-2006 19:40:52 Start time: 24-Oct-2006 08:43:53 End time: 24-Oct-2006 08:50:29 Elapsed time: 6 mins 36 secs Timeout after 6 and a half minutes,ERR=No route to host ; thats OK. But if the Client resides in a different IP-Subnet is says: 25-Oct 02:39 Bacula-dir: Start Backup JobId 3070, Job=StudentA1080_A.2006-10-24_18.00.11 25-Oct 02:45 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Warning: bnet.c:853 Could not connect to File daemon on 192.168.30.33:9102. ERR=Connection timed out Retrying ... 25-Oct 04:18 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Fatal error: bnet.c:859 Unable to connect to File daemon on 192.168.30.33:9102. ERR=Connection timed out 25-Oct 04:18 Bacula-dir: StudentA1080_A.2006-10-24_18.00.11 Error: Bacula 1.38.11 (28Jun06): 25-Oct-2006 04:18:47 ... Scheduled time: 24-Oct-2006 18:00:10 Start time: 25-Oct-2006 02:39:16 End time: 25-Oct-2006 04:18:47 Elapsed time: 1 hour 39 mins 31 secs Timeout after 1 hour and 40 minutes, ERR=Connection timed out; thats a little bit long. I have observed many log entries and its always the same: same subnet = 6 m different subnet =1:40 h. There is no packet filtering between the subnets. Has anyone experienced an behavior like that? Has anyone a hint for me how to shorten this 1:40 h timeout. Thank you for your help. Marc -- Marc Brückner Institute of Shipping Economics and Logistics Mail to: [EMAIL PROTECTED] Universitaetsallee GW 1 Block APhone: +49 421 22096-67 28359 Bremen Fax: +49 421 22096-55 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users