Re: [Bacula-users] Bacula-fd on Solaris Sparc 5.8

2007-09-27 Thread Brian A Seklecki (Mobile)
www.sunfreeware.com should have packages for you -- if they don't, be
sure to harass them until they do.  That place has responsible for
keeping Solaris usable for the last 8 years :)

~BAS

On Thu, 2007-07-19 at 11:13 +0200, Volker Lieder wrote:
> Hello,
> i have solved the issue,
> my installation missed some headerfiles from system.
> I have added them from cd and after this i was able to compile the package.
> Its running fine, now ;-)
> 
> Regards,
> Volker Lieder
> 
> Masopust, Christian schrieb:
> > Volker Lieder wrote:
> > 
> >>Hello List,
> >>has anybody installed bacula-fd in Version X on a Solaris sparc 5.8box?
> >>I have tried several packages or to compile it myself, but got an error the
> >>whole time.
> >>Has anybody a list of dependencies i have to look under solaris 5.8?
> >>
> >>Regards,
> >>Volker Lieder
> > 
> > 
> > Hello Volker,
> > 
> > what exactly are your problems? I've bacula running here on several Sun's
> > (Solaris 2.5.1, 8, 9) and have no problems.
> > 
> > Christian
> 
> 
> 
> 
> -
> 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup fail with "Fatal error: backup.c:873 Network send error to SD. ERR=Broken pipe"

2007-09-27 Thread Brian A Seklecki (Mobile)
1) Be sure that the messages resource on the SD is setup to report
errors back to the DIR.  You should get them via e-mail/console then

2) Be sure to run "btape test" (see manual) to ensure that your
drive/media combination is correct

3) Run the SD with foreground+debugging information

4) Try setting up virtual-tape File storage resources on the SD to
verify that it is not a network issue.

~BAS

 Thu, 2007-07-19 at 10:50 -0400, [EMAIL PROTECTED] wrote:
> hi all,
> 
> now started same job with new tape,  its still running so i have to 
> cancel it, still i notice "SD Files Written:   0"
> when i saw status of storage it shows data shown in "FD bytes written:" 
> field, i am not sure what happening.
> 
> 
> 
> 18-Jul 18:19 backup-dir: Start Backup JobId 14, 
> Job=server-backup.2007-07-18_18.19.05
> 18-Jul 18:19 backup-sd: Wrote label to prelabeled Volume "server-c" on 
> device "DLTDrive" (/dev/st0)
> 19-Jul 19:48 server-fd: server-backup.2007-07-18_18.19.05 Fatal error: 
> backup.c:873 Network send error to SD. ERR=Input/output error
> 19-Jul 19:48 backup-dir: Bacula 2.0.3 (06Mar07): 19-Jul-2007 19:48:09
>   JobId:  14
>   Job:server-backup.2007-07-18_18.19.05
>   Backup Level:   Full
>Client: "server-fd" 2.0.3 (06Mar07) 
> i686-pc-linux-gnu,redhat,Enterprise release
>   FileSet:"Server Data" 2007-07-13 19:53:05
>   Pool:   "ServerPool" (From Job resource)
>   Storage:"DLTDrive" (From Job resource)
>   Scheduled time: 18-Jul-2007 18:19:04
>   Start time: 18-Jul-2007 18:19:08
>   End time:   19-Jul-2007 19:48:09
>   Elapsed time:   1 day 1 hour 29 mins 1 sec
>   Priority:   10
>   FD Files Written:   1,292,891
>   SD Files Written:   0
>   FD Bytes Written:   46,165,460,911 (46.16 GB)
>   SD Bytes Written:   0 (0 B)
>   Rate:   503.2 KB/s
>   Software Compression:   None
>   VSS:no
>   Encryption: no
>   Volume name(s): server-c
>   Volume Session Id:  1
>   Volume Session Time:1184762748
>   Last Volume Bytes:  45,997,056,000 (45.99 GB)
>   Non-fatal FD errors:0
>   SD Errors:  0
>   FD termination status:  Canceled
>   SD termination status:  Running
>   Termination:Backup Canceled
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> To: bacula-users@lists.sourceforge.net
> Sent: Wed, Jul 18  9:22 AM
> Subject: [Bacula-users] backup fail with "Fatal error: backup.c:873 
> Network send error to SD. ERR=Broken pipe"
> 
> hi all,
> 
> i have recently installed bacula 2.0.3 on mandriva(2.6 kernel) , and
> using HP Ultrium 460 LTO2 drive. Whenever i try to take full backup of
> a client(2.0.3) of 300GB of data it fails withing 20 minutes. I tried
> to set heardbeat interval and all as mentioned by various users but of
> no help. Client and server are on local network of different subnet.
> Anyone faced similar problem ?
> 
> following is message
> 
> 17-Jul 19:44 backup-dir: Recycled current volume "server-b"
> 17-Jul 19:44 backup-sd: Recycled volume "server-b" on device "DLTDrive"
> (/dev/st0), all previous data lost.
> 17-Jul 20:00 server-fd: server-backup.2007-07-17_19.44.29 Fatal error:
> backup.c:873 Network send error to SD. ERR=Broken pipe
> 17-Jul 20:00 backup-dir: server-backup.2007-07-17_19.44.29 Error:
> Bacula 2.0.3 (06Mar07): 17-Jul-2007 20:00:27
>   JobId:  10
>   Job:server-backup.2007-07-17_19.44.29
>   Backup Level:   Full
>Client: "server-fd" 2.0.3 (06Mar07)
> i686-pc-linux-gnu,redhat,Enterprise release
>   FileSet:"Server Data" 2007-07-13 19:53:05
>   Pool:   "ServerPool" (From Job resource)
>   Storage:"DLTDrive" (From Job resource)
>   Scheduled time: 17-Jul-2007 19:44:28
>   Start time: 17-Jul-2007 19:44:32
>   End time:   17-Jul-2007 20:00:27
>   Elapsed time:   15 mins 55 secs
>   Priority:   10
>   FD Files Written:   9
>   SD Files Written:   0
>   FD Bytes Written:   21,169,044 (21.16 MB)
>   SD Bytes Written:   0 (0 B)
>   Rate:   22.2 KB/s
>   Software Compression:   None
>   VSS:no
>   Encryption: no
>   Volume name(s):
>   Volume Session Id:  1
>   Volume Session Time:1184680908
>   Last Volume Bytes:  64,512 (64.51 KB)
>   Non-fatal FD errors:0
>   SD Errors:  0
>   FD termination status:  Error
>   SD termination status:  Error
>   Termination:*** Backup Error ***
> 
> it just terminate in 15 or 20 minutes, it seems that SD unable to write
> data. I tried telnet to sd on 9103 port, it ok.
> one more thing when i stop bacula server after this job failure sd
> didn't stops and give error like channel borken. It seems that it is

Re: [Bacula-users] Bacula doesnt recycle and/or hangs

2007-09-27 Thread Brian A Seklecki (Mobile)
Once the file-volume has been purged/pruned/recycled, the next job that
uses it theoretically opens it for write/overwrite at 0-byte descriptor.

Its just a PITA waiting for that -- of course if it was a real tape, it
would have to "mt erase" the volume, but for virtual tape files, a
feature to zero the file at purge/expire would be nice.  ~BAS

~BAS

On Fri, 2007-06-29 at 15:11 -0700, Optik Overdose wrote:
> Oh whoops I overlooked that, that was dumb. So is there a way to make Bacula 
> just delete the volume after the retention period has expired instead of 
> reusing it? 'Recycle=No' just leaves the file there doesnt it? then I get 
> into the same situation.
> 
> John
> 
> 
> - Original Message 
> From: Arno Lehmann <[EMAIL PROTECTED]>
> To: bacula-users@lists.sourceforge.net
> Sent: Friday, June 29, 2007 2:17:31 PM
> Subject: Re: [Bacula-users] Bacula doesnt recycle and/or hangs
> 
> Hi,
> 
> 29.06.2007 22:09,, Optik Overdose wrote::
> > I'm running Bacula 2.03 on a Fedora 5 x86 system. For test purposes
> > I only have one client configured and the /etc directory being
> > backed up to a SATA hard drive in the system. I have set the
> > backups to run every 10min and I set max volumes to 24,
> 
> Thanks - finally (again) a usable overview of your system in an error 
> report!
> 
> > so that
> > should be 6 hours of backup and then it should start recycling the
> > volumes as I understand it.
> 
> Yes and no.
> Your configuration looks a bit different, but that's not important 
> here :-)
> 
> The main thing is this:
> 
> 
> > Pool {
> >   Name = Wkst09-Inc-Pool
> >   Pool Type = Backup
> >   Recycle = yes  # automatically recycle Volumes
> >   AutoPrune = yes# Prune expired volumes
> >   Volume Retention = 30 days
> >   Maximum Volume Jobs = 6# 5 Inc jobs in 1 volume
> >   Maximum Volumes = 4# Theres only 4 weeks(1vol = 1week)
> >   LabelFormat = 
> > "Wkst09-Inc-Started-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${JobId}"
> > }
> 
> You set up the pool to automatically create up to four volumes.
> You allow six jobs per volume.
> You can store 24 jobs in this pool.
> You run four jobs per hour to this pool.
> 
> The pool is full after six hours.
> The first volume can be recycled 30 days (Volume Retention) after it 
> was last written.
> 
> Everything clear now?
> 
> For your case, I'd suggest to set the retention time to 4.5 hours, 
> reload the director's configuration, update the volumes to reflect the 
> new default settings, and see what happens.
> 
> Arno
> 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multi-destination e-mail

2007-10-02 Thread Brian A Seklecki (Mobile)
On Tue, 2007-10-02 at 11:33 +0200, luyigui loholhlki wrote:
> hi can some one tell me how to send the notification e-mail to
> different people
> what to put on the bacula-dir.conf file 

The best method is to adjust the destination defined in the messages {}
section of the bacula-dir.conf to point to an address that expands into
multiple recipients.  E.g., let bacula handle backups, let
sendmail/postfix handle mail.

Look at the syntax of /etc/mail/aliases and read the man page for
newaliases(8).

~BAS

> thank's in advance
> 
> 
> 
> __
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
> Yahoo! Mail 
> 
> 
> 
> -
> 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


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] spurious tracebacks

2007-10-23 Thread Brian A Seklecki (Mobile)


On Tue, 2007-10-23 at 12:11 +0200, IEM - network operating center
(IOhannes m zmoelnig) wrote:
> hi all
> 
> 
> i am currently running bacula-2.1.5 on my backup-server (and 2.1.4 on 
> the clients), on debian/etch (using the debian-packages from packman)
> 
> every now and then (the last one was today; then 1 month before; then 10 
> days before that,...) i get traceback emails from my backup-server, each 
> for all of the 3 daemons (dir, file, storage) running there.

*) Run the SD in foreground mode with debug level setup
*) Run the SD in ktrace/ptrace

Is something possibly sending the process a signal?  A log rotation
script etc?

~BAS


-
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] stored build problems centOS5/postgresql

2007-10-24 Thread Brian A Seklecki (Mobile)
On Wed, 2007-10-24 at 12:25 -0400, Michael Galloway wrote:
> good day all, i'm trying to build 2.2.5 on centOS5 with postgresql. my config 
> looks
> /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:949: 
> undefined reference to `SSL_CTX_new'
> /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:946: 
> undefined reference to `SSL_library_init'
> /builddir/build/BUILD/postgresql-8.1.9/src/interfaces/libpq/fe-secure.c:947: 
> undefined reference to `SSL_load_error_strings'

Where did you get your pgsql libs/bins/devel-includes?  RH or Pgsql?
The OpenSSL and Kerberos hooks do not appear to match your system.

~BAS


-
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] Sudden errors using bacula 2.2.5 on freebsd 6.2

2007-10-26 Thread Brian A Seklecki (Mobile)

On Fri, 2007-10-26 at 15:32 +0200, [EMAIL PROTECTED] wrote:
> Sorry, for the long logs. We're running Bacula 2.2.5 on FreeBSD 6.2-p8
> using a Sony SDT-5000 linked to a Tekram 395U Adapter. The Adapter is
> new,

Sounds like dying hardware.  Try to eliminate hardware/software.  Stop
your storage director and load a blank tape.  Try writing zero's and
random to it ("# dd if=/dev/random of=/dev/nsa0 bs=32k").  Try "mt
erase", "mt rewind", "mt retension" -- ensure that all of the basic
functionality still works.

Does the btape test still pass?

~BAS


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Client-only configure option (but why no analogous Storage-only option?)

2007-10-26 Thread Brian A Seklecki (Mobile)
> > > configuration without this option. This option greatly facilitates
> building
> > > a Client on a client only machine.
> > >
> > 
> > This is fantastic. But why is there also not an equivalent option for
> > building only the Storage Daemon? For example, I will be running the Storage
> > Daemon only on a Debian Linux machine. The Storage Daemon need not

I plan on making this work using Pkgsrc for some embedded development
(Embedded NAS, tape controller appliances, etc.)  You can build the
entire director, but only bundle up the libraries and binaries you need
to run an SD.

~BAS


-
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] Restore Problems

2007-10-30 Thread Brian A Seklecki (Mobile)

On Mon, 2007-10-29 at 16:45 +0100, Christof Klaus wrote:
> hello luiz, 
> you didnt mention where you expect the file to be restored...the
> restore-location given in the job is /tmp .. did you look there ?
> 
> christof klaus.
> 

Luiz:

Restore jobs defined in bacula-dir.conf are normally used a templates
which manually-created jobs at the bconsole(8) command line use to
inherit sane defaults.

Try logging into bconsole and type "Restore" and follow the
instructions.  I'm a big fan of #5.

~BAS

> 
> Luiz Gustavo R. Nogueira schrieb: 
> > Hello all,
> > 
> > When I try to restore a file through the console, everything looks fine 
> > and I get a sucessful message and a email saying that file was restored 
> > sucessfully, but when I go to the location where the restored file 
> > 
> > should be, nothing is there.
> > 
> > I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no 
> > error in the logs.
> > 
> > Follows below my restore job configured at bacula-dir:
> > 
> > Job {
> >   Name = "RestoreFiles"
> > 
> >   Type = Restore
> >   Client=client-name-fd
> >   FileSet="Full" 
> >   Storage = File 
> >   Pool = Default
> >   Messages = Standard
> >   Where = /tmp
> > }
> > 
> > Please let me know if you need any further information in order to help 
> > 
> > solve this problem. I think it's something simple, but was not able to find.
> > 
> > Thanks in advance!
> > Luiz
> >   
> > 
> > 
> > 
> > -
> > 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


-
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] Multiple Options {} in Fileset - Order of Evaluation

2007-10-31 Thread Brian A Seklecki (Mobile)
Per the doc excerpt below, I read this to mean:

"First Matching Rule Stops Further Evaluation".

Then, per the example below the except below regarding:

   [...snip...]
wildfile = "*.Z"
wildfile = "*.gz"

   Options {
Exclude = yes
RegexFile = ".*"
 }
File = /myfile
  [...snip...]

Then the note says:

"...It does not match directory names, so all directories in /myfile
will be backed up (the directory entry) and any *.Z and *.gz files
contained in themBacking up a directory entries is not very
expensive."

---

My question is: Is this still the best approach?  The idea of loading my
Files and Directories tables seems "expensive" to me, but then again,
we're talking about backups.

Any ideas on another approach to "Exclude all Files and Directories
except this Regex/WildDir" ? 

~BAS


"Multiple Options resources may be specified one after another. As the
files are found in the specified directories, the Options will applied
to the filenames to determine if and how the file should be backed up.
The wildcard and regular expression pattern matching parts of the
Options resources are checked in the order they are specified in the
FileSet until the first one that matches. Once one matches, the
compression and other flags within the Options specification will apply
to the pattern matched.

Once Bacula determines that the Options resource matches the file under
consideration, that file will be saved without looking at any other
Options resources that may be present. This means that any wild cards
must appear before an Options resource without wild cards.

However, one additional point is that in the case that no match was
found, Bacula will use the options found in the last Options resource.
As a consequence, if you want a particular set of "default" options, you
should put them in an Options resource after any other Options.



-
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] OpenBSD 4.1 and Bacula

2007-11-01 Thread Brian A Seklecki (Mobile)
http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/bacula/Makefile?rev=1.8&content-type=text/x-cvsweb-markup


Its revision 2.0.3., but you have a "-client" flavor for FD-only if you
want to have a FreeBSD or NetBSD system as the DIR.  ~BAS

~BAS


On Wed, 2007-10-17 at 13:52 +, Douglas DeWitt wrote:
> I am putting together a backup/recovery plan for a new network we are 
> building.
>  We have a mixed environment of Windows servers/XP, OpenBSD 4.1 servers, and
> iMacs.  If possible, I would like to run Bacula from one of the OpenBSD 4.1
> servers.  I saw that Bacula works on FreeBsd.  Will it work on OpenBSD 4.1?
> 
> Secondarily, does it handle the metadata on macs well?  I am currently 
> planning
> on using SuperDuper! for them.  I am hoping to use Bacula for the OpenBSD and
> Windows XP machines.  Looking at Microsoft's DPM for the Windows servers,
> particularly the Exchange server.
> 
> Comments welcomed.
> 
> Thanks,
> Douglas DeWitt
> 
> 
> -
> 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] multi-drive setup

2007-11-01 Thread Brian A Seklecki (Mobile)
On Thu, 2007-11-01 at 09:28 -0400, James P. Kinney III wrote:
> the manual reads like that is for splitting a single backup process
> over

Are you seeing "status dir" show you only one job running?

Is the second job still saying: "..waiting on max Storage jobs." ?

That may be an SD setting.

~BAS


-
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] Multiple Options {} in Fileset - Order of Evaluation

2007-11-01 Thread Brian A Seklecki (Mobile)
On Thu, 2007-11-01 at 19:56 +, Martin Simmons wrote:
> >>>>> On Wed, 31 Oct 2007 22:50:02 -0400, Brian A Seklecki (Mobile) said:
> > 
> > Per the doc excerpt below, I read this to mean:
> > 
> > "First Matching Rule Stops Further Evaluation".
> > 
> > Then, per the example below the except below regarding:
> > 
> >[...snip...]
> > wildfile = "*.Z"
> > wildfile = "*.gz"
> > 

Bill and I were just going over an odd problem:

Is it possible that the FD goes through two entirely separate loops
though the file-system hierarchy?  

- One for directories...
- A second one for Files?

It first 
 - traverses the "File=/foo" hierarchies for directories (a la: 
   "#find /foo -type d") 
 - Applies any Include/Exclude Options {}, using "First Match Stops
   Evaluation" algorithm
 - Any RegexDir matches preclude certain sub-directory hierarchies
 - Caches that list

Second:

  - Uses the cached directories hierarchy 
  - Descends into each directory (a la "find /foo -type f")
  - Applies any RegexFile Include/Exclude Options{}'s using "First
Match Stops Evaluation" algorithm

Does this sound plausible?  That would explain a strange we've been
having with order-of-evaluation on a complex include/exclude set.

~BAS


-
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] Old versions of Bacula

2007-11-02 Thread Brian A Seklecki (Mobile)
On Fri, 2007-11-02 at 16:00 +, Weber, Philip wrote:
> Hi,
> 
> Does anyone know if it is possible to get hold of old versions of Bacula
> source (or Solaris packages?).  I am struggling to get a File Daemon
> compiled for Solaris 2.6.  It might be lack of intelligence on my part,
> but it occurs to me that I might have more luck with old source.

Have you tried using Pkgsrc[.org]?

Bootstrap it for your system and submit any build failures here and
[EMAIL PROTECTED]

~BAS

> 
> (And for those who will comment on it, apologies for the HUGE email
> trailer which my company will attach to this).



-
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] Pkgsrc Bacula 2.2.5 (WAS: Re: Bacula user seeks maintainer)

2007-11-05 Thread Brian A Seklecki (Mobile)
> I updated bacula to the recent 2.2.2 release, but as said I can 

Thank you very much for the 2.0x bump to 2.2

> no longer...

That's a shame -- pkgsrc is the best hope of getting Bacula onto exotic
platforms.

2.2.5 was a minor patch-level.  Has anyone tried manually bumping the
Makefile and updating distinfo?

I'll send-pr if it looks good.

~BAS


-
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] Bacula 2.2.6 Client for OpenBSD 4.1/i386 (back/foward Port)

2007-11-20 Thread Brian A Seklecki (Mobile)
All:

OpenBSD 4.1 still has 6-9 months before EOS/EOL.  Here are the Bacula
2.2.6 client-only binaries for OpenBSD 4.1/i386 (back/forward Port)

-Backport for Bacula (Bacula was added to ports after 4.1)
-Forward port for OpenBSD (Port version is 2.0.x still)

http://people.collaborativefusion.com/~seklecki/bacula-2.2.6.tgz
http://people.collaborativefusion.com/~seklecki/bacula-client-2.2.6.tgz
http://people.collaborativefusion.com/~seklecki/openbsd_41_bacula_226_clientlony.diff

The patch is hella-ugly since the Ports infrastructure changed massively
between 4.1 and 4.2.

http://people.collaborativefusion.com/~seklecki/obsd_bacula.html

-

bofh-fd Version: 2.2.6 (10 Nov 2007) i386-unknown-openbsd4.1 openbsd 4.1
Daemon started 20-Nov-07 12:00, 0 Jobs run since started.
 Heap: heap=0 smbytes=14,195 max_bytes=23,546 bufs=56 max_bufs=99
 Sizeof: boffset_t=8 size_t=4 debug=0 trace=0

Running Jobs:

$ tar tzvf bacula-client-2.2.6.tgz 
-rw-r--r--  0 root   wheel 925 Nov 20 11:57 +CONTENTS
-rw-r--r--  0 root   wheel 881 Nov 20 11:57 +DESC
-rw-r--r--  0 root   wheel 329 Nov 20 11:57 +DISPLAY
-rwxr-xr--  0 root   bin   5027 Nov 20 11:57
libexec/bacula/bacula-ctl-fd
-rw-r--r--  0 root   bin   687 Nov 20 11:57 man/man8/bacula-fd.8.gz
-rwxr-xr--  0 root   bin453341 Nov 20 11:57 sbin/bacula-fd
-r--r--r--  0 root   bin   972 Nov 20 11:57
share/examples/bacula/bacula-fd.conf



~BAS


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 2.2.6 Client OS/X / Darwin Packages?

2007-11-21 Thread Brian A Seklecki (Mobile)
Anyone feel free to share?  Also, how are you building? Native
DarwinCode building environment?

~BAS


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] DIY OS/X Bacula Packages w/ Pkgsrc

2007-11-21 Thread Brian A. Seklecki (Mobile)
It should also be noted that Pkgsrc can help port Bacula to other exotic
platforms w/ non-standard userland and tool-chains (old commercial
unices) ~BAS

---

[bootstrap Pkgsrc for Darwin (4 cmds)]
  goto: http://www.netbsd.org/docs/pkgsrc/platforms.html#darwin

# df -H |grep -i pkg
/dev/disk3s21.1G   623M   451M59%/Volumes/pkgsrc_ufs
/dev/disk4s21.1G27M   1.0G 3%/Volumes/pkg_ufs

# cd /usr/pkgsrc/sysutils

# patch -p0 < [lava's tiny patch (**)]

# cd bacula-clientonly

# bmake install && bmake clean

   [ Insanity with launchd(*) ]

# /usr/pkg/sbin/bacula-fd  -?
Copyright (C) 2000-2007 Free Software Foundation Europe e.V.
Version: 2.2.6 (10 November 2007)

# uname -a
Darwin galvatron.pitbpa0.priv.collaborativefusion.com 9.1.0 Darwin Kernel 
Version 9.1.0: Wed Oct 31 17:48:21 PDT 2007; 
root:xnu-1228.0.2~1/RELEASE_PPC Power Macintosh


# otool -L ./work/bacula-2.2.6/src/filed/bacula-fd
./work/bacula-2.2.6/src/filed/bacula-fd:
  /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
  /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
111.0.0)
  /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 
7.4.0)
  /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

# pkg_info -RnN bacula-clientonly-2.2.6
Information for bacula-clientonly-2.2.6:

Requires:
user>=20040801

Built using:
user-20040801
digest-20070803



 Launchd Insanity 

[EMAIL PROTECTED]:/Library/LaunchDaemons# ls -al bacula-fd.plist
-rw-r--r--@ 1 root  wheel  518 Nov 21 17:42 bacula-fd.plist

# cat !$

http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


 Label
 org.bacula.bacula-fd
 ProgramArguments
 
 /usr/pkg/sbin/bacula-fd
 -f
 -c
 /usr/pkg/etc/bacula/bacula-fd.conf
 
 RunAtLoad
 
 UserName
 root




=== Patch ===

http://people.collaborativefusion.com/~seklecki/bacula_cltonly_226_pkgsrc.diff


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2.2.6 Client OS/X / Darwin Packages?

2007-11-25 Thread Brian A. Seklecki (Mobile)

On Thu, 2007-11-22 at 17:29 +, Markus Falb wrote:
> On Wed, 21 Nov 2007 13:53:43 -0500, Brian A Seklecki (Mobile) wrote:
> 
> > Anyone feel free to share?  Also, how are you building? Native
> > DarwinCode building environment?
> 
> i am working on a port for macports, http://www.macports.org/
> i thought that i would better test thoroughly before contributing. on the 

I dunno about macports, darwinports, or fink, but you can get
Pkgsrc[.org] packages for 2.2.6 client at:

http://digitalfreaks.org/~lavalamp/bacula-clientonly-2.2.6_Darwin-8.11.1-i386.tgz
http://digitalfreaks.org/~lavalamp/bacula-clientonly-2.2.6_Darwin-9.1.0-powerpc.tgz

You can get frequently updated binary builds of Pkgsrc userland
utilities in "OS/X Package" format from:
 ftp://ftp.netbsd.org/pub/pkgsrc/packages/Darwin

Thanks to all involved who helped cane the sys/types.h bug on XCode 3.0.

~BAS


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 2.2.6 Client OS/X / Darwin Packages

2007-11-28 Thread Brian A. Seklecki (Mobile)


> Pkgsrc[.org] packages for 2.2.6 client at:
> 

http://digitalfreaks.org/~lavalamp/bacula-clientonly-2.2.6_Darwin-8.11.1-i386.tgz
http://digitalfreaks.org/~lavalamp/bacula-clientonly-2.2.6_Darwin-9.1.0-powerpc.tgz
http://digitalfreaks.org/~lavalamp/bacula-clientonly-2.2.6_Darwin-8.11.0-powerpc.tgz
 

The 8.11.0/powerpc binary is for 10.4.11 users stuck on XCode 2.5 (Most
of you).  

Between the OS Revision, the CPU, and the XCode revision, there are
about 10 permutations of binaries which need to be provided. 

Maybe trade in the iPod for a recent version of GCC?

The binaries (bacula-fd) manually extracted from the tarballs run just
fine w/o boostraping all of pkgsrc.  Of course, I find OS/X to be kind
of boring w/o useful software (like, say, Bacula >:})

All you need is to put them in /usr/{pkg,local}/sbin/ and register with
the previously provided org.bacula.bacula-fd.plist file.


~BAS


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
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

2008-02-16 Thread Brian A. Seklecki (Mobile)

On Sat, 2008-02-16 at 15:23 -0500, Dan Langille wrote:
> 
> > My hesitance about combining installation packages (fink,
> ports...)  
> > is more a matter of packages installing duplicated libraries to  
> > meet dependencies. And then I get into trouble thinking I have  
> > version 2 when in fact my code is using version 1.
> 
> A valid concern.

Something to think about before patronizing Apple next time. :)

Pkgsrc has been out there for a decade as the portable package
management system -- it runs a dozen platforms (CPU/Arch/Vendor)
combinations.

It makes esoteric deprecated POSIX systems functional. If Apple keeps-on
like they are(*), they'll be in that list eventually.

When Fink and Darwinports and OS/X have shuffled off, Pkgsrc will still
be around breathing life into IRIX, AIX, H-FUX and SunOS boxes.

~BAS

(*).  How would _you_ like to be the project manager at Apple who gets
tasked with re-merging all of their CVS changes with FreeBSD's
RELENG_7? 


-
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] Installing bacula-fd on Mac OS/X

2008-02-16 Thread Brian A. Seklecki (Mobile)

On Sat, 2008-02-16 at 15:36 -0500, Dan Langille wrote:
> Wow, Brian, that's the second time in this thread you've said  

No disrespect to Apple intended.  Although I will comment (to you) that
a quick search of the archives would reveal this discussion repeating a
thread from back in November.  

To my own fault, I never followed through with it.  Making sure that the
Pkgsrc package maintainer merged my patches in, etc.  Plus there's the
need to enumerate (on the Bacula pages/docs) the XCode version
conflicts.  

I guess maybe I was just so happy to be done with it once I met my own
needs.  The whole thing left an extremely bitter taste in my mouth.

As for Apple -- I've just been thinking about the "Business Process"
aspect of things a lot more as I stumble my way through my BBA.  Apple
makes a LOT of silly decisions that aren't sustainable practices:

 * Pkgsrc was already out there, they could have Integrated (which would
   help the community as a whole).
 * Bacula is a framework for an enterprise backup system, but Apple 
   ignores it entirely.

~BAS ("I'M _NOT_ BITTER!")
 


-
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] Installing bacula-fd on Mac OS/X

2008-02-16 Thread Brian A. Seklecki (Mobile)

On Sat, 2008-02-16 at 15:51 -0500, Brian A. Seklecki (Mobile) wrote:
> aspect of things a lot more as I stumble my way through my BBA.  Apple

BTW, Apple's Q3 financial statement from Nov2007 reports 22 billion USD
in assets, including 9 billion in "cash", and 38 million in "Goodwill".

~BAS ("You can't take it with you, Steve...")




-
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] Installing bacula-fd on Mac OS/X

2008-02-16 Thread Brian A. Seklecki (Mobile)

On Sat, 2008-02-16 at 16:02 -0500, Dan Langille wrote:
> What do you have for a startup entry?  It means nothing to me.

It's an XML file called a "plist".

/Library/LaunchDaemons/bacula-fd.plist

# launchctl load /Library/LaunchDaemons/bacula-fd.plist
# launchctl list

It shows up as "org.bacula.bacula-fd" -- you can:
 $ launchctl start/stop/restart

All of this information should be on a Bacula wiki or FAQ somewhere.

~BAS

PS:  launchd(8) is one of the things Apple is doing right!  Replace
XINETD, cron(8), RC-NG, and 99% of shared forking code in multi-threaded
daemons (Apache) with one daemon.


-
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] NFS Permission Problems

2008-02-16 Thread Brian A. Seklecki (Mobile)

> [EMAIL PROTECTED]:/mounts/for_backup# ls -ld /mounts/for_backup/paul_home
> drwxrwx--x 93 1002 1002 8192 2008-02-15 08:31 /mounts/for_backup/paul_home
> 

You just need to sync up your UIDs temporarily. 


On FreeBSD I would recommend that you just Jail/Chroot into the new
mount-point with a relative /etc/{passwd,master.passwd,pwd.db,spwd.db}
for each.

Then run the Bacula client inside each jail.

Maybe you can cook something up using Linux.

Long term you should look to OpenLDAP + NSS_LDAP to have
organization-global UIDs and GIDs.

~BAS


-
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] OpenBSD, slot-agnostic mtx-changer

2009-04-23 Thread Brian A. Seklecki (Mobile)
On Tue, 2009-04-21 at 10:35 -0400, (private) HKS wrote:
> 
> In other words, I have barcodes so I don't have to think about slots
> and such. I wanted Bacula to act accordingly. There were also quite a

That's an interesting approach. 

About 18 months ago, we decided to sponsor development of "real barcode
support" -- e.g., stripping the barcode column and referencing the tape
by its readable barcode.

It got bogged down by the idea of full "media catalog" feature creep.
Also, I'm still pretty mad about the whole counting-slots-from-zero
thing.(1) 

I'm also surprised to hear that OpenBSD's chio(8) / mt(4) doesn't track
tape source slots.   ~BAS

1. I feel dumber every time I re-read my notes on it; it's like hearing
one of those jokes on Talk-like-a-Pirate day: The punch line is coming
and you're just a feckless dear in the headlights.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users