[Bacula-users] Offsite Volumes | GFS Schedule | Policy Planning
All, a couple of things: There doesn't seem to be an official definition of GFS, but the most popular explanation to be found involves Full/0 backups on Friday and incremental/differentials on Monday through Thursday. That's great for 9-5 office environments, but what about data centers? It's very hard to find explanations/examples that involve a 7-day cycle, and specifically how off-site tape rotation (and retention) policies integrates with GFS style backups cycles. 1) Can I get a testimony from someone who is actively using a GFS schedule with Bacula? Per the section A Daily, Weekly, Monthly Tape Usage Example in the manual? 1a) The standard GFS system could be modified to permit weekend backups performing a Full/0 backup on Sunday instead of Friday? Just add two tapes and find a data storage service that delivers on Weekends? 2) Generally speaking, off-site tape rotation occurs from copies of Level 0/Full backups? Off site storage can happen weekly, monthly, or quarterly. Quarterly and Monthly meant for non-recycled permanent off-site storage, and weekly meant for facility destruction contingency plans? But how is that commonly accomplished most frequently in practice? Weekly (Father) off-site copies simply a rotation through a 5 tape (for a 1-month retention policy) Pool? Or is it more common to leave the weekly/full tape at the facility and *duplicate* the Weekly/Full after it has finished running? How would that work with Monthly (Grandfather)? After all, a monthly (Grandfather) would simply be an extra or second copy of the Weekly Full/Level0 moved off-site with the regular copy, but only if it's the last Friday/Week of the month? Are there provisions in Bacula for in-line duplication of full tapes? Multiplexing? I.e., spool the data from the client once, write it twice, one to the weekly Full/Level 0 left on site, one to the off-site copy? (Would the Catalog have duplicate entries?) Or is this a process normally done manually using two tape drives? Using dd(1) perhaps? I see the docs btape/bscan. I assume this means that there is no way of telling Bacula about multiple copies of data on different tape members in different volumes. Thus it is the responsibility of the administrator to keep track of which tapes are on/off site for weekly replication/off site storage. A mapping must be kept between the volume IDs of the on/off-site copies. - Here's where it gets complicated with off-site storage / GFS integration. Duplication scenario: - At any given time, there are 4 of 5 tapes in my Weekly Pool off-site. - The on-site member tape sits in the changer and gets written/duplicated with the Full/level0. - The Full/Level0 backup occurs, gets multiplexed to both tapes *or* manually duplicated afterward. - I arrange/move of the duplicate to off-site storage immediately after it is written. - At the same time, the next tape from the weekly pool is delivered (It is 4 weeks old, it sits idle next to current Full/Level0) - With this method, I have a current Full/Level 0 tape copy off-site to recovery to a DR site with any time between then and the next full backup. - I also have the a copy of the current Full/Level 0 tape copy on-site for to recover from. - The worst case scenario is a disaster on the day before the next Full backup. If I have to recovery data to a DR site, the max age is 6-7 days old. Non-Duplication scenario: - At any given time, there are 4 of 5 tapes in my weekly Pool off-site. - The on-site tape sits in the changer and gets written/duplicated with the Full/Level0 job. - That tape must be kept-on site until the next Full/Level0 to permit for recovery from itself plus any incremental tape dependencies between the last Full/Level0. - Before the next Full/Level0 is written, the next member tape in the pool must be delivered and the exchanged with the current one. - With this method, there is no current off-site backup. Your newest or most-current off-site Full/Level0 is at any given time at least 7 days old *plus* the number of days in incremental since (as many as 12/13 days old). ~lava --- 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] Offsite Volumes | GFS Schedule | Policy Planning
All, a couple of things: There doesn't seem to be an official definition of GFS, but the most popular explanation to be found involves Full/0 backups on Friday and incremental/differentials on Monday through Thursday. That's great for 9-5 office environments, but what about data centers? It's very hard to find explanations/examples that involve a 7-day cycle, and specifically how off-site tape rotation (and retention) policies integrates with GFS style backups cycles. 1) Can I get a testimony from someone who is actively using a GFS schedule with Bacula? Per the section A Daily, Weekly, Monthly Tape Usage Example in the manual? 1a) The standard GFS system could be modified to permit weekend backups performing a Full/0 backup on Sunday instead of Friday? Just add two tapes and find a data storage service that delivers on Weekends? 2) Generally speaking, off-site tape rotation occurs from copies of Level 0/Full backups? Off site storage can happen weekly, monthly, or quarterly. Quarterly and Monthly meant for non-recycled permanent off-site storage, and weekly meant for facility destruction contingency plans? But how is that commonly accomplished most frequently in practice? Weekly (Father) off-site copies simply a rotation through a 5 tape (for a 1-month retention policy) Pool? Or is it more common to leave the weekly/full tape at the facility and *duplicate* the Weekly/Full after it has finished running? How would that work with Monthly (Grandfather)? After all, a monthly (Grandfather) would simply be an extra or second copy of the Weekly Full/Level0 moved off-site with the regular copy, but only if it's the last Friday/Week of the month? Are there provisions in Bacula for in-line duplication of full tapes? Multiplexing? I.e., spool the data from the client once, write it twice, one to the weekly Full/Level 0 left on site, one to the off-site copy? (Would the Catalog have duplicate entries?) Or is this a process normally done manually using two tape drives? Using dd(1) perhaps? I see the docs btape/bscan. I assume this means that there is no way of telling Bacula about multiple copies of data on different tape members in different volumes. Thus it is the responsibility of the administrator to keep track of which tapes are on/off site for weekly replication/off site storage. A mapping must be kept between the volume IDs of the on/off-site copies. - Here's where it gets complicated with off-site storage / GFS integration. Duplication scenario: - At any given time, there are 4 of 5 tapes in my Weekly Pool off-site. - The on-site member tape sits in the changer and gets written/duplicated with the Full/level0. - The Full/Level0 backup occurs, gets multiplexed to both tapes *or* manually duplicated afterward. - I arrange/move of the duplicate to off-site storage immediately after it is written. - At the same time, the next tape from the weekly pool is delivered (It is 4 weeks old, it sits idle next to current Full/Level0) - With this method, I have a current Full/Level 0 tape copy off-site to recovery to a DR site with any time between then and the next full backup. - I also have the a copy of the current Full/Level 0 tape copy on-site for to recover from. - The worst case scenario is a disaster on the day before the next Full backup. If I have to recovery data to a DR site, the max age is 6-7 days old. Non-Duplication scenario: - At any given time, there are 4 of 5 tapes in my weekly Pool off-site. - The on-site tape sits in the changer and gets written/duplicated with the Full/Level0 job. - That tape must be kept-on site until the next Full/Level0 to permit for recovery from itself plus any incremental tape dependencies between the last Full/Level0. - Before the next Full/Level0 is written, the next member tape in the pool must be delivered and the exchanged with the current one. - With this method, there is no current off-site backup. Your newest or most-current off-site Full/Level0 is at any given time at least 7 days old *plus* the number of days in incremental since (as many as 12/13 days old). ~lava smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Skip a day in Date-time-specification ?
From the example: Schedule { Name = WeeklyCycle Run = Level=Full sun at 1:05 Run = Level=Incremental mon-sat at 1:05 } If I want to run my Full on Friday, and Incremental on Sun,Mon,Tue,Wed,Thurs,Sat -- the syntax would normally be: Sun-Thur,Sat however this syntax is invalid to the Director? Just have multiple run lines instead? ~lava --- 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] DIR cannot connect to SD
Use 'pgrep' or 'netstat -tan' to verify that bacula-sd is properly running. Start it manually with -f -d999 flags if it is not starting out of the rc scripts properly. ~lava On Wed, 2006-02-01 at 19:49 +, Frank M. Blythe wrote: Whenever I try to run a test backup to the tmp directory I get the following error. I have checked the manual and my configuration seems correct. The Dir password and SD password match. 01-Feb 12:58 ninja3-dir: *Console*.2006-02-01_12.51.37 Warning: bnet.c:853 Could not connect to Storage daemon on ninja3:9103. ERR=Connection refused Retrying ... 01-Feb 13:03 ninja3-dir: *Console*.2006-02-01_12.51.37 Warning: bnet.c:853 Could not connect to Storage daemon on ninja3:9103. ERR=Connection refused Retrying ... 01-Feb 13:07 ninja3-dir: Error: bnet.c:426 Write error sending 57 bytes to client:127.0.0.1:36131: ERR=Broken pipe Frank __ With MSN Spaces email straight to your blog. Upload jokes, photos and more. It's free! --- 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 smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Skip a day in Date-time-specification ?
On Wed, 2006-02-08 at 00:57 +0100, Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: If I want to run my Full on Friday, and Incremental on Sun,Mon,Tue,Wed,Thurs,Sat -- the syntax would normally be: Sun-Thur,Sat however this syntax is invalid to the Director? Try Sun-Thu,Sat ... EXCELLENT! Thank you. Can you please add an example of this syntax to the docs? Actually, if I wanted to contribute a patch to the docs, what method would I use? Normally sf.net projects have trackers. Should i use bugs.bacula.org instead? ~lava Best regards, Wolfgang Denk smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Skip a day in Date-time-specification, schedule job over two months
l mar 1-6 at 19:00 Would the following work? Run = Level=Incremental feb 28, mar 1-6 at 19:00 bacula-dir -t doesn't complain, but I wonder what the actual behaviour would be. I do want it to run on Feb 28 and March 1-6, but _not_ on March 28 and Feb 1-6. List jobs or show jobs from bconsole should show you (be it a bit difficult to read). ~lava --- 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] Simulate/Test Scheduler?
Is there any built-in mechanism to test Schedule {} planning? I need to verify the behavior will work as expected. Bumping the clock around on the machine seems reasonable, but ugly. File system activity can also be scripted outside of the system. TIA, ~lava --- 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] Simulate/Test Scheduler?
Bumping the clock around on the machine seems reasonable, but ugly. File system activity can also be scripted outside of the system. Somehow I don't understand what file system activity has to do with the schedules... I guess I need to test more than just the schedule. I need to test the logic behind Incremental-Full mode promotion code. I need to test the Prune/Auto-Recycle code/behavior. ~lava Arno TIA, ~lava --- 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 smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Dell PowerVault 110T and 120T
For the sake of the list archives (no mention so far), the: Dell PowerVault 110T and 120T (the former simply being a desktop model, and the later being a rack-mount model), work well with Bacula 1.38.5 on NetBSD 3.0_STABLE and FreeBSD 5.3-p26. They both pass btape(8) tests. The drives are DLT7000. They are OEM. The manufacturer is Quantum. The configs are: Device { Name = PGH-DellPowerVault120T Drive Index = 0 Media Type = DLT7000 Archive Device = /dev/nsa0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = no; Hardware End of Medium = No BSF at EOM = yes # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' TWO EOF = yes } Device { Name = PGH-DellPowerVault110T Drive Index = 0 Media Type = DLT7000 Archive Device = /dev/nrst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = no; Hardware End of Medium = No BSF at EOM = yes # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' TWO EOF = yes } The only major difference being the tape device name differences between NetBSD and FreeBSD. Also, the 120T requires a High Voltage Differential controller. # tapeinfo -f /dev/pass0 Product Type: Tape Drive Vendor ID: 'QUANTUM ' Product ID: 'DLT7000 ' Revision: '2561' Attached Changer: No SerialNumber: 'PXA33S5752' MinBlock:2 MaxBlock:16777214 Ready: yes BufferedMode: yes Medium Type: 0x85 Density Code: 0x1b BlockSize: 0 DataCompEnabled: no DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x10 DeCompType: 0x10 BOP: yes Block Position: 0 # mt status Mode Density Blocksize bpi Compression Current: 0x1b:DLTapeIV(35GB)variable 85937disabled -available modes- 0:0x1b:DLTapeIV(35GB)variable 85937IDRC 1:0x1b:DLTapeIV(35GB)variable 85937IDRC 2:0x1b:DLTapeIV(35GB)variable 85937IDRC 3:0x1b:DLTapeIV(35GB)variable 85937IDRC - Current Driver State: at rest. - File Number: 0 Record Number: 0Residual Count 0 ~lava smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Hit me w/ a Clue-by-Four (Amanda user)
Sorry to keep flooding the list...but I live for this stuff:} Situation: 1) I have multiple servers, different platforms, different functions 2) Some servers have common paths to be backed up (/etc, /var/log, etc.) 3) Some have platform/function-specific paths: (/var/adm, /opt/oracle) 4) A Job can only define one fileset 5) Per the manual: If you want to backup multiple FileSets on the same Client or multiple Clients, you must define a Job for each one. 6) Multiple Jobs can be assigned to the same schedule 7) Multiple Jobs can be assigned to the same storage medium 8) Thus, multiple jobs could be started in sequence/parallel As an Amanda user, I'm accustomed dot a 1:1:1:1? ratio of ... media/storage:schedule:clients:paths. I'm accustomed to the idea that the job will start, fetch all of the files in the disklist to a local disk spool, then write them to a single volume. Now I have to bring my thinking back into alignment with Bacula. The bacula-dir.conf syntax is perpetually more convenient. I like the abstraction between jobs/schedules/filesets/clients. It's resembles data modeling of an RDBMS. Therein, ideally I don't want to have to define ... a file set for ... for each client for each job. Because that just leads to duplication and lack of flexibility. However, Per #8 above, I'm trying to setup: two jobs... same client... different filesets same schedule same DefJobs and thus the same schedule/pool/storage the same might apply to: four jobs two clients one shared fileset one client-specific fileset per same schedule same DefJobs But in either configuration, the jobs launch at the same time in the scheduler and run in series/serial. Thus, if the database is purged, and each job is configured as incremental, and there is no record of a full backup, each job is promoted to Full, so the first job runs completes, then asks for the next tape in the pool. This is not the expected behavior (imho). I'd expect it to consolidate all jobs that are schedule to run at the same time, with the same storage, same pool, same priority, to the same volume. TIA, ~lava smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Skip a day in Date-time-specification ?
From the example: Schedule { Name = WeeklyCycle Run = Level=Full sun at 1:05 Run = Level=Incremental mon-sat at 1:05 } If I want to run my Full on Friday, and Incremental on Sun,Mon,Tue,Wed,Thurs,Sat -- the syntax would normally be: Sun-Thur,Sat however this syntax is invalid to the Director? Just have multiple run lines instead? ~lava smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] user complains bacula slows his laptop
- - Validate that memory usage claim - - Ensure that the client system has UDMA running properly on all harddrives (Drives running in PIO modes generate loads of interrupts and thus bog down the CPU), on Windows you can check this in the Device Manager (see the IDE controllers' properties there), on Linux this can be checked with hdparm. This one is important and often overlooked. It doesn't really matter. Most laptops are still 4200 RPM drives. Newer ones are 5400; and 7200 relatively bleeding edge. We're talking about Windows here, let's not forget .:} - - Check the CPU load of the client during backup (especially if you use GZIP client compression). Consider disabling software compression if you smime.p7s Description: S/MIME cryptographic signature
JobSet, Batch, or Aggregate Concept / Max tape usage per (WAS: Re: [Bacula-users] Hit me w/ a Clue-by-Four (Amanda user))
On Thu, 2006-02-09 at 10:37 +, Russell Howe wrote: Brian A. Seklecki wrote: But in either configuration, the jobs launch at the same time in the scheduler and run in series/serial. Thus, if the database is purged, and each job is configured as incremental, and there is no record of a full backup, each job is promoted to Full, so the first job runs completes, then asks for the next tape in the pool. Sounds like it marked the tape as 'Used' or 'Full' instead of leaving it open for appends... That's exactly what's happening. See below. This is not the expected behavior (imho). I'd expect it to consolidate all jobs that are schedule to run at the same time, with the same storage, same pool, same priority, to the same volume. Bacula will do this. Check you don't have Maximum Volume Jobs = 1 in I do. This is because I'm trying to enforce a specific threshold of a single-tape-per-day policy. I can manage volume capacity myself. I'd like to override Bacula's default behavior of auto-picking a tape based on status/capacity/recycle time. I'd essentially like to Micro-Manage it perhaps. I want my tapes to be written to by the scheduled jobs for their daily assignment, by all the jobs scheduled to run at that time, and then be marked Used. The trick is, if all the jobs run at the same time, don't mark the volume Used or Full until after they've all run. Recycling will automatically mark them Append after my expected threshold (hopefully) for re-use some time during the next cycle. I think the problem here is that Bacula doesn't consider multiple Jobs {}s as defined in *-dir.conf that start at the exact same time per their shared schedule as a single Job in retrospect to on-tape format. If there was a broader name for any series of jobs on the same schedule, say JobSet, Batch, or Aggregate, the option I'm looking for would be called: Maximum Jobs Batch = 1 Maximum Scheduled Jobset = 1 Thoughts? ~lava smime.p7s Description: S/MIME cryptographic signature
Date/Time poll'ing ? (WAS: Re: [Bacula-users] Simulate/Test Scheduler?)
On Thu, 2006-02-09 at 22:10 +0100, Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: In many cases (i.e. when, during the mv operation, to time stamp of the testfile inode was modified) /dir1/testfile will not be stored because it's not recognized as new - it's time stamps are older than the last full backup. RGHHH It was exactly reasons like this one that made me switch from my home-grown tar scripts to a professional backup Not to be curt, dotty, or any of that, but if If we could please move the discussion back to Testing and Simulation of the Scheduler, as well as: - Testing of Retention Times - Testing of Recycling/Pruning - Testing of automatic promotion of {Increm/Diferer}ential to Full... How often does the Director poll the system date time? How often does the Storage director? I don't see any options in the config to control this. Specifically, for periodic maintenance like recycling/pruning/volume status flagging. Poll'ing for job schedule run time seems to be down to the second or very close. ...let me give an example of behavior I'm seeing that seems undesirable: I create a new file volume in a Pool Daily with a Max Used Duration = 1h (3600 seconds), per my previous message , *and* a Retention threshold of 2 Hours. This is for testing purposes only. Here is the llist output: llist media pool=Daily mediaid: 8 volumename: CFusionDaily0 slot: 0 poolid: 2 mediatype: File firstwritten: lastwritten: labeldate: 02/12/2006 18:40:56 voljobs: 0 volfiles: 0 volblocks: 0 volmounts: 0 volbytes: 1 volerrors: 0 volwrites: 0 volcapacitybytes: 0 volstatus: Append recycle: 1 volretention: 7,200 voluseduration: 3,600 maxvoljobs: 0 maxvolfiles: 0 maxvolbytes: 0 inchanger: 1 endfile: 0 endblock: 0 volparts: 0 labeltype: 0 storageid: 4 I start a single job manually using bconsole at: Sun Feb 12 18:43:44 EST 2006 I get: 12-Feb 18:45 mindwipe-dir: No prior Full backup Job record found. 12-Feb 18:45 mindwipe-dir: No prior or suitable Full backup found. Doing FULL backup. 12-Feb 18:45 mindwipe-dir: Start Backup JobId 62, Job=Blackout-CFusionDefaults.2006-02-12_18.45.11 12-Feb 18:45 mindwipe-sd: Wrote label to prelabeled Volume CFusionDaily0 on device FileStorage (/usr/dump/bacula) 12-Feb 18:45 mindwipe-dir: Bacula 1.38.5 (18Jan06): 12-Feb-2006 18:45:22 List Jobs shows: Backup Level: Full (upgraded from Incremental) Pool: Daily Storage:FileStorage Scheduled time: 12-Feb-2006 18:45:00 Start time: 12-Feb-2006 18:45:13 End time: 12-Feb-2006 18:45:22 Termination:Backup OK A success. Afterwords, the llist status is: *llist media pool=Daily mediaid: 8 volumename: CFusionDaily0 firstwritten: 02/12/2006 18:45:13 lastwritten: 02/12/2006 18:45:22 labeldate: 02/12/2006 18:45:13 volstatus: Append recycle: 1 volretention: 7,200 voluseduration: 3,600 Now, theoretically, the Tape/Volume should remain status Append until: 02/12/2006 19:45:22 So I bump the date on the system: # date 200602121947.00 Sun Feb 12 19:47:00 EST 2006 If I llist the volume: volstatus: Append ...remains. If I #pkill bacula It remains. If I restart the Bacula daemons, it remains. The only way I'm able to get the status to change to Used is if I do in bconsole status dir: You have messages. *message 12-Feb 19:50 mindwipe-dir: Max configured use duraVolume Poll Interval = timetion exceeded. Marking Volume CFusionDaily0 as Used. However, the recycle flag remains, which I guess is okay (static flag, doesn't change with recycle/prune/max* logic) because the logic won't recycle the volume until Status changes back to Used. Now, If I bump the time ahead another hour to 20:50: # pkill -HUP bacula I immediately get: *12-Feb 19:50 mindwipe-dir: Max configured use duration exceeded. Marking Volume CFusionDaily0 as Used. Which is concerning, because I should see that tape getting marked as pruned/recycled! Once again, only until/after I run status dir: You have messages. *messages 12-Feb 20:51 mindwipe-dir: Pruned 1 Job on Volume CFusionDaily0 from catalog. 12-Feb 20:51 mindwipe-dir: Recycled volume CFusionDaily0 mediatype: File firstwritten: 12/31/1969 19:00:00 lastwritten: 02/12/2006 18:45:22 labeldate: 02/12/2006 18:45:13 voljobs: 0 volfiles: 0 volblocks: 0 volmounts: 1 volbytes: 1 volerrors: 0 volwrites: 231 volcapacitybytes: 0 volstatus: Recycle # date Sun Feb 12 20:52:36 EST 2006 So it seems that the director/SD only seems to process these time-based directives
[Bacula-users] Archive Device SubdirSuffix = %volumeName
If you want to write into more than one directory (i.e. to spread the load to different disk drives), you will need to define two Device resources, each containing an Archive Device with a different directory. That works, but then you're required to make difficult decisions/changes to your Schedule{}'ing to override your Pool's default Media. This is because For every Device{} entry in your SD config, you need a new Storage{} entry in your DIR config. Different volumes can be in the same pool, but generally each job only defines one Storage{}. So if you have a Device: Device { Name = FileStorage Media Type = File Archive Device = /usr/dump1 ... } AND: Device { Name = FileStorage2 Media Type = File Archive Device = /usr/dump2 ... } And your jobdefs: JobDefs { Pool = Daily Storage = FileStorage } And Pool: Pool { Name = Daily ... } You now need two Storage entries: Storage { Name = FileStorage ... Device = FileStorage Media Type = File } Storage { Name = FileStorage1 Device = FileStorage1 Media Type = File } Then you can create two volumes/disk-tapes, assign them to two different Storage devices, and place them in the same Pool: +-+---+---+--- | mediaid | volumename| volstatus | volbytes | +-+---+---+- | 8 | CFusionDaily0 | Recycle |1 | | 9 | CFusionDaily1 | Append|1 | *THE PROBLEM* is that your DefJobs defines Storage = FileStorage and to get to volume CFusionDaily1, you must override the Storage = in your Job{} using a Schedule{} line: Run = Level=Incremental Pool=Daily on mon at 14:45 Run = Level=Incr* Pool=Daily Storage=FileStorage1 on mon at 14:45 Thus you can no longer take advantage of Schedule{} syntax expressions like mon-sat, you must now have a separate schedule line for each day, because each day's tape is in a different meta-storage-device. I can only imagine what happens if a job requires more than two tapes :} - Example, let's say you want to put your 6 days of Daily tapes into Storage FileStorage. You create / label 6 volumes with: Maximum Part Size = 32,212,254,720 (30 gig). You can then nicely fit all of your daily's onto a 200 gig disk/file system mounted /var/spool/bacula. Over time, the system grows. You need to resize your File based meta-tapes to 200gig. If it's RAID/LVM, you have to tear it down and rebuild the volume with new members. Futhermore, ext3 and UFS only support growfs(8) with partitions on the same media. I don't know about Linux LVM growing volumes across multiple disks, but the only file system I know capable of that is Veritas VXFS. RAID isn't optimal for this application anyway. The best solution is NAS/SAN that presents you with individual disk units not RAID'd/LVM'd at all. Let's say you have a 12-chassis direct-attached-storage array, each disk is 300gig, and you want to mount each component at a mount point as /var/spool/bacula/tape[##], thus overlapping a pre-defined naming scheme that Bacula expects to use: # df Filesystem1K-blocks UsedAvail Capacity Mounted on /dev/ar0s1a 3784662814502 37075194 0%/bacula/Daily000 /dev/ar1s1a 3784662814502 37075194 0%/bacula/Daily001 /dev/ar2s1a 3784662814502 37075194 0%/bacula/Daily002 /dev/ar3s1a 3784662814502 37075194 0%/bacula/Daily003 /dev/ar4s1a 3784662814502 37075194 0%/bacula/Daily004 /dev/ar5s1a 3784662814502 37075194 0%/bacula/Daily005 Archive Device = /bacula Archive Device SubdirSuffx = %volume Thus you could consolidate your daily backups into one Storage{} / Device{} combination, while actually spanning the load across multiple disks without the need for constantly rebuilding the meta-file system underneath. You can also simply add and remove components on-the-fly, needing only to remount them in accordance with what Bacula expects to label them as. Thoughts? TIA, ~BAS smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Simulate/Test Scheduler?
On Wed, 2006-02-08 at 20:30 +0100, Arno Lehmann wrote: Hi, On a related note, if you're consistently bumping the clock around on your test platform (where DIR and SD are) using date(8) to simulate catching scheduled jobs, and your FD is not localhost but somewhere else where the clock is accurate, the FD will not communicate with the SD if your time on the FD is ahead of the SD/DIR. Just some random note to keep in mind. Thus, set your DIR/SD a couple hours ahead of present time. Then bump the time to 10-15 seconds before the DIR scheduler will activate. ~lava By the way, when testing this sort of stuff, keep in mind that Bacula uses the unix time stamps to determine which files to store - together with mv'in files to different directories this can become a problem! Then, set up your test jobs and pools in a way that automatic pruning happens after short retention times - that way, you can (still?) smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Single Pool, multiple Storage
Inc, Diff) which is what I'm trying to split out. I just ran into this limitation. See my post titled Archive Device SubdirSuffix = %volumeName. My modest proposal would address the problem by creating a relationship between file system mount points of external storage and the internal Bacula volume name. It's dirty and we wouldn't have it any other way :} ~lava Is there a solution or workaround to this? Thanks, Matt --- 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 --- 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: Date/Time poll'ing ? (WAS: Re: [Bacula-users] Simulate/Test Scheduler?)
{Increm/Diferer}ential to Full... How often does the Director poll the system date time? How often does the Storage director? I don't see any options in the config to control this. Specifically, for periodic maintenance like recycling/pruning/volume status flagging. AFAIK, these maintenance operations are never run on their own. They are always triggered by other operations such as a job running or 'status dir' It would be nice if there was some signal or other mechanism to trigger it. For example, if a volume is scheduled to recycle 12 hours after the job run (or after X jobs), I might want to verify that tonight's volume has been pruned/recycled, last night's is marked used, and things look good for tonight's backups before I run out to the pub. I guess I can script a non-interactive cron job that issues status dir every few hours and bumps it off to me. I'm used to Amanda's amstatus e-mailing me at 4:45 every day :} Thanks for the help! ~lava when Bacula needs to decide which volume to use. __Martin smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Strange problem going to firewall
Every firewall has a different timeout for TCP sockets. I would investigate what the maximum NAT/PAT time duration is on yours. Enable verbose debugging to see on what condition it's tearing down the state table/translation. Also, check a state table thresholds for timeouts/max durations/max byte counts, etc. pfctl -vvs state in OpenBSD PF, show xlate in Cisco PIX, ipfstat -l in NetBSD IPFilter, I don't know about FreeBSD/Linux IPTables/Checkpoint/Sonicwall/Raptor/or any of that, but it's all the same concept. ~lava On Mon, 2006-02-13 at 16:17 +0100, Ger Apeldoorn wrote: I'm running the latest bacula, and everything works fine when I backup on the smime.p7s Description: S/MIME cryptographic signature
Re: JobSet, Batch, or Aggregate Concept / Max tape usage per (WAS: Re: [Bacula-users] Hit me w/ a Clue-by-Four (Amanda user))
On Mon, 2006-02-13 at 10:42 +, Russell Howe wrote: When it comes to marking tapes as Used or Full, there seem to be two ways to do it currently: * Maximum Volume Jobs * Volume Use Duration So, you can either say 23 hours after the first job which wrote to this tape {started,finished}, mark it as used to get you a new tape every day (I'm not sure which of those two options applies, but I guess it's in TFM somewhere) Or, you can say After n jobs have been written to this tape, close it off/mark it used Ahhhand this means after Max Retention passes, the tapes get flagged recycle and so there's always one tape marked recycle/append and the rest are marked used? This is definately good material for the Backup Strategy chapter in the documentation. ~lava The latter is what I do. I run 10 jobs every night, most of them on the same schedule, so they start at the same time, although they don't run smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Simulate/Test Scheduler?
On Wed, 2006-02-08 at 09:02 +0100, Arno Lehmann wrote: Hello, On 2/8/2006 6:54 AM, Brian A. Seklecki wrote: Is there any built-in mechanism to test Schedule {} planning? I need to verify the behavior will work as expected. If you trust Bacula itself, use the show job=xxx command. Part of the output here: Also, here's an example of what I mean when I say Simulation, and I suspect the developers might have a similar testing approach, it's just not documented/adopted. Overall approach: *) Use File or Disk based meta-tapes (Volumes) to save auto-changer / manual intervention time *) Designate your jobs to start at some even point in time in the future. *) Manually label your volumes; make a copy of them with just the header written. *) Flush the database, re-create it from scratch *) PGDump and reload the database records of interest (media table) *) Run the FD/SD/DIR in foreground mode with -f -d100 *) Move the clock forward in increments of 12 hours using a for [] loop in bourne shell - Thus, to simulate a new schedule: 1) Kill the DIR process 2) rm(1) the tape volume data files 3) sh drop_postgresql_tables ; sh drop_postgresql_database 4) cp(1)/tar(1) the original tape volume data files back into place 5) sh make_postgresql_tables ; sh grant_postgresql_privileges 6) Create the DB entries to accompany the volumes: INSERT INTO media VALUES (1, 'CFusionDaily0', 0, 1, 'File', 0, NULL, NULL, '2006-02-12 20:30:23', 0, 0, 0, 0, 1, 0, 0, 0, 0, 'Append', 1, 518400, 82800, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0); INSERT INTO media VALUES (2, 'CFusionDaily1', 0, 1, 'File', 0, NULL, NULL, '2006-02-12 20:30:23', 0, 0, 0, 0, 1, 0, 0, 0, 0, 'Append', 1, 518400, 82800, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0); [] 7) Set the date: # date 200602131149.45 Sun Feb 12 21:59:45 EST 2006 8) Set the schedule for noon 9) Start the dir with -f -d100 10) Simulate status update poll'ing with: # while true; do echo -n status dir | bconsole; sleep 10; done 11) Move the the time ahead in increments and test your schedule / rotation policy smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] How to get mount requests before the job runs?
On Mon, 2006-02-13 at 23:57 +, Chris Dennis wrote: Thomas Glatthor wrote: Hi Chris, you can use a cron-job, which mails the output of this script #!bin/bash ./bconsole -c ./bconsole.conf END_OF_DATA status dir quit END_OF_DATA OK, thanks for that. echo -n status dir | bconsole -s ...also works. # echo -n status dir | bconsole -s 21|egrep ^Incremental|^Full|awk '{print $1 $4 $5}' Incremental 13-Feb-06 22:00 Incremental 13-Feb-06 22:00 further pipe to | senmdmail [EMAIL PROTECTED] ~lava Has anyone written a script to parse the output of 'status dir' to extract the (likely) next volume? If not, I'll have a go myself. Next question: I can't find a way to ask Which tape is currently in the drive? Is that possible? If it is, I could compare the answer with the output from 'status dir' and send another urgent email if they don't match. cheers Chris --- 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 smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Disable upgrade of Incremental to Full?
Is there any way to disable the auto-upgrade option of Incremental/ Differential to Full or stipulate that an Incremental / Differential job failure condition occurs when no Full backup exists (instead of promotion)? ~lava smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Disable upgrade of Incremental to Full?
I think we might be talking about: Rerun Failed Levels = yes|no If this directive is set to yes (default no), and Bacula detects that a previous job at a higher level (i.e. Full or Dierential) has failed, the current job level will be upgraded to the higher level. This is particularly useful for Laptops where they may often be unreachable, and if a prior Full save has failed, you wish the very next backup to be a Full save rather than whatever level it is started as. Obviously there's some ambiguity here. Because the default behavior seems to be Yes, program-wide. Actually, that would be true if it red: If Bacula detects that a previous job at a higher level has not occurred, or has occurred but is on a tape that was pruned/purged. What option were you guys thinking? There are 30 instances of the word Upgrade in the manual; but only 6 are in relation to Backup Levels. Perhaps we need to use the work Promotion or another synonym ? ~lava On Mon, 2006-02-13 at 22:26, Ryan Novosielski wrote: If I remember correctly, it's right in the manual. Dan Langille wrote: On 13 Feb 2006 at 19:41, Brian A. Seklecki wrote: Is there any way to disable the auto-upgrade option of Incremental/ Differential to Full or stipulate that an Incremental / Differential job failure condition occurs when no Full backup exists (instead of promotion)? Yes, I think I read something in the mailing list recently, but cannot recall the details. --- 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 --- 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] Volume Use Duration = timespec not honored
Platform: $ uname -a FreeBSD mindwipe 5.3-RELEASE-p23 FreeBSD 5.3-RELEASE-p23 #0: Wed Oct 12 -bash-2.05b$ pkg_info |grep -i bacula bacula-client-1.38.5_1 The network backup solution (client) bacula-server-1.38.5_1 The network backup solution (server) Here's what I know so far: *) This bug is not related to manual manipulation of the system clock (I can simulate it with and NTP sync) *) It does not matter if the two jobs in question start from the scheduler or by bconsole manually Description: I create a Daily and a Weekly pool for GFS, both with 23h Max Use Duration's to ensure the tapes are only used once/week. Pool { Name = Daily Volume Use Duration = 23h Pool Type = Backup AutoPrune = yes Recycle Oldest Volume = yes VolumeRetention = 6d # recycle in 6 days Maximum Volumes = 6 Recycle = yes } Pool { Name = Weekly Pool Type = Backup Volume Use Duration = 23h AutoPrune = yes VolumeRetention = 29d # recycle in 29 days Maximum Volumes = 4 Recycle Oldest Volume = yes Recycle = yes } In theory, once the volume in the pool is elected for use in a Job, as many other qualifying jobs should also be able to write to it until it's full or more than 23 hours since firstwritten: . An llist of the pool and media show the appropriate voluseduration: of 82,800 seconds. When I run the first job, Promotion sends the data to CFusionWeekly0 per the auto-upgrade logic. When I run the second job 15 seconds later, for some reason the previous tape/volume is flagged as having Exceeded Volume Use Duration. Here are the logs of the first job: - 14-Feb 15:53 mindwipe-dir: No prior Full backup Job record found. 14-Feb 15:53 mindwipe-dir: No prior or suitable Full backup found. Doing FULL backup. 14-Feb 15:53 mindwipe-dir: Start Backup JobId 1, Job=Blackout-CFusionDefaults.2006-02-14_15.53.31 14-Feb 15:53 mindwipe-sd: Wrote label to prelabeled Volume CFusionWeekly0 on device FileStorage (/usr/dump/bacula) 14-Feb 15:53 mindwipe-dir: Bacula 1.38.5 (18Jan06): 14-Feb-2006 15:53:44 [snip] FileSet:CFDefaults 2006-02-14 15:53:33 Pool: Weekly Storage:FileStorage Scheduled time: 14-Feb-2006 15:53:20 Start time: 14-Feb-2006 15:53:33 End time: 14-Feb-2006 15:53:44 Priority: 10 FD Files Written: 722 SD Files Written: 722 FD Bytes Written: 14,749,540 SD Bytes Written: 14,826,848 [snip] Volume name(s): CFusionWeekly0 Volume Session Id: 1 Volume Session Time:1139949980 [snip] Termination:Backup OK 14-Feb 15:53 mindwipe-dir: Begin pruning Jobs. 14-Feb 15:53 mindwipe-dir: No Jobs found to prune. 14-Feb 15:53 mindwipe-dir: Begin pruning Files. 14-Feb 15:53 mindwipe-dir: No Files found to prune. 14-Feb 15:53 mindwipe-dir: End auto prune. Here are the logs of the second job (an 'llist media' between jobs can be found below): - 14-Feb 15:59 mindwipe-dir: No prior Full backup Job record found. 14-Feb 15:59 mindwipe-dir: No prior or suitable Full backup found. Doing FULL backup. 14-Feb 15:59 mindwipe-dir: Start Backup JobId 2, Job=Blackout-LDAP.2006-02-14_15.59.01 14-Feb 15:59 mindwipe-dir: Max configured use duration exceeded. Marking Volume CFusionWeekly0 as Used. -- Clearly the Director is confused because the Mark Used event should not occur until 15-Feb 14:53.33 per the following llist output exerpt from below: firstwritten: 02/14/2006 15:53:33 lastwritten: 02/14/2006 15:53:43 labeldate: 02/14/2006 15:53:33 - Here is the llist media prior to the first job: *llist media Pool: Monthly No results to list. Pool: Daily mediaid: 1 volumename: CFusionDaily0 slot: 0 poolid: 1 mediatype: File firstwritten: lastwritten: labeldate: 02/14/2006 15:46:46 voljobs: 0 volfiles: 0 volblocks: 0 volmounts: 0 volbytes: 1 volerrors: 0 volwrites: 0 volcapacitybytes: 0 volstatus: Append recycle: 1 volretention: 518,400 voluseduration: 82,800 maxvoljobs: 0 maxvolfiles: 0 maxvolbytes: 0 inchanger: 1 endfile: 0 endblock: 0 volparts: 0 labeltype: 0 storageid: 1 mediaid: 2 volumename: CFusionDaily1 slot: 0 poolid: 1 mediatype: File firstwritten: lastwritten: labeldate: 02/14/2006 15:47:03 voljobs: 0 volfiles: 0 volblocks: 0 volmounts: 0 volbytes: 1 volerrors: 0 volwrites: 0 volcapacitybytes: 0 volstatus:
Time to Up the debugging leve (WAS: Re: [Bacula-users] Volume Use Duration = timespec not honored)
for following msg: mindwipe-dir: Max configured use duration exceeded. Marking Volume CFusionWeekly0 as Used.^M mindwipe-dir: message.c:699 APPEND for following msg: mindwipe-dir: Max configured use duration exceeded. Marking Volume CFusionWeekly0 as Used.^M mindwipe-dir: sql_update.c:293 update_media: FirstWritten=0^M mindwipe-dir: sql_update.c:350 UPDATE Media SET VolJobs=1,VolFiles=0,VolBlocks=35,VolBytes=2246868,VolMounts=1,VolErrors=0,VolWrites=36,M axVolBytes=0,VolStatus='Used',Slot=0,InChanger=1,VolReadTime=0,VolWriteTime=0,VolParts=0,LabelType=0,StorageId=0,PoolId=2,VolRetention=25 05600,VolUseDuration=82800,MaxVolJobs=0,MaxVolFiles=0 WHERE VolumeName='CFusionWeekly0'^M mindwipe-dir: postgresql.c:408 my_postgresql_query started^M mindwipe-dir: postgresql.c:418 my_postgresql_query starts with 'UPDATE Media SET VolJobs=1,VolFiles=0,VolBlocks=35,VolBytes=2246868,VolMo unts=1,VolErrors=0,VolWrites=36,MaxVolBytes=0,VolStatus='Used',Slot=0,InChanger=1,VolReadTime=0,VolWriteTime=0,VolParts=0,LabelType=0,Sto rageId=0,PoolId=2,VolRetention=2505600,VolUseDuration=82800,MaxVolJobs=0,MaxVolFiles=0 WHERE VolumeName='CFusionWeekly0''^M ~BAS On Tue, 2006-02-14 at 16:03 -0500, Brian A. Seklecki wrote: Platform: $ uname -a FreeBSD mindwipe 5.3-RELEASE-p23 FreeBSD 5.3-RELEASE-p23 #0: Wed Oct 12 -bash-2.05b$ pkg_info |grep -i bacula bacula-client-1.38.5_1 The network backup solution (client) bacula-server-1.38.5_1 The network backup solution (server) Here's what I know so far: *) This bug is not related to manual manipulation of the system clock (I can simulate it with and NTP sync) *) It does not matter if the two jobs in question start from the scheduler or by bconsole manually Description: I create a Daily and a Weekly pool for GFS, both with 23h Max Use Duration's to ensure the tapes are only used once/week. Pool { Name = Daily Volume Use Duration = 23h Pool Type = Backup AutoPrune = yes Recycle Oldest Volume = yes VolumeRetention = 6d # recycle in 6 days Maximum Volumes = 6 Recycle = yes } Pool { Name = Weekly Pool Type = Backup Volume Use Duration = 23h AutoPrune = yes VolumeRetention = 29d # recycle in 29 days Maximum Volumes = 4 Recycle Oldest Volume = yes Recycle = yes } In theory, once the volume in the pool is elected for use in a Job, as many other qualifying jobs should also be able to write to it until it's full or more than 23 hours since firstwritten: . An llist of the pool and media show the appropriate voluseduration: of 82,800 seconds. When I run the first job, Promotion sends the data to CFusionWeekly0 per the auto-upgrade logic. When I run the second job 15 seconds later, for some reason the previous tape/volume is flagged as having Exceeded Volume Use Duration. Here are the logs of the first job: - 14-Feb 15:53 mindwipe-dir: No prior Full backup Job record found. 14-Feb 15:53 mindwipe-dir: No prior or suitable Full backup found. Doing FULL backup. 14-Feb 15:53 mindwipe-dir: Start Backup JobId 1, Job=Blackout-CFusionDefaults.2006-02-14_15.53.31 14-Feb 15:53 mindwipe-sd: Wrote label to prelabeled Volume CFusionWeekly0 on device FileStorage (/usr/dump/bacula) 14-Feb 15:53 mindwipe-dir: Bacula 1.38.5 (18Jan06): 14-Feb-2006 15:53:44 [snip] FileSet:CFDefaults 2006-02-14 15:53:33 Pool: Weekly Storage:FileStorage Scheduled time: 14-Feb-2006 15:53:20 Start time: 14-Feb-2006 15:53:33 End time: 14-Feb-2006 15:53:44 Priority: 10 FD Files Written: 722 SD Files Written: 722 FD Bytes Written: 14,749,540 SD Bytes Written: 14,826,848 [snip] Volume name(s): CFusionWeekly0 Volume Session Id: 1 Volume Session Time:1139949980 [snip] Termination:Backup OK 14-Feb 15:53 mindwipe-dir: Begin pruning Jobs. 14-Feb 15:53 mindwipe-dir: No Jobs found to prune. 14-Feb 15:53 mindwipe-dir: Begin pruning Files. 14-Feb 15:53 mindwipe-dir: No Files found to prune. 14-Feb 15:53 mindwipe-dir: End auto prune. Here are the logs of the second job (an 'llist media' between jobs can be found below): - 14-Feb 15:59 mindwipe-dir: No prior Full backup Job record found. 14-Feb 15:59 mindwipe-dir: No prior or suitable Full backup found. Doing FULL backup. 14-Feb 15:59 mindwipe-dir: Start Backup JobId 2, Job=Blackout-LDAP.2006-02-14_15.59.01 14-Feb 15:59 mindwipe-dir: Max configured use duration exceeded. Marking Volume CFusionWeekly0 as Used. -- Clearly the Director is confused because the Mark Used event should not occur until 15-Feb 14:53.33 per the following llist output exerpt from below: firstwritten: 02/14/2006 15:53:33 lastwritten
Re: [Bacula-users] Disable upgrade of Incremental to Full?
has not occurred, or has occurred but is on a tape that was pruned/purged. What option were you guys thinking? Something that allowed a incremental/differential to run after the FileSet had been updated, instead of a full. Right, You can't mix match Full and Incremental jobs on the same tape if you plan to do off-site storage, *WITHOUT* an internal data structure identifying copies, inside the database. I can't remember if Legato has that feature or not; my memory is pretty well scared from the days of Solaris, but that seems correct. ~lava smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Sony AIT-2 drive and autochanger on FreeBSD
On Tue, 2006-02-14 at 16:23, Graham Dunn wrote: Hi, The environment: ma21cab5# uname -a FreeBSD ma21cab5.inscriber.local 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Mon Mar 28 19:24:46 EST 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 relevant bit of bacula-sd.conf: Device { Name = A500C Media Type = AIT2 Archive Device = /dev/nsa0# Normal archive device Autochanger = yes Changer Device = /dev/ch0 Changer Command = /usr/local/sbin/chio-bacula %c %o %S %a %d AutomaticMount = yes; AlwaysOpen = yes Offline On Unmount = no The following three fixed my scsi drive on FreeBSD 5.3: Hardware End of Medium = No BSF at EOM = yes TWO EOF = yes Did you search the list archives for SONY AIT? What dos pkgsrc/sysutils/mtx's tapeinfo show for /dev/pass0 ? ~lava Hardware End of Medium = no Backward Space Record = no Backward Space File = no Fast Forward Space File = yes --- 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] problems restoring files
On Mon, 2006-02-20 at 17:23 -0800, Andreas Freyvogel wrote: I'm not sure I understand where I would specify -f 100 when running You probably start bacula using /usr/local/etc/rc.d/z-bacula.sh ? Essentially, when you do a ps gauxww|grep -i bacula, you'll see that the .sh script is running the bacula-dir binary as: bacula 39615 0.0 0.8 7068 3916 p3 S+ Fri01AM 0:40.96 /usr/local/sbin/bacula-dir -u bacula -g bacula -v -c /usr/local/etc/bacula-dir.conf -d and -f will put the binary in foreground mode. -s is also useful. Thus, when you open up a second dedicated terminal just to for the debug session, run the command as: /usr/local/sbin/bacula-dir -u bacula -g bacula -v \ -c /usr/local/etc/bacula-dir.conf -f -d100 -s You'll also need to run the -fd and -sd without the -d, presumably, but for your problem, it might be useful to run the -sd with -d100 -f as well. ~lava the smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] FreeBSD 6.0 + Bacula 1.38.5 Crashing
spare box. I wanted to ask here first before tearing the box apart. Start with the PSU. google memtest86 and burn the ISO, often the cause of PC problems. could be heat, but you can monitor that using sensors/alarms. ~lava smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] BackupCatalog
On Wed, 2006-03-15 at 07:58 -0600, Robert Maerzke wrote: I keep receiving the following error message when I try to run BackupCatalog: Could not stat /var/db/bacula/bacula.sql: ERR=The system cannot find the That's one of the default jobs that comes with Bacula. Comment it out. ~BAS path specified. I've tried for about a week to get this working. Does anyone have any ideas? --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Virtual Disk Autochager
RAID5 is best with a hot spare volume, otherwise...what's the advantage that justifies increased write overhead? Besides, does the file system you're backing up to require any more redundancy from a disk technology standpoint than you might expect out of the life expectancy of a single DLT tape? Consider this, if you present these individual disks as 250? 300? gig individual volumes / file system mount points to Bacula, you *can't* tell Bacula to put each file tape on a different mount point and/or sub-directory. I've discussed this in the past and what that would require is the concept of a File Storage Directory Prefix, i.e: /dev/da0s1a /storage/bacula/Daily0 /dev/da1s1a /storage/bacula/Daily1 /dev/da2s1a /storage/bacula/Daily2 ~BAS smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Virtual Disk Autochager
individual volumes / file system mount points to Bacula, you *can't* tell Bacula to put each file tape on a different mount point and/or sub-directory. This *can* be accomplished by using symbolic linking. In an application that Ahh good point. Moreover, with RAID5, unless you're using Veritas VFS or maybe FreeBSD VINUM/Linux LFS, you can't grow the underlying file system size without a complete teardown and rebuild. You could use growfs(8) on a FreeBSD vinum (RAID0, RAID5) composed of individual disks, but I think for this application individual disk mount points are ideal. ~BAS smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Logging to /var/db/bacula by Default?
Just a small annoying caveat, but is there any reason why bacula-dir.conf and the MTX changer scripts are logging to /var/db/bacula/$blah instead of /var/log prefix instead? /var/db/bacula seems to be more like a state directory (minus the pid files) ~BAS smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] DirAddress and DirAddresses don't honor Source Address
All: It doesn't actually say it should in the docs, but it would normally be implied that if you can instruct Bacula to explicitly specify the source for incoming TCP connections to listen on, that the same address would automatically be used to as the source address of outgoing connections from the Dir to FDs/SDs (and of course, source ports being irrelevant). But it isn't. This would be nice to help create system - service abstraction (i.e,, the Bacula service on a machine is tied to a VIP that can easily be moved along with the Config). Is there any chance of supporting specified source addresses in the future? Thanks ~Brian A. Seklecki smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Surestore 230 Ultrium-1 Settings for bacula-sd.conf on FreeBSD...?
This is a new drive? New tapes? You've got termination setup properly? Try seeing if you can write all zero's to the tape: $ mt erase $ dd if=/dev/zero of=/dev/nsa0 bs=512k It should run for a while until it gets EOT. You're going to have to experiment with permutations of the following settings until your drive passes btape test: # Hardware End of File = no # Hardware End of Medium = no # BSF at EOM = yes # Backward Space Record = yes # Backward space File = yes # Forward Space Record = yes # Forward Space File = yes # Fast Forward Space File = yes # TWO EOF = yes ~BAS smime.p7s Description: S/MIME cryptographic signature
Re: [Bacula-users] Bacula SD using 250MB RAM?
bacula3 20 0 4364K 2212K kserel 0:00 0.00% bacula-sd Presumably this is being caused by a memory leak somewhere. Anyone else Dom: You should watch the process in real-time and determine if the usage grows during backup job activity or if it is slowly growing over time. ktrace(8)/kdump(8) can be insightful if the latter is the case . on FreeBSD observed this occuring? --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] AIX 5.2 Compilation Problems
Jake: I don't have any personal experience with the GNU Toolchain on the AIX platform, but since no one else responded I'll have a go. If the GNU utils on AIX even remotely resemble the discord of Solaris, then I can digress. This is however unrelated to the as(1) problem you mentioned as best I can tell. This is a ld(1) issue. In my experience, normally when this happens, a .c file is trying to reference a C function linked in from a shared library (.{,s}o). In this case, a bunch of .o's are being linked into a final binary. However bacula-1.38.8/src/console/*.{c,h} shouldn't be referencing win32_client* functions at all if GNU Autoconf did it job(r). I would be very curious to see if some #IFDEF'd win32 code maybe got included because of your non-standard platform or because the pre-processor is messed up. You can tell with gcc(1) -E. Also, try nm(1) on all of these .o's (console.o console_conf.o authenticate.o conio.o) and grep -i for win32. Posting configure.log from that directory and the master source root to a URL somewhere might be very insightful to the developers. ~BAS ld: 0711-317 ERROR: Undefined symbol: win32_client ld: 0711-317 ERROR: Undefined symbol: TERM_msg ld: 0711-317 ERROR: Undefined symbol: OK_msg ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make[1]: *** [bconsole] Error 1 make[1]: Leaving directory `/home/live/revinetix/bacula-1.38.8/src/console' == Error in /u/live/revinetix/bacula-1.38.8/src/console == So how do I link to where it failed: ld: 0711-317 ERROR: Undefined symbol: win32_client ld: 0711-317 ERROR: Undefined symbol: TERM_msg ld: 0711-317 ERROR: Undefined symbol: OK_msg I also read the README.AIX file included in the tarball and it mentioned a bug in the as compiler, although it applied for an earlier version of gcc (gcc version 2.9-aix51-020209). If this is the case, how do I patch it? Thanks in advance! Jake * This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Anonymous CVS Tree on SourceForge
Do we have nightly snapshot tarballs somewhere? ~BAS On Wed, 2006-04-26 at 15:16 -0700, Robert Nelson wrote: For those of you that already know this I apologize for repetition. SourceForge is no longer syncing the developer cvs tree to the anonymous one. The anonymous tree is currently out of date (circa 1.38.6). They hope to have it fixed around the end of the month. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. smime.p7s Description: S/MIME cryptographic signature
[Bacula-users] Sender: of this mailing list
It looks like the sender has changed from: [EMAIL PROTECTED] to: [EMAIL PROTECTED] Hopefully that's a cosmetic side effect of a larger hardware platform upgrade. Update mailing list filters accordingly. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. smime.p7s Description: S/MIME cryptographic signature ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Disaster recovery, bacula-rescue : question about versions
Can Bacula fd 1.38 communicate without errors with the 1.36 server ? As a general rule: you're not going to see inter-daemon protocol changes in a double point minor version change that cause incompatibility. If you examine the ChangeLogs between releases. As for bare metal recovery, I refer to you to the list archives. I don't know why people keep fixating on that topic. ~BAS Thank you in advance -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. smime.p7s Description: S/MIME cryptographic signature ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-announce] Bacula 1.38.10 patch
you do a reload command or whenever there is a sudden clock shift, which Do you postulate that large clock shifts on NTP synchronized systems are an indication of a low-level hardware problem? Of course, ACPI / APM state changes could cause this, but... ? ~BAS Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error: database disk image is malformed
I receive lots of this messages for each backup that I try to run. Anybody has any idea about what is happenning? First your perfectly healthy bacula starts sig11'ing. Then you're getting the SQL error included on a newly created database? Have you considered that there may be some underlying hardware / operating system problem? Just some ideas: - Run the director in foreground mode and up the debugging. -Check /var/log/messages for clues..are other processes exhibiting problems? -Force a file system check everywhere. -Run memtest86+? -Run a low-level disk sector check? -Check the thermal sensors on the CPU, motherboard, hard drives? ~BAS How the database is malformed if I have just created it? Thank you for your attention. Best regards, Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error: database disk image is malformed
Normally: # bacula-dir -d99 -f -v -c /usr/local/etc/bacula-dir.conf -u bacula Or some varation. You can run it with script(1) or screen(1) if keeping the TTY becomes a problem. ~BAS On Mon, 2006-06-26 at 19:43 -0400, Tassia Camoes wrote: Hi all, I created the database again and it worked for a while. But when I tried to run a bigger backup the director died again, and the worst part is that it didn't leave any log, nor any messages for the console. Then I restarted the director and now any juob that I try to to run give me error messages like before: 26-Jun 20:07 abel-dir: Newton.2006-06-26_20.07.01 Fatal error: catreq.c:424 Attribute create error. sql_create.c:853 Create db Filename record INSERT INTO Filename (Name) VALUES ('pc') failed. ERR=database disk image is malformed probably because the database was inconsistent after the unsuccessful job. And after many messages like this, the console lost the conection with the director: 26-Jun 20:10 bconsole: Error: bnet.c:426 Write error sending 9 bytes to Director daemon:abel:9101: ERR=Pipe quebrado And everything stopped again :( I don't see anything strange in /var/log/messages and aparently my hardware is ok, although I'm still doing some tests. How can I run the director in foreground mode and up the debugging? Thank you again, On Sun, Jun 25, 2006 at 10:16:16PM -0400, Brian A. Seklecki wrote: I receive lots of this messages for each backup that I try to run. Anybody has any idea about what is happenning? First your perfectly healthy bacula starts sig11'ing. Then you're getting the SQL error included on a newly created database? Have you considered that there may be some underlying hardware / operating system problem? Just some ideas: - Run the director in foreground mode and up the debugging. -Check /var/log/messages for clues..are other processes exhibiting problems? -Force a file system check everywhere. -Run memtest86+? -Run a low-level disk sector check? -Check the thermal sensors on the CPU, motherboard, hard drives? ~BAS How the database is malformed if I have just created it? Thank you for your attention. Best regards, Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. smime.p7s Description: S/MIME cryptographic signature Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] GNU autconf macro for HAVE_IPV6 check on NetBSD
[not sure if this is a user-@ or devel-@ topic -- the last/only ipv6 discussion I saw was to -users, so when you respond, please choose the appropriate] All: The GNU autoconf macro below is what we use to test for IPv6 in 1.38.10. It tries simply to instantiate a number of ipv6 structures. However, on my platform (NetBSD/sparc 3_STABLE), it seems that it's possible to confuse or mitigate/bypass this test ( I haven't tested OpenBSD/FreeBSD for his behavior yet, because I know NetBSD does some special IPV4 to IPV6 address mapping, and has some special IPV6 sysctls). The IPV6 netinet6 socket family includes can be in /usr/include/netinet6 , configure will find them, compile conftest.c just fine, and pass this test, however the system can be built without IPV6 support (removed from all of the userland binaries) and the Kernel. The result is that Bacula compiles and links against IPV6 headers fine, but when it runs, it fails to compile later on during the build: == Entering directory /usr/pkgsrc/sysutils/bacula-clientonly/work/bacula-1.38.10/src/console [SNIP] /usr/pkgsrc/sysutils/bacula-clientonly/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -pthread -Wl,-R/usr/pkg/lib -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o -ltermcap -lbac -lm -pthread -lintl ../lib/libbac.a(address_conf.o)(.text+0x35c): In function `IPADDR::set_addr_any()': : undefined reference to `in6addr_any' ../lib/libbac.a(address_conf.o)(.text+0x360): In function `IPADDR::set_addr_any()': : undefined reference to `in6addr_any' ../lib/libbac.a(address_conf.o)(.text+0x364): In function `IPADDR::set_addr_any()': : undefined reference to `in6addr_any' *** Error code 1 The work around is to interrupt the build process and manually define HAVE_INET6 0 in src/config.h in the mean time. So what we may need to do is: A) A more-aggressive ipv6 support test. B) A --without-ipv6 or --disable-ipv6 argument that explicity defines HAVE_IPV6 0 C) Or I may need to put a work-around in place for NetBSD (Bad) The way some packages do it (Zebra) is: # Check whether --enable-ipv6 or --disable-ipv6 was given. if test ${enable_ipv6+set} = set; then enableval=$enable_ipv6 fi; - MACRO echo $as_me:$LINENO: checking for IPv6 support 5 echo $ECHO_N checking for IPv6 support... $ECHO_C 6 if test ${ac_cv_ipv6_support+set} = set; then echo $ECHO_N (cached) $ECHO_C 6 else cat conftest.$ac_ext _ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h conftest.$ac_ext cat conftest.$ac_ext _ACEOF /* end confdefs.h. */ #include sys/types.h #include sys/socket.h #include netinet/in.h int main () { struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo $as_me:$LINENO: \$ac_link\) 5 (eval $ac_link) 2conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 conftest.err rm -f conftest.er1 cat conftest.err 5 echo $as_me:$LINENO: \$? = $ac_status 5 (exit $ac_status); } { ac_try='test -z $ac_c_werror_flag || test ! -s conftest.err' { (eval echo $as_me:$LINENO: \$ac_try\) 5 (eval $ac_try) 25 ac_status=$? echo $as_me:$LINENO: \$? = $ac_status 5 (exit $ac_status); }; } { ac_try='test -s conftest$ac_exeext' { (eval echo $as_me:$LINENO: \$ac_try\) 5 (eval $ac_try) 25 ac_status=$? echo $as_me:$LINENO: \$? = $ac_status 5 (exit $ac_status); }; }; then ac_cv_ipv6_support=yes else echo $as_me: failed program was: 5 sed 's/^/| /' conftest.$ac_ext 5 ac_cv_ipv6_support=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi cat confdefs.h \_ACEOF #define HAVE_IPV6 1 _ACEOF fi -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. smime.p7s Description: S/MIME cryptographic signature - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Doc updates on log rotation and signal handling (WAS: Re: [Bacula-devel] Bacula-dir problems with -HUP? (was Re: Backtrace Attached: bacula-dir lockups on FreeBSD))
, as always. -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Binding to source IP address
Also, could you explain how it is possible to use a different address than the one which is assigned to your computer? In most shops, in almost all but the most basic configurations, the generally accepted practice is to create abstraction between the system and the service provided by it. Even if a system has a single service/function, it still binds the service to a Service VIP, or IP Alias (BSD). I.e., almost all machines have a Management Address and Service VIP, especially in non-RFC1918-space-only shops. To give you an idea why this is a policy in most places: For example, if a system crashes, you can pick up the VIP and move it to a different system in the same VLAN. ...OR, if that service VIP has a CNAME pointing to it, you can simply cut over the CNAME destination to a service VIP in a different VLAN without breaking all your clients. Thus, System-Service Abstraction This becomes especially paramount in High Availability configurations where at service VIP dangles between two or more servers. It is also extremely important when you're trying to manage firewall rule growth. At present, if you have multiple VIPs/IP Aliases on Bacula, you can control which one Listening Sockets bind to, but say for example, when writing rules that would permit the Director to send control messages to File Daemons, or Storage Daemons to send messages to Directors, or Consoles to Directors, you want your rules to reflect the source address of the service VIP for new client sockets. ~BAS - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Binding to source IP address
That is not a common thing for a client to do. It makes more sense to leave routing decisions up to the kernel. Normally, a client allows the Sure it is. named(8) is one of those many programs that takes into account HA and highly scalable configurations. It's got all kinds of crazy options for binding listening sockets for incoming requests and specifying the source _port_ and _address_ for outbound connections: Example: options { directory /; listen-on { 1.2.3.4/32; }; query-source address 2.4.5.6 port 12346; transfer-source 7.8.9.1; notify-source 2.3.3.5; All kinds of control. ~BAS kernel to select both interface and port for the client socket. Some clients allow binding to a particular port when needed for firewall reasons. For example, named can be configured to bind its client socket to port 53 when making client connections to a remote DNS server, but it still doesn't bind to a particular interface as that would restrict routing. I think this would have to be a feature request and a decision would have to be made whether or not to implement it. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Binding to source IP address
I have no idea how to control which address is used for outgoing communications other than by configuring your network gateway to go through the preferred device, which may not do exactly what you want. I've just read through the whole thread. People seems to be getting confused about a couple of concepts. Firstly, consider the need to be able to manually specify the outbound IPv4 address of Client connections from a daemon _as well_ as the inbound address on which to listen for incoming service requests. In most shops, in almost all but the most basic configurations, the generally accepted practice is to create abstraction between the system and the service provided by it. Even if a system has a single service/function, it still binds the service to a Service VIP, or IP Alias (BSD). I.e., almost all machines have a Management Address and Service VIP, especially in non-RFC1918-space-only shops. To give you an idea why this is a policy in most places: For example, if a system crashes, you can pick up the VIP and move it to a different system in the same VLAN. ...OR, if that service VIP has a CNAME pointing to it, you can simply cut over the CNAME destination to a service VIP in a different VLAN without breaking all your clients. Thus, System-Service Abstraction This becomes especially paramount in High Availability configurations where at service VIP dangles between two or more servers. Consider the Linux-HA system. It is also extremely important when you're trying to manage firewall rule growth. At present, if you have multiple VIPs/IP Aliases on Bacula, you can control which one Listening Sockets bind to, but say for example, when writing rules that would permit the Director to send control messages to File Daemons, or Storage Daemons to send messages to Directors, or Consoles to Directors, you want your rules to reflect the source address of the service VIP for new client sockets. Consider ISC BIND named(8): It's got all kinds of crazy options for binding listening sockets for incoming requests and specifying the source _port_ and _address_ for outbound connections the daemon is making in the capacity of a client: Example: options { directory /; listen-on { 1.2.3.4/32; }; query-source address 2.4.5.6 port 12346; transfer-source 7.8.9.1; notify-source 2.3.3.5; } All kinds of control. - Secondly, Socket Source Address/Port v.s. Routing These are *completely autonomous concepts*. I just went through this bringing -b from FreeBSD syslogd(8) over to NetBSD(8): http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/syslogd/syslogd.c.diff?r1=1.78r2=1.79f=h Check out lines 2107-2111 This is an example with UDP, but the song remains the insane for TCP. When you bind(2)/listen(2) a socket(2), there are two modes: Passive and active. The address which a socket listens/binds is wildcard by default. You can set it though with getaddrinfo(2)...intuitive function call name, huh?! :} Another good example are present in Apache's HTTP CVS: srclib/apr/network_io/unix/sockaddr.c There's no reference to any of this in any of Stevens` because those were all written before the advent of HA and Distributed Systems, possibly even IP Aliases/VIPs. Per my notes on Service/System abstraction, if a system has multiple interfaces, there are two possibilities: *) The interfaces could have addresses in different subnets *) The interfaces could have addresses in the same subnets A system could also have multiple VIPs or IP Aliases (BSD) on the same interface within the same Subnet (the most likely scenario). When you specifically bind the source address of an outgoing TCP socket to a specific VIP or Primary IP on an interface, the decision as to which interface to transmit the outgoing packets is not made in the TCP code, it is made at the next layer down on the OSI model -- the underlying IPv4/IPv6 protocol. Example, if a system has two NICs. One within a management subnet with RFC1918 address space, we'll say 10.0.0.100, and another with two IPs, a primary IP and a service VIP in a public subnet, we'll say 216.239.37.99 and 216.239.37.100. Consider the routing: Assume for the sake of sanity that the subnet masks on both interfaces are /25 on the public interface and /23 on the RFC1918 interface. Via Directly Connected Interfaces, the system knows about 216.239.37.0/25 via Ext, and 10.0.0.0/23 via Int. It may also have a Default Gateway configured of 215.239.37.1/32. He may also know about a greater 10.0.0.0/8 via a Static Route via some internal router/firewall at 10.0.0.1 -- manually configured route add -net 10.0.0.0/8 gw 10.0.0.1. Obviously, the default semantics apply to most modern operating systems: *) A layer 4 socket number discriminator is of course always required for UDP/TCP, but not for ICMP/TCP/ESP/AH/etc. *)
[Bacula-users] [Advocacy] Invitation to Complimentary Disk-Based Backup Seminar
FYI to Bacula developers, SAs, ISVs in the DC/Metro region: http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d75.1851411 http://events.fcw.com/EventOverview.aspx?Event=DBSNoCache=632959725412649290 Obviously this is just a Symantec/NetApp product exhibition, but it might be a good idea to have an F/OSS presence there. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. ---BeginMessage--- Delivered-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Invitation to Complimentary Disk-Based Backup Seminar Reply-To: [EMAIL PROTECTED] From: FCW Events [EMAIL PROTECTED] Sent: Tuesday, October, 10, 2006 X-Mailer: xMailer X-MessageID: 292853771 List-Unsubscribe: mailto:[EMAIL PROTECTED] Date: Tue, 10 Oct 2006 10:30:03 -0500 x-commtouch-refid: str=0001.0A090207.452BBBE8.0094:SCFONLINE519521,ss=1,fgs=0 Disk-Based Backup: New Strategies to Simplify, Improve, and Ensure Data Protection and Recovery November 1 The Ronald Reagan Building, Washington, DC You are Invited to this Complimentary Executive Seminar Organizations depend on data. Government is increasingly storing more of it. IT struggles to protect it. Everybody worries about recovering it. Nobody has increased the budget to manage it. Agencies struggle to manage and scale their backup infrastructures and at the same time increase data availability. How can you possibly tackle all of these enterprise data protection challenges? Attend this half-day complimentary seminar and learn how disk-based backup can help address your data management needs, including performance, capacity, ease of use, cost of ownership, security, and interoperability with existing tape libraries. Attend this Seminar and Learn How To: * Accelerate backup and recovery of data with minimal disruption to your IT environment * Protect, access, and recover data anytime and anywhere * Reduce time spent on backup and restores * Update or change existing processes to provide better performance, monitoring, and disaster recovery planning * Design appropriate and affordable data protection solutions for your environment * Simplify and improve data backup and recovery operations Your Registration Includes: * Networking breakfast * Admission to all sessions * Executive Seminar materials For more information, visit the http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d75.1851411website or view the http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d76.1851411schedule. Space is limited. http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d77.1851411Register Today! [] http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d77.1851411Register Today To register, visit our http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d77.1851411website. Register today! Space is limited. NO COST to Attend. For more information, visit the http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d75.1851411website or view the http://p2.mailcubed.com/trk/ct.aspx?x=3d12.12d76.1851411schedule. Hosted by: [] [] [] Produced by: [] This message has been sent to: [EMAIL PROTECTED] As a subscriber of Federal Computer Week or Government Technology Group publications, we'll periodically send you information via e-mail about related products and services. If you wish to discontinue receiving these types of e-mails, use our http://lists.101com.com/[EMAIL PROTECTED]l=1p=3preference page To review our Privacy Policy, visit our http://p2.mailcubed.com/trk/ct.aspx?x=3d12.1220b.1851411website: The FCW Media Group, a division of 1105 Media, Inc., 3141 Fairview Park Drive, Suite 777, Falls Church, VA 22042 We welcome your feedback: mailto:[EMAIL PROTECTED][EMAIL PROTECTED] Bryan Kaplan Collaborative Fusion, Inc. [EMAIL PROTECTED] IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. ---End Message--- - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief
[Bacula-users] GNUAutconf IPV6 Testing Strategy (WAS: [Fwd: [Bacula-devel] GNU autconf macro for HAVE_IPV6 check on NetBSD])
It seems that there are actually several permutations of systems by which the IPv6 checks needs to take into account: - Systems that don't support ipv6 (Minix) - Systems that support ipv6 and have both kernel and userland support compiled in and headers present - Systems that shipped/installed with ipv6 userland/kernel, but the administrator disabled ipv6 during the _kernel_ profiling process - Systems that shipped/installed with ipv6 userland/kernel, but the administrator disabled ipv6 during the _kernel profiling process_ AND recompiled the entire _user-land_ (a la, libc) w/ NO_IPV6=true in mk.conf(5) / make.conf(5) but the ipv6 headers/libraries remain although no binaries are linked into them. - Systems that support ipv6 in the kernel/userland but lack headers (Which would be just about every distribution of Linux by default since install every package never seems to imply ($1)-devel.* RPMs.) The current macro/test simply tries instantiate an ipv6 addr struct; but doesn't actually try to move between userland and kernel to validate functionality. That's what is causing the breakage here in NetBSD. The problem is that the symbol in question is not contained within libc after a recompile. In my case, the system has been profiled. Perhaps additional macros could could be instituted which not only try to instantiate copies of inet6 address structures but actually utilize them (perhaps try to bind(2) or connect(2) The work-around here is to declare: USE_INET6=no MKINET6=no NO_INET6=no HAVE_IPV6=no in mk.conf(5) As for Pkgsrc and buildlink3 magic, it would be nice if: PKG_DEFAULT_OPTIONS+=-inet6 PKG_OPTIONS.bacula= -inet6 ...somehow tricked configure[.sh] about the availability of /usr/include/netinet6/* Bacula could help facilitate by implementing a --without-ipv6 or --disable-ipv6 GNU autoconf flag. I've filed a bug at http://bugs.bacula.org/ Mantis. Although this is not actually a Bacula Code Bug, this is an excellent opportunity to improve and feed-back more aggressive ipv6 test macros to the GNUAutoconf people (who really don't have a bug management system) TIA, ~BAS -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. ---BeginMessage--- [not sure if this is a user-@ or devel-@ topic -- the last/only ipv6 discussion I saw was to -users, so when you respond, please choose the appropriate] All: The GNU autoconf macro below is what we use to test for IPv6 in 1.38.10. It tries simply to instantiate a number of ipv6 structures. However, on my platform (NetBSD/sparc 3_STABLE), it seems that it's possible to confuse or mitigate/bypass this test ( I haven't tested OpenBSD/FreeBSD for his behavior yet, because I know NetBSD does some special IPV4 to IPV6 address mapping, and has some special IPV6 sysctls). The IPV6 netinet6 socket family includes can be in /usr/include/netinet6 , configure will find them, compile conftest.c just fine, and pass this test, however the system can be built without IPV6 support (removed from all of the userland binaries) and the Kernel. The result is that Bacula compiles and links against IPV6 headers fine, but when it runs, it fails to compile later on during the build: == Entering directory /usr/pkgsrc/sysutils/bacula-clientonly/work/bacula-1.38.10/src/console [SNIP] /usr/pkgsrc/sysutils/bacula-clientonly/work/.wrapper/bin/c++ -L/usr/lib -Wl,-R/usr/lib -pthread -Wl,-R/usr/pkg/lib -L../lib -L../cats -o bconsole console.o console_conf.o authenticate.o conio.o -ltermcap -lbac -lm -pthread -lintl ../lib/libbac.a(address_conf.o)(.text+0x35c): In function `IPADDR::set_addr_any()': : undefined reference to `in6addr_any' ../lib/libbac.a(address_conf.o)(.text+0x360): In function `IPADDR::set_addr_any()': : undefined reference to `in6addr_any' ../lib/libbac.a(address_conf.o)(.text+0x364): In function `IPADDR::set_addr_any()': : undefined reference to `in6addr_any' *** Error code 1 The work around is to interrupt the build process and manually define HAVE_INET6 0 in src/config.h in the mean time. So what we may need to do is: A) A more-aggressive ipv6 support test. B) A --without-ipv6 or --disable-ipv6 argument that explicity defines HAVE_IPV6 0 C) Or I may need to put a work-around in place for NetBSD (Bad) The way some packages do it (Zebra) is: # Check whether --enable-ipv6 or --disable-ipv6 was given. if test ${enable_ipv6+set} = set; then enableval=$enable_ipv6 fi; - MACRO echo $as_me:$LINENO: checking for IPv6 support 5 echo $ECHO_N checking for IPv6 support... $ECHO_C 6 if test ${ac_cv_ipv6_support+set} = set; then echo $ECHO_N (cached) $ECHO_C 6 else cat conftest.$ac_ext _ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h conftest.$ac_ext cat conftest.$ac_ext _ACEOF /* end confdefs.h. */ #include sys/types.h #include sys/socket.h #include netinet/in.h int main () { struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] = 0; ; return 0; } _ACEOF rm
Re: [Bacula-users] Building bacula on OpenBSD
On Wed, 2006-12-13 at 19:27 +0100, Kern Sibbald wrote: On Wednesday 13 December 2006 18:28, Brian A. Seklecki wrote: Stop in /usr/local/src/bacula-1.38.11/src/stored. It looks to me like the OS' header file is badly broken -- at least in the sense that if it is a Unix system, both mt_fileno and mt_blkno should be defined in the struct mtget. Someone should fix the OS, barring that we will need a patch. Kern, Rus, et al: We have to be really careful with regard how we word things here. The way you assert that could be easily misinterpreted or misconstrued to have a vendor-bashing tone. I'm sorry, I did not intend to be vendor bashing. I stand by what is written. If it is a Unix system and there are not mt_fileno and mt_blkno in the struct mtget, there are serious compatibility problems, since I don't have an OpenBSD system, assuming the OS is not going to change, we would need a patch to Bacula to fix it. Coincidental, regarding a post from Theo: From: Theo de Raadt [EMAIL PROTECTED] To:[EMAIL PROTECTED] Subject: www.openbsd.org/want.html various developers have added new entries to the want list at www.openbsd.org/want.html it would be nice if people would review the page again, to see if they There is a entry for: -- SCSI tape changers (libraries) for hacking on ch(4), st(4) and related utilities needed in Alberta, Canada. Contact [EMAIL PROTECTED] -- So perhaps, if someone is willing to donate the hardware, there is a bright future for mtio(4), mt(8), ch(4), st(4), and friends We have an OEM dell unit that we could donate; but the picker meta-device no longer probes on the SCSI bus; only the drive. It has to be manually operated via the LCD on the front. ~~BAS Moreover, conceding the unavailability of compatibility with the OpenBSD platform doesn't gain us any additional users; a very large group of talented individuals with tremendous experience writing highly secure, reliable, and _portable_ code who could contribute greatly to the project. -- To set the record straight, and encourage mutual cooperation -- The reality here is that OpenBSD is very selective about where it focuses its development efforts, and the st(4) driver is not one of those places. Therefore, the assertion that The OS is broken is not correct, it simply hasn't been implemented or maintained as it should. Yes, broken was a poor choice of words. I would rephrase it to say it is not Unix compatible. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building bacula on OpenBSD
Here is a functional FD on OpenBSD 4.0/i386: bash-3.2# uname -a OpenBSD vmware-sandbox.pgh.priv.collaborativefusion.com 4.0 GENERIC.MP+RAIDFRAME#1 bash-3.2# /usr/local/sbin/bacula-fd -u root -g wheel -d128 -v -c /usr/local/etc/bacula-fd.conf -f vmware-sandbox-fd: jcr.c:129 read_last_jobs seek to 188 vmware-sandbox-fd: jcr.c:136 Read num_items=0 vmware-sandbox-fd: filed.c:223 filed: listening on port 9102 vmware-sandbox-fd: bnet_server.c:98 Addresses host[ipv4:0.0.0.0:9102] vmware-sandbox-fd: bnet.c:1154 who=client host=192.168.4.55 port=36387 vmware-sandbox-fd: find.c:81 init_find_files ff=-7e0f0be8 vmware-sandbox-fd: job.c:216 dird: Hello Director mindwipe-dir calling vmware-sandbox-fd: job.c:232 Executing Hello command. vmware-sandbox-fd: job.c:337 Calling Authenticate vmware-sandbox-fd: cram-md5.c:71 send: auth cram-md5 [EMAIL PROTECTED] ssl=0 vmware-sandbox-fd: cram-md5.c:131 cram-get: auth cram-md5 [EMAIL PROTECTED] ssl=0 vmware-sandbox-fd: cram-md5.c:150 sending resp to challenge: TS/yz8d8e9BM/gxwO9++iC vmware-sandbox-fd: job.c:341 OK Authenticate vmware-sandbox-fd: job.c:216 dird: JobId=0 Job=*Console*.2006-12-13_13.09.33 SDid=0 SDtime=0 Authorization=dummy vmware-sandbox-fd: job.c:232 Executing JobId= command. vmware-sandbox-fd: job.c:435 JobId=0 Auth=dummy vmware-sandbox-fd: job.c:216 dird: statusvmware-sandbox-fd: job.c:232 Executing status command. vmware-sandbox-fd: job.c:322 Calling term_find_files vmware-sandbox-fd: job.c:325 Done with term_find_files vmware-sandbox-fd: job.c:327 Done with free_jcr The code for this may be found at: http://people.collaborativefusion.com/~seklecki/obsd_bacula.html This illustrates basic support. I've submited sendbug(1) to OpenBSD GNATS, but it does not appear to have made it through: bash-3.2$ Nov 12 09:08:11 vmware-sandbox sm-mta[10302]: kACE7scF013066: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1016/10), delay=00:00:16, xdelay=00:00:16, mailer=esmtp, pri=31100, relay=cvs.openbsd.org. [199.185.137.3], dsn=4.3.0, stat=Deferred: 451 Temporary failure, please try again later. Possibly greylisting~ ~BAS On Wed, 13 Dec 2006, Brian A. Seklecki wrote: Stop in /usr/local/src/bacula-1.38.11/src/stored. It looks to me like the OS' header file is badly broken -- at least in the sense that if it is a Unix system, both mt_fileno and mt_blkno should be defined in the struct mtget. Someone should fix the OS, barring that we will need a patch. Kern, Rus, et al: We have to be really careful with regard how we word things here. The way you assert that could be easily misinterpreted or misconstrued to have a vendor-bashing tone. Moreover, conceding the unavailability of compatibility with the OpenBSD platform doesn't gain us any additional users; a very large group of talented individuals with tremendous experience writing highly secure, reliable, and _portable_ code who could contribute greatly to the project. -- To set the record straight, and encourage mutual cooperation -- The reality here is that OpenBSD is very selective about where it focuses its development efforts, and the st(4) driver is not one of those places. Therefore, the assertion that The OS is broken is not correct, it simply hasn't been implemented or maintained as it should. Before I go on and make my own silly assertions, I should note: ' Things are always subject to change, and this is F/OSS and you're always welcome to do the work yourself or have corporate sponsorship. OpenBSD is not the platform for a Bacula director. You wont see it (at present) driving a 5-LTO3-drive, 2000 tape, 1000+ Terabyte StorageTek Powderhorn Tape Silo connected via Brocade FC switches.(1) However you will see it at the perimeter and on the wire keeping the packet kiddies from stealing all of your customers data. It could be the ideal system for the job with features like enhanced crypto acceleration via crypto(9) and the existing improvements on scsi(4) and recent HBA support. Anyway, not a director, not now at least, and probably not a SD Storage Daemon either. But most definitely a management console and file daemon. Russel: You'll probably notice that Bacula builds perfectly fine up until it gets to the director, then you get into OS-specific kernel knits and hooks where either OpenBSD lacks the framework/API (pthreads, st(4), etc.) or kernel-specific code needs to be added to Bacula. In the mean time, we should endeavor to create a bacula-clientonly Port in OpenBSD ports, or bacula port with a clientonly flavor. This has been done before, but the work was never commited (CC:) 1. http://www.arsc.edu/resources/silo.html I will take the lead on this if I have to. ~BAS I checked the man page for st, where all other Unix systems define the packet. They include no definition, so you will need to consult the header file directly sys/mtio.h. Sorry, but you are pretty much on your own on this. == Error
Re: [Bacula-users] Building bacula on OpenBSD
Just adding readline and OpenSSL support. Good to go now. ...OpenBSD doesn't have a portlint equiv, does it? ~BAS On Wed, 13 Dec 2006, GUILLON Gabriel wrote: This link: http://people.collaborativefusion.com/~seklecki/bacula_openbsd_port.tar seems to be broken Brian A. Seklecki a écrit : Here is a functional FD on OpenBSD 4.0/i386: bash-3.2# uname -a OpenBSD vmware-sandbox.pgh.priv.collaborativefusion.com 4.0 GENERIC.MP+RAIDFRAME#1 bash-3.2# /usr/local/sbin/bacula-fd -u root -g wheel -d128 -v -c /usr/local/etc/bacula-fd.conf -f vmware-sandbox-fd: jcr.c:129 read_last_jobs seek to 188 vmware-sandbox-fd: jcr.c:136 Read num_items=0 vmware-sandbox-fd: filed.c:223 filed: listening on port 9102 vmware-sandbox-fd: bnet_server.c:98 Addresses host[ipv4:0.0.0.0:9102] vmware-sandbox-fd: bnet.c:1154 who=client host=192.168.4.55 port=36387 vmware-sandbox-fd: find.c:81 init_find_files ff=-7e0f0be8 vmware-sandbox-fd: job.c:216 dird: Hello Director mindwipe-dir calling vmware-sandbox-fd: job.c:232 Executing Hello command. vmware-sandbox-fd: job.c:337 Calling Authenticate vmware-sandbox-fd: cram-md5.c:71 send: auth cram-md5 [EMAIL PROTECTED] ssl=0 vmware-sandbox-fd: cram-md5.c:131 cram-get: auth cram-md5 [EMAIL PROTECTED] ssl=0 vmware-sandbox-fd: cram-md5.c:150 sending resp to challenge: TS/yz8d8e9BM/gxwO9++iC vmware-sandbox-fd: job.c:341 OK Authenticate vmware-sandbox-fd: job.c:216 dird: JobId=0 Job=*Console*.2006-12-13_13.09.33 SDid=0 SDtime=0 Authorization=dummy vmware-sandbox-fd: job.c:232 Executing JobId= command. vmware-sandbox-fd: job.c:435 JobId=0 Auth=dummy vmware-sandbox-fd: job.c:216 dird: statusvmware-sandbox-fd: job.c:232 Executing status command. vmware-sandbox-fd: job.c:322 Calling term_find_files vmware-sandbox-fd: job.c:325 Done with term_find_files vmware-sandbox-fd: job.c:327 Done with free_jcr The code for this may be found at: http://people.collaborativefusion.com/~seklecki/obsd_bacula.html This illustrates basic support. I've submited sendbug(1) to OpenBSD GNATS, but it does not appear to have made it through: bash-3.2$ Nov 12 09:08:11 vmware-sandbox sm-mta[10302]: kACE7scF013066: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1016/10), delay=00:00:16, xdelay=00:00:16, mailer=esmtp, pri=31100, relay=cvs.openbsd.org. [199.185.137.3], dsn=4.3.0, stat=Deferred: 451 Temporary failure, please try again later. Possibly greylisting~ ~BAS On Wed, 13 Dec 2006, Brian A. Seklecki wrote: Stop in /usr/local/src/bacula-1.38.11/src/stored. It looks to me like the OS' header file is badly broken -- at least in the sense that if it is a Unix system, both mt_fileno and mt_blkno should be defined in the struct mtget. Someone should fix the OS, barring that we will need a patch. Kern, Rus, et al: We have to be really careful with regard how we word things here. The way you assert that could be easily misinterpreted or misconstrued to have a vendor-bashing tone. Moreover, conceding the unavailability of compatibility with the OpenBSD platform doesn't gain us any additional users; a very large group of talented individuals with tremendous experience writing highly secure, reliable, and _portable_ code who could contribute greatly to the project. -- To set the record straight, and encourage mutual cooperation -- The reality here is that OpenBSD is very selective about where it focuses its development efforts, and the st(4) driver is not one of those places. Therefore, the assertion that The OS is broken is not correct, it simply hasn't been implemented or maintained as it should. Before I go on and make my own silly assertions, I should note: ' Things are always subject to change, and this is F/OSS and you're always welcome to do the work yourself or have corporate sponsorship. OpenBSD is not the platform for a Bacula director. You wont see it (at present) driving a 5-LTO3-drive, 2000 tape, 1000+ Terabyte StorageTek Powderhorn Tape Silo connected via Brocade FC switches.(1) However you will see it at the perimeter and on the wire keeping the packet kiddies from stealing all of your customers data. It could be the ideal system for the job with features like enhanced crypto acceleration via crypto(9) and the existing improvements on scsi(4) and recent HBA support. Anyway, not a director, not now at least, and probably not a SD Storage Daemon either. But most definitely a management console and file daemon. Russel: You'll probably notice that Bacula builds perfectly fine up until it gets to the director, then you get into OS-specific kernel knits and hooks where either OpenBSD lacks the framework/API (pthreads, st(4), etc.) or kernel-specific code needs to be added to Bacula. In the mean time, we should endeavor to create a bacula-clientonly Port in OpenBSD ports, or bacula port with a clientonly flavor. This has been done before, but the work was never commited (CC:) 1. http://www.arsc.edu/resources/silo.html I will take the lead on this if I have to. ~BAS I
[Bacula-users] Doc updates: Log rotation and Signal Handling (WAS: Bacula-dir problems with -HUP? (was Re: Backtrace Attached: bacula-dir lockups on FreeBSD))
On Tue, 2006-10-03 at 17:07 +0200, Kern Sibbald wrote: On Tuesday 03 October 2006 16:20, Brian A. Seklecki wrote: Well, at the very least, this behavior should be mentioned in the As promised some 3 Months later (Sorry, BSDCon and all that).. Attached is a basic diff(1) that explains log rotation techniques to that effect. The problem organizationally is that one can get lost in details in the Getting Started section; where as this much info about log rotation technique (e.g., platform-specific notes) may belong elsewhere in the doc. Also not sure, as a general policy, how you want to deal with platform specific config examples. It seems TeX only has one-level of subsection; I guess I'm spoiled by DocBook with its sect[0-9] hierological organization. We explicitly should mention that the log file's descriptor is only open when being written to. No SIGHUP is needed to close and reopen it as a new file after the existing one is renamed/compressed. Right, and that a SIGHUP to the bacula-dir will interrupt running jobs. Noted here! The race condition that exists here is no different than any other system. Also, I don't see any examples of creating local[0-9] syslog(3) facilities. Certainly an example Messages {} stanza that transmits to syslogd(8) is in order. Using syslog(3) mitigates this whole problem. I get into this here. I'm curious why the facility can't be controlled. Work-around documented. The FreeBSD port maintainer might want to add a newsyslog.conf(5) example to the bacula-server/files/pkg-message.in: Attached is a diff to pkg-message.in for Dan Langille. However, without ports/sysutils/syslog-ng, it's kind of a moot point. A table/chart in the User or Developer documentation that outlines how common POSIX signals are handled would be very helpful as well. At least the common ones in signal(3): I didn't have a chance to get into this, but I still think it's a great idea to have. Put in the manual right after the Job Status Code reference table :} That's what I meant. Although I'm still a bit concerned. What happens if the log file is rotated while a job is in progress? Will bacula attempt to append to the end of (the now compressed) previously opened file descriptor? Or will it reconnect to the new file with the correct filename. Right, in this case, if the is open by bacula-dir and the file is moved on the same file system, the descriptor / inode stay the same. If the file is moved off of the file system, a new inode is made. Messages written to the old file inode during the move operation are lost. However, if the file is compressed at rotation-time, all data being appended by bacula-dir to that still-open() file after the start of the gzip(1)/bzip(2) read() operation would go into a black hole and be lost. The resulting compressed data is a new file, so ignore whatever I was thinking when I wrote that. The appended data during the read() by the compression utility is lost is the point I'm trying to make. The advantage of syslog(3) is that it can queue messages on SIGHUP. Also, the way newsyslog(8) works, the file presently open is simply renamed/moved to $!.0, SIGHUP is sent, all queued messages enter a newly created file in place. No messages are ever lost. No, that is what Windows probably does. On Unix/Linux systems, Bacula continues writing to the old file and when Bacula releases the file, it is deleted. Thus you lose the last part of what Bacula is writing if you delete it out from under Bacula. --- files/pkg-message.inSat Sep 9 16:17:39 2006 +++ /tmp/pkg-message.in Mon Dec 18 17:00:33 2006 @@ -21,4 +21,21 @@ and that the documentation can be optionally installed with the client port (sysutils/bacula-client). +To activate Bacula's respective components, adjust rc.conf(5): + +bacula_fd_enable=YES +bacula_sd_enable=YES +bacula_dir_enable=YES + +If you chose to use bacula-dir default internal logging, you may wish to adjust +newsyslog.conf(5): + + # rotate every week on Saturday at 8 PM; bzip2(1) compress + /var/log/bacula.log bacula:bacula 660 7 *$W6D20 JC + +If you chose to use bacula-dir syslog(3) logging: + + # rotate at midnight + /var/log/bacula.log bacula:bacula 660 7 *@T00 J + --- quickstart.tex Mon Dec 18 16:51:20 2006 +++ quickstart.tex-lava Mon Dec 18 16:50:23 2006 @@ -344,16 +344,77 @@ \ilink{Running Bacula Chapter}{_ChapterStart1} of this manual where you will get detailed instructions on how to run Bacula. -\subsection*{Log Rotation} +\subsection*{Log Rotation: General} \index[general]{Rotation!Log } \index[general]{Log Rotation } \addcontentsline{toc}{subsection}{Log Rotation} + If you use the default {\bf bacula-dir.conf} or some variation of it, you will -note that it logs all the Bacula output to a file. To avoid that this file
Re: [Bacula-users] looking at bacula
WTF I must have been asleep at the terminal again: http://people.collaborativefusion.com/~seklecki/obsd_bacula.html # md5 bacula_openbsd_port.tar MD5 (bacula_openbsd_port.tar) = 88d33c5c30426593f36860c39dc55f61 # ls -al !$ ls -al bacula_openbsd_port.tar -rw-r--r-- 1 root wheel 10240 Nov 19 10:28 bacula_openbsd_port.tar ~BAS On Wed, 2006-12-20 at 11:37 -0500, Bill Moran wrote: In response to Oliver Lehmann [EMAIL PROTECTED]: Bill Moran wrote: In response to Arno Lehmann [EMAIL PROTECTED]: That's not too much for Bacula, although OpenBSD as a client is not as easy to set up as other OSes. At least that's what I remember from list mail - there seem to be some difficulties getting the client to compile. AFAIK, it works, though. http://people.collaborativefusion.com/~seklecki/obsd_bacula.html somehow, the tar is broken here: [EMAIL PROTECTED] tmp gtar -xf ../bacula_openbsd_port.tar gtar: Unexpected EOF in archive gtar: Unexpected EOF in archive gtar: Error is not recoverable: exiting now Exit 2 [EMAIL PROTECTED] tmp tar -xf ../bacula_openbsd_port.tar bacula/w-bacula-clientonly/bacula-1.39.30/autoconf/gnome-macros/autogen.sh: (Empty error message) tar: Truncated input file (need to skip 7312 bytes) Exit 1 [EMAIL PROTECTED] tmp Hmmm ... I get a similar error: tar xf bacula_openbsd_port.tar bacula/w-bacula-clientonly/bacula-1.39.30/autoconf/gnome-macros/autogen.sh: (Empty error message) tar: (Empty error message) Although it seems to extract everything in spite of the message. Brian, can you have a look at this? -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem with configure on FC 6
Just use Source RPMs on RPM based systems. Always backup your config.log and config.status if you insist on src tarballs. ~BAS On Fri, 2007-02-23 at 15:54 -0500, John BORIS wrote: -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Could not connect to Storage daemon - ERR=No error
Unfortunately, the error message here is probably incorrect because at that low level, it doesn't know about Win32. As a consequence, it is most likely that packrat is not properly defined on jeff-t40-fd. Ahhh so different socket API errors for TCP sockets? Different firewalls return (or don't return) different TCP and ICMP packets in response to SYN packets that violate policies. Cisco doesn't give you a lot of control; pf(4) / ipf(4) does etc. ~BAS It would be a big help to Win32 users if you would file a bug report with the above message and something like Incorrect Win32 network error message as the title. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Building bacula on OpenBSD
assume that I wrote the offending statements: On Wednesday 13 December 2006 18:28, Brian A. Seklecki wrote: Stop in /usr/local/src/bacula-1.38.11/src/stored. It looks to me like the OS' header file is badly broken -- at least in the sense that if it is a Unix system, both mt_fileno and mt_blkno should be defined in the struct mtget. Someone should fix the OS, barring that we will need a patch. Kern, Rus, et al: We have to be really careful with regard how we word things here. The way you assert that could be easily misinterpreted or misconstrued to have a vendor-bashing tone. I'm sorry, I did not intend to be vendor bashing. I stand by what is written. If it is a Unix system and there are not mt_fileno and mt_blkno in the struct mtget, there are serious compatibility problems, since I don't have an OpenBSD system, assuming the OS is not going to change, we would need a patch to Bacula to fix it. Moreover, conceding the unavailability of compatibility with the OpenBSD platform doesn't gain us any additional users; a very large group of talented individuals with tremendous experience writing highly secure, reliable, and _portable_ code who could contribute greatly to the project. -- To set the record straight, and encourage mutual cooperation -- The reality here is that OpenBSD is very selective about where it focuses its development efforts, and the st(4) driver is not one of those places. Therefore, the assertion that The OS is broken is not correct, it simply hasn't been implemented or maintained as it should. Yes, broken was a poor choice of words. I would rephrase it to say it is not Unix compatible. Before I go on and make my own silly assertions, I should note: ' Things are always subject to change, and this is F/OSS and you're always welcome to do the work yourself or have corporate sponsorship. OpenBSD is not the platform for a Bacula director. You wont see it (at present) driving a 5-LTO3-drive, 2000 tape, 1000+ Terabyte StorageTek Powderhorn Tape Silo connected via Brocade FC switches.(1) However you will see it at the perimeter and on the wire keeping the packet kiddies from stealing all of your customers data. It could be the ideal system for the job with features like enhanced crypto acceleration via crypto(9) and the existing improvements on scsi(4) and recent HBA support. Anyway, not a director, not now at least, and probably not a SD Storage Daemon either. Yes, since the problem above arises when compiling the SD. But most definitely a management console and file daemon. I think these already exist. Bacula does have some code to support OpenBSD. Russel: You'll probably notice that Bacula builds perfectly fine up until it gets to the director, then you get into OS-specific kernel knits and hooks where either OpenBSD lacks the framework/API (pthreads, st(4), etc.) or kernel-specific code needs to be added to Bacula. Without a decent implementation of pthreads, even the client (file daemon) will not build. In the mean time, we should endeavor to create a bacula-clientonly Port in OpenBSD ports, or bacula port with a clientonly flavor. This has been done before, but the work was never commited (CC:) 1. http://www.arsc.edu/resources/silo.html I will take the lead on this if I have to. ~BAS I checked the man page for st, where all other Unix systems define the packet. They include no definition, so you will need to consult the header file directly sys/mtio.h. Sorry, but you are pretty much on your own on this. == Error in /usr/local/src/bacula-1.38.11/src/stored == ==Entering directory /usr/local/src/bacula-1.38.11/src/tools Make of tools is good - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Russell Sutherland russ AT madhaus . cns . utoronto . ca +1.416.978.0470 [ voice ] +1.416.978.6620 [ fax ] -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only
Re: [Bacula-users] [Bacula-devel] Bacula version 2.2.x for Solaris, FreeBSD, and Windows
[cross-posting to freebsd-ports@ where hopefully we'll get some attention] FYI: The Bacula project is requesting additional voluntary development involvement by the FreeBSD community. A senior technical liaison who can dedicate time to staying abreast of development efforts in Bacula. Perhaps an organization using Bacula in their corporate infrastructure can volunteer developer time. ~BAS On Sun, 2007-04-15 at 11:24 +0200, Kern Sibbald wrote: Hello, As I have previously emailed several times over the last 6 months or so, I no longer build Bacula on Solaris and FreeBSD, and other than testing the Win32 client, I am running no regression tests on Win32, Solaris and FreeBSD. The Bacula community must step forward and organize systematically running regression testing, but so far this has not happened (this is quite disappointing). I have just completed significant modifications to the Volume reservation code in the Storage daemon (now in the SVN). There will undoubtedly be some fine tuning before it ships. However, I suspect that the code now makes recursive mutex calls, which work perfectly well on Linux, but they cause a failure on FreeBSD (this is permitted by the standard), which means that it is quite possible that the current SVN code will fail on FreeBSD. For Solaris, I am unsure. This email is a *BIG* urgent warning that unless the Bacula Solaris and FreeBSD users pull together and organize regression testing, you may find that version 2.2.x will not work on your platform, and it may be difficult to correct problems after production release in a timely fashion since once released, it is not possible to make any significant changes to mutex usage without destabilizing the code. Now is the time to test and bring any problems to my attention. I am ready to help you get the regression tests working and to fix mutex usage so that it works on your platform during the current development cycle. Best regards, Kern PS: I will be out of town from this afternoon until late Tuesday. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bacula-devel -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula-fd logging
I'm trying to log all saved (and skipped) files on full/incr jobs. My msg resource: Messages { Name = Standard append = /var/log/bacula-job-debug.log = all } -d output: bacula-fd: parse_conf.c:303 store_msgs dest=/var/log/bacula-job-debug.log: bacula-fd: message.c:333 add new d=809b418 msgtype=7 destcode=4 where=/var/log/bacula-job-debug.log mailcmd=*None* bacula-fd: message.c:313 Add to existing d=809b418 msgtype=2 destcode=4 where=/var/log/bacula-job-debug.log bacula-fd: message.c:313 Add to existing d=809b418 msgtype=3 destcode=4 where=/var/log/bacula-job-debug.log The file: # tail -F /var/log/bacula-job-debug.log 16-May 09:32 soundwave-fd: Fatal Error because: Bacula interrupted by signal 18: Keyboard stop Start a job: soundwave-fd: find_one.c:210 File : /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:246 FT_REG saving: /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:331 bfiled: sending /home/seklecki/.gftp/gftp.log to stored soundwave-fd: backup.c:1017 File /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:1062 stored: attr len=99: 402 3 /home/seklecki/.gftp/gftp.log soundwave-fd: bfile.c:778 open file /home/seklecki/.gftp/gftp.log Absolutely no indication that the message should be routed anywhere. But I am getting some messages (critical errors) to /var/log/bacula-job-debug.log. I've tried a variety of method methods (syslog, file, append, stdout) and a variety of levels (all, saved, skipped, etc.). Nothing. At one point this morning it _was_ working, to syslog, but only skipped messages: 2007 May 16 08:48:50 EDT soundwave [bacula-fd][daemon][err] bacula-fd: soundwave-fd: Unchanged file skipped: /home/seklecki/.evolution/mail/imap/fooserver:993/folders/INBOX/subfolders/Periodic/subfolders/2006-05/303.HEADER I'll re-read the manual and browse message.c to see if I'm missing anything obvious. This seems pretty straightforward though. This is 2.0.3 on FreeBSD 6.2/i386. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File Storage on multiple partitions
If the new volumes follow a naming convention, and no autolabel, maybe use symbolic links before labing? On Fri, 2007-05-18 at 10:50 +0200, Ekkehard Burkon wrote: This was not enough. So we added some disks and added -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] void Jmsg() function and M_SAVED level (WAS: [Fwd: bacula-fd logging])
All: The reason my logging configurations were acting sporadically is because there is no call ever to a Jmsg() with 'type' M_SAVED as defined in src/lib/message.h Presumably it belongs in save_file() somewhere. I'll play around with it. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ---BeginMessage--- I'm trying to log all saved (and skipped) files on full/incr jobs. My msg resource: Messages { Name = Standard append = /var/log/bacula-job-debug.log = all } -d output: bacula-fd: parse_conf.c:303 store_msgs dest=/var/log/bacula-job-debug.log: bacula-fd: message.c:333 add new d=809b418 msgtype=7 destcode=4 where=/var/log/bacula-job-debug.log mailcmd=*None* bacula-fd: message.c:313 Add to existing d=809b418 msgtype=2 destcode=4 where=/var/log/bacula-job-debug.log bacula-fd: message.c:313 Add to existing d=809b418 msgtype=3 destcode=4 where=/var/log/bacula-job-debug.log The file: # tail -F /var/log/bacula-job-debug.log 16-May 09:32 soundwave-fd: Fatal Error because: Bacula interrupted by signal 18: Keyboard stop Start a job: soundwave-fd: find_one.c:210 File : /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:246 FT_REG saving: /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:331 bfiled: sending /home/seklecki/.gftp/gftp.log to stored soundwave-fd: backup.c:1017 File /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:1062 stored: attr len=99: 402 3 /home/seklecki/.gftp/gftp.log soundwave-fd: bfile.c:778 open file /home/seklecki/.gftp/gftp.log Absolutely no indication that the message should be routed anywhere. But I am getting some messages (critical errors) to /var/log/bacula-job-debug.log. I've tried a variety of method methods (syslog, file, append, stdout) and a variety of levels (all, saved, skipped, etc.). Nothing. At one point this morning it _was_ working, to syslog, but only skipped messages: 2007 May 16 08:48:50 EDT soundwave [bacula-fd][daemon][err] bacula-fd: soundwave-fd: Unchanged file skipped: /home/seklecki/.evolution/mail/imap/fooserver:993/folders/INBOX/subfolders/Periodic/subfolders/2006-05/303.HEADER I'll re-read the manual and browse message.c to see if I'm missing anything obvious. This seems pretty straightforward though. This is 2.0.3 on FreeBSD 6.2/i386. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. ---End Message--- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] void Jmsg() function and M_SAVED level (WAS: [Fwd: bacula-fd logging])
Here's the little patch: ~Line 332 in filed/backup.c: - default: Jmsg(jcr, M_NOTSAVED, 0, _( Unknown file type %d; not saved: %s\n), ff_pkt-type, ff_pkt-fname); jcr-Errors++; return 1; } Dmsg1(130, bfiled: sending %s to stored\n, ff_pkt-fname); +Jmsg(jcr, M_SAVED, 0, _(Backing up file: %s\n), ff_pkt-fname); /* Digests and encryption are only useful if there's file data */ - On Tue, 2007-05-22 at 15:19 -0400, Brian A. Seklecki wrote: All: The reason my logging configurations were acting sporadically is because there is no call ever to a Jmsg() with 'type' M_SAVED as defined in src/lib/message.h Presumably it belongs in save_file() somewhere. I'll play around with it. email message attachment, Forwarded message - bacula-fd logging Forwarded Message From: Brian A. Seklecki [EMAIL PROTECTED] To: bacula-users@lists.sourceforge.net Subject: bacula-fd logging Date: Wed, 16 May 2007 10:10:46 -0400 I'm trying to log all saved (and skipped) files on full/incr jobs. My msg resource: Messages { Name = Standard append = /var/log/bacula-job-debug.log = all } -d output: bacula-fd: parse_conf.c:303 store_msgs dest=/var/log/bacula-job-debug.log: bacula-fd: message.c:333 add new d=809b418 msgtype=7 destcode=4 where=/var/log/bacula-job-debug.log mailcmd=*None* bacula-fd: message.c:313 Add to existing d=809b418 msgtype=2 destcode=4 where=/var/log/bacula-job-debug.log bacula-fd: message.c:313 Add to existing d=809b418 msgtype=3 destcode=4 where=/var/log/bacula-job-debug.log The file: # tail -F /var/log/bacula-job-debug.log 16-May 09:32 soundwave-fd: Fatal Error because: Bacula interrupted by signal 18: Keyboard stop Start a job: soundwave-fd: find_one.c:210 File : /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:246 FT_REG saving: /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:331 bfiled: sending /home/seklecki/.gftp/gftp.log to stored soundwave-fd: backup.c:1017 File /home/seklecki/.gftp/gftp.log soundwave-fd: backup.c:1062 stored: attr len=99: 402 3 /home/seklecki/.gftp/gftp.log soundwave-fd: bfile.c:778 open file /home/seklecki/.gftp/gftp.log Absolutely no indication that the message should be routed anywhere. But I am getting some messages (critical errors) to /var/log/bacula-job-debug.log. I've tried a variety of method methods (syslog, file, append, stdout) and a variety of levels (all, saved, skipped, etc.). Nothing. At one point this morning it _was_ working, to syslog, but only skipped messages: 2007 May 16 08:48:50 EDT soundwave [bacula-fd][daemon][err] bacula-fd: soundwave-fd: Unchanged file skipped: /home/seklecki/.evolution/mail/imap/fooserver:993/folders/INBOX/subfolders/Periodic/subfolders/2006-05/303.HEADER I'll re-read the manual and browse message.c to see if I'm missing anything obvious. This seems pretty straightforward though. This is 2.0.3 on FreeBSD 6.2/i386. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula ask for a volume which has inchanger=no ?!?!?
Next time the output of status storage, show volumes, show jobs, list volumes etc would be useful for debugging the decision making behind such behavior ~BAS On Fri, 2007-05-18 at 09:02 +0200, Adam Cécile wrote: Hi, Today my director was blocked. It was asking for a volume which had inchangler flag set to no while there was 4 purged volume in the right pool. I had to load the volume into the drive manually (with mtx) and then mount it, otherwise bacula keeps asking for the missing volume. How could this happend ? Do I missed something in my configuration ? Thanks in advance, Adam. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Hardware recommendations
Dell PowerEdge 2950 w/ PERC5 SAS -- RAID-1 Root OS (2x36gb SAS) and RAID5 Storage (3x 74gig w/ 1 hot standby)). Dual quad-cores and 32gb RAM available if your DB platform can scale it (PostgreSQL + FreeBSD) ~BAS On Tue, 2007-06-05 at 10:12 -0700, Joseph Wright wrote: I'd like to find out what kind of hardware configurations people are using for their director. I plan to be backing up 50 or more clients with ~250G of data each on a dedicated director with 2G RAM and a 120G SATA drive. I had an issue one night where the director shut down with an out of memory error after the backup jobs started, with only 20 clients. I've since backed off the number of clients and am adding them back in more slowly, as well as distributing the startup times so they don't all start at once. But I'd like to find out if people think my hardware is adequate for the task and it would be interesting to know what others are using. (\_/) (o,o) ()_() Joseph Wright - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FileSets in Restore jobs to populate path list?
Is there any way to populate the file list for a restore job using a FileList definition? Such that, when one initiates a restore operation, they merely feed: -) Select Restore Job Template Definition |--- Bootstrap |--- FileSet |--- Where |--- Prefix/Suffix |--- Regex |--- Replace \--- Priority -) Enter Original Client FD | Storage | Catalog \ JobIDs and BSR populated here like restore option #5 -) Enter Optional alternate destination FD - The work around seems to be (procedurally): -) restore client=[Original_Client_FD_Name] fileset=[FileSetName] - #5 -) @ /path/to/list/of/recover/commands $ @ /tmp/recover.list cd /etc cwd is: /etc/ $ mark fstab 1 file marked. cwd is: /usr/local/etc/ $ mark bacula-fd.conf 1 file marked. -) Select Restore Job Template -) Modify job to specify optional alternate destination client restore restore client name. Essentially I'm looking for any way to automate the process. Human intervention at the bconsole at 3 AM can be dangerous. Also, the pre-meditated restore file list is easier to maintain in FileSets{} definition than a text file. Thoughts? ~BAS P.S. Why doesn't recover's interactive shell permit for specifying absolute path names? -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] authentication problems
Provide us with the output of the following (URL not attachment - pastebin or something) $ bacula-sd -vsf -d9 Paste only the parts just before, and as you type status storage on the dir.. ~BAS On Mon, 2007-04-09 at 19:46 -0700, RYAN M. vAN GINNEKEN wrote: Ok folks i am at my wits end here have been struggliing with this for a couple of days now it used to work but i made a few minor changes to the conf files and now bacula is broken. Please help It must be a minor typo or something but i cannot for the life of me see it. HELP Here is the relevant bits of my bacula-sd.conf Storage { # definition of myself Name = hendrick-sd SDPort = 9103 # Director's port WorkingDirectory = /var/db/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 20 } # # List Directors who are permitted to contact Storage daemon # Director { Name = hendrick-dir Password = c0mputerking-st0rage # Password = c0mputerking-m0nit0r } # # Restricted Director, used by tray-monitor to get the # status of the storage daemon # Director { Name = hendrick-mon Password = c0mputerking-m0nit0r Monitor = yes } # # Devices supported by this Storage daemon # To connect, the Director's bacula-dir.conf must have the # same Name and MediaType. # Device { Name = FileStorage Media Type = File Archive Device = /space/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } here are the good bits of my bacula-dir.conf --- as you can see i have tried several address none seem to work Storage { Name = hendrick-sd # Address = 127.0.0.1# N.B. Use a fully qualified name here # Address = 192.168.0.24 # be very careful here # Address = 209.115.169.135 Address = webmail.hendrick.ca SDPort = 9103 Password = c0mputerking-st0rage Device = FileStorage Media Type = File } I always get this when trying to connect Connecting to Storage daemon hendrick-sd at webmail.hendrick.ca:9103 Failed to connect to Storage daemon hendrick-sd. You have messages. *au on 09-Apr 20:58 hendrick-dir: *Console*.2007-04-09_20.58.17 Fatal error: authenticate.c:92 Unable to authenticate with Storage daemon. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the SD or SD networking messed up (restart daemon). Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help. I can ping the host, and everything is local so iptables should not be a problem webmail:/etc/bacula# ping webmail.hendrick.ca PING webmail.hendrick.ca (209.115.169.132): 56 data bytes 64 bytes from 209.115.169.132: icmp_seq=0 ttl=64 time=0.0 ms ps here are the version #'s it is old but it is what i get when i do an apt-get install bacula. This box is Debian something i did not set it up or know alot about debian but this all a uname -a gives me webmail:/etc/bacula# uname -a Linux webmail 2.6.20 #3 SMP Fri Mar 30 16:15:10 MST 2007 i686 GNU/Linux Bacula *version hendrick-dir Version: 1.36.2 (28 February 2005) ps i get the comparable errors when it try to stat fd too.. *au on 09-Apr 21:05 hendrick-dir: *Console*.2007-04-09_21.04.29 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/html-manual/faq.html#AuthorizationErrors for help. -- Computer King CaN Mail - Sales Service Hosting Backup http://www.computerking.ca http://www.canmail.org NEW!!! Custom Service Packages Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting Packages - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please
Re: [Bacula-users] define a variable in a conf file
If not, perhaps you can seperate your filesets{} into a filesets.conf that you include from bacula-dir.conf and pre-processes them using something like M4 or even just sed+make(1) ~BAS On Tue, 2007-04-10 at 12:24 -0400, Brian Debelius wrote: Can I? How? I am really getting tired of handling strings like C:\Documents and Settings\All Users\Bacula\whatever in windows. Is that a way to set a variable in a conf file like path=C:\Documents and Settings\All Users\Bacula\whatever - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Can't connect to director (Windows)
On Tue, 2007-04-10 at 12:08 -0300, Facundo Casco wrote: can't connect to the director. Where is this error from? The File Daemon? What components are you trying to run on Windows? More details please. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Newbie problem
Did you ever get this resolved? I just saw this error. Restarting my SD worked. We're on 1.3.xx Foo (/mnt/bacula/BACULA/) is busy (already reading/writing). Rght. No other jobs are running. Gotta love it. I'll grawk through the code later. On Wed, 2007-04-11 at 10:49 +0200, MasterBrian wrote: Restore Job MC_LAN_FS1_-_Full_-_Restore.2007-04-11_10.27.12 waiting for Client connection. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Get Message About Different Filesystem
On Wed, 2007-06-13 at 10:11 -0500, Derek Ragona wrote: At 10:04 AM 6/13/2007, Mike Vasquez wrote: I have compiled bacula-fd on an HP-UX machine. When I went to run the director located on a Debian machine I get messages like /home is a different filesystem. Will not descend from / into /home I also get this message on /opt, /usr, /var, /stand. It was able to descend into /sbin, /etc. Any ideas as to why? Sounds like a permissions issue. Check what user you are running it It's Options OneFS. ~BAS as, and the perms on the file systems. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Archive FileStorage is not open or does not exist
On Wed, 2007-06-13 at 09:04 +0200, pieter claassen wrote: My questions: 1. Below is the debug info. How do I determine why the device is not visible to bacula? What could be going on here? What does status dir show? Status storage? Run: $ sudo bacula-sd -f -d 21 | tee /var/tmp/bacula-sd-debug.log ~BAS 2. How do I re-initiase my bacula database (without wiping my backups). Without your database, your old jobs are useless I am on an ubuntu feisty system. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unable to connect to MySQL server
Can you connect as the Bacula user from localhost using the CLI and the credentials listed below? ~BAS On Tue, 2007-06-12 at 17:57 +0200, Marc-Henri Fernandez wrote: Hi, I have set up bacula v. 1.38 with mysql and whan I want to start the director deamon, I have an error : Unable to connect to MySQL server Database=bacula User=bacula It is probably not running or your password is incorrect. 12-jun 17:50 bacula-dir ERROR TERMINATION Now this is my bacula-dir.conf Job { Name = BackupCatalog JobDefs = DefaultJob Level = Full FileSet=Catalog Schedule = WeeklyCycleAfterBackup # This creates an ASCII copy of the catalog # RunBeforeJob = /etc/bacula/scripts/make_catalog_backup dbname user password RunBeforeJob = /etc/abcula/scripts/make_catalog_backup bacula bacula doume # This deletes the copy of the catalog RunAfterJob = /etc/bacula/scripts/delete_catalog_backup Write Bootstrap = /var/lib/bacula/BackupCatalog.bsr Priority = 11 # run after main backup } # Generic catalog service Catalog { Name = MyCatalog dbname = bacula; DB Address = localhost ; user = bacula; password = doume } What is wrong with me ? Thanks a lot ___ Marc Henri Fernandez Service Informatique Tourisport company [EMAIL PROTECTED] ligne directe : 04 88 66 48 68 ? Portable : 06 09 54 77 90 BP 109 ? 13321 Marseille Cedex 16 Voyagez avec des spécialistes www.clubaventure.fr randonneés voyages www.sport-away.com destination passion www.femmes-du-monde.com l'aventure au féminin www.66nord.com le spécialiste des terres polaires - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Client build on AIX -- Help!
Show us your config.log in the src root dir and the Makefile from this subdirectory? Thanks, ~BAS On Wed, 2007-06-06 at 11:51 -0500, Reuben A. Popp wrote: stdc++ -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FTP Sync
You can use the bacula-fd on the windows client and setup the bufallo external storage as an NFS mount on your bacula-DIR/bacuala-SD system. You cannot bacula-sd directly to the Buffalo NAS, unless you hack it, which may not be a bad idea if its running Linux. Best to just tear the drive out of it and mount it locally. Or have a direct cross-over between the SD machine and the Terrastation ~BAS On Fri, 2007-06-01 at 14:14 -0400, ashok shah wrote: I have tried other FTP sync softwares.. and Pulling Data from the server runs at 11.6MB/sec (via gigabit LAN on the same SWITCH), the connection times out frequently, but it works.. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] network error job aborted
what does: status client=backup_titan show? Did you restart the bacula-fd service on the client? Check the windows event viewer? Re-start the bacula-fd.exe process from command line manually with -d99 -f -v ? ~BAS On Mon, 2007-06-18 at 07:41 -0400, Dave wrote: zeus-dir -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] network error job aborted
Could be a stateful packet filter (firewall) timeout. Try setting your TCP socket timeout to an hour or so. But which socket? In cisco it's: # timeout conn 12:00:00 half-closed 0:10:00 udp 0:03:00 icmp 0:00:02 In OpenBSD it's: set timeout tcp.established 86400 Someone should document that. ~BAS FD-SD? DIR-FD? Your error indicated that either that DIR lost connection to the FD, or the FD lost connection to the SD. On Mon, 2007-06-18 at 12:49 -0400, Dave wrote: Hello, I really hate it when i try to respond to questions and when i do bacula does not duplicate the error. Brian, a status on the client showed that it never went down, i restarted it manually with the flags you indicated and nothing more verbose came through. Like Frank i'm also not convinced it's networking, this box and the server do have firewalls, but they pass bacula traffic without issues. All of the daemons involved are 2.03, i'm not using any 2.1.x bacula on this client. Windows event viewer didn't tell me anything, i saw two errors around the time in question, but i had a user on the box unbenounced to me playing an online game, error came from one of the dlls it used. My first speculation is that error that snafu whatever corrupted the vss snapshot, is this possible or how could i confirm this? The other thing that it might be although i doubt this as well is a conflict between running jobs. The job in question started at 4:35, and died at 5:47. I had another job, backing up to another disk volume totally separate, kick off two minutes before the failure at 5:45. That client was a Unix not windows box. It worked fine, but i don't like not knowing the why, i suspect i will see more of this from this client. Thanks. Dave. - Original Message - From: Brian A. Seklecki [EMAIL PROTECTED] To: Dave [EMAIL PROTECTED] Cc: bacula-users@lists.sourceforge.net Sent: Monday, June 18, 2007 8:06 AM Subject: Re: [Bacula-users] network error job aborted what does: status client=backup_titan show? Did you restart the bacula-fd service on the client? Check the windows event viewer? Re-start the bacula-fd.exe process from command line manually with -d99 -f -v ? ~BAS On Mon, 2007-06-18 at 07:41 -0400, Dave wrote: zeus-dir -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Console messages
Log to syslog: # Message delivery for daemon messages (no job). Messages { Name = Daemon syslog = all, !skipped } --- syslog-ng.conf: destination baculadirlog { file(/var/log/bacula-dir.log template($FULLDATE $TZ $HOST [$PROGRAM][$PID] [$FACILITY] [$LEVEL] $MSG \n) ); } filter f_prog_baculadir { program(bacula-dir); }; # Catch all logs from bacula-dir log { source(src); filter(f_prog_baculadir); filter(f_daemon); destination(baculadirlog); flags(final); }; ~BAS On Thu, 2007-06-14 at 13:35 -0700, Kyle Marsh wrote: here is a way to have the messages all be logged, but not sent to the console unless the console is active -- I don't plan to be looking at the console much once a system i -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] specifying wildcards during restore
You can query the database using % SQL wildcards. 'select file from file where file like '%tellmeaboutyourhate%'; etc ~BAS On Mon, 2007-06-25 at 22:18 -0400, Dave wrote: Hello, Thanks, that did it, but i still am unable to find the fil i want. Is there a way i can use wildcards to find this file? Thanks. Dave. - Original Message - From: Drew Bentley [EMAIL PROTECTED] To: Dave [EMAIL PROTECTED] Sent: Monday, June 25, 2007 9:21 PM Subject: Re: [Bacula-users] specifying wildcards during restore On 6/25/07, Dave [EMAIL PROTECTED] wrote: Hello, I'm using bacula 2.03 and trying to restore a file from tape. I have two problems, first i tried to list the last 20 jobs run, hoping that what i want is in there, but the display scrolled, is there a single screen only option like more? My second issue, i do not remember the exact filename, i remember where it was saved from i.e. client, which job though not the jobid, but i do not remember the filename. I remember it's an iso file that's it. Thanks. Dave. If this is on a Linux/Unix system, you should be able to scroll up to view the contents that scrolled past. If you don't have a mouse and your on the console, simply press ctrl + page up or page down to scroll. -drew - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Migrating bacula from FreeBSD to CentOS?
On Fri, 2007-07-06 at 15:29 -0700, Atom Powers wrote: I'm considering moving my bacula serve from a FreeBSD box to a CentOS one, in the hopes of getting better driver support for the hardware I'm using. I imagine to get Linux binary-only blackbox firmware upgrade utilities for the tape drive. Things that use linux specific SCSI APIs in the kernel. Vendors love that stuff. You can probably move only the SD to the CentOS Box. FreeBSD/amd64 7.x will be the premier PostgreSQL platform, and you'll want your director running close. ~BAS What are the potential pitfalls? Is it realistic to expect to recover data from tapes written under FreeBSD? -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula in OpenBSD 4.2 Ports
On Wed, 2007-08-08 at 10:16 -0400, Mike Erdely wrote: Hi, I wanted to announce that OpenBSD has imported Bacula 2.0.3 into its ports tree for OpenBSD 4.2. If you're running OpenBSD -current, you can Congrats! That's great news. Great to see a client-only variant. I can finally quit using my bootleg version. If I had time, I'd love to see how the OpenSSL crypto functionality in Bacula could be accelerated by the crypto(4) framework in OpenBSD. ~BAS and should test the Bacula port and give any feedback to either [EMAIL PROTECTED] and/or [EMAIL PROTECTED] (MAINTAINER) so we can make sure that the port is in good shape for the 4.2 release. http://www.openbsd.org/cgi-bin/cvsweb.cgi/ports/sysutils/bacula/ Thanks, -ME signature.asc Description: This is a digitally signed message part - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot compile 2.2.0 but 2.03 compiles just fine - bacula-2.2.0-error.txt
On Sun, 19 Aug 2007, George R.Kasica wrote: Trying to compile 2.2.0 here and I'm running into the attached errors (config output and make as well) yet nothing on the system has changed Which version of the mysql client libraries? How were they installed and what flags were used there? ~BAS since 2.2.0 has been installed. Any help greatly appreciated as I'm not a programmer and don't know where to go from here. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot compile 2.2.0 but 2.03 compiles just fine - bacula-2.2.0-error.txt
http://www.bacula.org/dev-manual/Installing_Configurin_MySQL.html#MySqlChapter You'll have to check when these specific tripple point version numbers were updated in this document (befor eor after 2.2.0?). Check the changelog: ...you will need MySQL version 3.23.53... MySQL EOL'd 3.23.40: http://dev.mysql.com/doc/refman/4.1/en/news-3-23-40.html If you use the ./configure --with-mysql=mysql-directory statement for configuring Bacula, you will need MySQL version 3.23.53 or later installed in the mysql-directory. Bacula has been tested on MySQL version 4.1.12 and works providing you are running it in the default installation that is compatible with MySQL 3.23.x. If you are using one of the new modes such as ANSI/ISO compatibility, you may experience problems. On Sun, 19 Aug 2007, George R.Kasica wrote: On Sun, 19 Aug 2007 13:41:08 -0400 (EDT), you wrote: On Sun, 19 Aug 2007, George R.Kasica wrote: Trying to compile 2.2.0 here and I'm running into the attached errors (config output and make as well) yet nothing on the system has changed Which version of the mysql client libraries? How were they installed and what flags were used there? ~BAS since 2.2.0 has been installed. Any help greatly appreciated as I'm not a programmer and don't know where to go from here. MYSQL # mysql --version mysql Ver 11.15 Distrib 3.23.40, for pc-linux-gnu (i686) Installed as part of building mysql long ago typical generic ./configure make make install Not sure what you mean by how they were installed and the flags used. Whetever the above process came up with is what we've been running for several years now and have had no issues until 2.2.0 -- ===[George R. Kasica]===+1 262 677 0766 President +1 206 374 6482 FAX Netwrx Consulting Inc. Jackson, WI USA http://www.netwrx1.com [EMAIL PROTECTED] ICQ #12862186 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cannot compile 2.2.0 but 2.03 compiles just fine - bacula-2.2.0-error.txt
But to be honest, it seems more like a linker problem. I'm sure they'd love to see your config.log posted somewhere. On Sun, 19 Aug 2007, George R.Kasica wrote: Goody.guess I'm upgrading the mysql DB then to the 4.x that I have here but haven't installed.. http://www.bacula.org/dev-manual/Installing_Configurin_MySQL.html#MySqlChapter You'll have to check when these specific tripple point version numbers were updated in this document (befor eor after 2.2.0?). Check the changelog: ...you will need MySQL version 3.23.53... MySQL EOL'd 3.23.40: http://dev.mysql.com/doc/refman/4.1/en/news-3-23-40.html If you use the ./configure --with-mysql=mysql-directory statement for configuring Bacula, you will need MySQL version 3.23.53 or later installed in the mysql-directory. Bacula has been tested on MySQL version 4.1.12 and works providing you are running it in the default installation that is compatible with MySQL 3.23.x. If you are using one of the new modes such as ANSI/ISO compatibility, you may experience problems. On Sun, 19 Aug 2007, George R.Kasica wrote: On Sun, 19 Aug 2007 13:41:08 -0400 (EDT), you wrote: On Sun, 19 Aug 2007, George R.Kasica wrote: Trying to compile 2.2.0 here and I'm running into the attached errors (config output and make as well) yet nothing on the system has changed Which version of the mysql client libraries? How were they installed and what flags were used there? ~BASA since 2.2.0 has been installed. Any help greatly appreciated as I'm not a programmer and don't know where to go from here. MYSQL # mysql --version mysql Ver 11.15 Distrib 3.23.40, for pc-linux-gnu (i686) Installed as part of building mysql long ago typical generic ./configureA make make install Not sure what you mean by how they were installed and the flags used. Whetever the above process came up with is what we've been running for several years now and have had no issues until 2.2.0 -- ===[George R. Kasica]===+1 262 677 0766 President +1 206 374 6482 FAX Netwrx Consulting Inc. Jackson, WI USA http://www.netwrx1.com [EMAIL PROTECTED] ICQ #12862186 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ===[George R. Kasica]===+1 262 677 0766 President +1 206 374 6482 FAX Netwrx Consulting Inc. Jackson, WI USA http://www.netwrx1.com [EMAIL PROTECTED] ICQ #12862186 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Iron Mountain offsite
Not yet, AFAIK -- But the next time feature voting happens, vote of Job/Stoage multiplexing! It's been on Collaborative Fusion's list of We'll pay you to develop that. list for a while :) ~BAS On Wed, 2007-07-18 at 14:16 +0100, Gavin Hamill wrote: Hi :) We're finally dipping our toe into the 'fun' world of tape backup. Initial tests with Bacula have proved very positive, but I have a small dilemma on which I'd appreciate input. We (as a company) want to send one full-backup tape per week to Iron Mountain for secure offsite storage. I (as sysadmin) want to have a bit-for-bit copy of that full-backup so we can do our daily incrementals against it. Thus Iron Mountain becomes a last-resort disaster recovery solution which we'll hopefully never need to call on. Is this possible without having to run two sets of backups each night? Cheers, Gavin. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula messages verbosity
There is a bug where saved and all message types do not get matched in the DIR. The PR was a not fix. Google bacula seklecki message saved ~BAS On Wed, 2007-06-27 at 15:28 -0500, Zeratul wrote: Hi I'm trying to increase the messages verbosity for the director to receive a complete list of processed files by a specific job. I'm trying to play with different options for the Messages resource, but I'm not getting what I want. There is anybody who already did this and can give me at least a hint? Thank you. Daniel - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ 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. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] [Fwd: Fedora/CentOS rpms for Bacula 2.2.6 available]
Thank you very much Felix. The FC7 AMD64 binaries run just fine on FC8 after --nodeps. Almost nothing changed between FC7 and FC8 anyway. The problem now is that we have no YUM repo for your binaries to manage release engineering. Does anyone know why Fedora 8 YUM repo is stuck back on Bacula 2.0.3? I thought we were supposed to be beta-testing new development branch code for Redhat clients :) Oh wait, that's me. Anyway, let me know if you need help hosting a Bacula RPM YUM repo. $ sudo rpm -ivh bacula-client-2.2.6-1.fc7.x86_64.rpm error: Failed dependencies: libtermcap is needed by bacula-client-2.2.6-1.x86_64 libtermcap.so.2()(64bit) is needed by bacula-client-2.2.6-1.x86_64 $ sudo rpm -ivh --nodeps bacula-client-2.2.6-1.fc7.x86_64.rpm Preparing... ### [100%] The group bacula has been added to /etc/group. 1:bacula-client ### [100%] The beatings shall continue until company morale improves. ~BAS -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ---BeginMessage--- As you may have noticed, I uploaded rpms for Fedora {6,7} {i386,x86_64} and CentOS/RHEL FC {4,5} {i386,x86_64} today. RPMs for Fedora 8 and (as a test how many users need it) Fedora Core 5 will follow in a few days. fs - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users ---End Message--- - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing bacula-fd on Mac OS/X
On Fri, 2008-02-15 at 20:51 -0500, Dan Langille wrote: I have a Macbook running Tiger... Don't screw around. Use pkgsrc[.org]. You'll like it. It will feel like Ports, with out all of the blood loss. My 2.2.8 patches are up on my site or in pkgsrc-wip[.sf.net] ~BAS How do I get a bacula-fd 2.2.8 on there? -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-fd on HP-UX/AIX
Download and bootstrap pkgsrc[.org] for AIX and HFUX. Send me (and [EMAIL PROTECTED]) and build errors, your config.log, and uname -a output and I will ensure that they are processed acccordingly ~BAS On Wed, 2008-01-23 at 12:23 -0800, Hemant Shah wrote: I am also trying to compile it on AIX 5.3 and I am not having any luck. I would like to replace our veritas netbackup system with bacula. I was -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Knocking out cancelled job from the director?
On Fri, 2008-01-25 at 10:19 +0100, Jesper Krogh wrote: I have a job sitting in the director as cancelled, it is occupying one of the two concurrent jobs the director is allowed to run but is not present in either the storage daemon or the corresponding file-daemon. Has been haning for about 1.5 hours now. Long outstanding issue. ~BAS And then it came through by itself: 25-Jan 07:57 bacula-sd JobId 12892: Job Genome_Daily.2008-01-25_01.06.21 marked to be canceled. 25-Jan 08:10 bacula-sd JobId 12892: Job Genome_Daily.2008-01-25_01.06.21 marked to be canceled. 25-Jan 08:10 bacula-sd JobId 12892: Fatal error: append.c:159 Error reading data header from FD. ERR=Connection reset by peer 25-Jan 08:10 bacula-sd JobId 12892: Job write elapsed time = 00:21:35, Transfer rate = 1.044 M bytes/second 25-Jan 09:49 bacula-dir JobId 12892: Fatal error: Network error with FD during Backup: ERR=Connection reset by peer 25-Jan 09:49 bacula-dir JobId 12892: Fatal error: No Job status returned from FD Jesper -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backing up cisco switches config
On Wed, 2008-10-22 at 07:14 +0200, Adrian Moisey wrote: Hi I've been thinking about backing up cisco switches config files. scp(1) sucks to ISO 12.1/12.2. You just send it a handful of asynchronous SNMP set commands and setup your TFTP root into a subversion repository. Check for diffs and auto-commit nightly (bourne script). Backup the SVN repo file system. ~BAS IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bconsole(8) mount / Autochanger Mount Logic in stored/autochanger.c
All: Quick update: Latest autochanger.c patch for Count slots from zero: http://people.collaborativefusion.com/~seklecki/autochanger_bac223_count_slots_from_zero.diff Updated chio-changer with logging, debugging, and Count slots from zero support: http://people.collaborativefusion.com/~seklecki/chio-changer Some example logfile output: Load tape 1 while tape 0 is loaded: % sudo tail -F /var/log/chio-changer.log Attemping a tape load operation... for 1 Attempting to find source of current tape... DEBUG: Combined shell code result of regex match magic: 0 Tape source is: 0 Checking to see if the target and source are the same... Found a loaded tape in /dev/ch0 with a source slot (0) other than 1 requested [Tue Oct 28 12:48:12 EDT 2008]Executing Command: /bin/chio -f /dev/ch0 move drive 0 slot 0 Result: [ ] Result code was zero. It is safe to load the requested tape.. [Tue Oct 28 12:48:47 EDT 2008]Executing Command: /bin/chio -f /dev/ch0 move slot 1 drive 0 Result: [ ] Result code was zero. -- Check the current loaded tape: % sudo tail -F /usr/local/cf/chio-changer (PID 8244) from Parent PID (8242) revid $ starting at Tue Oct 28 13:17:05 EDT 2008 Attempting to find source of current tape... DEBUG: Combined shell code result of regex match magic: 0 Tape source is: 3 ~BAS On Mon, 2008-09-15 at 13:57 -0400, Brian A. Seklecki wrote: I would send this to the bacula-devel list as well or file a bug report. Filed Mantis 0001157. Also found another == 0 assumption in autochanger.c. Auto posted my current testing chio-changer code. ~BAS John -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Web - Trac all jobs in a schedule?
B-W feature question: Could we write a query that examines overall pool volume write capacity? It would be nice to track historical bytes written by a select set of jobs (normally started by a single schedule entry). I don't think that a data structure exists in the database that links jobs to a schedule, though We could maybe examine pool/volume tables instead, but then we wouldn't be able to differentiate which jobs were hogging space on a volume. -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FreeBSD, Bacula, and a Dell Autochanger 122T SCSI Timeouts
FWD'd on behalf of a co-worker who is stuck in some limbo dimension caused by the SF.net mailman farm. From: Steve Polyack [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: FreeBSD, Bacula, and a Dell Autochanger Date: Tue, 25 Nov 2008 15:23:39 -0500 We've been using Bacula with FreeBSD with a Dell Autochanger (PV-122T) for some time now. Within the last few months we've seen the interface to the tape changer crash, causing the devices /dev/ch0 and /dev/nsa0 to disappear. Re-scanning the SCSI bus with camcontrol(8) brings the devices back just fine. Physical problems with the changer have been ruled out by replacing it (twice!). We've also added a good bit of debugging to chio-changer.sh (Bacula's freebsd interface to the changer) to get a better look at the problem. Anyways. we've witnessed the crash while the changer was unloading a tape. After rescanning the bus and checking the device with chio(1) we can see that the tape unload occurred successfully. This has led us to believe that FreeBSD is not giving the device enough time to complete its operations ((ch0:ahc0:0:5:0): SCB 0x2 - timed out), and is giving up after timing out. For example: static const u_int32_t CH_TIMEOUT_EXCHANGE_MEDIUM = 10; ... does not seem to be adequate, as we've seen the device take upwards of two minutes to exchange a tape! We've doubled most of the timeouts in /usr/src/sys/cam/scsi/scsi_ch.c and the problem has yet to reoccur. Has anyone else ever had an issue similar to this? Is there a better solution, or a more likely problem that we are potentially missing? Perhaps a sysctl knob would be appropriate instead of static inline values? -- Brian A. Seklecki [EMAIL PROTECTED] Collaborative Fusion, Inc. signature.asc Description: This is a digitally signed message part - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mac OSX/bacula-fd: baffling compile/linking problem
On Tue, 2009-02-03 at 16:29 -0600, Sean M Clark wrote: I've tried 2.4.3 and 2.4.4 by hand, and 2.4.4 via macports, and they all do the same thing. This is on Mac OSX 10.5.6 Leopard (uname -r = 9.6.0). I've tried both the full build and --enable-client-only. The seem to build okay, up until they hit filed. The individual modules get compiled, and then this happens at link-time (if I force it with a Can you get us your config.log output (share via web) as well as XCode version? Thanks, signature.asc Description: This is a digitally signed message part -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] cryptographic hardware accelerator offload
Has anyone tried one? Any noticeable performance improvements for AES-256 operations? I guess the bigger question is whether Bacula will call in methods of OpenSSL engine(3). E.g., Apache mod_ssl needs to have an Engine type explicitly defined in the config: See: http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslcryptodevice Also see: ssl_engine_config.c in httpd-2.2.11/modules/ssl in Apache We don't appear to be calling engine(3) API at all: ..work/bacula-2.4.4$ grep -ir engine src/lib/*{crypt,ssl}* ..work/bacula-2.4.4$ I'm assuming that each OpenSSL linked userland application must explicitly define engine(3) calls to take advantage of HW Crypto Accel/Offload then (compared to kernel services such as geom(4)/geli(8) and ipsec(4) on FreeBSD can rely on the kernel OpenCrypto(9) transparently) ? -- Brian A. Seklecki bsekle...@collaborativefusion.com Collaborative Fusion, Inc. signature.asc Description: This is a digitally signed message part -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and ACL over LDAP directory
On Thu, 2009-04-02 at 10:40 -0400, Reynier Perez Mira wrote: the Bacula Service, can the client use the LDAP user account with Bacula? Also the same question is applied to baculaweb. With bacula-web, you could do some cheeky stuff with Apache's mod_auth_ldap and group membership. For securing ACL data in LDAP, you could probably sponsor development of such an NFR. -- Brian A. Seklecki bsekle...@collaborativefusion.com Collaborative Fusion, Inc. signature.asc Description: This is a digitally signed message part -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Autochanger problem
On Mon, 2009-10-26 at 22:18 +0100, Oddbjørn Sjøgren wrote: So, where do I go from here? Any hints or help would be greatly appriciated. Let me know what details you need. it could be a cleaning tape or the tape could be jammed. try $ sudo mt offline to get the tape to eject it. export a volume if you need a free spot. watch the kernel SCSI debug logs for hints. ~BAS -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installing on Fedora Core 4 with Gnome
Wolfgang I installed libgnome-devel via yum and everything went well, but I still get the Unable to find Try posting your config.log somewhere? ~BAS Gnome 2 installation error... would it be easier to install bacula using the RPMS? John smime.p7s Description: S/MIME Cryptographic Signature