Re: [Bacula-users] Relabel a Tape (Because of a typo)

2007-09-04 Thread Mike Eggleston
On Tue, 04 Sep 2007, Server Gremlin might have said:

 Hello,
 
 I used the label command to label a new tape for bacula, and I 
 made a typo when I labeled the tape.  Something like MyTpe instead of 
 MyTape.  (Obviously I've chosen a better naming convention than this, 
 but just to illustrate...)
 
 Bacula is so cool that it automatically mounts the tape and starts 
 writing pending jobs to it as soon as I hit enter.  Then I realize that 
 I made a typo.  How do I correct this?  I get the impression from 
 Googling and RTFM'ing that the answer is a flat, You can't.  Don't make 
 typos.  Am I right?
 
 Thanks,
 - SG

Will the bconsole command 'relabel' do what you want?

Mike

-
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] sorting bconsole's 'list media'?

2007-09-05 Thread Mike Eggleston
My output in bconsole for 'list media' appears sorted by MediaId.
Is there a setting or something where I can have the default sort
by VolumeName?

Mike

-
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] monitoring bacula daemons

2007-09-17 Thread Mike Eggleston
I'm setting up the monitor 'hobbit' to check that the bacula
daemons are up and accepting connections. What 'hello' message
can I use that will not cause an error to be sent from the
director? I'v used 'Hello hobbit calling' and 'Hello *UserAgent*
calling'... both cause error messages.

Mike

-
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] monitoring bacula daemons

2007-09-17 Thread Mike Eggleston
On Mon, 17 Sep 2007, Mike Eggleston might have said:

 I'm setting up the monitor 'hobbit' to check that the bacula
 daemons are up and accepting connections. What 'hello' message
 can I use that will not cause an error to be sent from the
 director? I'v used 'Hello hobbit calling' and 'Hello *UserAgent*
 calling'... both cause error messages.

The bacula-dir error message is:

17-Sep 09:02 zurich-dir:  Fatal error: bnet.c:241 Packet size too big from 
client:10.1.2.89:36131. Terminating connection.
17-Sep 09:02 zurich-dir: ERROR in authenticate.c:286 UA Hello from 
client:10.1.2.89:36131 is invalid. Len=-4

and:

[EMAIL PROTECTED] ~]# bconsole
Connecting to Director zurich:9101
1000 OK: zurich-dir Version: 2.0.3 (06 March 2007)

Mike

-
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] Find out when a Job will actually will run

2007-10-04 Thread Mike Eggleston
On Thu, 04 Oct 2007, Mike Eggleston might have said:

 On Thu, 04 Oct 2007, Christoph Kl?nter might have said:
 
  Hi,
  
  I was testing a little, and scheduled a Job for 2009-01-01 20:00:00
   
  Now  status dir shows, that this job is waiting:
  
  Running Jobs:
   JobId Level   Name   Status
  ==
   17952 Increme  idsJob.2007-10-04_14.40.30 is waiting for its start time
  
  But I don't know how I can tell when this Job will start running.
  Is ther a console-command I missed ?

My 'status dir' output:

#status dir
zurich-dir Version: 2.0.3 (06 March 2007) i686-pc-linux-gnu redhat (Bordeaux)
Daemon started 03-Oct-07 14:05, 17 Jobs run since started.
 Heap: bytes=104,663 max_bytes=1,848,841 bufs=814 max_bufs=1,378

Scheduled Jobs:
Level  Type Pri  Scheduled  Name   Volume
===
IncrementalBackup10  04-Oct-07 22:00zurich-backup  
zurich-file-0211
IncrementalBackup10  04-Oct-07 22:00winger-backup  
zurich-file-0211
IncrementalBackup10  04-Oct-07 22:00cairo-backup   
zurich-file-0211
IncrementalBackup10  04-Oct-07 22:00elo-backup 
zurich-file-0211
IncrementalBackup10  04-Oct-07 22:00miami-backup   
zurich-file-0211
IncrementalBackup10  04-Oct-07 22:00ishwar-backup  
zurich-file-0211
IncrementalBackup10  04-Oct-07 22:00walrus-backup  
zurich-file-0211
IncrementalBackup11  04-Oct-07 22:00frankie-backup 
zurich-file-0211
IncrementalBackup11  04-Oct-07 22:00bread-backup   
zurich-file-0211
IncrementalBackup11  04-Oct-07 22:00tripoli-backup 
zurich-file-0211
IncrementalBackup11  04-Oct-07 22:00norman-backup  
zurich-file-0211
Full   Backup12  04-Oct-07 22:30Backup-Catalog 
zurich-file-0211


Maybe you need a wider screen?

Mike

-
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] Find out when a Job will actually will run

2007-10-04 Thread Mike Eggleston
On Thu, 04 Oct 2007, Christoph Kl?nter might have said:

 Hi,
 
 I was testing a little, and scheduled a Job for 2009-01-01 20:00:00
  
 Now  status dir shows, that this job is waiting:
 
 Running Jobs:
  JobId Level   Name   Status
 ==
  17952 Increme  idsJob.2007-10-04_14.40.30 is waiting for its start time
 
 But I don't know how I can tell when this Job will start running.
 Is ther a console-command I missed ?

-
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] TSM-style perpetual-full?

2007-10-29 Thread Mike Eggleston
I like bacula and what it does for me (thank you development team).
One issue I have is not really bacula, the issue is the long time
required to write backups to tape. Is there anything in bacula like
TSM's perpetual full where I can see the most current files from the
client in the 'restore' command, files removed the client are kept
for a specific number of days, and only the files that have changed
during the night are written to backup tape ad infinitium?

Mike

-
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] TSM-style perpetual-full?

2007-10-29 Thread Mike Eggleston
On Mon, 29 Oct 2007, Michael Lewinger might have said:

 Hi Mike,
 
 It looks all things are covered in Bacula: retention times, incremental
 backup. But then I'm not a TSM expert.
 
 Michael
 
 On 10/29/07, Mike Eggleston [EMAIL PROTECTED] wrote:
 
  I like bacula and what it does for me (thank you development team).
  One issue I have is not really bacula, the issue is the long time
  required to write backups to tape. Is there anything in bacula like
  TSM's perpetual full where I can see the most current files from the
  client in the 'restore' command, files removed the client are kept
  for a specific number of days, and only the files that have changed
  during the night are written to backup tape ad infinitium?

The big difference I can see is the perpetual full. Bacula will upgrade
a backup level to Full if no other Full is found for the client. TSM
will backup any files you tell it to regardless of backup level, and
TSM will keep the file for a certain amount of time (30 days, etc) after
the file is deleted from the client. TSM also knows what the most current
files for a client are, so like 'restore' in bacula you can choose which
files to load back to the client. You do not have to select a file by
job id. You can ask for a list of 'active' and 'inactive' versions of a
given file or wild card and like bacula's 'restore' you can choose which
files to load back.

The biggest difference for what I'm wanting between bacula and TSM is
the 'perpetual full'. Just backup the files from the client and let me
choose which files by date to restore (bacula does the latter).

I greatly agreed with the idea of Full/Differential/Incremental backups
(levels 0/1/2 from BSD) until I started with TSM. The TSM method, once
you understand what it is doing, works very well. I was very skeptical
at first of TSM until I had used it a while. The idea is similar to CVS
or RCS. Only the files that have been modified get new version numbers.

Does that make sense or am I rambling?

Mike

-
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] TSM-style perpetual-full?

2007-10-29 Thread Mike Eggleston
On Mon, 29 Oct 2007, Michael Lewinger might have said:

 Hi Mike,
 
 Yes, I agree that Bacula's method for upgrading an incremental backup to
 full if no full backups are found is a good feature (expected though) but it
 does not work the way I'd like it to. For instance there is an explicit
 ignore fileset changes options to circunvent a methodic upgrade-to-full
 when changing fileset - why such an option ?. If we're calculating MD5
 signatures to each file, in this case, I'd expect Bacula to transfer only
 NEW files and replenish the old full backup with the new data according
 to the new fileset - more or less add to the jobid XXX those files as
 they're new. Bend the rules a little, it is not like bacula can be used by
 the average home user. Transferring the WHOLE set of data again is the easy
 way to say full is full, and data transfer is cheap, which is not always
 the case.
 
 It seems to me that in bacula's restore you can choose both by point in
 time, by most recent full backup, and particular folders/files, so
 
 Finally, regarding your question - eventually I'm reacting to it. I'm not
 sure that I understand the TSM perpetual feature, maybe the name is
 misleading. RTFM 4 me will do it, but until then - is there no parallel
 feature in Bacula, or a procedure for emulating this feature ?
 
 Michael
 
 On 10/29/07, Mike Eggleston [EMAIL PROTECTED] wrote:
 
  On Mon, 29 Oct 2007, Michael Lewinger might have said:
 
   Hi Mike,
  
   It looks all things are covered in Bacula: retention times, incremental
   backup. But then I'm not a TSM expert.
  
   Michael
  
   On 10/29/07, Mike Eggleston [EMAIL PROTECTED] wrote:
   
I like bacula and what it does for me (thank you development team).
One issue I have is not really bacula, the issue is the long time
required to write backups to tape. Is there anything in bacula like
TSM's perpetual full where I can see the most current files from the
client in the 'restore' command, files removed the client are kept
for a specific number of days, and only the files that have changed
during the night are written to backup tape ad infinitium?
 
  The big difference I can see is the perpetual full. Bacula will upgrade
  a backup level to Full if no other Full is found for the client. TSM
  will backup any files you tell it to regardless of backup level, and
  TSM will keep the file for a certain amount of time (30 days, etc) after
  the file is deleted from the client. TSM also knows what the most current
  files for a client are, so like 'restore' in bacula you can choose which
  files to load back to the client. You do not have to select a file by
  job id. You can ask for a list of 'active' and 'inactive' versions of a
  given file or wild card and like bacula's 'restore' you can choose which
  files to load back.
 
  The biggest difference for what I'm wanting between bacula and TSM is
  the 'perpetual full'. Just backup the files from the client and let me
  choose which files by date to restore (bacula does the latter).
 
  I greatly agreed with the idea of Full/Differential/Incremental backups
  (levels 0/1/2 from BSD) until I started with TSM. The TSM method, once
  you understand what it is doing, works very well. I was very skeptical
  at first of TSM until I had used it a while. The idea is similar to CVS
  or RCS. Only the files that have been modified get new version numbers.
 
  Does that make sense or am I rambling?

The perpetual backup, maybe that's only how I think of what TSM does, backups
up a file from the client to the server and keeps a TSM admin defined (even
per client defined) number of versions of that file before the oldest version
falls off the back. If the file is deleted on the client, the TSM server
keeps at a minimum the last, most current version of the deleted file for X
number of days before that file falls out of the TSM server. The first time
a client is backed up, all the files defined for that server are backed up.
Each time after unless the admin or some schedule specifies, only changed
files are copied. There is no need for a Full. Though some sites do a
periodic or monthly full, you can setup the TSM server for incremental forever.
My issue right now is that my tape drive is so slow that I want only the
incrementals and not the fulls.

Mike

-
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] TSM-style perpetual-full?

2007-10-29 Thread Mike Eggleston
On Tue, 30 Oct 2007, Michael Lewinger might have said:

 Hello Mike,
 
 What you are talking about is regular practice, and is what is attained by
 the incremental feature, so I guess that TSM and bacula are the same
 there. The first time it is run, an inc. backup will be promoted to full,
 and afterwards, only inc. will be performed. Good backup practices demand
 that a full backup be performed at least once a month in case a tape fails.
 
 HOWEVER once a file is deleted, it will only be effectively removed from a
 restore when a FULL backup takes place thus skipping it (it was deleted,
 right ?). Until then, post-deletion recoveries will produce the deleted
 file, updated to its latest version. (duh). In practice, until you do a
 second full backup, you'll keep recovering long-ago unnecessary, deleted
 files, hence the need for some full backup policy. It would be easier on a
 slow network to recreate full backups using MD5 and files already present in
 bacula's volumes but this would complicate tape maintenance enormously. The
 keep-number-of-files feature is interesting though, as an alternative to
 date-based retention times. AFAIK bacula does not have this feature.
 
 Maybe - this is a BIG maybe - there should be an option of reusing already
 stored files, and make full backups assembly on slow networks: 1) check MD5
 on client, 2) Compare file identity to file table on catalog 3) HEY, I have
 this file already ! Let's make a list of volumes necessary, and ask the user
 to supply us the required volumes, 4) Spool the reused files (as if they
 were d/l) 5) Voila !
 
 It looks to me this is the base backup level, but until more of this
 feature shows up on the docs...

Just occurred to me, if I change the primary schedule so that Fulls are
pulled quarterly or every six months (bi-annually?) then I am closer to the
perpetual incremental. I understand a failing tape and am looking at external
drives that I can use for sending off-site instead of nine DLT-8000 tapes.
The external drives I'm looking at are around $200 USD each.

Changing bacula so that it tracks files instead of jobs I bet is a major
paradigm shift inside the code and not to be started lightly. I think the
per-job approach might be better for small sites (lesser amounts backed up)
and the per-file approach might be better for larger sites (lots of files
or data backed up). I have modified my setup so that I am using disk based
volumes for my nightly backups, then after all the primary nightly jobs finish
I have a single job that grabs all recently modified disk-based-volumes and
writes them to tape. The real epiphany to my setup was realizing I could
use bacula to manage the final disk-to-tape job instead of writing my
own script.

TSM does all the file checking before hand and on windows (and on AIX, but
last time I used TSM it didn't work well there) you have the option have 
having a client-local journal file of backed up files. The local client
gets the backup specification, generates a list of files, compares that list
of files to the journal file, and only sends over the network the files
that have truely changed. Without the local journal file the client and
server must discuss each file to see if the client needs to send the
file to the server.

Mike

-
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] Automatically mounting tapes

2008-01-25 Thread Mike Eggleston
On Fri, 25 Jan 2008, Chris Cameron might have said:

 Every morning when I change the tape, I have to manually go into 
 bconsole and type 'mount'. Otherwise when the backup job runs, it just 
 sits around and waits.
 
 I have AutomaticMount set to yes, and AlwaysOpen set to yes as well.
 
 Am I missing an option, or is this just the way it is?

I have a Run Before type command on my first job of each night. This
command is a shell script that does 'echo mount storage=DEVICE | bconsole'.

Mike

-
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


[Bacula-users] changing the name of a tape?

2008-11-03 Thread Mike Eggleston
Hi,

I mis-named a disk volume (if that matters) when adding it just now. I had
a backup waiting for a new volume, so this volume was grabbed immediately
by bacula to start storing the backup (not a problem). Is there a way to
rename the volume? I named it '$site-03578' instead if '$site-0358'. I
want to take the '7' out of the name. Can I just update the database or
must I remove the volume and re-add it manually?

Mike

-
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] changing the name of a tape?

2008-11-03 Thread Mike Eggleston
On Mon, 03 Nov 2008, Arno Lehmann might have said:

 Hi,
 
 03.11.2008 19:26, Jari Fredriksson wrote:
  Hi,
 
  I mis-named a disk volume (if that matters) when adding
   ^^^
  it just now. I had 
  a backup waiting for a new volume, so this volume was
  grabbed immediately 
  by bacula to start storing the backup (not a problem). Is
  there a way to rename the volume? I named it
  '$site-03578' instead if '$site-0358'. I 
  want to take the '7' out of the name. Can I just update
  the database or 
  must I remove the volume and re-add it manually?
  
  Its easy to rename in the database, but the problem comes from the truth 
  that the volume name is also in the tape label in the beginning of the tape.
  
  You need to re-label the tape, or bacula will not accept it when it needs 
  it according to the database.
 
 As far as I know, disk volumes are selected by their file name only. I 
 might be wrong, of course... but Mike will tell us soon, right? ;-)
 
 Arno

I took the simple way out, waited for the backup job to finish with
that volume and move to the next, purged and deleted that volume and
subsequent volumes, rescheduled the job I just destroyed, and am waiting
to recreate the disk volumes. The only irritating part is the loss of
time. I'm in the middle of doing my monthly fulls, so no big deal really.

I thought there might be a simple way to fix my mistake.

Thanks for the answers.

Mike

-
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] Never Mind - Given up on Bacula

2009-03-03 Thread Mike Eggleston
On Thu, 12 Feb 2009, Steve Handy might have said:

 Life has taught me you get what you pay for.
 
 - Original Message -
 From: Mike Eggleston mikee...@me.com
 To: Steve Handy
 Cc: bacula-users@lists.sourceforge.net bacula-users@lists.sourceforge.net
 Sent: Thu Feb 12 14:00:04 2009
 Subject: Re: [Bacula-users]  Never Mind - Given up on Bacula
 
 On Thu, 12 Feb 2009, Stevester might have said:
 
 
  Good Afternoon Everyone,
 
Never mind to the earlier post - Bacula BLOCK issue where already
  created volumes not being read. I have come to the conclusion that Bacula
  is simply too unstable. You get what you pay for
 
 
  Thanks
  Steve
 
 Maybe in your environment, however it works well in mine.
 
 Mike

How is your oxygen supply working today?

Mike

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] please help with understanding WildDir

2009-06-03 Thread Mike Eggleston
Morning,

I have been running bacula for quite some time (wonderful system). I'm
tweaking my backups to reduce just how much stuff is backed up and
eliminate those things that can be reinstalled rather than restored if
needed. Today I'm looking at a series of files that are copied from an
internal source code repositiory. Since the source code repository is
backed up nightly, I don't want to backup up an individual's copies of
those files (the individuals are by company policy required to manage
any files checked out that have changes that are not yet checked back
in to the source code repository).

In my bacula-dir.conf I have a line: WildDir =
/opt/data/*/p4 In last night's backup I have the
following file that was backed up: (query, 12, $jobid)
/opt/data/user/p4/user_shared/product/dist_sdk/PluginSDK/src/plugins/CaeXML/x64/Debug/runtimeWrite.obj

My understanding, that I must have wrong, is that since the
bacula-dir.conf this section of the File Set has Exclude = yes that
/opt/data/*/p4 is excluded that also implies that anything under
/opt/data/*/p4 is also excluded. I do have a statement further down
in the File Set section of 'File = /opt/data' so that everything else
is included.

Is there a conflict in what I have done?  Is there a better way to
exclude part and include the rest?

Thanks for your time.

Mike

Bacula 2.0.3 (I'm working on an upgrade for this summer)

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please help with understanding WildDir

2009-06-03 Thread Mike Eggleston
On Wed, 03 Jun 2009, Martin Simmons might have said:

  On Wed, 3 Jun 2009 07:59:00 -0500, Mike Eggleston said:
  
  Morning,
  
  I have been running bacula for quite some time (wonderful system). I'm
  tweaking my backups to reduce just how much stuff is backed up and
  eliminate those things that can be reinstalled rather than restored if
  needed. Today I'm looking at a series of files that are copied from an
  internal source code repositiory. Since the source code repository is
  backed up nightly, I don't want to backup up an individual's copies of
  those files (the individuals are by company policy required to manage
  any files checked out that have changes that are not yet checked back
  in to the source code repository).
  
  In my bacula-dir.conf I have a line: WildDir =
  /opt/data/*/p4 In last night's backup I have the
  following file that was backed up: (query, 12, $jobid)
  /opt/data/user/p4/user_shared/product/dist_sdk/PluginSDK/src/plugins/CaeXML/x64/Debug/runtimeWrite.obj
  
  My understanding, that I must have wrong, is that since the
  bacula-dir.conf this section of the File Set has Exclude = yes that
  /opt/data/*/p4 is excluded that also implies that anything under
  /opt/data/*/p4 is also excluded. I do have a statement further down
  in the File Set section of 'File = /opt/data' so that everything else
  is included.
  
  Is there a conflict in what I have done?  Is there a better way to
  exclude part and include the rest?
 
 Your approach should work, but the description of your fileset was too vague
 for me to tell why it doesn't.
 
 I recommend that you post the complete fileset definition to the list.
 
 __Martin

Thanks, Martin.

Here's the file set. I didn't want to send a huge message to the list.
Looking at the File Set I see I misspelled backula. Great! That one
change will reduce the size of the backup on the bacula host.

Mike

File Set {
  Name = Unix-Files
  Ignore Fileset Changes = yes
  Include {
Options {
  signature = MD5
}
File = /
File = /boot
File = /home
File = /opt
File = /opt/CVS
File = /opt/backups
File = /opt/bacula
File = /opt/pointwise
File = /opt/pwi
File = /etc
File = /var
File = /usr/share
File = /var/lib
File = /var/lib/imap
File = /var/lib/ldap
File = /var/lib/mysql
File = /var/spool
File = /var/spool/imap
File = /var/spool/mail
File = /var/spool/samba
File = /var/www
File = /var/www/html
File = /var/www/html/bugzilla
File = /var/yp
  }

  Exclude {
File = /proc
File = /tmp
File = /.journal
File = /.fsck
File = /opt/backula/var
File = /opt/backula/data
File = /opt/backula/mysql
File = /root
File = /var/lock
File = /var/log
File = /var/named/chroot
File = /var/named/chroot/dev
File = /var/named/chroot/proc
File = /var/run
File = /var/spool/clientmqueue
File = /var/spool/mqueue
File = /var/cache
File = /.cpan
File = /root/.cpan
  }
}


--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] please help with understanding WildDir

2009-06-03 Thread Mike Eggleston
On Wed, 03 Jun 2009, Martin Simmons might have said:

 It should work if you insert
 
 Options {
   Exclude = yes
   WildDir = /opt/data/*/p4
 }
 
 here.
 
  File = /opt/bacula
  File = /opt/pointwise
  File = /opt/pwi
  File = /etc
  File = /var
  File = /usr/share
  File = /var/lib
  File = /var/lib/imap
  File = /var/lib/ldap
  File = /var/lib/mysql
  File = /var/spool
  File = /var/spool/imap
  File = /var/spool/mail
  File = /var/spool/samba
  File = /var/www
  File = /var/www/html
  File = /var/www/html/bugzilla
  File = /var/yp
 
 Are these all separately mounted filesystems?  If not, you'll get duplication
 when Bacula walks down from /opt into /opt/bacula etc.
 
 __Martin

Martin,

Thanks for finding my error. I'll also look for duplication in the file
systems. I thought the fd was handling the resolution when multiple
directories are specified.

Mike

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Need some help

2009-06-18 Thread Mike Eggleston
On Thu, 18 Jun 2009, Mark Nesterovych might have said:

 
 Hello to everybody.
 
 I am newbie with bacula. Can't find information in manual. 
 May be somebody already implemented what I want.
 
 I have Incremental backups from few servers during working days and full
 at weekend. Backups located at File storage. I want to create a new Job
 which will backup Full weekend backup to tape. But not from sources
 servers, I want it from File bases Volumes already created by other
 jobs. I can create a Job witch will backup volume file to tape, but I
 have few volume files and I should know which one was last writhed.  
 
 Can anybody point me to manual, if there is a problem solution, or give
 some ideas how I can do what I want.
 
 Sorry for my English. 

No worries on that.

I have several jobs that all back up to disk. I then have one job that
runs after all the other jobs that writes the disk volumes to tape for
storing off site. Is that what you're wanting?

Mike

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Need some help

2009-06-18 Thread Mike Eggleston
On Thu, 18 Jun 2009, Mark Nesterovych might have said:

 On Thu, 2009-06-18 at 10:42 -0500, Mike Eggleston wrote:
  Is that what you're wanting?
 
 Yep.
 But how can I point volumes that have last info ? Not every one in the
 pool.

I have a Run Before Job script named pre-tape-backup.sh that does a find
for everything that was touched during the night's backup. My first
job in the night runs a script named pre-backup.sh that does a 'touch
$file'. I know that any file modified after that touched file is new,
so I feed those files to my last backup job for writing to tape.

Mike

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bconsole password

2009-07-21 Thread Mike Eggleston
Morning,

This morning I have been asked if there is a way to put a password on
bconsole, such that a password is required to 'login' to bconsole before
performing a restore, etc. Is a password enabling option for bconsole
already there or do I need to hack the source (if management decides a
password is needed)?

Mike

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bconsole and passwords?

2009-07-23 Thread Mike Eggleston
Morning,

Currently I am not required to enter a password to get into bconsole
for restores and such. Is there a way to turn on requiring a password to
bconsole (and the other b utilities) or do I need to hack the source?

Mike

--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] unreliable file timestamps?

2009-08-06 Thread Mike Eggleston
On Thu, 06 Aug 2009, Mike Eggleston might have said:

 Morning,
 
 I am moving some data off a linux box to a NetGear ReadyNAS NV+. It seems
 like the time stamps on files on the ReadyNAS are unreliable. Is there a
 setting in the configuration for the client to perform a hash-based (or
 other) analysis of a file (comparing the current hash with the previous
 hash for example) to determine if the file has changed and should be
 backed up?
 
 I'm searching for such a setting and have not found it yet.
 
 Failing finding a setting I'll write a File setting in the File Set for
 these (three so far) shares from the NAS.
 
 Thanks.
 
 Mike

I found the setting inside the File Set definitions.

Thanks.

Mike

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Anyone written any handy queries (query.sql)???

2009-08-11 Thread Mike Eggleston
On Tue, 11 Aug 2009, John Drescher might have said:

 On Tue, Aug 11, 2009 at 2:39 PM, John Lockardjlock...@umich.edu wrote:
  I have modified my query.sql to include some queries that
  I use frequently and I thought maybe someone else would
  find them useful additions.  Also, I was wondering if anyone
  had queries which they find useful and would like to share.

Here are my custom queries.

Mike


# 17
:List pool space allocated by status
SELECT Pool.Name AS Pool, VolStatus AS Status, sum(VolBytes) AS Size,
count(*) AS Number
  FROM Media, Pool
  WHERE Media.PoolID = Pool.PoolId
  GROUP by Pool.Name, VolStatus
  ORDER by Pool.Name, VolStatus;
# 18
:List Volumes by pool, name
SELECT VolumeName AS Volume, VolMounts AS Mounts, VolErrors AS Errors,
VolBytes AS Size, VolWrites AS Writes, VolStatus AS Status, Pool.Name AS 
Pool
  FROM Media, Pool
  WHERE Media.PoolID = Pool.PoolId
  ORDER by Pool.Name, VolumeName;
# 19
:List Volumes by pool, age
SELECT VolumeName AS Volume, VolMounts AS Mounts, VolErrors AS Errors,
VolBytes AS Size, VolWrites AS Writes, VolStatus AS Status,
LastWritten AS 'Last Written', Pool.Name AS Pool
  FROM Media, Pool
  WHERE Media.PoolID = Pool.PoolId
  ORDER by Pool.Name, LastWritten Desc;
# 20
:List storage used by client and pool
SELECT Client.Name AS Client, Pool.Name as Pool,
sum(Job.JobFiles) as Files, sum(Job.JobBytes) as Bytes
  FROM Client, Job, Pool
  WHERE Job.ClientID = Client.ClientID and Job.PoolID = Pool.PoolID
  GROUP by Client.ClientID
  ORDER by Client.Name;

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Copying backup On the fly

2009-10-15 Thread Mike Eggleston
On Thu, 15 Oct 2009, John Drescher might have said:

  I'm using bacula for servers but the problem is that both servers and where
  bacula runs are on the same room. I'd like to know how to implement a
  duplication of the data bacula stores in order to put a copy on another
  location (via internet). Of course it is not possible to copy simply the
  backup file because it is too big.
 
 One suggestion. Make the volumes smaller. 1 to 10GB should be fine.
 Then use rsync (possibly run from a cron job) to send the volumes
 offsite.
 
 John

My bacula setup is pulling the remote files to on disk volumes that
are 5GB each. I have a final job that looks for what disk volumes have
changed from the previous backup and writes those volumes to tape.

I could use rsync(1) to copy the 5GB volumes to another server and did
consider copying those disk volumes over the net to a remote location. I
decided against this approach as the rsync(1) would consume my entire
bandwidth. Not a bad solution for incrementals, but not good for fulls.

Mike

--
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] Check space usage per client

2009-12-04 Thread Mike Eggleston
On Fri, 04 Dec 2009, Caspar Smit might have said:

 
 
 Mike,
 
 Sorry I'm fairly new to bacula, can you tell me how to
 use the query.sql ?
 Or where I can find some documentation so I can
 find out.
 
 Thanks in advance,
 Caspar
 
  On
 Fri, 04 Dec 2009, Caspar Smit might have said:
  
 
 
  Hi all,
 
  I wondered if
 there is a way to check how much
  storage
  space
 a client (filedaemon) is using?
 
  Kind
  regards,
  Caspar
  Smit
  
  I added this query to my query.sql file.
  
 
 Mike
  
  # 20
  :List storage used by client and
 pool
  SELECT Client.Name AS Client, Pool.Name as Pool,
  
sum(Job.JobFiles) as Files, sum(Job.JobBytes) as Bytes
FROM
 Client, Job, Pool
WHERE Job.ClientID = Client.ClientID and
 Job.PoolID = Pool.PoolID
GROUP by Client.ClientID
   
 ORDER by Client.Name;
 

Happily to help on the list. I've received quite a bit of help myself.

My bacula is installed in /opt/bacula. Add the above query to
/opt/bacula/etc/query.sql (I save system files before I edit them). I
don't think you need to restart bacula after adding the query. Enter
bconsole and type 'query' and the new number of this query. I think the
'# 20' is just for documentation and the query will get renumbered when
bconsole displays the list of queries.

Mike

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Check space usage per client

2009-12-04 Thread Mike Eggleston
On Fri, 04 Dec 2009, Caspar Smit might have said:

 
 
 Hi all,
 
 I wondered if there is a way to check how much
 storage
 space a client (filedaemon) is using?
 
 Kind
 regards,
 Caspar
 Smit

I added this query to my query.sql file.

Mike

# 20
:List storage used by client and pool
SELECT Client.Name AS Client, Pool.Name as Pool,
sum(Job.JobFiles) as Files, sum(Job.JobBytes) as Bytes
  FROM Client, Job, Pool
  WHERE Job.ClientID = Client.ClientID and Job.PoolID = Pool.PoolID
  GROUP by Client.ClientID
  ORDER by Client.Name;


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Shell script question.

2010-03-03 Thread Mike Eggleston
On Wed, 03 Mar 2010, Brian Debelius might have said:

 Hi,
 
Looking at Bacula scripts and other scripts, I see a test for an 
 empty string performed by adding an 'x' before the variable, and then 
 comparing this to another string that is just an 'x'.
 
The shell test function has a -z string test that returns true if the 
 string is empty.
 
 It appears to me that more people use the 'x' comparison.  Is there a 
 technical reason why one would be preferable to the other?
 
 Why would you do this:
 
 if [ x$var = x ]; then
 ...
 fi
 
Instead of this:
 
 if [ -z $var ]; then
 ...
 fi

Historically the -z test is not available on many systems, hence the
x$var format. Also, put a space between ] and ; like

if [ x$var = x ] ; then
...
fi

Mike

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] authorization again

2011-03-09 Thread Mike Eggleston
On Fri, 04 Mar 2011, ewan.br...@stfc.ac.uk might have said:

 The Windows file daemon doesn't use the C:\$WORKSTATION-fd.conf file.  That's 
 just put there as a convenience at install time.  You should really be 
 comparing the server password with the one in the Bacula program directory 
 (e.g. C:\program files\bacula\bacula-fd.conf).
 
 EMB

Ewan,

There are two things I did wrong. I couldn't find my saved copy of
winbacula so I downloaded a copy from the net. I need to use the same
vesion as my bacula server. The second is looking at the properties for
the service and seeing where the bacula-fd.conf file is read from. My
setup has that file in the directory C:\Program Files\Bacula directory
and not in C:\Documents and Settings\All Users\Application Data\Bacula.

Making those two changes work.ed

Thanks.

Mike

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] file listing?

2011-03-09 Thread Mike Eggleston
Afternoon,

I just noticed one of my clients had a huge incremental (level 2)
backup. I want to see what file caused the huge increase. I tried 'list
files jobid=20097' and though I'm shown the files, I'm not shown the
size of each file. Is there a command or query that shows me the size
of the file?

Mike

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file listing?

2011-03-09 Thread Mike Eggleston
On Wed, 09 Mar 2011, John Drescher might have said:

 2011/3/9 James Woodward james.woodw...@ualberta.ca:
  Hello Mike,
  I'd have to say no based on the tables defined
  here http://bacula.org/5.0.x-manuals/en/developers/developers/Database_Tables.html.
  The file size does not appear to be stored in the database. I don't think
  any size is mentioned until you get to the job level.
  James
 
 
 I think its in the LStat.
 
 John

In my old version (v2.0.3) I don't see an 'lstat' command.

Mike

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows 7 client recommendations?

2011-03-11 Thread Mike Eggleston
Morning,

I'm trying to backup a user's Windows 7 workstation. Microsoft has
switched to the C:/Users directory and left a system, hidden C:/Documents
and Settings for legacy applications that points to C:/Users. When I
backup this box bacula-fd gets into a loop looking for files C:/Documents
and Settings/Default/Local Settings/Application Data/Application Data/...

Is there some way to detect that the box is a win7 box, or some way to
limit these loops, or should I just create a different file specification
for the win7 boxes that excludes the C:/Documents and Settings directory?

Mike

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] excluding files?

2011-03-20 Thread Mike Eggleston
Morning,

I'm trying to get some spam email folders not included in the backup. I
wonder if there is an ordering issue I'm missing. For this unix server
I have a:

File Set {
Name = Unix-Files-elo
Ignore Fileset Changes = yes
Include {
Options {
signature = MD5
Exclude = yes
IgnoreCase = yes

# Exclude files and directories that can be replaced 
using the red hat network
WildDir = /var/spool/imap/*/user/*/spam
}
File = /var/spool/imap
}
}

I'm wondering if the included directory at the bottom, '/var/spool/imap',
is overriding the WildDir in the Options/Exclude=yes section above.

I do want to backup the email, but I don't want to backup any spam
messages.

If there is a order of specification problem in how I've written the
backup, is there a better way to write this section? Is it possible to
have two Options/Exclude sections?

Mike

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] File Set configuration and excluding some files?

2011-03-20 Thread Mike Eggleston
Afternoon,

I'm trying to get some spam email folders excluded in the backup. I
wonder if there is an ordering issue I'm missing. For this unix server
I have a:

File Set {
Name = Unix-Files-elo
Ignore Fileset Changes = yes
Include {
Options {
signature = MD5
Exclude = yes
IgnoreCase = yes

# Exclude files and directories that can be replaced 
using the red hat network
WildDir = /var/spool/imap/*/user/*/spam
}
File = /var/spool/imap
}
}

I'm wondering if the included directory at the bottom, '/var/spool/imap',
is overriding the WildDir in the Options/Exclude=yes section above.

I do want to backup the email, but I don't want to backup any spam
messages.

If there is a order of specification problem in how I've written the
backup, is there a better way to write this section? Is it possible to
have two Options/Exclude sections?

Mike

baclula 2.0.3

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore taking a long time....

2011-10-07 Thread Mike Eggleston
Hi,

I have a server crash and am working on the restore. I have one specific
section of the original file system I'm attempting to restore. This is
section is about 40GB. Luckily I had a recent full before the crash. When
I enter 'restore' and give the jobid bconsole beings to create the
synthetic file system so I can select what I want restored. My problem
is this step of creating the synthetic file system takes a massivly
long time. I've started and killed the restore several times. One time
I waited nearly two days for the synthetic file system to be created.

Is there a way on the command line I can simply say something like
restore client=server-fd file=/opt/perforce/depot/depot/application
recurse=yes?

The server that runs the bacula server has plenty of disk space and 1GB
of memory. After this experience I would like to increase the memory
and to run bacula on a processor better than the Celeron.

Mike

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore taking a long time....

2011-11-04 Thread Mike Eggleston
Hi,

I'm trying to verify what files are backed up from a specific server. In
bconsole I have issued restore and the client name. The process that
builds the synthetic filesystem is taking a massive amount of time. The
several times I've tried to test/verify this restore I've killed the
synthetic file system generation because it takes so long. I've never
seen it finish for this server.

What can be done to speed up this restore?

Mike

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] client not backing up?

2012-06-06 Thread Mike Eggleston
Hi,

I'm setting up a client. I copied the bacula-fd.conf from another
working machine and restarted the client. I can run an estimate
job=client-backup listing and the results are fine. When I execute run
yes job=client-backup and the backup fails. I don't see an error. The
only error I find in the output is:

06-Jun 13:21 zurich-dir JobId 5127: Error: Bacula zurich-dir 5.0.3 (04Aug10): 
06-Jun-2012 13:21:00

Where should I look for the error?

Mike

server:
bacula-dir Version: 5.0.3 (04 August 2010) i686-pc-linux-gnu redhat Enterprise 
release

client:
Client: client-fd 5.2.6 (21Feb12) Microsoft Windows 7 Professional Service 
Pack 1 (build 7601), 32-bit,Cross-compile,Win32

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] client not backing up?

2012-06-06 Thread Mike Eggleston
On Wed, 06 Jun 2012, John Drescher might have said:

  I'm setting up a client. I copied the bacula-fd.conf from another
  working machine and restarted the client.
 
 I assume you fixed the client name in bacula-fd.conf since it can't be
 the same as the other client?
 
 John

John,

I removed the C:\client-fd.conf.

After I copied C:\Program Files\Bacula\bacula-dir.conf from the working
client to the new client I did change the name inside the file. After
changing the name I restarted the client with sc stop bacula-fd then
sc start bacula-fd.

I verified the password with the director.

I created C:\Program Files\Bacula\working.

What next?

Mike

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] [Solved] Re: client not backing up?

2012-06-06 Thread Mike Eggleston
On Wed, 06 Jun 2012, John Drescher might have said:

  I'm setting up a client. I copied the bacula-fd.conf from another
  working machine and restarted the client.
 
 I assume you fixed the client name in bacula-fd.conf since it can't be
 the same as the other client?
 

John,

The estimate command works, but not the run command. I have errors in that 
client's log about VSS issues. I added a Enable VSS = no to my windows file 
definitions. Now the backup runs.

Below is a copy of the VSS error.

Mike

Log Name:  Application
Source:VSS
Date:  6/6/2012 2:49:42 PM
Event ID:  8193
Task Category: None
Level: Error
Keywords:  Classic
User:  N/A
Computer:  CRACKEN
Description:
Volume Shadow Copy Service error: Unexpected error calling routine 
ConvertStringSidToSid(S-1-5-21-3506399496-2040670700-2580743907-3064.bak).  hr 
= 0x80070539, The security ID structure is invalid.
. 

Operation:
   OnIdentify event
   Gathering Writer Data

Context:
   Execution Context: Shadow Copy Optimization Writer
   Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Name: Shadow Copy Optimization Writer
   Writer Instance ID: {3f6f8962-cd85-4505-9156-2c8fae4b5c5d}
Event Xml:
Event xmlns=http://schemas.microsoft.com/win/2004/08/events/event;
  System
Provider Name=VSS /
EventID Qualifiers=08193/EventID
Level2/Level
Task0/Task
Keywords0x80/Keywords
TimeCreated SystemTime=2012-06-06T19:49:42.0Z /
EventRecordID42668/EventRecordID
ChannelApplication/Channel
ComputerCRACKEN/Computer
Security /
  /System
  EventData

DataConvertStringSidToSid(S-1-5-21-3506399496-2040670700-2580743907-3064.bak)/Data
Data0x80070539, The security ID structure is invalid.
/Data
Data

Operation:
   OnIdentify event
   Gathering Writer Data

Context:
   Execution Context: Shadow Copy Optimization Writer
   Writer Class Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Name: Shadow Copy Optimization Writer
   Writer Instance ID: {3f6f8962-cd85-4505-9156-2c8fae4b5c5d}/Data

Binary2D20436F64653A20534543534543524330303030303931302D2043616C6C3A20534543534543524330303030303930332D205049443A202030303030313838382D205449443A202030303030333434342D20434D443A2020433A5C57696E646F77735C73797374656D33325C76737376632E6578652020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820/Binary
  /EventData
/Event

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] File definitions, includes and excludes?

2012-06-06 Thread Mike Eggleston
Hi,

I want to exclude programs installed on a Windows client in C:\Program
Files.  One program does not play well in that it stores it's data in
it's own directory.  In the File Set definition I have excluded all under
C:\Program Files.  I want to force the inclusion of this program.
I added a File = C:\Program File\SageFAS after the above exclusion.
The SageFAS directory does not appear to be backed up.

How can I re-include the SageFAS directory?

Mike

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Solved] Re: client not backing up?

2012-06-06 Thread Mike Eggleston
On Wed, 06 Jun 2012, John Drescher might have said:

 On Wed, Jun 6, 2012 at 4:13 PM, Mike Eggleston mikee...@mac.com wrote:
  On Wed, 06 Jun 2012, John Drescher might have said:
 
   I'm setting up a client. I copied the bacula-fd.conf from another
   working machine and restarted the client.
 
  I assume you fixed the client name in bacula-fd.conf since it can't be
  the same as the other client?
 
 
  John,
 
  The estimate command works, but not the run command. I have errors in 
  that client's log about VSS issues. I added a Enable VSS = no to my 
  windows file definitions. Now the backup runs.
 
  Below is a copy of the VSS error.
 
  Mike
 
  Log Name:      Application
  Source:        VSS
  Date:          6/6/2012 2:49:42 PM
  Event ID:      8193
  Task Category: None
  Level:         Error
  Keywords:      Classic
  User:          N/A
  Computer:      CRACKEN
  Description:
  Volume Shadow Copy Service error: Unexpected error calling routine 
  ConvertStringSidToSid(S-1-5-21-3506399496-2040670700-2580743907-3064.bak).  
  hr = 0x80070539, The security ID structure is invalid.
  .
 
 Is the windows 7 machine a 32 bit OS or 64?
 
 John

John,

The client is Win7, 32-bit.

Mike

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and hyper-V

2013-03-20 Thread Mike Eggleston
I use bacula to backup Hyper-V slices. I have no errors. 

Mike

On Mar 20, 2013, at 13:44, Bachmatiuk, Marcin 
marcin.bachmat...@pkcgroup.com wrote:

 Hello,
 I have question.
 Does anyone have an experiment one of the bacula backup and Hyper-V?
  
 Any solution.a
  
 ---
 Best regards Marcin
  
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_mar
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] trying to build a static bacula-fd

2018-02-06 Thread Mike Eggleston
Thanks for the suggestion. I’m now using:

./configure --enable-client-only --enable-static-client-only --enable-static-fd 
--disable-libtool --without-ssl

with no success… ☹

Thanks,
Mike

From: Tilman Schmidt [mailto:til...@imap.cc]
Sent: Tuesday, February 06, 2018 12:42 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] trying to build a static bacula-fd

Try without --with-mysql.
What do you need a database for in the FD?

HTH
Tilman

On Tue, Feb 6, 2018, at 17:35, Mike Eggleston wrote:

I finally have bacula set up for more testing. I’m trying to build a static FD 
for other servers (GNU/Linux).

I’m using the line:



./configure --with-mysql --with-systemd --with-dump-email=bacula@localhost 
--with-job-email=bacula@localhost --enable-client-only --enable-static-fd 
--without-ssl --disable-libtool



And getting the error:



checking for library containing dlopen... (cached) -ldl

checking for PostgreSQL support... no

checking for MySQL support... yes

checking for MySQL embedded support... no

checking for SQLite3 support... no





You have specified two or more of the

supported databases: MySQL, PostgreSQL, or SQLite3.

This is not permitted when not using libtool Please reconfigure.



Aborting the configuration ...



You can see configure has detected no PostgreSQL nor SQLite3 and I’ve only 
selected MySQL on the command line.

What do I do now?



TIA



Mike


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Tilman Schmidt
til...@imap.cc<mailto:til...@imap.cc>


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] trying to build a static bacula-fd

2018-02-06 Thread Mike Eggleston
I finally have bacula set up for more testing. I'm trying to build a static FD 
for other servers (GNU/Linux).
I'm using the line:

./configure --with-mysql --with-systemd --with-dump-email=bacula@localhost 
--with-job-email=bacula@localhost --enable-client-only --enable-static-fd 
--without-ssl --disable-libtool

And getting the error:

checking for library containing dlopen... (cached) -ldl
checking for PostgreSQL support... no
checking for MySQL support... yes
checking for MySQL embedded support... no
checking for SQLite3 support... no


You have specified two or more of the
supported databases: MySQL, PostgreSQL, or SQLite3.
This is not permitted when not using libtool Please reconfigure.

Aborting the configuration ...

You can see configure has detected no PostgreSQL nor SQLite3 and I've only 
selected MySQL on the command line.
What do I do now?

TIA

Mike

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] trying to build a static bacula-fd

2018-02-09 Thread Mike Eggleston
Thanks, Greg. I’ll look for “dnf”. I looked for *-devel packages and forgot the 
*-static packages. ☺

Thanks,
Mike

From: Greg Woods [mailto:g...@gregandeva.net]
Sent: Friday, February 09, 2018 8:37 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] trying to build a static bacula-fd



On Fri, Feb 9, 2018 at 6:26 AM, Mike Eggleston 
<mike.eggles...@firstcash.com<mailto:mike.eggles...@firstcash.com>> wrote:

/bin/ld: cannot find -lz
/bin/ld: cannot find -lpthread
/bin/ld: cannot find -ldl
/bin/ld: cannot find -ldl
/bin/ld: cannot find -lssl
/bin/ld: cannot find -lcrypto
/bin/ld: cannot find -lstdc++
/bin/ld: cannot find -lm
/bin/ld: cannot find -lc

You are missing the packages that contain the libraries for static linking. For 
instance, on my Fedora system, "dnf whatprovides */libssl.a" shows that I would 
need the "openssl-static" package. You would need to do the equivalent for your 
distro and install the packages that provide those static libraries.

--Greg

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] trying to build a static bacula-fd

2018-02-09 Thread Mike Eggleston
Forgot to add, this is CentOS:

[bacula@dvlnx107 bacula-9.0.6]$ uname -a
Linux dvlnx107 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 
x86_64 x86_64 x86_64 GNU/Linux
 [bacula@dvlnx107 bacula-9.0.6]$ ls -l /etc/*release
-rw-r--r--. 1 root root  38 Aug 30 10:53 /etc/centos-release
-rw-r--r--. 1 root root 393 Aug 30 10:53 /etc/os-release
lrwxrwxrwx. 1 root root  14 Jan 31 15:32 /etc/redhat-release -> centos-release
lrwxrwxrwx. 1 root root  14 Jan 31 15:32 /etc/system-release -> centos-release
[bacula@dvlnx107 bacula-9.0.6]$ cat /etc/system-release
CentOS Linux release 7.4.1708 (Core)

Thanks,
Mike

-Original Message-
From: Mike Eggleston 
Sent: Friday, February 09, 2018 7:26 AM
To: 'Tilman Schmidt' <til...@imap.cc>; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] trying to build a static bacula-fd

Configure complets:

./configure --enable-client-only -enable-static-client-only --enable-static-fd 
--disable-libtool --without-ssl --without-mysql

The compile now fails with:

Linking bacula-fd ...
/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o backup.o 
crypto.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o hello.o 
job.o fd_snapshot.o restore.o status.o verify.o verify_vol.o bacl.o 
bacl_linux.o bacl_osx.o bacl_solaris.o bacl_freebsd.o bxattr.o bxattr_linux.o 
bxattr_osx.o bxattr_solaris.o bxattr_freebsd.o \
   -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
 -lssl -lcrypto
/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
authenticate.o backup.o crypto.o estimate.o fd_plugins.o accurate.o 
filed_conf.o heartbeat.o hello.o job.o fd_snapshot.o restore.o status.o 
verify.o verify_vol.o bacl.o bacl_linux.o bacl_osx.o bacl_solaris.o 
bacl_freebsd.o bxattr.o bxattr_linux.o bxattr_osx.o bxattr_solaris.o 
bxattr_freebsd.o \
-lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
  -lssl -lcrypto
/bin/ld: cannot find -lz
/bin/ld: cannot find -lpthread
/bin/ld: cannot find -ldl
/bin/ld: cannot find -ldl
/bin/ld: cannot find -lssl
/bin/ld: cannot find -lcrypto
/bin/ld: cannot find -lstdc++
/bin/ld: cannot find -lm
/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[1]: *** [static-bacula-fd] Error 1
make[1]: Leaving directory `/opt/bacula/src/bacula-9.0.6/src/filed'


  == Error in /opt/bacula/src/bacula-9.0.6/src/filed ==


make: *** [all] Error 1
[bacula@HOST bacula-9.0.6]$

I wonder what to try next... Any ideas?

Thanks,
Mike

-Original Message-
From: Tilman Schmidt [mailto:til...@imap.cc]
Sent: Thursday, February 08, 2018 5:36 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] trying to build a static bacula-fd

Am 06.02.2018 um 19:46 schrieb Mike Eggleston:
> Thanks for the suggestion. I’m now using:
> 
> ./configure --enable-client-only --enable-static-client-only 
> --enable-static-fd --disable-libtool --without-ssl
> 
> with no success… L

Still the same error? Still saying

> checking for MySQL support... yes

?

What if you turn off MySQL support explicitly with --without-mysql?

(The theory behind that suggestion being that just as two databases specified 
for a director is one too many, so is one database specified for a file daemon.)

-- 
Tilman Schmidt  E-Mail: til...@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] trying to build a static bacula-fd

2018-02-09 Thread Mike Eggleston
That's what I was looking for. I looked for the *-devel packages, but not 
*-static. Duh!
Well, the next part. I installed a few of the libraries, but not all. Now I 
have errors other thank linking:

Linking bacula-fd ...
/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o backup.o 
crypto.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o hello.o 
job.o fd_snapshot.o restore.o status.o verify.o verify_vol.o bacl.o 
bacl_linux.o bacl_osx.o bacl_solaris.o bacl_freebsd.o bxattr.o bxattr_linux.o 
bxattr_osx.o bxattr_solaris.o bxattr_freebsd.o \
   -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
 -lssl -lcrypto
/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
authenticate.o backup.o crypto.o estimate.o fd_plugins.o accurate.o 
filed_conf.o heartbeat.o hello.o job.o fd_snapshot.o restore.o status.o 
verify.o verify_vol.o bacl.o bacl_linux.o bacl_osx.o bacl_solaris.o 
bacl_freebsd.o bxattr.o bxattr_linux.o bxattr_osx.o bxattr_solaris.o 
bxattr_freebsd.o \
-lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
  -lssl -lcrypto
/bin/ld: cannot find -lz
../lib/libbac.a(plugins.o): In function `load_plugins(void*, void*, char 
const*, char const*, bool (*)(Plugin*))':
/opt/bacula/src/bacula-9.0.6/src/lib/plugins.c:156: warning: Using 'dlopen' in 
statically linked applications requires at runtime the shared libraries from 
the glibc version used for linking
/bin/ld: cannot find -lstdc++
../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)':
/opt/bacula/src/bacula-9.0.6/src/lib/priv.c:83: warning: Using 'initgroups' in 
statically linked applications requires at runtime the shared libraries from 
the glibc version used for linking
../lib/libbac.a(guid_to_name.o): In function `guid_list::gid_to_name(unsigned 
int, char*, int)':
/opt/bacula/src/bacula-9.0.6/src/lib/guid_to_name.c:112: warning: Using 
'getgrgid' in statically linked applications requires at runtime the shared 
libraries from the glibc version used for linking
../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)':
/opt/bacula/src/bacula-9.0.6/src/lib/priv.c:76: warning: Using 'getgrnam' in 
statically linked applications requires at runtime the shared libraries from 
the glibc version used for linking
/opt/bacula/src/bacula-9.0.6/src/lib/priv.c:57: warning: Using 'getpwnam' in 
statically linked applications requires at runtime the shared libraries from 
the glibc version used for linking
../lib/libbac.a(guid_to_name.o): In function `guid_list::uid_to_name(unsigned 
int, char*, int)':
/opt/bacula/src/bacula-9.0.6/src/lib/guid_to_name.c:99: warning: Using 
'getpwuid' in statically linked applications requires at runtime the shared 
libraries from the glibc version used for linking
../lib/libbac.a(bnet.o): In function `resolv_host(int, char const*, dlist*)':
/opt/bacula/src/bacula-9.0.6/src/lib/bnet.c:345: warning: Using 'getaddrinfo' 
in statically linked applications requires at runtime the shared libraries from 
the glibc version used for linking
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libpthread.a(libpthread.o):
 In function `sem_open':
(.text+0x6a23): warning: the use of `mktemp' is dangerous, better use `mkstemp'
../lib/libbac.a(address_conf.o): In function `add_address(dlist**, 
IPADDR::i_type, unsigned short, int, char const*, char const*, char*, int) 
[clone .constprop.4]':
/opt/bacula/src/bacula-9.0.6/src/lib/address_conf.c:321: warning: Using 
'getservbyname' in statically linked applications requires at runtime the 
shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
make[1]: *** [static-bacula-fd] Error 1
make[1]: Leaving directory `/opt/bacula/src/bacula-9.0.6/src/filed'


  == Error in /opt/bacula/src/bacula-9.0.6/src/filed ==


make: *** [all] Error 1
[bacula@dvlnx107 bacula-9.0.6]$

Thanks,
Mike

-Original Message-
From: Tilman Schmidt [mailto:til...@imap.cc] 
Sent: Friday, February 09, 2018 8:59 AM
To: Mike Eggleston <mike.eggles...@firstcash.com>
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] trying to build a static bacula-fd

On Fri, Feb 9, 2018, at 14:26, Mike Eggleston wrote:
> Configure complets:
> 
> ./configure --enable-client-only -enable-static-client-only 
> --enable-static-fd --disable-libtool --without-ssl --without-mysql

Good.

> The compile now fails with:
[...]
> /bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
> authenticate.o backup.o crypto.o estimate.o fd_plugins.o accurate.o 
> filed_conf.o heartbeat.o hello.o job.o fd_snapshot.o restore.o 
> status.o verify.o verify_vol.o bacl.o bacl_linux.o bacl_osx.o 
> bacl_solaris.o bacl_freebsd.o bxattr.o bxattr_linux.o bxattr_osx.o 
> bxattr_solaris.o bxattr_freebsd.o \
> -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
>   -lssl -lcrypto
> /bin/ld: cannot find -lz
> /bin/ld: cannot find -lpthread
>

[Bacula-users] web request

2018-02-13 Thread Mike Eggleston
I'm having issues with my corporate firewall (its not being friendly at the 
moment).
Would someone please reply with the list of Bacula features (I hope it's here 
https://www.dokuwiki.org/features).

TIA

Thanks,
Mike

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] trying to build a static bacula-fd

2018-02-09 Thread Mike Eggleston
Configure complets:

./configure --enable-client-only -enable-static-client-only --enable-static-fd 
--disable-libtool --without-ssl --without-mysql

The compile now fails with:

Linking bacula-fd ...
/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o backup.o 
crypto.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o hello.o 
job.o fd_snapshot.o restore.o status.o verify.o verify_vol.o bacl.o 
bacl_linux.o bacl_osx.o bacl_solaris.o bacl_freebsd.o bxattr.o bxattr_linux.o 
bxattr_osx.o bxattr_solaris.o bxattr_freebsd.o \
   -lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
 -lssl -lcrypto
/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
authenticate.o backup.o crypto.o estimate.o fd_plugins.o accurate.o 
filed_conf.o heartbeat.o hello.o job.o fd_snapshot.o restore.o status.o 
verify.o verify_vol.o bacl.o bacl_linux.o bacl_osx.o bacl_solaris.o 
bacl_freebsd.o bxattr.o bxattr_linux.o bxattr_osx.o bxattr_solaris.o 
bxattr_freebsd.o \
-lz -lbacfind -lbaccfg -lbac -lm -lpthread -ldl -ldl  \
  -lssl -lcrypto
/bin/ld: cannot find -lz
/bin/ld: cannot find -lpthread
/bin/ld: cannot find -ldl
/bin/ld: cannot find -ldl
/bin/ld: cannot find -lssl
/bin/ld: cannot find -lcrypto
/bin/ld: cannot find -lstdc++
/bin/ld: cannot find -lm
/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
make[1]: *** [static-bacula-fd] Error 1
make[1]: Leaving directory `/opt/bacula/src/bacula-9.0.6/src/filed'


  == Error in /opt/bacula/src/bacula-9.0.6/src/filed ==


make: *** [all] Error 1
[bacula@HOST bacula-9.0.6]$

I wonder what to try next... Any ideas?

Thanks,
Mike

-Original Message-
From: Tilman Schmidt [mailto:til...@imap.cc] 
Sent: Thursday, February 08, 2018 5:36 PM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] trying to build a static bacula-fd

Am 06.02.2018 um 19:46 schrieb Mike Eggleston:
> Thanks for the suggestion. I’m now using:
> 
> ./configure --enable-client-only --enable-static-client-only 
> --enable-static-fd --disable-libtool --without-ssl
> 
> with no success… L

Still the same error? Still saying

> checking for MySQL support... yes

?

What if you turn off MySQL support explicitly with --without-mysql?

(The theory behind that suggestion being that just as two databases specified 
for a director is one too many, so is one database specified for a file daemon.)

-- 
Tilman Schmidt  E-Mail: til...@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Testing VirtualFull; job created but not running; why?

2018-02-15 Thread Mike Eggleston
I have my test setup of Bacula. I have two servers configured.
Now I'm trying to test VirtualFull of one of those servers (that has Full, 
Incremental, etc.).
I modified the director configuration file and created another Pool for the 
VirtualFull.
The second Pool is listed as NextPool for my primary Pool (and the primary pool 
is receiving backups).
I created a special job for testing the VirtualFull (so I don't have to type 
mod each time).
The job gets created with a status of 'C' and just sits there.
There are no messages.

What could be wrong? Why is my job not starting?

Thanks,
Mike

The job is "dvlnx107":

*time
Thu 15-Feb-2018 14:05:39
*list jobs
+---++-+--+---+--+---+---+
| JobId | Name   | StartTime   | Type | Level | JobFiles | 
JobBytes  | JobStatus |
+---++-+--+---+--+---+---+
|   109 | dvlnx107-backup| -00-00 00:00:00 | B| F |0 |  
   0 | A |
|   110 | dvlnx107-vf| -00-00 00:00:00 | B| F |0 |  
   0 | A |
|   111 | dvlnx107-vf| -00-00 00:00:00 | B| F |0 |  
   0 | A |
|86 | dvlnx107-backup| 2018-02-07 08:57:11 | B| F |  222,314 | 
4,407,842,613 | T |
|87 | dvlnx107-backup| 2018-02-07 22:00:02 | B| F |  222,317 | 
4,407,908,271 | T |
|88 | BackupCatalog  | 2018-02-07 23:10:04 | B| F |1 |  
  53,393,150 | T |
|89 | dvlnx107-backup| 2018-02-08 14:15:28 | B| I |   58 |  
 731,178,033 | T |
|90 | Restore-Unix-Files | 2018-02-08 15:22:17 | R| F |1 |  
 758 | T |
|91 | Restore-Unix-Files | 2018-02-08 15:25:33 | R| F |2 |  
   1,189,641 | T |
|92 | dvlnx107-backup| 2018-02-08 22:00:04 | B| I |   82 |  
 856,445,617 | T |
|93 | BackupCatalog  | 2018-02-08 23:10:41 | B| F |1 |  
 127,551,486 | T |
|94 | dvlnx107-backup| 2018-02-09 22:00:03 | B| I |1,676 |  
 737,544,047 | f |
|95 | BackupCatalog  | 2018-02-09 23:10:07 | B| F |1 |  
 150,236,888 | T |
|96 | dvlnx107-backup| 2018-02-10 22:00:02 | B| I |0 |  
   0 | f |
|97 | BackupCatalog  | 2018-02-10 23:10:09 | B| F |1 |  
 171,907,237 | T |
|98 | dvlnx107-backup| 2018-02-11 22:00:02 | B| I |1,664 |  
 680,539,554 | f |
|99 | BackupCatalog  | 2018-02-11 23:10:12 | B| F |1 |  
 192,605,747 | T |
|   100 | dvlnx107-backup| 2018-02-12 22:00:00 | B| I |1,521 |  
 644,444,687 | f |
|   101 | dvlnx106-backup| 2018-02-12 22:15:44 | B| F |0 |  
   0 | f |
|   102 | BackupCatalog  | 2018-02-12 23:10:09 | B| F |1 |  
 214,375,749 | T |
|   103 | dvlnx107-backup| 2018-02-13 22:00:01 | B| I |1,257 |  
 644,580,912 | f |
|   104 | dvlnx106-backup| 2018-02-13 22:13:14 | B| F |0 |  
   0 | f |
|   105 | BackupCatalog  | 2018-02-13 23:10:12 | B| F |1 |  
 234,489,830 | T |
|   106 | dvlnx107-backup| 2018-02-14 22:00:00 | B| I |1,190 |  
 621,207,112 | f |
|   107 | dvlnx106-backup| 2018-02-14 22:16:08 | B| F |0 |  
   0 | f |
|   108 | BackupCatalog  | 2018-02-14 23:10:12 | B| F |1 |  
 256,437,855 | T |
|   112 | dvlnx107-vf| 2018-02-15 13:48:57 | B| F |0 |  
   0 | C |
+---++-+--+---+--+---+---+
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Testing VirtualFull; job created but not running; why?

2018-02-21 Thread Mike Eggleston
Hi Bill,

In the pools definition I have "#Maximum Volume Jobs = 1" and in bacula-sd.conf 
I have "Maximum Concurrent Jobs = 20". I also have "Maximum Concurrent Jobs = 
20" in bacula-dir.conf. What else do I need to check? I know you presented a 
list of files below, but I'm confused about this. I have autochangers commented 
out.

Thanks,
Mike

-Original Message-
From: Bill Arlofski [mailto:waa-bac...@revpol.com] 
Sent: Monday, February 19, 2018 10:50 AM
To: Mike Eggleston <mike.eggles...@firstcash.com>; 
bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Testing VirtualFull; job created but not running; 
why?

On 02/19/2018 08:57 AM, Mike Eggleston wrote:
> Sorry it took me a while to get this answer... life is...

[...snip...]
> Running Jobs:
> Console connected at 19-Feb-18 09:05
>  JobId  Type Level Files Bytes  Name  Status
> ==
>112  Back Virt  0 0  dvlnx107-vf   is waiting on max 
> Storage jobs
>132  Back Virt  0 0  dvlnx107-vf   is waiting on max 
> Storage jobs
> 
[...snip...]


Hi Mike,

Consider that when a Virtual Full is run, it needs one device to read from and 
one device to write to.

Notice the "is waiting on max Storage jobs"  messages?   It is probable that
you have not added a "MaximumConcurrentJobs" (MCJ) setting to your Director's 
Storage{} resource, or in the bacula-sd.conf file's Main Storage{} resource 
where the SD is defined.

It is possible that you are trying to use a DIR Storage resource that points to 
a single device in the SD... You will want to set up an Autochanger with more 
than one device in it.

Also, if you do not explicitly set an MCJ, it defaults to (1) for just about 
every resource you can think of:

- DIR
- SD
- FD
- Job
- Dir Storage resource
- SD Storage/Autochanger resource
- SD Devices


Hope this helps you track this down.


Best regards,

Bill


--
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] aix binary?

2018-03-06 Thread Mike Eggleston
Does anyone have a static bacula-fd for AIX they could send me?

Thanks,
Mike

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: segmentation violation

2018-03-01 Thread Mike Eggleston
The backtrace would really help me trying to diagnose the issue. I'm trying to 
get a backtrace, but things hang. I've resorted to adding printf()s to the code 
to see what's happening... :(

Thanks,
Mike

-Original Message-
From: Martin Simmons [mailto:mar...@lispworks.com] 
Sent: Thursday, March 01, 2018 7:29 AM
To: Mike Eggleston <mike.eggles...@firstcash.com>
Cc: tgamt...@gmail.com; Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Fwd: segmentation violation

It might help if you can get a backtrace with debug info in the executable and 
libs.

Can you run from the build directory rather than the install directory?  You 
might also need to configure and build with CFLAGS="-g -O0".

__Martin



>>>>> On Wed, 28 Feb 2018 17:11:12 +, Mike Eggleston said:
> 
> I run make after configuring with:
> 
> ./configure --enable-client-only --with-dump-email=bacula@localhost 
> --with-job-email=bacula@localhost --prefix=/opt/bacula
> 
> This time I started bacula-fd in gdb and got:
> 
> root:/opt/bacula/etc> gdb ../sbin/bacula-fd GNU gdb (GDB) 7.9.1 
> Copyright (C) 2015 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "powerpc64-ibm-aix6.1.2.0".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from ../sbin/bacula-fd...done.
> (gdb) run -d 2000 -f -u root -g system -c bacula-fd.conf Starting 
> program: /opt/bacula/sbin/bacula-fd -d 2000 -f -u root -g system -c 
> bacula-fd.conf [New Thread 1]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1]
> 0xd6a159a0 in sm_get_pool_memory () from 
> /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
> (gdb) where
> #0  0xd6a159a0 in sm_get_pool_memory () from 
> /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
> #1  0xd6a1d6b8 in CONFIG::CONFIG () from 
> /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
> #2  0x1820 in main (argc=0, argv=0x2ff22ca0) at filed.c:214
> warning: (Internal error: pc 0x11bb in read in psymtab, but not in 
> symtab.)
> 
> warning: (Internal error: pc 0x11bc in read in psymtab, but not in 
> symtab.)
> 
> (gdb)
> 
> Thanks,
> Mike
> 
> From: Talile Gamtesa [mailto:tgamt...@gmail.com]
> Sent: Wednesday, February 28, 2018 7:35 AM
> To: Bacula-users@lists.sourceforge.net
> Subject: [Bacula-users] Fwd: segmentation violation
> 
> 
> -- Forwarded message --
> From: Talile Gamtesa <tgamt...@gmail.com<mailto:tgamt...@gmail.com>>
> Date: Mon, Feb 26, 2018 at 2:54 PM
> Subject: segmentation violation
> To: bacula-us...@nospam.com<mailto:bacula-us...@nospam.com>
> 
> Dear list,
> 
> I installed bacula 9.0.6 (also tried with 7) from source on aix 7.2 as 
> client only. But it doesn't it start and ./bacula-fd -tc  
> bacula-fd.conf -f -d 400
> 
> gives me:
> 
> Bacula interrupted by signal 11: Segmentation violation Kaboom! 
> bacula-fd, bacula-fd got signal 11 - Segmentation violation Please 
> help [Image removed by sender.]
> 
> 
> --
> Talile M. Gamtesa
> Tel +251922863497<tel:092%20286%203497>
> BSc in Electrical Engineering
> 
> 
> 
> 
> --
> Talile M. Gamtesa
> Tel +251922863497
> BSc in Electrical Engineering

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] aix binary?

2018-04-05 Thread Mike Eggleston
Kern,

Sorry, another question as I try to build the AIX binary FD… Do you know which 
compiler is on your AIX build? (gcc or AIX/IBM native xlC?)

Thanks,
Mike

From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Tuesday, April 03, 2018 1:34 PM
To: Mike Eggleston <mike.eggles...@firstcash.com>; 
Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] aix binary?


I have not build the AIX version for about 5 years.  Bacula Systems does it.  I 
am not convinced that it will build without libtool, so you might try removing 
the --with-libtool=no.  Though it should not make any difference, I would not 
use --without-smartalloc because we only build with smartalloc turned on.

Good luck,

Kern

On 04/02/2018 07:02 PM, Mike Eggleston wrote:
Kern,

I don’t mind building it (and have built lots of stuff over the decades). Here 
is my PATH and the command line I’m using. What are you using?

export 
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/meggle1/bin:/usr/bin/X11:/sbin:/usr/vacpp/bin

./configure --without-TLS --disable-TLS --without-tls --disable-tls 
--without-ssl --disable-ssl --without-crypto --disable-crypto --disable-ipv6 
--disable-lzo --disable-nls --disable-NLS --disable-readline 
--disable-smartalloc --enable-client-only --with-libtool=no --without-mysql 
--without-smartalloc

Thanks,
Mike

From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Sunday, April 01, 2018 2:28 AM
To: Mike Eggleston 
<mike.eggles...@firstcash.com><mailto:mike.eggles...@firstcash.com>; 
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] aix binary?


Hello,

If no one has one and you are unable to build it (actually rather easy -- build 
it directly on AIX but non-static), you can get one from Bacula Systems, but 
you will need a subscription.

Though binary packages are built for the community (thanks to Bacula Systems), 
they are not yet released (waiting for me to do the documentation), so some 
time in the future there is a possibility that we could have community binaries 
for AIX.

Best regards,

Kern

On 03/06/2018 10:04 PM, Mike Eggleston wrote:
Does anyone have a static bacula-fd for AIX they could send me?

Thanks,
Mike






--

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





___

Bacula-users mailing list

Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] aix binary?

2018-04-05 Thread Mike Eggleston
Kern,

I’m still working on building AIX FD binaries. Do you know when you were 
building by hand, or now on the automated system, is gcc used or the native 
IBM/AIX compiler (xlC)?

Thanks,
Mike

From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Tuesday, April 03, 2018 1:34 PM
To: Mike Eggleston <mike.eggles...@firstcash.com>; 
Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] aix binary?


I have not build the AIX version for about 5 years.  Bacula Systems does it.  I 
am not convinced that it will build without libtool, so you might try removing 
the --with-libtool=no.  Though it should not make any difference, I would not 
use --without-smartalloc because we only build with smartalloc turned on.

Good luck,

Kern

On 04/02/2018 07:02 PM, Mike Eggleston wrote:
Kern,

I don’t mind building it (and have built lots of stuff over the decades). Here 
is my PATH and the command line I’m using. What are you using?

export 
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/meggle1/bin:/usr/bin/X11:/sbin:/usr/vacpp/bin

./configure --without-TLS --disable-TLS --without-tls --disable-tls 
--without-ssl --disable-ssl --without-crypto --disable-crypto --disable-ipv6 
--disable-lzo --disable-nls --disable-NLS --disable-readline 
--disable-smartalloc --enable-client-only --with-libtool=no --without-mysql 
--without-smartalloc

Thanks,
Mike

From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Sunday, April 01, 2018 2:28 AM
To: Mike Eggleston 
<mike.eggles...@firstcash.com><mailto:mike.eggles...@firstcash.com>; 
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
Subject: Re: [Bacula-users] aix binary?


Hello,

If no one has one and you are unable to build it (actually rather easy -- build 
it directly on AIX but non-static), you can get one from Bacula Systems, but 
you will need a subscription.

Though binary packages are built for the community (thanks to Bacula Systems), 
they are not yet released (waiting for me to do the documentation), so some 
time in the future there is a possibility that we could have community binaries 
for AIX.

Best regards,

Kern

On 03/06/2018 10:04 PM, Mike Eggleston wrote:
Does anyone have a static bacula-fd for AIX they could send me?

Thanks,
Mike






--

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot





___

Bacula-users mailing list

Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] aix binary?

2018-04-02 Thread Mike Eggleston
Kern,

I don’t mind building it (and have built lots of stuff over the decades). Here 
is my PATH and the command line I’m using. What are you using?

export 
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/meggle1/bin:/usr/bin/X11:/sbin:/usr/vacpp/bin

./configure --without-TLS --disable-TLS --without-tls --disable-tls 
--without-ssl --disable-ssl --without-crypto --disable-crypto --disable-ipv6 
--disable-lzo --disable-nls --disable-NLS --disable-readline 
--disable-smartalloc --enable-client-only --with-libtool=no --without-mysql 
--without-smartalloc

Thanks,
Mike

From: Kern Sibbald [mailto:k...@sibbald.com]
Sent: Sunday, April 01, 2018 2:28 AM
To: Mike Eggleston <mike.eggles...@firstcash.com>; 
Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] aix binary?


Hello,

If no one has one and you are unable to build it (actually rather easy -- build 
it directly on AIX but non-static), you can get one from Bacula Systems, but 
you will need a subscription.

Though binary packages are built for the community (thanks to Bacula Systems), 
they are not yet released (waiting for me to do the documentation), so some 
time in the future there is a possibility that we could have community binaries 
for AIX.

Best regards,

Kern

On 03/06/2018 10:04 PM, Mike Eggleston wrote:
Does anyone have a static bacula-fd for AIX they could send me?

Thanks,
Mike





--

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




___

Bacula-users mailing list

Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] aix binary?

2018-04-02 Thread Mike Eggleston
My output from that configuration is:

hosback:meggle1:/tmp/bacula/src/bacula-9.0.6> make
==>Entering directory /tmp/bacula/src/bacula-9.0.6/src
Target "all" is up to date.
==>Entering directory /tmp/bacula/src/bacula-9.0.6/scripts
Target "all" is up to date.
==>Entering directory /tmp/bacula/src/bacula-9.0.6/src/lib
Compiling attr.c
/usr/vacpp/bin/xlC_r: 1501-291 (I) Utilization tracking message: Message with 
component 6 and id 27 not found in catalog vacumsg.cat
"../baconfig.h", line 500.1: 1506-166 (S) Definition of function class requires 
parentheses.
"../baconfig.h", line 500.7: 1506-276 (S) Syntax error: possible missing '{'?
"../baconfig.h", line 636.46: 1506-045 (S) Undeclared identifier ch.
"../baconfig.h", line 638.20: 1506-343 (S) Redeclaration of 
first_path_separator differs from previous declaration on line 637 of 
"../baconfig.h".
"../baconfig.h", line 638.20: 1506-050 (I) Return type "const char*" in 
redeclaration is not compatible with the previous return type "char*".
"../baconfig.h", line 722.15: 1506-166 (S) Definition of function bool requires 
parentheses.
"../baconfig.h", line 722.15: 1506-691 (W) The inline keyword can only be 
applied to functions.
"../baconfig.h", line 722.20: 1506-276 (S) Syntax error: possible missing '{'?
"../lib/smartall.h", line 81.33: 1506-277 (S) Syntax error: possible missing 
')' or ','?
"../lib/smartall.h", line 151.1: 1506-166 (S) Definition of function class 
requires parentheses.
"../lib/smartall.h", line 151.7: 1506-275 (S) Unexpected text SMARTALLOC 
encountered.
"../lib/smartall.h", line 154.7: 1506-275 (S) Unexpected text 'void' 
encountered.
"../lib/smartall.h", line 154.13: 1506-045 (S) Undeclared identifier operator.
"../lib/smartall.h", line 154.22: 1506-277 (S) Syntax error: possible missing 
';' or ','?
"../lib/smartall.h", line 155.20: 1506-045 (S) Undeclared identifier s.
"../lib/smartall.h", line 159.22: 1506-276 (S) Syntax error: possible missing 
'{'?
"../lib/smartall.h", line 164.13: 1506-160 (S) Object operator cannot be 
declared as type void.
"../lib/smartall.h", line 164.22: 1506-276 (S) Syntax error: possible missing 
'{'?
"../lib/smartall.h", line 165.16: 1506-045 (S) Undeclared identifier ptr.
"../lib/smartall.h", line 167.13: 1506-160 (S) Object operator cannot be 
declared as type void.
"../lib/smartall.h", line 167.22: 1506-276 (S) Syntax error: possible missing 
'{'?
"../lib/smartall.h", line 168.16: 1506-045 (S) Undeclared identifier ptr.
"../lib/lockmgr.h", line 281.1: 1506-166 (S) Definition of function class 
requires parentheses.
"../lib/lockmgr.h", line 281.7: 1506-275 (S) Unexpected text lock_guard 
encountered.
"../lib/lockmgr.h", line 285.20: 1506-276 (S) Syntax error: possible missing 
':'?
"../lib/lockmgr.h", line 287.58: 1506-045 (S) Undeclared identifier mutex.
"../lib/lockmgr.h", line 289.7: 1506-280 (W) Function argument assignment 
between types "struct {...}*" and "int(*)()" is not allowed.
"../lib/lockmgr.h", line 293.4: 1506-277 (S) Syntax error: possible missing ';' 
or ','?
"../lib/lockmgr.h", line 294.7: 1506-280 (W) Function argument assignment 
between types "struct {...}*" and "int(*)()" is not allowed.
"../lib/alist.h", line 24.8: 1506-166 (S) Definition of function bool requires 
parentheses.
"../lib/alist.h", line 24.13: 1506-276 (S) Syntax error: possible missing '{'?
"../lib/alist.h", line 56.3: 1506-045 (S) Undeclared identifier owned_by_alist.
"../lib/alist.h", line 56.20: 1506-045 (S) Undeclared identifier true.
"../lib/alist.h", line 57.3: 1506-045 (S) Undeclared identifier 
not_owned_by_alist.
"../lib/alist.h", line 57.24: 1506-045 (S) Undeclared identifier false.
"../lib/alist.h", line 58.1: 1506-277 (S) Syntax error: possible missing ';' or 
','?
"../lib/alist.h", line 65.1: 1506-166 (S) Definition of function class requires 
parentheses.
"../lib/alist.h", line 67.11: 1506-045 (S) Undeclared identifier items.
"../lib/alist.h", line 73.9: 1506-275 (S) Unexpected text own_items encountered.
"../lib/alist.h", line 73.4: 1506-045 (S) Undeclared identifier bool.
"../lib/alist.h", line 77.13: 1506-275 (S) Unexpected text 'int' encountered.
"../lib/alist.h", line 77.17: 1506-045 (S) Undeclared identifier num.
"../lib/alist.h", line 77.33: 1506-276 (S) Syntax error: possible missing ')'?
"../lib/mem_pool.h", line 96.30: 1506-041 (E) The invocation of macro strcpy 
contains fewer arguments than are required by the macro definition.
"../lib/mem_pool.h",

[Bacula-users] what's this command?

2018-03-19 Thread Mike Eggleston
In bconsole there was a command where I could see a list of upcoming jobs (like 
a list of the jobs that should be started tonight). The closest I've been able 
to find is five jobs output form the command "status dir". Am I remembering 
wrong that this command was there (a few years ago)? I want to see all my jobs 
that will start tonight, their priorities, etc.

Thanks,
Mike

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: segmentation violation

2018-02-28 Thread Mike Eggleston
I’m trying to find a similar issue. I’m on AIX 7.1. I have built Bacula 9.0.6 
from source, fd only, non-static. I’m using gcc rather than xlC. Here’s what I 
have:

root:/opt/bacula/sbin> /opt/bacula/sbin/bacula-fd -f -c 
/opt/bacula/etc/bacula-fd.conf
Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-fd, bacula-fd got signal 11 - Segmentation violation at 
28-Feb-2018 09:47:31. Attempting traceback.
Kaboom! exepath=/opt/bacula/sbin/
Calling: /opt/bacula/sbin/btraceback /opt/bacula/sbin/bacula-fd 13959390 
/tmp//bacula.13959390.traceback
A file or directory in the path name does not exist.
/opt/bacula/sbin/btraceback[60]: 
/tmp//bacula.13959390.traceback/bacula.13959390.traceback: 0403-005 Cannot 
create the specified file.
cat: 0652-050 Cannot open 
/tmp//bacula.13959390.traceback/bacula.13959390.traceback.
/opt/bacula/sbin/btraceback[63]: /opt/bacula/sbin/bsmtp:  not found.
The btraceback call returned 127
LockDump: /tmp//bacula.13959390.traceback/bacula.13959390.traceback
bacula-fd: lockmgr.c:1179-0 lockmgr disabled
Attempt to dump current JCRs. njcrs=0
List plugins. Hook count=0
bacula-fd: bsys.c:777-0 Could not create state file. /bacula-fd.0.state 
ERR=No such file or directory
bacula-fd: ERROR in bsys.c:778 Could not create state file. 
/bacula-fd.0.state ERR=No such file or directory
28-Feb 09:47 bacula-fd: ERROR in bsys.c:778 Could not create state file. 
/bacula-fd.0.state ERR=No such file or directory

My bacula-fd.conf is:
root:/opt/bacula/sbin> cat ../etc/bacula-fd.conf
#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 9.0.6 (20 November 2017) -- redhat (Core)
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# Copyright (C) 2000-2015 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = dvlnx107-dir
  Password = "PASSWORD"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = dvlnx107-mon
  Password = "PASSWORD"
  Monitor = yes
}

#
# "Global" File daemon configuration specifications
#
FileDaemon {  # this is me
  Name = praix009-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /opt/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
  Plugin Directory = /usr/lib64
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  #director = dvlnx107-dir = all, !skipped, !restored
  director = dvlnx107-dir = all
}

I have to do a kill -9 to get my console back. This is happening when starting 
fd. This is not happening when starting a backup from bconsole (I don’t even 
get that far). There is not an open socket when this goes on (netstat –a –n).

How to fix?

Thanks,
Mike

From: Talile Gamtesa [mailto:tgamt...@gmail.com]
Sent: Wednesday, February 28, 2018 7:35 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Fwd: segmentation violation


-- Forwarded message --
From: Talile Gamtesa >
Date: Mon, Feb 26, 2018 at 2:54 PM
Subject: segmentation violation
To: bacula-us...@nospam.com

Dear list,

I installed bacula 9.0.6 (also tried with 7) from source on aix 7.2 as client 
only. But it doesn't it start and
./bacula-fd -tc  bacula-fd.conf -f -d 400

gives me:

Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-fd, bacula-fd got signal 11 - Segmentation violation
Please help
[https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]


--
Talile M. Gamtesa
Tel +251922863497
BSc in Electrical Engineering




--
Talile M. Gamtesa
Tel +251922863497
BSc in Electrical Engineering

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: segmentation violation

2018-02-28 Thread Mike Eggleston
I run make after configuring with:

./configure --enable-client-only --with-dump-email=bacula@localhost 
--with-job-email=bacula@localhost --prefix=/opt/bacula

This time I started bacula-fd in gdb and got:

root:/opt/bacula/etc> gdb ../sbin/bacula-fd
GNU gdb (GDB) 7.9.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc64-ibm-aix6.1.2.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../sbin/bacula-fd...done.
(gdb) run -d 2000 -f -u root -g system -c bacula-fd.conf
Starting program: /opt/bacula/sbin/bacula-fd -d 2000 -f -u root -g system -c 
bacula-fd.conf
[New Thread 1]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1]
0xd6a159a0 in sm_get_pool_memory () from 
/opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
(gdb) where
#0  0xd6a159a0 in sm_get_pool_memory () from 
/opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
#1  0xd6a1d6b8 in CONFIG::CONFIG () from 
/opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
#2  0x1820 in main (argc=0, argv=0x2ff22ca0) at filed.c:214
warning: (Internal error: pc 0x11bb in read in psymtab, but not in symtab.)

warning: (Internal error: pc 0x11bc in read in psymtab, but not in symtab.)

(gdb)

Thanks,
Mike

From: Talile Gamtesa [mailto:tgamt...@gmail.com]
Sent: Wednesday, February 28, 2018 7:35 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Fwd: segmentation violation


-- Forwarded message --
From: Talile Gamtesa >
Date: Mon, Feb 26, 2018 at 2:54 PM
Subject: segmentation violation
To: bacula-us...@nospam.com

Dear list,

I installed bacula 9.0.6 (also tried with 7) from source on aix 7.2 as client 
only. But it doesn't it start and
./bacula-fd -tc  bacula-fd.conf -f -d 400

gives me:

Bacula interrupted by signal 11: Segmentation violation
Kaboom! bacula-fd, bacula-fd got signal 11 - Segmentation violation
Please help
[Image removed by sender.]


--
Talile M. Gamtesa
Tel +251922863497
BSc in Electrical Engineering




--
Talile M. Gamtesa
Tel +251922863497
BSc in Electrical Engineering

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: segmentation violation

2018-03-01 Thread Mike Eggleston
Dbx isn't on the test AIX box. :(

Thanks,
Mike

-Original Message-
From: Martin Simmons [mailto:mar...@lispworks.com] 
Sent: Thursday, March 01, 2018 9:03 AM
To: Mike Eggleston <mike.eggles...@firstcash.com>
Cc: tgamt...@gmail.com; Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Fwd: segmentation violation

If gdb is hanging then you could try dbx (not sure if that can decode gcc's 
debug info though).

__Martin

>>>>> On Thu, 1 Mar 2018 14:10:55 +, Mike Eggleston said:
> 
> The backtrace would really help me trying to diagnose the issue. I'm 
> trying to get a backtrace, but things hang. I've resorted to adding 
> printf()s to the code to see what's happening... :(
> 
> Thanks,
> Mike
> 
> -Original Message-
> From: Martin Simmons [mailto:mar...@lispworks.com]
> Sent: Thursday, March 01, 2018 7:29 AM
> To: Mike Eggleston <mike.eggles...@firstcash.com>
> Cc: tgamt...@gmail.com; Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Fwd: segmentation violation
> 
> It might help if you can get a backtrace with debug info in the executable 
> and libs.
> 
> Can you run from the build directory rather than the install directory?  You 
> might also need to configure and build with CFLAGS="-g -O0".
> 
> __Martin
> 
> 
> 
>>>>> On Wed, 28 Feb 2018 17:11:12 +, Mike Eggleston said:
> > 
> > I run make after configuring with:
> > 
> > ./configure --enable-client-only --with-dump-email=bacula@localhost
> > --with-job-email=bacula@localhost --prefix=/opt/bacula
> > 
> > This time I started bacula-fd in gdb and got:
> > 
> > root:/opt/bacula/etc> gdb ../sbin/bacula-fd GNU gdb (GDB) 7.9.1 
> > Copyright (C) 2015 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later 
> > <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "powerpc64-ibm-aix6.1.2.0".
> > Type "show configuration" for configuration details.
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>.
> > Find the GDB manual and other documentation resources online at:
> > <http://www.gnu.org/software/gdb/documentation/>.
> > For help, type "help".
> > Type "apropos word" to search for commands related to "word"...
> > Reading symbols from ../sbin/bacula-fd...done.
> > (gdb) run -d 2000 -f -u root -g system -c bacula-fd.conf Starting
> > program: /opt/bacula/sbin/bacula-fd -d 2000 -f -u root -g system -c 
> > bacula-fd.conf [New Thread 1]
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread 1]
> > 0xd6a159a0 in sm_get_pool_memory () from
> > /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
> > (gdb) where
> > #0  0xd6a159a0 in sm_get_pool_memory () from
> > /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
> > #1  0xd6a1d6b8 in CONFIG::CONFIG () from
> > /opt/bacula/lib/libbaccfg.a(libbaccfg-9.0.6.so)
> > #2  0x1820 in main (argc=0, argv=0x2ff22ca0) at filed.c:214
> > warning: (Internal error: pc 0x11bb in read in psymtab, but not 
> > in
> > symtab.)
> > 
> > warning: (Internal error: pc 0x11bc in read in psymtab, but not 
> > in
> > symtab.)
> > 
> > (gdb)
> > 
> > Thanks,
> > Mike
> > 
> > From: Talile Gamtesa [mailto:tgamt...@gmail.com]
> > Sent: Wednesday, February 28, 2018 7:35 AM
> > To: Bacula-users@lists.sourceforge.net
> > Subject: [Bacula-users] Fwd: segmentation violation
> > 
> > 
> > -- Forwarded message --
> > From: Talile Gamtesa <tgamt...@gmail.com<mailto:tgamt...@gmail.com>>
> > Date: Mon, Feb 26, 2018 at 2:54 PM
> > Subject: segmentation violation
> > To: bacula-us...@nospam.com<mailto:bacula-us...@nospam.com>
> > 
> > Dear list,
> > 
> > I installed bacula 9.0.6 (also tried with 7) from source on aix 7.2 
> > as client only. But it doesn't it start and ./bacula-fd -tc 
> > bacula-fd.conf -f -d 400
> > 
> > gives me:
> > 
> > Bacula interrupted by signal 11: Segmentation violation Kaboom! 
> > bacula-fd, bacula-fd got signal 11 - Segmentation violation Please 
> > help [Image removed by sender.]
> > 
> > 
> > --
> > Talile M. Gamtesa
> > Tel +251922863497<tel:092%20286%203497>
> > BSc in Electrical Engineering
> > 
> > 
> > 
> > 
> > --
> > Talile M. Gamtesa
> > Tel +251922863497
> > BSc in Electrical Engineering
> 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Should be a simple solution...

2020-02-13 Thread Mike Eggleston
Thank you, Philippe. I meant "status dir". No "messages" output this morning. :(

Thanks,
Mike

From: Philippe Chauvat 
Sent: Thursday, February 13, 2020 2:04 AM
To: Mike Eggleston ; 
Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Should be a simple solution...


Hi Mike,

I think what you're looking for is 'status dir' not 'show dir'.

Cheers

Philippe
Le 12/02/2020 à 22:34, Mike Eggleston a écrit :
I've used Bacula before and am now setting it up for my (different) employer.
The server is on CentOS 7 and Bacula is compiled and working.
When I do a "show dir" I get "no scheduled jobs", but the Schedule definitions 
say "Enabled = yes".
What am I missing?

Thanks,
Mike





___

Bacula-users mailing list

Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/bacula-users<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fbacula-users=02%7C01%7Cmike.eggleston%40firstcash.com%7Ceab0f9f384b349a2c29508d7b05b5912%7C39d7f83a1713407c8a6b8169e5f65393%7C1%7C0%7C637171778707108221=cXOHJOqFutkUCFj2aA%2F9o0jOmcm8QPL%2F9%2BMAfPO%2F5Ts%3D=0>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] fileset utility?

2020-02-06 Thread Mike Eggleston
Is there a program that will read File Set stanzas and get a listing of the 
files on a client and print what is included and excluded before backing up so 
that tweaking of the file set can happen?

Thanks,
Mike Eggleston

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] fileset utility?

2020-02-06 Thread Mike Eggleston
I forgot about “estimate”. Thanks. Its been six years since I’ve used Bacula.

Thanks,
Mike

From: Russell Kackley 
Sent: Thursday, February 06, 2020 2:46 PM
To: Mike Eggleston 
Cc: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] fileset utility?

Take a look at the "estimate" command in the Bacula bconsole program. When used 
with the "listing" argument, all the files to be backed up will be listed.

https://www.bacula.org/9.4.x-manuals/en/console/Bacula_Console.html#SECTION0025<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.bacula.org%2F9.4.x-manuals%2Fen%2Fconsole%2FBacula_Console.html%23SECTION0025=02%7C01%7Cmike.eggleston%40firstcash.com%7Cdbb8b39f9e054217b8f508d7ab45905e%7C39d7f83a1713407c8a6b8169e5f65393%7C1%7C0%7C637166187600619153=pSqofsvzpytPcq6okWIiNXscjl9hXD%2F%2F787Clm7aXWQ%3D=0>


On Thu, Feb 6, 2020 at 10:37 AM Mike Eggleston 
mailto:mike.eggles...@firstcash.com>> wrote:
Is there a program that will read File Set stanzas and get a listing of the 
files on a client and print what is included and excluded before backing up so 
that tweaking of the file set can happen?

Thanks,
Mike Eggleston

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fbacula-users=02%7C01%7Cmike.eggleston%40firstcash.com%7Cdbb8b39f9e054217b8f508d7ab45905e%7C39d7f83a1713407c8a6b8169e5f65393%7C1%7C0%7C637166187600629149=VY9FVsqRh9cSsUels4GCWc24nMMBlH%2FdWAn7s04WGGg%3D=0>


--
Russell Kackley
Subaru Telescope
Hilo, Hawaii
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Should be a simple solution...

2020-02-12 Thread Mike Eggleston
I've used Bacula before and am now setting it up for my (different) employer.
The server is on CentOS 7 and Bacula is compiled and working.
When I do a "show dir" I get "no scheduled jobs", but the Schedule definitions 
say "Enabled = yes".
What am I missing?

Thanks,
Mike

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users