[Bacula-users] Re: What devices SD needs to access?
Hmmm. It is probably better to run that way, but I still don't understand why the previous setup didn't work unless there was something wrong with the gid bacula or it didn't actually get added to the disk group. I think it is because the drop() function calls setgroups() with the selected gid, so even if the bacula user is a member of the disk group in /etc/group, the process is not in that group. At least I think that's what setgroups() does. The members listed in /etc/group only affect callers of the initgroups() function, such as login or su. I must admit I really don't know for sure how these things work. But I assumed that since the process accessing the tape was running with uid bacula, and _user_ bacula belongs to group disk (/etc/group), that process should have been able to access the tape drive that had rw permissions for group disk. I've been thinking these rights would have been checked just at the time the process accesses the device. So, the way how I thought it was that the gid of the process even wasn't supposed to affect to anything. But this might have been a wrong idea from me. -- TiN --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] different questions and feature requests...
Timo Eissler wrote: Hello list, we use bacula in our firm and it work great, but we had a lot of questions before we can install bacula at our customers. The problem is that bacula needs in our mind a system operator to control bacula and we are our customers operator, but normally they want to change their tapes themselves because every hour we work for them costs money. We think these features should be added to bacula before we can install bacula at our customers and let a normal user change tapes and control the backup. A normal user we think could not work with the bconsole, he just can read emails and change tapes. 1. It should be possible to show the tapes who should go into an fireproof safe or another building with which a complete restore of all data (regardless how much pools or jobs exist). 2. Which tapes should be inserted for the next jobs (maybe the hole week). I think the best way to realise this is to get a list with all tapes from all pools in the order bacula wants to use them. Now the normal user can choose which tapes he must insert (he will know how much tapes from which pool because we can say it to him or he can read it in our documenation). 3. Automatically cleaning of the tape drive. (after x used tapes, x GB or maybe every saturday) I think this can be scripted and scheduled with an admin job, but we think this should be a function of bacula. no. new tape drives aks for cleaning tape with a special LED, also manufacurer tells you only to use cleaning tape when asked for it Another problem we had is the way bacula will check the Volume Use Duration. In our case we change tapes mondays for the differential data backups which run Monday till Friday. We want every day to go on another Volume, so we set Volume Use Duration to 23hours. The Problem is that bacula checks the Volume Use Duration only after a Backup, so we tried to let an admin job which run with that pool set the VolStatus for the used tape to Used, but this wouldnt work. A quick fix will be an job which run on that pool and just backup a small file to close the tape. We think it would be a great feature to choose if the Duration check should be made after, before or after and before the backup. I think this was all... No :) we want to thank everybody who contribute something to bacula for this really great piece of software! Thanks and regards, Timo Florian --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 'label barcodes' command question?
On Thursday 19 January 2006 10:27, Rudolf Cejka wrote: Kern Sibbald wrote (2006/01/18): I have tested both Bacula-1.38.3 and Bacula-1.38.4 now too: Unfortunately they are broken as Bacula-1.38.2 too - the first argument is discarded. As a workaround, you can use label ANYTHING slots=NNN storage=SSS pool=PPP barcodes for now - ANYTHING is simply discarded and all other arguments are taken into an account. One very important question - will you report that at bugs.bacula.org or should I do so? Let's wait on word from Kern ;o) I am unable to reproduce this on version 1.38.4, so if someone submits it to the bugs database, be sure to include proof that there is a bug. You might It seems, that you have tried barcode instead of our barcodes. When barcode is used, zeroth label is zapped, which seems to be further ignored. However when barcodes is used, first argument is zapped, because i = find_arg_keywords() returns an index of found keyword and not an index of found argument as in find_arg(). As one of possible solutions, here is my version of somewhat defensive patch (*ua-argk[find_arg(ua, barcode_keyword[i])] = 0; can be safely used too): --- src/dird/ua_label.c.orig Thu Jan 19 10:05:21 2006 +++ src/dird/ua_label.c Thu Jan 19 10:07:50 2006 @@ -305,7 +305,9 @@ } if (!relabel (i=find_arg_keyword(ua, barcode_keyword)) = 0) { - *ua-argk[i] = 0; /* zap barcode keyword */ + i = find_arg(ua, barcode_keyword[i]); + if (i 0) + *ua-argk[i] = 0; /* zap barcode keyword */ label_barcodes = true; } Should I fill a bug report, or is this sufficient? ;o) It is always better to file a bug report because it permits users to get notification of bugs and bug fixes in a more systematic way, and it provides better tracking of the project's bugs. I have, however, applied your patch, and will most likely release a 1.38.5 ... Regards. -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Contents of an Incremental Backup ?
Hi ! One of our servers does a weekly full-save (90gb) and daily incrementals ... those incrementals have grown in size over the last two weeks up to a daily size of 32GB. Is there a way to just get a file-listing of an incremental backup because i would like to investigate what caused this sudden increase in size (it was 15GB/day) ? Best regards -- Daniel HoltkampRiege Software International GmbH System Administration Mollsfeld 10 40670 Meerbusch, Germany Phone: +49-2159-9148-41 mail: holtkamp [at] riege.comFax: +49-2159-9148-11 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup strategy/config questions
Hi, I want to backup 2 of our server to tape (AIT-2, 50GB native, 65-70GB compressed, TLS-4210 12 slot autochanger). bacula 1.36.3 (debian sarge, maybe I'll build bacula 1.38.4 from source...) is running and I'm already able to backup to tape. Both machines are also backed up to disk by an other backup tool, but I want to have a backup on tape, just to be safe... What I want: Server 1: * ~55GB data * full backup each Sunday 6am * no inc/diff backup * 2 tapes/slots for 2 backups/weeks Server 2: * ~190GB data (takes 10 hours and more...) * monthly backup at the first Saturday 8pm of the new month, this should be archived for 2 years * regular full backup each Friday at 7pm, incr. backup Moday to Thursday at 7pm Because I'm only rarely at the place where the autochanger is located, I can't change the tapes every week. My goal is to change only the archive tapes once a month and - if possible - leave/reuse the other tapes. I'm not quite sure how to setup bacula to achieve this. Should I really use 2 differnt jobs and differnt pools for the regular/archive backup of server 2? I'd create a pool with 2 tapes for server 1, and a pool with 3 tapes for the archive job. Thus 7 tapes are left for the regular jobs. But the 2 regular full backups already need 6 tapes, thus only 1 tape is left for the incr. job. I'm also very unsure about the right settings for retention/prune/purge/recycle. Maybe I'm a just bit to confused at the moment ;) Ralf --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] RPMs for RHEL4 on x86_64, mysql
Hello, I just build those packages from bacula-1.38.4-1.src.rpm. It took me (as a non-c-programmer-and-rpmbuild-newbe) less than half an hour. Inclusive installing all dependencies before building. The build process itself worked very smooth. Then I could roll out the packages to all my shiny new servers. I am impressed. (especially when comparing that to the usual software installation nightmare on certain systems from Redmond) Many thanks to everyone working on bacula! If anyone is interested in these packages - just let me know. I can also build postgresql if needed. One question: I havn't seen any x86_64 packages in the file releases list yet. Is there a plan to do that for upcoming releases? Or would that be something to contribute? best regards, Stephan --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] different questions and feature requests...
In message [EMAIL PROTECTED] you wrote: 3. Automatically cleaning of the tape drive. (after x used tapes, x GB or maybe every saturday) I think this can be scripted and scheduled with an admin job, but we think this should be a function of bacula. no. Agreed. new tape drives aks for cleaning tape with a special LED, also manufacurer tells you only to use cleaning tape when asked for it Or (some) autoloaders can be configured to run cleaning cycles automagically when they need it. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] It is easier to change the specification to fit the program than vice versa. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup strategy/config questions
Hello, On 1/19/2006 12:08 PM, Ralf Gross wrote: Hi, I want to backup 2 of our server to tape (AIT-2, 50GB native, 65-70GB compressed, TLS-4210 12 slot autochanger). bacula 1.36.3 (debian sarge, maybe I'll build bacula 1.38.4 from source...) is running and I'm already able to backup to tape. First, upgrade to 1.38.whatever-is-current. Using volumes from more than one pool in one autochanger is not supported with 1.36, and you will probably run into problems sooner or later. Both machines are also backed up to disk by an other backup tool, but I want to have a backup on tape, just to be safe... What I want: Server 1: * ~55GB data * full backup each Sunday 6am * no inc/diff backup * 2 tapes/slots for 2 backups/weeks Server 2: * ~190GB data (takes 10 hours and more...) * monthly backup at the first Saturday 8pm of the new month, this should be archived for 2 years * regular full backup each Friday at 7pm, incr. backup Moday to Thursday at 7pm Because I'm only rarely at the place where the autochanger is located, I can't change the tapes every week. My goal is to change only the archive tapes once a month and - if possible - leave/reuse the other tapes. I'm not quite sure how to setup bacula to achieve this. Should I really use 2 differnt jobs and differnt pools for the regular/archive backup of server 2? One job per each combination of client and fileset. You set the levels in the schedule. See the manual for more information. I'd create a pool with 2 tapes for server 1, and a pool with 3 tapes for the archive job. Thus 7 tapes are left for the regular jobs. But the 2 regular full backups already need 6 tapes, thus only 1 tape is left for the incr. job. Determining the right strategy is, obviously, up to you. (You wouldn't be the first to discover that your autochanger doesn't fit your needs, though.) Apart from that, I don't exactly understand why you make a distinction between archive and regular jobs. The simplest solution is to keep the full backups as long as you need them, and have the differential and incremental jobs go to pools that cycle more quickly. In that case, you could leave the diff/incr volumes in the changer and only remove the full backup volumes. I'm also very unsure about the right settings for retention/prune/purge/recycle. That's something you should look up in the manual, then - I couldn't explain it much differently. Maybe I'm a just bit to confused at the moment ;) Maybe... start with a simple experimental setup, with a small fileset, disk based volumes, and run your backups multiple times a day. This would allow you to observer the volume management live. Arno Ralf --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] different questions and feature requests...
Hello, On 1/19/2006 11:23 AM, Timo Eissler wrote: Hello list, we use bacula in our firm and it work great, but we had a lot of questions before we can install bacula at our customers. The problem is that bacula needs in our mind a system operator to control bacula and we are our customers operator, but normally they want to change their tapes themselves because every hour we work for them costs money. We think these features should be added to bacula before we can install bacula at our customers and let a normal user change tapes and control the backup. A normal user we think could not work with the bconsole, he just can read emails and change tapes. 1. It should be possible to show the tapes who should go into an fireproof safe or another building with which a complete restore of all data (regardless how much pools or jobs exist). Just the job for a small script which queries the catalog. 2. Which tapes should be inserted for the next jobs (maybe the hole week). More difficult, but a reasonable guess is simple. I'd integrate this in the script above :-) I think the best way to realise this is to get a list with all tapes from all pools in the order bacula wants to use them. Now the normal user can choose which tapes he must insert (he will know how much tapes from which pool because we can say it to him or he can read it in our documenation). 3. Automatically cleaning of the tape drive. (after x used tapes, x GB or maybe every saturday) I think this can be scripted and scheduled with an admin job, but we think this should be a function of bacula. If it were, it should be implemented correctly. What I consider correct can be found in the projects file in the Bacula distribution, I guess. I submitted such a suggestion. Another problem we had is the way bacula will check the Volume Use Duration. In our case we change tapes mondays for the differential data backups which run Monday till Friday. We want every day to go on another Volume, so we set Volume Use Duration to 23hours. The Problem is that bacula checks the Volume Use Duration only after a Backup, so we tried to let an admin job which run with that pool set the VolStatus for the used tape to Used, but this wouldnt work. A quick fix will be an job which run on that pool and just backup a small file to close the tape. We think it would be a great feature to choose if the Duration check should be made after, before or after and before the backup. I don't see the problem. After all, you are allowed to remove a volume before it's marked as Used. I think this was all... No :) we want to thank everybody who contribute something to bacula for this really great piece of software! Agreed :-) Thanks and regards, Timo Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Reporting and statistics?
We're looking to optimize our backup space but are finding very little in the way of and statistics or reporting capabilities. Things we're looking for are sorted size of backed up files in a given job, large files most commonly changed and backed up again every night etc. so that we can make the most of our backup space. Does anybody have any suggestions for us in the way of space optimization or tools to help with it? Hopefully I didn't miss anything too obvious in my search. Thanks! -- Bryan Muthig | [EMAIL PROTECTED] A2 Hosting, Inc. | http://www.a2hosting.com Online Helpdesk | https://support.a2hosting.com Affiliate Program | https://affiliates.a2hosting.com A2 Hosting, Inc. :: Leading Edge Hosting. Exceptional Support. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Multiple Tape Drives Attached, Labeling/Writing to wrong Drive
I have an interesting problem, which I am sure is due to ignorance. Here is a crash course on my scenario: I have serveral jobs that backup to disk. I have 6 Tape drives (5 Sony DDS-4's and 1 Onstream ADR-50) which have passed the btape tests. They are setup /dev/nst0-/dev/nst5 both in the storage daemon and client file. I am trying to run a test job to the onstream, /dev/nst5. For some reason when I do, it starts trying to write/read the tape in /dev/nst1, gives up, and then try's again to read /dev/nst4. After not finding ADR-50 media in either of those drives, it finally tries the Onstream drive, which then blows up because it has a TestVolume1 label to it. So now I am trying to relabel and its jumping through the same hoops to label. Here are my configs, any help would be greatly appreciated: ###bacula-sd.conf## Device { Name = SonyTapeDrive0# Media Type = DDS-4 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = SonyTapeDrive1# Media Type = DDS-4 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = SonyTapeDrive2# Media Type = DDS-4 Archive Device = /dev/nst2 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = SonyTapeDrive3# Media Type = DDS-4 Archive Device = /dev/nst3 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = SonyTapeDrive4# Media Type = DDS-4 Archive Device = /dev/nst4 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Device { Name = OnStream0 Media Type = ADR-50 Archive Device = /dev/nst5 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; # Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } ###client config## Job { Name = baculaT-fd Type = Backup Client = baculaT-fd FileSet = baculaT-set Schedule = baculaT-WeeklyCycle Storage = OnStream0 Messages = Standard Pool = Default Write Bootstrap = /opt/bacula/var/bacula/working/bacula-fd.bsr Priority = 10 } # List of files to be backed up FileSet { Name = baculaT-set Include { Options { signature = MD5 } #File = |sh -c 'find \/backup\ -name \*Full*\ -ctime -1' #File = /backup/bacula-fd #File = /opt/bacula File = /boot } } Schedule { Name = baculaT-WeeklyCycle Run = Level=Full Pool=baculaT-Full-Pool Storage=OnStream0 mon at 13:05 Run = Level=Full Pool=baculaT-Full-Pool Storage=SonyTapeDrive0 tue at 13:05 Run = Level=Full Pool=baculaT-Full-Pool Storage=SonyTapeDrive1 wed at 13:05 Run = Level=Full Pool=baculaT-Full-Pool Storage=SonyTapeDrive2 thu at 13:05 Run = Level=Full Pool=baculaT-Full-Pool Storage=SonyTapeDrive3 fri at 13:05 } Catalog { Name = baculaT-Catalog dbname = bacula; user = bacula; password = } Client { Name = baculaT-fd Address = bacula.delhitel.com FDPort = 9102 Catalog = baculaT-Catalog Password = xx AutoPrune = yes # Prune expired Jobs/Files Job Retention = 5 days File Retention = 5 days } Storage { Name = OnStream0 Address = bacula.delhitel.com SDPort = 9103 Password = xx Device = OnStream0 Media Type = ADR-50 } Storage { Name = SonyTapeDrive0 Address = bacula.delhitel.com SDPort = 9103 Password = xx Device = SonyTapeDrive0 Media Type = DDS-4 } Storage { Name = SonyTapeDrive1 Address = bacula.delhitel.com SDPort = 9103 Password = xx Device = SonyTapeDrive1 Media Type = DDS-4 } Storage { Name = SonyTapeDrive2 Address = bacula.delhitel.com SDPort = 9103 Password = xx Device = SonyTapeDrive2 Media Type = DDS-4 } Storage { Name = SonyTapeDrive3 Address = bacula.delhitel.com SDPort = 9103 Password = xx Device = SonyTapeDrive3 Media Type = DDS-4 } Storage { Name = SonyTapeDrive4 Address = bacula.delhitel.com SDPort = 9103 Password = xx Device = SonyTapeDrive4 Media Type = DDS-4 } Pool { Name = baculaT-Full-Pool
[Bacula-users] Solaris10(SPARC) + SpectraLogic T50
Hello bacula users, I'm testing bacula on a Solaris10(SPARC) attached to a SpectraLogic T50 LTO-2 tape library (using mtx) and I'm getting some mtx/sgen/scsi/library/... (?) errors when moving the tape back to it's original slot. Some times it fails only after a few attempts. After this error I executed truss on mtx and I just get an I/O error. Then I did a ls -l on /dev/scsi/changer/c1t0d1. wait, and wait... and the target device was gone. Recreate everything again, repeat the test and I get the same results. Has anyone seen this behavior before? Regards, Jose --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Failed to connect to Client PARANOIA
hello, i've installed successfully bacula server on my machine and i'm tryying to add a second client, so i installed the client on another machine, but so far i haven't been able to establish a connection between the two machines, this is my bacula-dir.conf (server) i can do a ping MACHINE from my server and its ok, iptables is stopped. (on the server) # # Second Client (File Services) to backup # You should change Name, Address, and Password before using # Client { Name = MACHINE-fd Address = MACHINE FDPort = 9102 Catalog = MyCatalog Password = Y/2EfpcMgOz0mz2GVoNR/6n+XtvO3BPWyK9Tb54n1wh+ # password for FileDaemon 2 File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } and this is the bacula-fd.conf on MACHINE Director { Name = virtual10-dir Password = Y/2EfpcMgOz0mz2GVoNR/6n+XtvO3BPWyK9Tb54n1wh+ } if i do a tcpdump on the port 9102 on machine i see the packages comming from server but i get this messages on the bconsole on server: Select Client (File daemon) resource (1-2): 2 Connecting to Client MACHINE-fd at MACHINE:9102 Failed to connect to Client MACHINE-fd. You have messages. * 18-Jan 16:11 server-dir: *Console*.2006-01-18_16.11.38 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 for help. i can't seem to be able to find the error, so if somebody can help me -- Ciao, Javier linux user #393724 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] RE: [Bacula-devel] PyGTK Console: about the tray icon
Are you saying that instead I should write the tray icon to reflect some status rather than problems? ie: showing the number of running jobs. I may nave been confusing the tray icon for the client with a minimized icon/tray icon for operator interface you've been working on -- I occasionally get lost in the terminology, so please bear with me. If we are talking about the operator interface, then yes, I would probably expect to see running job state and error information indicated by flashing that icon somehow (something like a system console where messages are scrolling up as they come in). If you were referring to the client tray icon, then no, just errors or last job information is probably sufficient. One of the things to put on the wish list is a general message (in terms of job log items etc, not the current Bacula definition of message) service. Someday when we all have too much free time...8-) --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Failed to connect to Client PARANOIA
Try a telnet MACHINE 9102 from your server and a telnet STORAGE-SERVER 9103 and telnet SERVER 9101 from your client if you can do these, restart de file daemon on the client. If telnet not respond, check /etc/host.allow and client iptables. your bacula-fd.conf on client should have more lines like this: FileDaemon { # this is me Name = MACHINE-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 run a netstat -nlp e check if a 9102 is open. -- Gustavo Ribeiro javier rojas wrote: hello, i've installed successfully bacula server on my machine and i'm tryying to add a second client, so i installed the client on another machine, but so far i haven't been able to establish a connection between the two machines, this is my bacula-dir.conf (server) i can do a ping MACHINE from my server and its ok, iptables is stopped. (on the server) # # Second Client (File Services) to backup # You should change Name, Address, and Password before using # Client { Name = MACHINE-fd Address = MACHINE FDPort = 9102 Catalog = MyCatalog Password = Y/2EfpcMgOz0mz2GVoNR/6n+XtvO3BPWyK9Tb54n1wh+ # password for FileDaemon 2 File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } and this is the bacula-fd.conf on MACHINE Director { Name = virtual10-dir Password = Y/2EfpcMgOz0mz2GVoNR/6n+XtvO3BPWyK9Tb54n1wh+ } if i do a tcpdump on the port 9102 on machine i see the packages comming from server but i get this messages on the bconsole on server: Select Client (File daemon) resource (1-2): 2 Connecting to Client MACHINE-fd at MACHINE:9102 Failed to connect to Client MACHINE-fd. You have messages. * 18-Jan 16:11 server-dir: *Console*.2006-01-18_16.11.38 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 for help. i can't seem to be able to find the error, so if somebody can help me -- Ciao, Javier linux user #393724 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Gustavo Ribeiro Administrador de Redes Diginet Brasil [EMAIL PROTECTED] (+55) 84 4008-9012 -- Esta mensagem foi verificada pelo sistema de anti-virus e acredita-se estar livre de perigo. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Changes in fileset
Hi, I have changed a fileset and now bacula increases the level of backup from incremental to full. But I did'nt changed the name of the fileset. I just included one more directory to backup. Every time I include or exclude a directory from a fileset it will increase the level of backup? The problem is that I have a cycle backup with a recycling scheme, and when it increase the level unexpectly it mess up all my scheme. Any sugestions? Thanks, Pedro Mazzoni
Re: [Bacula-users] Fileset Exclude not working - Why ?
On Thursday 19 January 2006 14:39, Daniel Holtkamp wrote: Hi ! This is the Fileset definition: FileSet { Name = Fileserver Include { Options { exclude = yes wilddir = /var/tmp wilddir = .recycle wilddir = /var/www/intranet/html/support/patches/daily regexdir = /var/[cache/man|catman]/[cat?|X11R6/cat?|local/cat?] compression=GZIP signature=SHA1 } File = / File = /home File = /usr File = /var } Include { Options { exclude = yes wilddir = .recycle aclsupport = yes compression=GZIP9 signature=SHA1 } File = /export } Include { Options { regexdir = /var/[cache/man|catman]/[cat?|X11R6/cat?|local/cat?] keepatime=yes mtimeonly=yes compression=GZIP signature=SHA1 } File = /var/tmp } Exclude { File = .autofsck File = /proc File = /tmp File = .journal } } As you can see the .recycle directories are to be excluded. Checking the file-list reveals this: /export/sekretar/.recycle/winword/clients/xxx/ag/ /home/rry/.recycle/useful/ /home/rry/.recycle/zip/ /home/rry/.recycle/pvr/ /home/rry/.recycle/diskette/ /home/ickl/.recycle/backup/cvs/ /home/ickl/.recycle/backup/ /home/bel/.recycle/source/ /home/iora/.recycle/Pics/Rio/ (and lots more of course) Is it because the directories start with a . ? I don't think so. More likely it is because a wildcard specification is anchored at the beginning of a line unless you start it with a asterisk. When you wilddir, don't forget that what you ar matching against is the *full* path including a slash at the end. As an example (if I remove slashes and periods), if you have a file with a name home-iora-recycle-Pics-Rio in the current directory and you enter: ls recycle it is going to print nothing, but if you enter, ls *recycle it will print home-iora-recycle-Pics-Rio It may also print many other filenames that you do not want to see such as home-abcrecycle-xxx -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup strategy/config questions
On Thu, 19 Jan 2006, Arno Lehmann wrote: Using volumes from more than one pool in one autochanger is not supported with 1.36, and you will probably run into problems sooner or later. That's not quite right, I have 4 pools loaded in my autochanger and have had for several years. The problem comes when there are multiple simultaneous backups congigured and there is contention for different pools on the same drive in the autochanger - it causes the second job to abort instead of queueing. I had no problems with different pools running simultaneously on different drives. The workaround for pool contention is to disable multiple simultaneous backups, which unfortunately defeats the purpose of having multiple drives, but is better than having backups aborting. AB --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula version 1.38.5 released
Hello, I have released Bacula 1.38.5 to Source Forge. As usual, the release is the source tar.gz file, the .src.rpm file, and the Fedora FC4 binary rpms (the only system I have for building rpms). The changes are rather minor, but important for affected users: Release 1.38.5 released 19Jan06: - Apply label barcodes fix supplied by Rudolf Cejka. - Modify standard rpm installation to set SD group to disk so that SD will by default have access to tape drives. - Allow users to specify user/group and start options for each daemon in /etc/sysconf/bacula file. As you can see, the only changes are for those of you using label barcodes or those of you installing from rpms, so very few of you will need to upgrade. The source code changes only the Director, so there is no need to upgrade clients, and I am not for the moment releasing a new Win32 binary. Please note that I have not tested the binary rpms, but I hope that changing the Storage daemon to use the disk group with resolve the problem users have had with tape drive permissions (thanks to Martin for pointing out why adding the bacula group to the disk group does not work). -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup strategy/config questions
On Thursday 19 January 2006 15:10, Alan Brown wrote: On Thu, 19 Jan 2006, Arno Lehmann wrote: Using volumes from more than one pool in one autochanger is not supported with 1.36, and you will probably run into problems sooner or later. That's not quite right, I have 4 pools loaded in my autochanger and have had for several years. The problem comes when there are multiple simultaneous backups congigured and there is contention for different pools on the same drive in the autochanger - it causes the second job to abort instead of queueing. I had no problems with different pools running simultaneously on different drives. The workaround for pool contention is to disable multiple simultaneous backups, which unfortunately defeats the purpose of having multiple drives, but is better than having backups aborting. A better workaround is to upgrade to 1.38.4 or 1.38.5, where drive/pool contention and multiple drives are properly handled. -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup strategy/config questions
On Thu, 19 Jan 2006, Kern Sibbald wrote: The workaround for pool contention is to disable multiple simultaneous backups, which unfortunately defeats the purpose of having multiple drives, but is better than having backups aborting. A better workaround is to upgrade to 1.38.4 or 1.38.5, where drive/pool contention and multiple drives are properly handled. I should have specificed 1.36 and earlier in the original posting, sorry. I'm aware of the better path and plan to make the migration about this time next week when the current backup sets have completed running. AB --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bscan: 255 character limitation
Kern, Bscan 1.36.* only allows 255 characters as the entire argument, which is awkward when resychronising a large number of tapes. Is this changed in 1.38/1.39 (and is there any chance of teaching bscan to use the changer?) AB --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 1.38.4 and debian installation
Hi Guys, I am planning to install bacula 1.38.4 latest version in debian sarge because for bacula there is no latest version of debian package so i need to compile. Can any one give me the list of all the dependency packages for bacula compilation in debian any dependencies should be included in the depkgs and/or already installed by default on debian (mt, mtx, sqlite if you choose to use it, etc). i for one have a very...ah...unique install of debian 3.1, and i didnt need anything else (besides sqlite3, which i compiled from source. its recommended to use mysql though) If any one know the installation guide or tutorial for debian that would be great. read the manual. its pretty much the same as any linux install, the manual describes which arguments you need for the .configure script, and then its basically just make, make install. hope this helps! -- Life is good when the most you have to worry about is whether or not you're wearing pants. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Changes in fileset
On Thu, 19 Jan 2006 14:20:00 +0100, Mathieu Arnold [EMAIL PROTECTED] said: Mathieu +-le 19/01/2006 10:55 -0200, Pedro Henrique Morsch Mazzoni a dit : Mathieu | Hi, Mathieu | Mathieu | I have changed a fileset and now bacula increases the level of backup from Mathieu | incremental to full. Mathieu | But I did'nt changed the name of the fileset. I just included one more Mathieu | directory to backup. Mathieu | Every time I include or exclude a directory from a fileset it will increase Mathieu | the level of backup? Mathieu | The problem is that I have a cycle backup with a recycling scheme, and when Mathieu | it increase the level unexpectly it mess up all my scheme. Mathieu | Any sugestions? Mathieu I do things like this : Mathieu FileSet { Mathieu Name = system Mathieu Include { Mathieu Options { signature=SHA1; compression=GZIP; sparse=yes; } Mathieu File = /usr/local/etc/bacula/system.master Mathieu File = \/usr/local/etc/bacula/system Mathieu } Mathieu Exclude { MathieuFile = /usr/local/etc/bacula/system.exclude.master MathieuFile = \/usr/local/etc/bacula/system.exclude Mathieu } Mathieu } Mathieu So that there's master files on the director and local changeable files on Mathieu the client. Beware that if you add anything to /usr/local/etc/bacula/system or remove anything from /usr/local/etc/bacula/system.exclude, those files will not be backed up until the next Full backup unless they are new files. __Martin --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bscan: 255 character limitation
On Thursday 19 January 2006 16:31, Alan Brown wrote: Kern, Bscan 1.36.* only allows 255 characters as the entire argument, which is awkward when resychronising a large number of tapes. Is this changed in 1.38/1.39 No, and I don't foresee changing the limit, but it is rather easy to create a .bsr file, where you can have as many Volume names as you want. (and is there any chance of teaching bscan to use the changer?) Perhaps, but this is a feature request since it would either be an enhancement to the .bsr format or require bscan to interface to the catalog ... -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup + verify strategies ?
I am asking for ideas about how to setup a backup job immediately followed by a verify job of the volumes written (Level = VolumeToCatalog). I see three possible approaches: i) estimate when your backup jobs will end. start the verify job after the backup job finishes. ii) start the backup job and the verify at the same time. Set the verify job to a lower priority. iii) Start backup and verify jobs at same time with same priority and let the bacula director handle the details... Can anyone recommend one approach over the other ? Does anybody use verify jobs ? Thank-you in advance, -- Chris Hunter Systems Programmer, Astronomy, Yale University [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup + verify strategies ?
On Thu, 19 Jan 2006 12:33:00 -0500 (EST), Chris Hunter [EMAIL PROTECTED] said: Chris I am asking for ideas about how to setup a backup job immediately followed Chris by a verify job of the volumes written (Level = VolumeToCatalog). I see Chris three possible approaches: Chris i) estimate when your backup jobs will end. start the verify job after the Chris backup job finishes. Chris ii) start the backup job and the verify at the same time. Set the verify Chris job to a lower priority. Chris iii) Start backup and verify jobs at same time with same priority and let Chris the bacula director handle the details... Chris Can anyone recommend one approach over the other ? Chris Does anybody use verify jobs ? I run nightly VolumeToCatalog like in your case ii and it works fine. __Martin --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup Problem: The number of files mismatch!
I got this message in my logs from the backup run last night: 19-Jan 02:16 what-sd: Volume Monthly-0004 previously written, moving to end of data. 19-Jan 02:22 what-sd: What.2006-01-19_02.05.01 Error: I canot write on Volume Monthly-0004 because: The number of files mismatch! Volume=0 Catalog=112 19-Jan 02:22 what-sd: Marking Volume Monthly-0004 in Error in Catalog. Monthly-0004 is the tape volume I've been backing up to the last several days, and I did a successful restore from it yesterday before leaving work. I verified the lable on the tape with btape and then ran bls to view the contents of the tape. That worked just fine. Trolling through the manual I found the bit about using bscan to update the Volume File Count. I ran bscan -V Monthly-0004 -v -m /dev/nst1 and got the output listed at the end of this message. I restarted bacula-dir and bacula-sd, updated the Media entry for Monthly-0004 to set it to Append status, and tried re-running the failed job and got the same error message again. Here is the current Media table entry for Monthly-0004: +-+--+---+--+--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-+--+---+--+--+--+-+--+---+---+-+ | 40 | Monthly-0004 | Error | 94027500662 | 112 | 11059200 | 1 | 4| 1 | LTO-1 | 2006-01-19 13:01:44 | +-+--+---+--+--+--+-+--+---+---+-+ What could be wrong here? Why would bscan see the right data on the tape, but bacula-sd doesn't? I've not editted the bacula-sd config file since I did the restore yesterday. Server:Dell PowerEdge 2650 OS:CentOS 3.6 (fully updated) SCSI Card: LSI Logic / Symbios Logic LSI8952U Tape Unit: Dell PowerVault 132T with LTO-2 drive Bacula:1.36.3 bacula-sd Device stanza: Device { Name = DPVLTO-2 Media Type = LTO-1 Archive Device = /dev/nst1 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; LabelMedia = yes; Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d Changer Device = /dev/sg3 AutoChanger = yes; Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } --[Lance] bscan: butil.c:258 Using device: /dev/nst1 for reading. 19-Jan 12:01 bscan: Ready to read from volume Monthly-0004 on device /dev/nst1. bscan: bscan.c:274 Using Database: bacula, User: bacula bscan: bscan.c:403 Pool record for Monthly found in DB. bscan: bscan.c:417 Pool type Backup is OK. bscan: bscan.c:427 Media record for Monthly-0004 found in DB. bscan: bscan.c:445 Media type LTO-1 is OK. bscan: bscan.c:454 VOL_LABEL: OK for Volume: Monthly-0004 19-Jan 12:02 bscan: Got EOF at file 1 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:02 bscan: Got EOF at file 2 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:02 bscan: Got EOF at file 3 on device /dev/nst1, Volume Monthly-0004 bscan: bscan.c:546 Could not find SessId=3 SessTime=1137197448 for EOS record. 19-Jan 12:02 bscan: Got EOF at file 4 on device /dev/nst1, Volume Monthly-0004 bscan: bscan.c:462 95051 errors ignored before first Start of Session record. bscan: bscan.c:472 SOS_LABEL: Found Job record for JobId: 0 19-Jan 12:02 bscan: Got EOF at file 5 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:03 bscan: Got EOF at file 6 on device /dev/nst1, Volume Monthly-0004 bscan: bscan.c:472 SOS_LABEL: Found Job record for JobId: 0 19-Jan 12:03 bscan: Got EOF at file 7 on device /dev/nst1, Volume Monthly-0004 bscan: bscan.c:472 SOS_LABEL: Found Job record for JobId: 0 19-Jan 12:03 bscan: Got EOF at file 8 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:04 bscan: Got EOF at file 9 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:04 bscan: Got EOF at file 10 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:05 bscan: Got EOF at file 11 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:05 bscan: Got EOF at file 12 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:06 bscan: Got EOF at file 13 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:06 bscan: Got EOF at file 14 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:07 bscan: Got EOF at file 15 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:07 bscan: Got EOF at file 16 on device /dev/nst1, Volume Monthly-0004 bscan: bscan.c:472 SOS_LABEL: Found Job record for JobId: 0 19-Jan 12:08 bscan: Got EOF at file 17 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:08 bscan: Got EOF at file 18 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:09 bscan: Got EOF at file 19 on device /dev/nst1, Volume Monthly-0004 19-Jan 12:09 bscan: Got
Re: [Bacula-users] Some little questions
Hello, On 1/17/2006 11:39 PM, Frank Altpeter wrote: On 1/17/06, Frank Altpeter [EMAIL PROTECTED] wrote: Since some days i try to clean up my database, but it seems to be overloaded with obsolete data... When i dbcheck the database with position 9 (Check for orphaned Path records), it takes days and i have no other choice than aborting because i cannot keep the backup server down that long. The function 9 executes a SELECT DISTINCT Path.PathId,File.PathId FROM Path LEFT OUTER JOIN File ON (Path.PathId=File.PathId which seems to be too big and mysql processlist tells me that it will copy it to a tmp table. The last time i tried this one was running for 4 days without an end. Well, the bacula db is currently about 3.2 GB in size, where the File table has 2.1 GB size and about 900 MB indices. Interesting. My bacula catalog is not that big, but it's in a database on a rather small server. The last time I did a complete dbcheck it took , as far as i recall, less than three hours. Any other idea how this could be fixed? Well, after learning a bit more about mysql and the functions in there i came to the conclusion, that there is no way out than setting up a clean and new system. The above query from dbcheck cannot come to an end, when one looks at this: mysql explain SELECT DISTINCT Path.PathId,File.PathId FROM Path LEFT OUTER JOIN File ON (Path.PathId=File.PathId); +---+---+---++-+--+--+--+ | table | type | possible_keys | key| key_len | ref | rows | Extra| +---+---+---++-+--+--+--+ | Path | index | NULL | PRIMARY| 4 | NULL | 337827 | Using index; Using temporary | | File | index | NULL | FilenameId | 8 | NULL | 21911576 | Using index | +---+---+---++-+--+--+--+ 2 rows in set (0.01 sec) If i understand that correctly (shame on me but i'm no database guru), this means that mysql has to do a total of 7402321985352 distinctions to solve. This means that the above query runs about 8576 days, given a server that is able to do 10.000 distinctions per second. So, there seems no way in cleaning up my tables and thus i think i start over ... and use postgresql next time ... I'm not sure if PostgreSQL will not suffer from that problem... I guess the problem must be somewhere else. See my mysql aoutput: mysql explain SELECT DISTINCT Path.PathId,File.PathId FROM Path LEFT - OUTER JOIN File ON (Path.PathId=File.PathId); +---+---+---+-+-+-++--+ | table | type | possible_keys | key | key_len | ref | rows | Extra| +---+---+---+-+-+-++--+ | Path | index | NULL | PRIMARY | 4 | NULL| 123494 | Using index; Using temporary | | File | ref | PathId| PathId | 4 | Path.PathId |108 | Using index | +---+---+---+-+-+-++--+ 2 rows in set (0.00 sec) Here, mysql would use different indices. I suppose you're missing some important index. See below for what I have: mysql show index from Path; +---++--+--+-+---+-+--++--++-+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | +---++--+--+-+---+-+--++--++-+ | Path | 0 | PRIMARY |1 | PathId | A | 123494 | NULL | NULL | | BTREE | | | Path | 1 | Path |1 | Path| A | NULL | 50 | NULL | | BTREE | | +---++--+--+-+---+-+--++--++-+ 2 rows in set (0.00 sec) mysql show index from File; +---+++--+-+---+-+--++--++-+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | +---+++--+-+---+-+--++--++-+ | File | 0 | PRIMARY|1 | FileId | A | 12210429 | NULL | NULL | | BTREE | | | File |
Re: [Bacula-users] different questions and feature requests...
Hello, On 1/19/2006 2:16 PM, Timo Eissler wrote: Arno Lehmann schrieb: Hello, On 1/19/2006 11:23 AM, Timo Eissler wrote: Hello list, we use bacula in our firm and it work great, but we had a lot of questions before we can install bacula at our customers. The problem is that bacula needs in our mind a system operator to control bacula and we are our customers operator, but normally they want to change their tapes themselves because every hour we work for them costs money. We think these features should be added to bacula before we can install bacula at our customers and let a normal user change tapes and control the backup. A normal user we think could not work with the bconsole, he just can read emails and change tapes. 1. It should be possible to show the tapes who should go into an fireproof safe or another building with which a complete restore of all data (regardless how much pools or jobs exist). Just the job for a small script which queries the catalog. Hmm either it is not so simple or i know baculas catalog and features not good enough to write such an script. Do you have an example code for this or can give me an hint (maybe a link) to write such a script? Well, I don't have anything rwady-to-use for your needs, but basically you only need to find all volumes from the last full jobs, optionally set the ones in append state to state Used, and have the list of tapes you need to store. I guess I would create a script that unmounts the storage device, moves the tapes to be removed into one magazine, the mail slots, or whatever you have, mails the user/operator to remove these tapes, print a form where they are listed, and wait for some sort of confirmation. After confirmation, trigger an autoloader inventory, do an update slots for Bacula, and mount the drive. More suggestions, details, or a script available on request, but for payment :-) 2. Which tapes should be inserted for the next jobs (maybe the hole week). More difficult, but a reasonable guess is simple. I'd integrate this in the script above :-) I think the best way to realise this is to get a list with all tapes from all pools in the order bacula wants to use them. Now the normal user can choose which tapes he must insert (he will know how much tapes from which pool because we can say it to him or he can read it in our documenation). 3. Automatically cleaning of the tape drive. (after x used tapes, x GB or maybe every saturday) I think this can be scripted and scheduled with an admin job, but we think this should be a function of bacula. If it were, it should be implemented correctly. What I consider correct can be found in the projects file in the Bacula distribution, I guess. I submitted such a suggestion. Another problem we had is the way bacula will check the Volume Use Duration. In our case we change tapes mondays for the differential data backups which run Monday till Friday. We want every day to go on another Volume, so we set Volume Use Duration to 23hours. The Problem is that bacula checks the Volume Use Duration only after a Backup, so we tried to let an admin job which run with that pool set the VolStatus for the used tape to Used, but this wouldnt work. A quick fix will be an job which run on that pool and just backup a small file to close the tape. We think it would be a great feature to choose if the Duration check should be made after, before or after and before the backup. I don't see the problem. After all, you are allowed to remove a volume before it's marked as Used. Yes the Tape can be removed, but the customer wont change tapes every day. I know that removing the tape wont be a problem, but i must be done and this costs time which is the problem. Still, I don't see the problem. You can remotely check if tape change is necessary, or you can even trigger the change remotely. You can also manipulate the catalog to change volume status. And, of course, your customer pays for your time, so they should be interested in having someone on-site who can handle tape changes and restores. At least that's what I strongly recommend... Arno I think this was all... No :) we want to thank everybody who contribute something to bacula for this really great piece of software! Agreed :-) Thanks and regards, Timo Arno Timo -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net
Re: [Bacula-users] Intervention needed for BackupCatalog
Hello, please, always reply to the list. On 1/19/2006 8:04 PM, Jesús Arnáiz wrote: First of all, thanks, I will see what you mention. On the other hand, can you resend me the answer of Florians?, I don't receive it, or may be I delete it by error. www.gmane.org has a searchable list archive. Arno Thanks Thanks for your helpArno Lehmann wrote: Hello, On 1/18/2006 8:44 PM, Jesús Arnáiz wrote: Hi there, I don't stop to get this error, although I have every Pool with the LabelFormat directive, like: Pool { Name = Full-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 3 months Accept Any Volume = yes Maximum Volume Jobs = 2 LabelFormat = Full- Maximum Volumes = 10 } -- So, why he ask to use label every time I want to do this backup? Original Message 18-Jan 20:31 ctsnas-sd: Job BackupCatalog.2006-01-18_20.30.52 waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: nas1-device Media type: File Pool: Full-Pool --- Apart from Florians answer, I'd suggest that you verify how many volumes already exist in that pool. Might be that it's just full... Using the llist command on the volumes might show you why they aren't considered for recycling, too. Arno Thanks in advance --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup strategy/config questions
Hi, On 1/19/2006 3:10 PM, Alan Brown wrote: On Thu, 19 Jan 2006, Arno Lehmann wrote: Using volumes from more than one pool in one autochanger is not supported with 1.36, and you will probably run into problems sooner or later. That's not quite right, I have 4 pools loaded in my autochanger and have had for several years. Hmm. I assume that you never had slots where tapes from different pools were loaded, because that's what will break your jobs. The reason is the way the DIR determins which volumes have their InChanger and Slot information reset. The problem comes when there are multiple simultaneous backups congigured and there is contention for different pools on the same drive in the autochanger - it causes the second job to abort instead of queueing. I had no problems with different pools running simultaneously on different drives. The workaround for pool contention is to disable multiple simultaneous backups, which unfortunately defeats the purpose of having multiple drives, but is better than having backups aborting. Quite true. I guess you'll love 1.38.5 ;-) Arno AB -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: Backup Problem: The number of files mismatch!
Kern Sibbald wrote: Below are a few guesses. They are a large part guesses because you didn't specify enough information: please see the Support page on the web site. My mistake. System Information: Server:Dell PowerEdge 2650 OS:CentOS 3.6 (fully updated) SCSI Card: LSI Logic / Symbios Logic LSI8952U Tape Unit: Dell PowerVault 132T with LTO-2 drive Bacula:1.36.3 (RHEL3 SQLite RPM built by D. Scott Barninger) Tapeinfo output: what: /etc/bacula $ tapeinfo -f /dev/sg4 Product Type: Tape Drive Vendor ID: 'IBM ' Product ID: 'ULTRIUM-TD2 ' Revision: '333K' Attached Changer: No SerialNumber: '1110010956' MinBlock:1 MaxBlock:16777215 SCSI ID: 3 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x18 Density Code: 0x40 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 Block Position: 2 Tape stoptions settings: st1: Mode 0 options: buffer writes: 1, async writes: 1, read ahead: 1 st1:can bsr: 0, two FMs: 0, fast mteom: 0, auto lock: 0, st1:defs for wr: 0, no block limits: 0, partitions: 0, s2 log: 0 st1:sysv: 0 nowait: 0 I suspect that perhaps you forgot to run the btape test command before using your tape or perhaps you are using an old Bacula that didn't perform the append test. I did not forget. I ran the btape test successfully on this drive before putting it into production. I just re-ran it and include the output at the end of this message. The mismatch appears to be because your Device resource is not suitable for your drive. It has worked for several days, switching tapes and appending jobs nightly to back up data to two different tape pools. I was also able to successfully restore files from the Monthly-0004 volume yesterday. The output from bscan indicates quite a number of problems as well, so the usefulness of the tape is questionable. *nod* I saw those. Perhaps the tape itself is failing. --[Lance] Ouput of 'btape /dev/nst1': what:/etc/bacula $ btape /dev/nst1 Tape block granularity is 1024 bytes. btape: butil.c:258 Using device: /dev/nst1 for writing. btape: btape.c:335 open_dev /dev/nst1 OK *test === Write, rewind, and re-read test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and re-read the data to verify that it is correct. This is an *essential* feature ... btape: btape.c:786 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:802 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:811 Rewind OK. 1000 blocks re-read correctly. Got EOF on tape. 1000 blocks re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === === Write, rewind, and position test === I'm going to write 1000 records and an EOF then write 1000 records and an EOF, then rewind, and position to a few blocks and verify that it is correct. This is an *essential* feature ... btape: btape.c:898 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:914 Wrote 1000 blocks of 64412 bytes. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:923 Rewind OK. Reposition to file:block 0:4 Block 5 re-read correctly. Reposition to file:block 0:200 Block 201 re-read correctly. Reposition to file:block 0:999 Block 1000 re-read correctly. Reposition to file:block 1:0 Block 1001 re-read correctly. Reposition to file:block 1:600 Block 1601 re-read correctly. Reposition to file:block 1:999 Block 2000 re-read correctly. === Test Succeeded. End Write, rewind, and re-read test === === Append files test === This test is essential to Bacula. I'm going to write one record in file 0, two records in file 1, and three records in file 2 btape: btape.c:435 Rewound /dev/nst1 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to /dev/nst1 btape: btape.c:335 open_dev /dev/nst1 OK btape: btape.c:435 Rewound /dev/nst1 btape: btape.c:1052 Now moving to end of medium. btape: btape.c:482 Moved to end of medium. We should be in file 3. I am at file 3. This is correct! Now the important part, I am going to attempt to append to the tape. btape: btape.c:1505 Wrote one record of 64412 bytes. btape: btape.c:1507 Wrote block to device. btape: btape.c:465 Wrote 1 EOF to
Re: [Bacula-users] backup strategy/config questions
Hello, On 1/19/2006 3:11 PM, Ralf Gross wrote: ... Determining the right strategy is, obviously, up to you. (You wouldn't be the first to discover that your autochanger doesn't fit your needs, though.) At the moment, tapes are the only way to archive data and put them into a safe here. 200GB+ disk are still more expensive and need more space than tapes. No, I wouldn't recommen to use disks as backup media *shudder*... rather, I suppose you might find that an autoloader with more slots might better suit your needs. Apart from that, I don't exactly understand why you make a distinction between archive and regular jobs. The simplest solution is to keep the full backups as long as you need them, and have the differential and incremental jobs go to pools that cycle more quickly. I want to keep the monthly archive tapes for 2 years. But the regular full backup should be kept only 14 days. I want to change the tapes only one time a month. Thus the regular backup must be overwritten more frequently and I think I have to use 2 different jobs/pools to achieve that. Difficult. You could do this differently, too, but that would require clever scripting (for the retention times etc.) and a rather complicated setup of your schedules. Still I wonder why you need that distinction - I mean, you're doing the full backups anyway, and why not simply remove the volumes for one of the full backups once a month, set their status to Archived, and thus keep things simpler (and needing less autochanger slots)? In that case, you could leave the diff/incr volumes in the changer and only remove the full backup volumes. Hm, you would use 2 separate pools for the full and inrc. volumes, take out the monthly tape and put it in the safe? How can I be sure the monthly tape is not overwritten by a regular job if I forget to take it out? (I'm sure this is covered by the manual...). True. Retention times is the keyword... The focus should be - as mentioned above - to change the archive tapes only once a month. Should be possible... an actual estimate with real numbers and all that stuff would usually be something I get paid for :-) but I suppose you might find that you don't have enough slots: Only talking about server 2. Three tapes per full backup. You keep them for two weeks and need space for the next backup: 9 tapes already. I'm also very unsure about the right settings for retention/prune/purge/recycle. That's something you should look up in the manual, then - I couldn't explain it much differently. Ok. Maybe I'm a just bit to confused at the moment ;) Maybe... start with a simple experimental setup, with a small fileset, disk based volumes, and run your backups multiple times a day. This would allow you to observer the volume management live. That's a good idea. Is it possible to simulate the changer behavior with slots in any way (I guess not)? That's not possible, but you will not need that, too. You can emulate your setup by manually creating the volumes you'd have in the autochanger. These volumes can belong to different pools, and you can limit the size each volume can have. Whenever you get an operator intervention request you know that you'd have to take some tapes and go to the autochanger in real life. Arno Ralf --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Failed to connect to Client PARANOIA
javier rojas wrote: thanx for answering, Try a telnet MACHINE 9102 from your server and a telnet STORAGE-SERVER 9103 and telnet SERVER 9101 from your client telnet MACHINE 9102 Trying 192.168.127.250... Connected to MACHINE. Escape character is '^]'. telnet STORAGE SERVER Trying 192.168.127.2... it doesn't seems to connect, so i checked host.allow and theres absolutely nothing uncommented there, i tried to do a iptables stop but i got bad argumment, any tips on iptables?? in short iptables -F; iptables -P input accept; iptables -P output accept should do the trick, or man iptables. your bacula-fd.conf on client should have more lines like this: FileDaemon { # this is me Name = MACHINE-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/bacula Pid Directory = /var/bacula Maximum Concurrent Jobs = 20 that's exactly how my bacula-fd.conf is... FileDaemon { # this is me Name = MACHINE-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/bacula Pid Directory = /var/bacula Maximum Concurrent Jobs = 20 run a netstat -nlp e check if a 9102 is open. netstat -nlp (STORAGE-SERVER) tcp0 0 0.0.0.0:9101 0.0.0.0:*LISTEN off (0.00/0/0) tcp0 0 0.0.0.0:9102 0.0.0.0:*LISTEN off (0.00/0/0) tcp0 0 0.0.0.0:9103 0.0.0.0:*LISTEN off (0.00/0/0) netstat -nlp (MACHINE) tcp0 0 0.0.0.0:9102 0.0.0.0:*LISTEN 4495/bacula-fd -- Ciao, Javier linux user #393724 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FreeBSD port updated to 1.38.5
FYI: http://www.freshports.org/sysutils/bacula-server/ upgrade, enjoy. cheers -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FreeBSD port updated to 1.38.5
On Thursday 19 January 2006 21:18, Dan Langille wrote: FYI: http://www.freshports.org/sysutils/bacula-server/ upgrade, enjoy. That has to be an all time speed record ! cheers -- Best regards, Kern ( /\ V_V --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Failed to connect to Client PARANOIA
On Wed, 18 Jan 2006 16:27:14 -0400, javier rojas [EMAIL PROTECTED] said: Javier i've installed successfully bacula server on my machine and i'm Javier tryying to add a second client, so i installed the client on another Javier machine, but so far i haven't been able to establish a connection Javier between the two machines, this is my bacula-dir.conf (server) Javier i can do a ping MACHINE from my server and its ok, iptables is Javier stopped. (on the server) Javier # Javier # Second Client (File Services) to backup Javier # You should change Name, Address, and Password before using Javier # Javier Client { Javier Name = MACHINE-fd Javier Address = MACHINE Javier FDPort = 9102 Javier Catalog = MyCatalog Javier Password = Y/2EfpcMgOz0mz2GVoNR/6n+XtvO3BPWyK9Tb54n1wh+ # Javier password for FileDaemon 2 Javier File Retention = 30 days# 30 days Javier Job Retention = 6 months# six months Javier AutoPrune = yes # Prune expired Jobs/Files Javier } Javier and this is the bacula-fd.conf on MACHINE Javier Director { Javier Name = virtual10-dir Javier Password = Y/2EfpcMgOz0mz2GVoNR/6n+XtvO3BPWyK9Tb54n1wh+ Javier } Javier if i do a tcpdump on the port 9102 on machine i see the packages Javier comming from server but i get this messages on the bconsole on server: Javier Select Client (File daemon) resource (1-2): 2 Javier Connecting to Client MACHINE-fd at MACHINE:9102 Javier Failed to connect to Client MACHINE-fd. Javier Javier You have messages. Javier * Javier 18-Jan 16:11 server-dir: *Console*.2006-01-18_16.11.38 Fatal error: The problem may be the name on the Director. In the above message, it says server-dir but that doesn't match the name virtual10-dir in your bacula-fd.conf on MACHINE. Also check that the Name in the Director's Client resource for MACHINE matches the Name in MACHINE's Client resource. __Martin --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FreeBSD port updated to 1.38.5
On 19 Jan 2006 at 21:29, Kern Sibbald wrote: On Thursday 19 January 2006 21:18, Dan Langille wrote: FYI: http://www.freshports.org/sysutils/bacula-server/ upgrade, enjoy. That has to be an all time speed record ! A combination of me creating the patch and Lars having time to review it and commit it. FWIW, the patch isn't big. You can view it here: http://www.freebsd.org/cgi/query-pr.cgi?pr=91999 I changed a 3 to a 5 (we hadn't had time to the upgrade to 1.38.4 yet), and updated the m5d info. All up, six hours between my patch and Lars having time. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup strategy/config questions
Arno Lehmann schrieb: On 1/19/2006 3:11 PM, Ralf Gross wrote: [snip] At the moment, tapes are the only way to archive data and put them into a safe here. 200GB+ disk are still more expensive and need more space than tapes. No, I wouldn't recommen to use disks as backup media *shudder*... rather, I suppose you might find that an autoloader with more slots might better suit your needs. You are right, the changer is 6 six years old! Unfortunately the budget situation is a bit tight at the moment. But that's an other story. Apart from that, I don't exactly understand why you make a distinction between archive and regular jobs. The simplest solution is to keep the full backups as long as you need them, and have the differential and incremental jobs go to pools that cycle more quickly. I want to keep the monthly archive tapes for 2 years. But the regular full backup should be kept only 14 days. I want to change the tapes only one time a month. Thus the regular backup must be overwritten more frequently and I think I have to use 2 different jobs/pools to achieve that. Difficult. You could do this differently, too, but that would require clever scripting (for the retention times etc.) and a rather complicated setup of your schedules. I'd like to keep this as simple as possible, because the setup is not for a typical IT department. I'll be the only person that (hopefully) will have detailed knowledge about bacula. Still I wonder why you need that distinction - I mean, you're doing the full backups anyway, and why not simply remove the volumes for one of the full backups once a month, set their status to Archived, and thus keep things simpler (and needing less autochanger slots)? If remove the tapes and put them into a safe - which might be placed at a differnt location - and I need them for a restore I'll lose some time. That was one reason for the 2 differnt jobs/pools. I think I've to take a deeper look at the documentation to get the whole picture, what I can accomplish with bacula. In that case, you could leave the diff/incr volumes in the changer and only remove the full backup volumes. Hm, you would use 2 separate pools for the full and inrc. volumes, take out the monthly tape and put it in the safe? How can I be sure the monthly tape is not overwritten by a regular job if I forget to take it out? (I'm sure this is covered by the manual...). True. Retention times is the keyword... I'm quite sure that I'll have some questions to the retention times in the future (no threat! ;) The focus should be - as mentioned above - to change the archive tapes only once a month. Should be possible... an actual estimate with real numbers and all that stuff would usually be something I get paid for :-) but I suppose you might find that you don't have enough slots: Agreed! Only talking about server 2. Three tapes per full backup. You keep them for two weeks and need space for the next backup: 9 tapes already. Ok, with 12 slots it seems to be the best method to have just 2 jobs for the 2 server and handel the archive tapes as you mentioned above. [snip] Maybe I'm a just bit to confused at the moment ;) Maybe... start with a simple experimental setup, with a small fileset, disk based volumes, and run your backups multiple times a day. This would allow you to observer the volume management live. That's a good idea. Is it possible to simulate the changer behavior with slots in any way (I guess not)? That's not possible, but you will not need that, too. You can emulate your setup by manually creating the volumes you'd have in the autochanger. These volumes can belong to different pools, and you can limit the size each volume can have. Whenever you get an operator intervention request you know that you'd have to take some tapes and go to the autochanger in real life. I'll try that after building 1.38.5 from source. Thanks, Ralf --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re: Backup Problem: The number of files mismatch!
Arno Lehmann wrote: That said, the question is Why does the SD need 4 minutes to find that there are no file marks on tape? I don't know the answer. BUT I'd suggest that you do the following: - Check the system log for any tape or SCSI related errors. Use tapeinfo to see the tape drive's status. Oh joy I missed this when I looked last time: Here is a cut of the SCSI related kernel syslog messages starting with a reboot of the server. After it came up, I tried to follow your directions below. An attempt to 'mt -f /dev/nst1 eod' has hung up, apparently forever. Jan 19 15:40:18 what kernel: PCI: Assigned IRQ 11 for device 01:08.0 Jan 19 15:40:18 what kernel: sym53c8xx: at PCI bus 1, device 8, function 0 Jan 19 15:40:18 what kernel: sym53c8xx: setting PCI_COMMAND_PARITY...(fix-up) Jan 19 15:40:18 what kernel: sym53c8xx: 53c895 detected with Symbios NVRAM Jan 19 15:40:18 what kernel: sym53c895-0: rev 0x2 on pci bus 1 device 8 function 0 irq 11 Jan 19 15:40:18 what kernel: sym53c895-0: Symbios format NVRAM, ID 7, Fast-40, Parity Checking Jan 19 15:40:18 what kernel: sym53c895-0: on-chip RAM at 0xfcf0 Jan 19 15:40:18 what kernel: sym53c895-0: restart (scsi reset). Jan 19 15:40:18 what kernel: sym53c895-0: Downloading SCSI SCRIPTS. Jan 19 15:40:18 what kernel: scsi2 : sym53c8xx-1.7.3c-20010512 Jan 19 15:40:18 what kernel: blk: queue c46dc014, I/O limit 4095Mb (mask 0x) Jan 19 15:40:18 what kernel: Vendor: EXABYTE Model: LTO 1x7 2U Rev: B008 Jan 19 15:40:18 what kernel: Type: Medium Changer ANSI SCSI revision: 04 Jan 19 15:40:18 what kernel: blk: queue c46dc214, I/O limit 4095Mb (mask 0x) Jan 19 15:40:18 what kernel: sym53c895-0-1,*: FAST-40 WIDE SCSI 80.0 MB/s (25.0 ns, offset 31) Jan 19 15:40:19 what kernel: Vendor: IBM Model: ULTRIUM-TD3 Rev: 58R0 Jan 19 15:40:19 what kernel: Type: Sequential-Access ANSI SCSI revision: 03 Jan 19 15:40:19 what kernel: blk: queue c46dc414, I/O limit 4095Mb (mask 0x) Jan 19 15:40:19 what kernel: Vendor: DELL Model: PV-132T Rev: 109D Jan 19 15:40:19 what kernel: Type: Medium Changer ANSI SCSI revision: 02 Jan 19 15:40:19 what kernel: blk: queue c46dc614, I/O limit 4095Mb (mask 0x) Jan 19 15:40:19 what kernel: sym53c895-0-3,*: FAST-40 WIDE SCSI 80.0 MB/s (25.0 ns, offset 31) Jan 19 15:40:19 what kernel: Vendor: IBM Model: ULTRIUM-TD2 Rev: 333K Jan 19 15:40:19 what kernel: Type: Sequential-Access ANSI SCSI revision: 03 Jan 19 15:40:19 what kernel: Attached scsi tape st0 at scsi2, channel 0, id 1, lun 0 Jan 19 15:40:19 what kernel: Attached scsi tape st1 at scsi2, channel 0, id 3, lun 0 [ Attempted to 'mt -f /dev/nst1 eod' at this point] Jan 19 15:41:21 what kernel: Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 8 Jan 19 15:41:21 what kernel: Attached scsi generic sg3 at scsi2, channel 0, id 2, lun 0, type 8 Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. Jan 19 15:41:32 what kernel: sym53c895-0-3,*: FAST-40 WIDE SCSI 80.0 MB/s (25.0 ns, offset 31) Jan 19 15:42:12 what kernel: st1: Block limits 1 - 16777215 bytes. Jan 19 15:44:05 what kernel: st1: Mode 0 options: buffer writes: 1, async writes: 1, read ahead: 1 Jan 19 15:44:05 what kernel: st1:can bsr: 0, two FMs: 0, fast mteom: 0, auto lock: 0, Jan 19 15:44:05 what kernel: st1:defs for wr: 0, no block limits: 0, partitions: 0, s2 log: 0 Jan 19 15:44:05 what kernel: st1:sysv: 0 nowait: 0 Jan 19 15:47:04 what kernel: scsi : aborting command due to timeout : pid 4801, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:47:04 what kernel: sym53c8xx_abort: pid=4801 serial_number=4802 serial_number_at_timeout=4802 Jan 19 15:47:34 what kernel: scsi : aborting command due to timeout : pid 4831, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:47:34 what kernel: sym53c8xx_abort: pid=4831 serial_number=4832 serial_number_at_timeout=4832 Jan 19 15:48:04 what kernel: scsi : aborting command due to timeout : pid 4840, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:48:04 what kernel: sym53c8xx_abort: pid=4840 serial_number=4841 serial_number_at_timeout=4841 Jan 19 15:48:34 what kernel: scsi : aborting command due to timeout : pid 4850, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:48:34 what kernel: sym53c8xx_abort: pid=4850 serial_number=4851 serial_number_at_timeout=4851 Jan 19 15:50:18 what kernel: sym53c895-0:3: message 6 sent on bad reselection. I expect the Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. entries and the aborts at the end are a Bad Thing(TM). Tried a cold restart of all hardware and got the same errors trying to go to EOD on this volume (Monthly-004) Jan 19 16:35:56 what kernel: scsi : aborting command due to timeout :
[Bacula-users] Re: Backup Problem: The number of files mismatch!
Hello, On 1/19/2006 10:42 PM, Lance Brown wrote: Arno Lehmann wrote: ... BUT I'd suggest that you do the following: - Check the system log for any tape or SCSI related errors. Use tapeinfo to see the tape drive's status. Oh joy I missed this when I looked last time: Here is a cut of the SCSI related kernel syslog messages starting with a reboot of the server. After it came up, I tried to follow your directions below. An attempt to 'mt -f /dev/nst1 eod' has hung up, apparently forever. ... [ Attempted to 'mt -f /dev/nst1 eod' at this point] Jan 19 15:41:21 what kernel: Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0, type 8 Jan 19 15:41:21 what kernel: Attached scsi generic sg3 at scsi2, channel 0, id 2, lun 0, type 8 Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. Jan 19 15:41:32 what kernel: sym53c895-0-3,*: FAST-40 WIDE SCSI 80.0 MB/s (25.0 ns, offset 31) Jan 19 15:42:12 what kernel: st1: Block limits 1 - 16777215 bytes. Jan 19 15:44:05 what kernel: st1: Mode 0 options: buffer writes: 1, async writes: 1, read ahead: 1 Jan 19 15:44:05 what kernel: st1:can bsr: 0, two FMs: 0, fast mteom: 0, auto lock: 0, Jan 19 15:44:05 what kernel: st1:defs for wr: 0, no block limits: 0, partitions: 0, s2 log: 0 Jan 19 15:44:05 what kernel: st1:sysv: 0 nowait: 0 Jan 19 15:47:04 what kernel: scsi : aborting command due to timeout : pid 4801, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:47:04 what kernel: sym53c8xx_abort: pid=4801 serial_number=4802 serial_number_at_timeout=4802 Jan 19 15:47:34 what kernel: scsi : aborting command due to timeout : pid 4831, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:47:34 what kernel: sym53c8xx_abort: pid=4831 serial_number=4832 serial_number_at_timeout=4832 Jan 19 15:48:04 what kernel: scsi : aborting command due to timeout : pid 4840, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:48:04 what kernel: sym53c8xx_abort: pid=4840 serial_number=4841 serial_number_at_timeout=4841 Jan 19 15:48:34 what kernel: scsi : aborting command due to timeout : pid 4850, scsi2, channel 0, id 3, lun 0 Inquiry 00 00 00 38 00 Jan 19 15:48:34 what kernel: sym53c8xx_abort: pid=4850 serial_number=4851 serial_number_at_timeout=4851 Jan 19 15:50:18 what kernel: sym53c895-0:3: message 6 sent on bad reselection. I expect the Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. Jan 19 15:41:22 what kernel: sym53c895-0-2,*: target did not report SYNC. entries and the aborts at the end are a Bad Thing(TM). Definitely. Tried a cold restart of all hardware and got the same errors trying to go to EOD on this volume (Monthly-004) ... I'm really starting to think I have a bad tape on my hands, since btape with a different tape succeeds in all respects. Good for you - replacing one tape is rather simple :-) Arno --[Lance] -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users