Re: [Bacula-users] dump my configuration?

2011-02-01 Thread Bill Arlofski
On 02/01/11 09:54, Kjetil Torgrim Homme wrote:
> hymie!  writes:
> 
>> Kjetil Torgrim Homme writes:
>>> you specified "Recycle", so Bacula will reuse old volumes.
>>
>> Thank you!  I thought "Maximum Volume Jobs = 1" would prevent that,
>> but once the job is purged, then there are no jobs in that volume, so
>> it becomes fair game.
> 
> BTW, this is one of those properties which is only set upon creation.
> you need to fix this in the database for existing volumes.  not sure
> if/how to do it in bconsole, I usually use the sledgehammer of direct
> SQL access :-)
> 
> UPDATE Media SET recycle = 0;
> 
> (no WHERE clause needed, you want this on all your media, right)
> 

That's gonna get someone in trouble one day :)


Using the bconsole method:

First, test config files after modifying a Pool definition:

# bacula-dir -t /etc/bacula-dir.conf

(no output = no problems)


Then in bocnsole:

* reload
 (re-reads/reloads its config file)

* update
Update choice:
 1: Volume parameters
 2: Pool from resource
 3: Slots from autochanger
 4: Long term statistics
Choose catalog item to update (1-4): 2 <--- Choose 2

The defined Pool resources are:
 1: Scratch
 2: Default
 3: FileTapes
 4: Offsite-eSATA
 5: VXA-1
Select Pool resource (1-5): 3 <--- The Pool that was modified

Those steps make sure that new volumes created in the "FileTapes" pool will
get the settings in the bacula-dir.conf file


Then, still in bconsole:

* update
Update choice:
 1: Volume parameters
 2: Pool from resource
 3: Slots from autochanger
 4: Long term statistics
Choose catalog item to update (1-4): 1 <--- Modifying current volumes

Parameters to modify:
 1: Volume Status
 2: Volume Retention Period
 3: Volume Use Duration
 4: Maximum Volume Jobs
 5: Maximum Volume Files
 6: Maximum Volume Bytes
 7: Recycle Flag
 8: Slot
 9: InChanger Flag
10: Volume Files
11: Pool
12: Volume from Pool
13: All Volumes from Pool
14: All Volumes from all Pools
15: Enabled
16: RecyclePool
17: Action On Purge
18: Done
Select parameter to modify (1-18): 13 <--- (or 14 to skip next step)

The defined Pool resources are:
 1: Scratch
 2: Default
 3: FileTapes
 4: Offsite-eSATA
 5: VXA-1
Select Pool resource (1-5): 3 <-- The Pool that was previously modified


I know, a few more steps, but in the end nobody had their hands in your Bacula
db. :)

-- 
Bill Arlofski
Reverse Polarity, LLC
http://www.revpol.com/

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-02-01 Thread Kjetil Torgrim Homme
hymie!  writes:

> Kjetil Torgrim Homme writes:
>>you specified "Recycle", so Bacula will reuse old volumes.
>
> Thank you!  I thought "Maximum Volume Jobs = 1" would prevent that,
> but once the job is purged, then there are no jobs in that volume, so
> it becomes fair game.

BTW, this is one of those properties which is only set upon creation.
you need to fix this in the database for existing volumes.  not sure
if/how to do it in bconsole, I usually use the sledgehammer of direct
SQL access :-)

UPDATE Media SET recycle = 0;

(no WHERE clause needed, you want this on all your media, right)

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-02-01 Thread hymie!

Kjetil Torgrim Homme writes:
>hymie!  writes:
>> GreatPlains-Backup job:
>> (*) did not name the Volume correctly
>> GreatPlains-Backup.2011-01-29_23.05.00_08
>> instead of
>> GreatPlains-Backup.2011-01-29_23.05.00_08-Full

>I can't explain this (I don't use this kind of Label Format myself).  I
>don't recommend doing it this way, since Bacula will *never* delete old
>files.  check out "Action On Purge = truncate", though, it helps somewhat.

My home installation of Bacula uses generic Vol0001 - Vol0200.  That has
the added benefit that my backups should never outgrow the disk.  My boss
prefers this method; not sure exactly why.  I will look into the
AOP.  Thanks for the tip.

>> (*) failed to automatically create the Volume that it needed.
>> I had to go into the bacula-console and label a volume, after which
>> it immediately began processing the backup.

>you need to specify "Label Media = yes" in bacula-sd.conf.

It is:

Device {
  Name = FileStorage
  Device Type = File
  Media Type = File
  Archive Device = /storage
  LabelMedia = yes;   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
}

That was part of my original confusion -- 5 other backups all auto-
labeled the volumes, but this one was stuck.

But it worked last night, so either it was "just a thing," or it's a
full-vs-incremental issue, or I somehow fixed it and don't know what I did.

>> Further, the "BackupCatalog" job appears to be using the names of random
>> jobs for its volumes, rather than its own name:
>
>you specified "Recycle", so Bacula will reuse old volumes.

Thank you!  I thought "Maximum Volume Jobs = 1" would prevent that,
but once the job is purged, then there are no jobs in that volume, so it
becomes fair game.

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net
---

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-02-01 Thread Kjetil Torgrim Homme
hymie!  writes:

> JobDefs {
>   Name = "DefaultJob"
>   Pool = IncPool
>   Full Backup Pool = FPool
>   Differential Backup Pool = DiffPool
>   Incremental Backup Pool = IncPool
> }
>
> Job {
>   Name = "GreatPlains-Backup"
>   JobDefs = "DefaultJob"
> }
>
> Job {
>   Name = "BackupCatalog"
>   JobDefs = "DefaultJob"
> }
>
> Pool {
>   Name = FPool
>   Pool Type = Backup
>   Recycle = yes   # Bacula can automatically recycle Volumes
>   Maximum Volume Jobs = 1
>   AutoPrune = yes # Prune expired volumes
>   Volume Retention = 90 days  # one year
>   Label Format = "${JobName}-${Level}"  
> }

> What it is doing that is weird:
>
> There are 6 other backup jobs in addition to the GreatPlains-Backup job
> listed above.  The other backups all work correctly.  However, the
> GreatPlains-Backup job:
> (*) did not name the Volume correctly
> GreatPlains-Backup.2011-01-29_23.05.00_08
> instead of
> GreatPlains-Backup.2011-01-29_23.05.00_08-Full

I can't explain this (I don't use this kind of Label Format myself).  I
don't recommend doing it this way, since Bacula will *never* delete old
files.  check out "Action On Purge = truncate", though, it helps somewhat.

> (*) failed to automatically create the Volume that it needed.
> I had to go into the bacula-console and label a volume, after which
> it immediately began processing the backup.

you need to specify "Label Media = yes" in bacula-sd.conf.  see
Automatic Volume Management here:

  http://www.bacula.org/5.0.x-manuals/en/main/main/Basic_Volume_Management.html

("reload" in bconsole only rereads bacula-dir.conf -- you need to
restart bacula-sd to pick up changes.)

> Further, the "BackupCatalog" job appears to be using the names of random
> jobs for its volumes, rather than its own name:
> GreatPlains-Backup.2011-01-29_23.05.00_08-Full
> Files-Backup.2011-01-29_23.05.00_07-Full
> instead of
> BackupCatalog.2011-01-30_18.52.19_06-Full

you specified "Recycle", so Bacula will reuse old volumes.  all the
volumes are in the same pool, and therefore they are regarded
interchangable regardless of their name.  the name is just a random
sequence of characters as far as Bacula is concerned.

-- 
Kjetil T. Homme
Redpill Linpro AS - Changing the game


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-02-01 Thread Martin Simmons
> On Mon, 31 Jan 2011 12:20:09 -0500, John Drescher said:
> 
> BTW, there is no way to dump the current config like some other *nix
> applications allow.

The show command prints parts of the current config, though not in config
format.

__Martin

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread John Drescher
On Mon, Jan 31, 2011 at 12:03 PM, hymie!  wrote:
>
> Graham Keeling writes:
>>On Mon, Jan 31, 2011 at 10:32:32AM -0500, hymie! wrote:
>>> GreatPlains-Backup job:
>>> (*) did not name the Volume correctly
>>> GreatPlains-Backup.2011-01-29_23.05.00_08
>>> instead of
>>> GreatPlains-Backup.2011-01-29_23.05.00_08-Full
>
>>So, my suggestion is to try looking at the output of this sql command:
>>
>>select PoolId, Name, LabelFormat from Pool;
>
> Sadly, it looks correct.
>
> mysql> select PoolId, Name, LabelFormat from Pool;
> ++--+-+
> | PoolId | Name         | LabelFormat         |
> ++--+-+
> |      1 | Default      | *                   |
> |      2 | File         | *                   |
> |      3 | Scratch      | *                   |
> |      4 | Trixbox-full | ${JobName}-${Level} |
> |      5 | Trixbox-diff | ${JobName}-${Level} |
> |      6 | Trixbox-inc  | ${JobName}-${Level} |
> |      7 | FPool        | ${JobName}-${Level} |
> |      8 | DiffPool     | ${JobName}-${Level} |
> |      9 | IncPool      | ${JobName}-${Level} |
> ++--+-+
>

BTW, there is no way to dump the current config like some other *nix
applications allow.

Anyways can you post parts of logs or messages showing bacula misbehaving?

And are you using bacula 5.0.3? Any older version is not recommended.

John

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread hymie!

Graham Keeling writes:
>On Mon, Jan 31, 2011 at 10:32:32AM -0500, hymie! wrote:
>> GreatPlains-Backup job:
>> (*) did not name the Volume correctly
>> GreatPlains-Backup.2011-01-29_23.05.00_08
>> instead of
>> GreatPlains-Backup.2011-01-29_23.05.00_08-Full

>So, my suggestion is to try looking at the output of this sql command:
>
>select PoolId, Name, LabelFormat from Pool;

Sadly, it looks correct.

mysql> select PoolId, Name, LabelFormat from Pool;
++--+-+
| PoolId | Name | LabelFormat |
++--+-+
|  1 | Default  | *   |
|  2 | File | *   |
|  3 | Scratch  | *   |
|  4 | Trixbox-full | ${JobName}-${Level} |
|  5 | Trixbox-diff | ${JobName}-${Level} |
|  6 | Trixbox-inc  | ${JobName}-${Level} |
|  7 | FPool| ${JobName}-${Level} |
|  8 | DiffPool | ${JobName}-${Level} |
|  9 | IncPool  | ${JobName}-${Level} |
++--+-+

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread Graham Keeling
On Mon, Jan 31, 2011 at 10:32:32AM -0500, hymie! wrote:
> What it is doing that is weird:
> 
> There are 6 other backup jobs in addition to the GreatPlains-Backup job
> listed above.  The other backups all work correctly.  However, the
> GreatPlains-Backup job:
> (*) did not name the Volume correctly
> GreatPlains-Backup.2011-01-29_23.05.00_08
> instead of
> GreatPlains-Backup.2011-01-29_23.05.00_08-Full

I have a suggestion for this first problem.

As I said earlier, if you change your configuration file and reload/restart,
bacula doesn't update the mysql database without further intervention.
This may be the case for your labels.

So, my suggestion is to try looking at the output of this sql command:

select PoolId, Name, LabelFormat from Pool;

If the output doesn't match what is in your configuration, you might need
to run 'update somethingorother' from bconsole.


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread hymie!

John Drescher writes:
>> /usr/sbin/bacula-dir -t shows no errors, so I need something more.
>
>Then there is no errors in the config file.
>
>/etc/bacula/bacula-dir.conf
>
>look at this. And also explain exactly what it is doing that you do
>not think it should be doing along with posting this file.

Hi, John.

At this point, I am not in a position to post my entire bacula-dir.conf
file.  When my boss returns from sick leave, perhaps he will change his
mind.

I do, however, have these snippets from the file.  I hope that's enough
at this time.

=== 8< === 8< ===
JobDefs {
  Name = "DefaultJob"
  Enabled = yes
  Type = Backup
  Level = Incremental
  Client = BackupServer-fd
  FileSet = "Unix Fileset"
  Schedule = "SecondWeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = IncPool
  Full Backup Pool = FPool
  Differential Backup Pool = DiffPool
  Incremental Backup Pool = IncPool
  Priority = 10
}

Job {
  Name = "GreatPlains-Backup"
  Client = GreatPlains-fd
  JobDefs = "DefaultJob"
  FileSet = "GP Set"
  Write Bootstrap = "/var/lib/bacula/GreatPlainsBackup.bsr"
}

Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  # WARNING!
  # Ubuntu uses make_catalog_backup_awk script for
  # security reasons
  # Replace  with the real Catalog name
  RunBeforeJob = "/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk 
-v cat1=MyCatalog /etc/bacula/bacula-dir.conf"
  # This deletes the copy of the catalog
  RunAfterJob  = "/etc/bacula/scripts/delete_catalog_backup"
  Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

Pool {
  Name = FPool
  Pool Type = Backup
  Recycle = yes   # Bacula can automatically recycle Volumes
  Maximum Volume Jobs = 1
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 90 days # one year
  Label Format = "${JobName}-${Level}"  
}

FileSet {
  Name = "GP Set"
  Enable VSS = yes
  Include {
Options {
  signature = MD5
  compression = GZIP
}
File="C:/"
File="D:/"
}
}

=== 8< === 8< ===

What it is doing that is weird:

There are 6 other backup jobs in addition to the GreatPlains-Backup job
listed above.  The other backups all work correctly.  However, the
GreatPlains-Backup job:
(*) did not name the Volume correctly
GreatPlains-Backup.2011-01-29_23.05.00_08
instead of
GreatPlains-Backup.2011-01-29_23.05.00_08-Full

(*) failed to automatically create the Volume that it needed.
I had to go into the bacula-console and label a volume, after which
it immediately began processing the backup.

Further, the "BackupCatalog" job appears to be using the names of random
jobs for its volumes, rather than its own name:
GreatPlains-Backup.2011-01-29_23.05.00_08-Full
Files-Backup.2011-01-29_23.05.00_07-Full
instead of
BackupCatalog.2011-01-30_18.52.19_06-Full

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread John Drescher
On Mon, Jan 31, 2011 at 9:26 AM, hymie!  wrote:
>
> John Drescher writes:
>>On Sun, Jan 30, 2011 at 12:59 PM, hymie!  wrot=
>>e:
>>>
>>> Short question -- can a running Bacula Console dump out what it thinks
>>> my configuration is?
>
>>I am confused at the question. I mean you should have edited the
>>configuration. And it is a simple text file. If you do not know what
>>it is how on earth did you setup bacula?
>
> Since you bring it up, it was set up by a former co-worker.  It apparantly
> worked for a while, stopped in December 2009, and now I have to get it
> running again.  So no, I didn't edit the configuration.
>
> I currently have 3 instances of Bacula running on various machines /
> network / locations.  I set one of them up myself and it is working
> correctly.  The other 2 I inherited from a former co-worker; 1 works fine,
> the other is acting just a little strange.  I'm guessing the most likely
> reason is that there is a mistake in the config file, perhaps a missing
> equal sign or mismatched curly-brackets.  I've checked the config
> file and it looks fine to me, but it wouldn't be the first time I couldn't
> find my own mistake.
>
> /usr/sbin/bacula-dir -t shows no errors, so I need something more.
>

Then there is no errors in the config file.

> So if Bacula can tell me, in full excruciating detail, "This is how I think
> the GP01-Backup job is configured" then I can compare it to how I wanted
> the backup to be configured, and hopefully find and fix the mistake.
>

The main config file is

/etc/bacula/bacula-dir.conf

look at this. And also explain exactly what it is doing that you do
not think it should be doing along with posting this file.

John

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread John Drescher
On Mon, Jan 31, 2011 at 9:48 AM, John Drescher  wrote:
> On Mon, Jan 31, 2011 at 9:26 AM, hymie!  wrote:
>>
>> John Drescher writes:
>>>On Sun, Jan 30, 2011 at 12:59 PM, hymie!  wrot=
>>>e:

 Short question -- can a running Bacula Console dump out what it thinks
 my configuration is?
>>
>>>I am confused at the question. I mean you should have edited the
>>>configuration. And it is a simple text file. If you do not know what
>>>it is how on earth did you setup bacula?
>>
>> Since you bring it up, it was set up by a former co-worker.  It apparantly
>> worked for a while, stopped in December 2009, and now I have to get it
>> running again.  So no, I didn't edit the configuration.
>>
>> I currently have 3 instances of Bacula running on various machines /
>> network / locations.  I set one of them up myself and it is working
>> correctly.  The other 2 I inherited from a former co-worker; 1 works fine,
>> the other is acting just a little strange.  I'm guessing the most likely
>> reason is that there is a mistake in the config file, perhaps a missing
>> equal sign or mismatched curly-brackets.  I've checked the config
>> file and it looks fine to me, but it wouldn't be the first time I couldn't
>> find my own mistake.
>>
>> /usr/sbin/bacula-dir -t shows no errors, so I need something more.
>>
>
> Then there is no errors in the config file.
>
Did you make changes in the config file but did not restart bacula or reload?

John

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread hymie!

John Drescher writes:
>On Sun, Jan 30, 2011 at 12:59 PM, hymie!  wrot=
>e:
>>
>> Short question -- can a running Bacula Console dump out what it thinks
>> my configuration is?

>I am confused at the question. I mean you should have edited the
>configuration. And it is a simple text file. If you do not know what
>it is how on earth did you setup bacula?

Since you bring it up, it was set up by a former co-worker.  It apparantly
worked for a while, stopped in December 2009, and now I have to get it
running again.  So no, I didn't edit the configuration.

I currently have 3 instances of Bacula running on various machines /
network / locations.  I set one of them up myself and it is working
correctly.  The other 2 I inherited from a former co-worker; 1 works fine,
the other is acting just a little strange.  I'm guessing the most likely
reason is that there is a mistake in the config file, perhaps a missing
equal sign or mismatched curly-brackets.  I've checked the config
file and it looks fine to me, but it wouldn't be the first time I couldn't
find my own mistake.

/usr/sbin/bacula-dir -t shows no errors, so I need something more.

So if Bacula can tell me, in full excruciating detail, "This is how I think
the GP01-Backup job is configured" then I can compare it to how I wanted
the backup to be configured, and hopefully find and fix the mistake.

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-31 Thread Graham Keeling
On Sun, Jan 30, 2011 at 09:48:38PM -0500, John Drescher wrote:
> On Sun, Jan 30, 2011 at 12:59 PM, hymie!  wrote:
> >
> > Short question -- can a running Bacula Console dump out what it thinks
> > my configuration is?
> >
> > Long question -- my Bacula installation is acting a little weird.
> > I'm using File Storage.  A couple of bacups didn't have the right name,
> > and one of those didn't auto-label the backup file.
> >
> > Most of my backups worked fine; just a couple acted weird.
> >
> > I don't see anything wrong with my setup, but clearly, there's a
> > mistake.  So I'm wondering if I can get Bacula to tell me what it
> > thinks my configuration is, so I can compare it to my config file
> > and find the discrepancy.
> >
> 
> I am confused at the question. I mean you should have edited the
> configuration. And it is a simple text file. If you do not know what
> it is how on earth did you setup bacula?

Bacula writes some settings into database objects, so if you later change your
config files, those changes may well not take effect on existing objects - even
on a reload/restart.
Perhaps that is what the problem is.
But I don't have an answer to the question, except to look directly at either
the database fields that you think might be causing your problem, or to look
at the config files.


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dump my configuration?

2011-01-30 Thread John Drescher
On Sun, Jan 30, 2011 at 12:59 PM, hymie!  wrote:
>
> Short question -- can a running Bacula Console dump out what it thinks
> my configuration is?
>
> Long question -- my Bacula installation is acting a little weird.
> I'm using File Storage.  A couple of bacups didn't have the right name,
> and one of those didn't auto-label the backup file.
>
> Most of my backups worked fine; just a couple acted weird.
>
> I don't see anything wrong with my setup, but clearly, there's a
> mistake.  So I'm wondering if I can get Bacula to tell me what it
> thinks my configuration is, so I can compare it to my config file
> and find the discrepancy.
>

I am confused at the question. I mean you should have edited the
configuration. And it is a simple text file. If you do not know what
it is how on earth did you setup bacula?

John

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] dump my configuration?

2011-01-30 Thread hymie!

Short question -- can a running Bacula Console dump out what it thinks
my configuration is?

Long question -- my Bacula installation is acting a little weird.
I'm using File Storage.  A couple of bacups didn't have the right name,
and one of those didn't auto-label the backup file.

Most of my backups worked fine; just a couple acted weird.

I don't see anything wrong with my setup, but clearly, there's a
mistake.  So I'm wondering if I can get Bacula to tell me what it
thinks my configuration is, so I can compare it to my config file
and find the discrepancy.

Thanks.

--hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net
---
A man my age is very young, so I'm told; Why do I feel so old? --Billy Joel
---

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users