[Bacula-users] Multiple Storage (and Director) Daemons

2011-05-11 Thread Mike Seda
Hi All,
I'm currently attempting to architect a Bacula solution for an 
environment of 100+ clients with 15+ TB of total data (5,000,000+ files).

During my research on the above solution, I read that it's possible to 
run multiple storage (and director) daemons. This was very interesting 
to me, but I'm just wondering what the reasons would be for doing so.

Thanks In Advance,
Mike

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread John Drescher
> That restart doesn't work.

Then we will need some more information. I need the output of

list media pool=YourPoolName

Also the bacula messages that are displayed when you run your job.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread pedro moreno
On Wed, May 11, 2011 at 11:17 AM, John Drescher  wrote:
> On Wed, May 11, 2011 at 2:06 PM, pedro moreno  wrote:
>> On Wed, May 11, 2011 at 10:23 AM, John Drescher  wrote:
>>> On Wed, May 11, 2011 at 1:10 PM, pedro moreno  wrote:
  Hi.

  Want to understand why bacula 5.0.2 don't want to use my tape until
 it reach the MaximumVolJobs.

 I have 2 pools:

 Full-Backups
 Diff-Backups

 I will focus on Diff tapes.

 Storage: Tape.

 Pool Diff:

 Pool {
  Name = CompanyDiffTape
  Pool Type = Backup
  Use Volume Once = no
  Maximum Volume Jobs = 72
  Maximum Volume Files = 0
  Maximum Volume Bytes = 0
  Volume Use Duration = 0
  Catalog Files = yes
  Recycle = yes
  AutoPrune = yes
  dolume Retention = 180 days
  Label Format = TapeDiff-
 }

 U can see that I want to have 72 jobs on each tape and save the tape
 for 180 days. The problem is that bacula is using the tape just 1
 week, next week he wants a new volume, in one week I can 36 jobs, with
 72 I can save 2 weeks.

 Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
 them why on earth he want a new volume and not finish this one.

 This happen every week.

 Some could point me if I had issues with my settings?

>>>
>>> If you changed the settings after volumes were created the changes are
>>> not applied to existing volumes.
>>>
>>> Use bconsole
>>>
>>> update "pool from resource"
>>>
>>> then
>>>
>>> update "all volumes in pool"
>>>
>>> commands. I believe those are the commands or the wording is similar.
>>>
>>> John
>>>
>>
>> I had done that, my volume have the info from the pool.
>> Even if I change my volume status from error to append,
>>
>> VolJobs=36
>> MaxVolJob=72
>>
>> run a job manually, he wants a new volumen, he doesn't want the current 
>> volumen.
>> I want to understand this behavior of bacula.
>
> Restart bacula-dir after making this change from Error to append.
>
> John
>


That restart doesn't work.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Jerry Lowry
another mistake on my part.  You have to give bls the correct spelling 
of the volume ( sometimes I wonder )


Once I corrected the volume name this is the results I get:

Volume Record: File:blk=0: 206 Sessid=16 SessTime=1303843290 Jobid=3 
DataLen=171

11-May 13:42 bls JobId 0: Error: block.c:318 Volumne data error at 0:206!
Block checksum mismatch in block=6010112 len=64512: calc=c6a6912d 
blk=50a7d773


I ran this again with debug at level 200. I have attached the file with 
the output.


thanks for all your help!

On 5/11/2011 12:11 PM, Jerry Lowry wrote:

Hi,

No, the migration job is occurring on the same storage daemon.  This 
storage daemon has 6 raid devices setup as jbod, 3 are for daily use 
and 3 are setup as hotswap devices for off-site backups.  The problem 
is when I run bls on the storage daemon where the disks are located I 
get a message asking me to mount the disk, which is already mounted 
according to the director, as well as being mounted by the OS.




On 5/11/2011 11:26 AM, Phil Stracchino wrote:

On 05/11/11 13:48, Jerry Lowry wrote:

Ok, I am trying to run bls on the specified volume file that is
associated with this job. But the problem I am having is that bls is
failing trying to stat the device.

I have one director and two storage directors.  The volume I am trying
to run against is on the second SD.  Do I run bls on the system where
the 'director' is or on the system thats running the stand alone 'sd'
where the volume is located?

Jerry,
If I'm understanding you correctly, you have two storage daemons, and
you're trying to do a migration from a device on one SD to a device on
the other.  Is this correct?

If this understanding is correct, sorry, it won't work.  Copy and
migration can currently only be done between devices controlled by the
same SD.  (This is in large part a result of there being no current
capability for direct communication between one storage daemon and another.)




--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay


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


--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _


[jlowry@distress-sd bin]$ ./bls -d 200 -j -v -v -V home-0006 -c 
/etc/bacula/bacula-sd.conf /Home
bls: stored_conf.c:698-0 Inserting director res: distress-mon
bls: stored_conf.c:698-0 Inserting device res: DBB
bls: stored_conf.c:698-0 Inserting device res: Hardware
bls: stored_conf.c:698-0 Inserting device res: Swift
bls: stored_conf.c:698-0 Inserting device res: Home
bls: stored_conf.c:698-0 Inserting device res: Workstations
bls: stored_conf.c:698-0 Inserting device res: TopSwap
bls: stored_conf.c:698-0 Inserting device res: MidSwap
bls: stored_conf.c:698-0 Inserting device res: BottomSwap
bls: stored_conf.c:698-0 Inserting device res: FileStorage
bls: stored_conf.c:698-0 Inserting device res: FileStorage1
bls: stored_conf.c:698-0 Inserting device res: Drive-1
bls: match.c:250-0 add_fname_to_include prefix=0 gzip=0 fname=/
bls: butil.c:281 Using device: "/Home" for reading.
bls: dev.c:284-0 init_dev: tape=0 dev_name=/Home
bls: vol_mgr.c:162-0 add read_vol=home-0006 JobId=0
bls: butil.c:186-0 Acquire device for read
bls: acquire.c:95-0 Want Vol=home-0006 Slot=0
bls: acquire.c:109-0 MediaType dcr= dev=File
bls: acquire.c:189-0 dir_get_volume_info vol=home-0006
bls: bls.c:486-0 Fake dir_get_volume_info
bls: mount.c:546-0 Must load "Home" (/Home)
bls: autochanger.c:120-0 Device "Home" (/Home) is not an autochanger
bls: acquire.c:220-0 bstored: open vol=home-0006
bls: dev.c:360-0 open dev: type=1 dev_name="Home" (/Home) vol=home-0006 
mode=OPEN_READ_ONLY
bls: dev.c:369-0 call open_file_device mode=OPEN_READ_ONLY
bls: dev.c:2089-0 Enter mount
bls: dev.c:542-0 open disk: mode=OPEN_READ_ONLY open(/Home/home-0006, 0x0, 0640)
bls: dev.c:557-0 open dev: disk fd=3 opened, part=0/0, part_size=0
bls: dev.c:373-0 preserve=0x0 fd=3
bls: acquire.c:228-0 opened dev "Home" (/Home) OK
bls: acquire.c:231-0 calling read-vol-label
bls: l

Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Jerry Lowry

Hi,

No, the migration job is occurring on the same storage daemon.  This 
storage daemon has 6 raid devices setup as jbod, 3 are for daily use and 
3 are setup as hotswap devices for off-site backups.  The problem is 
when I run bls on the storage daemon where the disks are located I get a 
message asking me to mount the disk, which is already mounted according 
to the director, as well as being mounted by the OS.




On 5/11/2011 11:26 AM, Phil Stracchino wrote:

On 05/11/11 13:48, Jerry Lowry wrote:

Ok, I am trying to run bls on the specified volume file that is
associated with this job. But the problem I am having is that bls is
failing trying to stat the device.

I have one director and two storage directors.  The volume I am trying
to run against is on the second SD.  Do I run bls on the system where
the 'director' is or on the system thats running the stand alone 'sd'
where the volume is located?

Jerry,
If I'm understanding you correctly, you have two storage daemons, and
you're trying to do a migration from a device on one SD to a device on
the other.  Is this correct?

If this understanding is correct, sorry, it won't work.  Copy and
migration can currently only be done between devices controlled by the
same SD.  (This is in large part a result of there being no current
capability for direct communication between one storage daemon and another.)




--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Phil Stracchino
On 05/11/11 13:48, Jerry Lowry wrote:
> Ok, I am trying to run bls on the specified volume file that is
> associated with this job. But the problem I am having is that bls is
> failing trying to stat the device. 
> 
> I have one director and two storage directors.  The volume I am trying
> to run against is on the second SD.  Do I run bls on the system where
> the 'director' is or on the system thats running the stand alone 'sd'
> where the volume is located?

Jerry,
If I'm understanding you correctly, you have two storage daemons, and
you're trying to do a migration from a device on one SD to a device on
the other.  Is this correct?

If this understanding is correct, sorry, it won't work.  Copy and
migration can currently only be done between devices controlled by the
same SD.  (This is in large part a result of there being no current
capability for direct communication between one storage daemon and another.)


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread John Drescher
On Wed, May 11, 2011 at 2:06 PM, pedro moreno  wrote:
> On Wed, May 11, 2011 at 10:23 AM, John Drescher  wrote:
>> On Wed, May 11, 2011 at 1:10 PM, pedro moreno  wrote:
>>>  Hi.
>>>
>>>  Want to understand why bacula 5.0.2 don't want to use my tape until
>>> it reach the MaximumVolJobs.
>>>
>>> I have 2 pools:
>>>
>>> Full-Backups
>>> Diff-Backups
>>>
>>> I will focus on Diff tapes.
>>>
>>> Storage: Tape.
>>>
>>> Pool Diff:
>>>
>>> Pool {
>>>  Name = CompanyDiffTape
>>>  Pool Type = Backup
>>>  Use Volume Once = no
>>>  Maximum Volume Jobs = 72
>>>  Maximum Volume Files = 0
>>>  Maximum Volume Bytes = 0
>>>  Volume Use Duration = 0
>>>  Catalog Files = yes
>>>  Recycle = yes
>>>  AutoPrune = yes
>>>  dolume Retention = 180 days
>>>  Label Format = TapeDiff-
>>> }
>>>
>>> U can see that I want to have 72 jobs on each tape and save the tape
>>> for 180 days. The problem is that bacula is using the tape just 1
>>> week, next week he wants a new volume, in one week I can 36 jobs, with
>>> 72 I can save 2 weeks.
>>>
>>> Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
>>> them why on earth he want a new volume and not finish this one.
>>>
>>> This happen every week.
>>>
>>> Some could point me if I had issues with my settings?
>>>
>>
>> If you changed the settings after volumes were created the changes are
>> not applied to existing volumes.
>>
>> Use bconsole
>>
>> update "pool from resource"
>>
>> then
>>
>> update "all volumes in pool"
>>
>> commands. I believe those are the commands or the wording is similar.
>>
>> John
>>
>
> I had done that, my volume have the info from the pool.
> Even if I change my volume status from error to append,
>
> VolJobs=36
> MaxVolJob=72
>
> run a job manually, he wants a new volumen, he doesn't want the current 
> volumen.
> I want to understand this behavior of bacula.

Restart bacula-dir after making this change from Error to append.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread pedro moreno
On Wed, May 11, 2011 at 10:23 AM, John Drescher  wrote:
> On Wed, May 11, 2011 at 1:10 PM, pedro moreno  wrote:
>>  Hi.
>>
>>  Want to understand why bacula 5.0.2 don't want to use my tape until
>> it reach the MaximumVolJobs.
>>
>> I have 2 pools:
>>
>> Full-Backups
>> Diff-Backups
>>
>> I will focus on Diff tapes.
>>
>> Storage: Tape.
>>
>> Pool Diff:
>>
>> Pool {
>>  Name = CompanyDiffTape
>>  Pool Type = Backup
>>  Use Volume Once = no
>>  Maximum Volume Jobs = 72
>>  Maximum Volume Files = 0
>>  Maximum Volume Bytes = 0
>>  Volume Use Duration = 0
>>  Catalog Files = yes
>>  Recycle = yes
>>  AutoPrune = yes
>>  dolume Retention = 180 days
>>  Label Format = TapeDiff-
>> }
>>
>> U can see that I want to have 72 jobs on each tape and save the tape
>> for 180 days. The problem is that bacula is using the tape just 1
>> week, next week he wants a new volume, in one week I can 36 jobs, with
>> 72 I can save 2 weeks.
>>
>> Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
>> them why on earth he want a new volume and not finish this one.
>>
>> This happen every week.
>>
>> Some could point me if I had issues with my settings?
>>
>
> If you changed the settings after volumes were created the changes are
> not applied to existing volumes.
>
> Use bconsole
>
> update "pool from resource"
>
> then
>
> update "all volumes in pool"
>
> commands. I believe those are the commands or the wording is similar.
>
> John
>

I had done that, my volume have the info from the pool.
Even if I change my volume status from error to append,

VolJobs=36
MaxVolJob=72

run a job manually, he wants a new volumen, he doesn't want the current volumen.
I want to understand this behavior of bacula.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Jerry Lowry

Sorry, forgot to add this..
When I run bls on the second SD it asks me to mount the volume on the 
device specified. But when I go to the director and try to mount the 
device is says that it is always mounted due to the device being a disk.


bls -j -V Home-0006 /Home

this uses the bacula-sd.conf in the current directory.

Device {
   Name = Home
   Media Type = File
   Archive Device = /Home
   LabelMedia = yes;
   Random Access = yes;
   AutomaticMount = yes
   Removable Media = no;
   AlwaysOpen = no;
}



On 5/11/2011 10:48 AM, Jerry Lowry wrote:
Ok, I am trying to run bls on the specified volume file that is 
associated with this job. But the problem I am having is that bls is 
failing trying to stat the device.


I have one director and two storage directors.  The volume I am trying 
to run against is on the second SD.  Do I run bls on the system where 
the 'director' is or on the system thats running the stand alone 'sd' 
where the volume is located?


thanks

On 5/11/2011 9:32 AM, Graham Keeling wrote:

On Wed, May 11, 2011 at 09:19:49AM -0700, Jerry Lowry wrote:

I have not tried to restore from that particular job as yet, but the
next question would be, if it fails on the restore that would mean that
anything backed up in that job would not be valid, correct?

I think that depends upon what you mean by valid.

For example, it might be possible to skip over the bad area of the volume and
restore some files past that bad area.

If it were me, I have to say that I would indeed be treating the whole job as
suspicious. And the others too, probably.

But let's not get ahead of ourselves. Perhaps the volume is actually fine and
the problem is something else.

Rather than doing a restore, maybe it would be worth running commands like
'bls' on the volume first. It would probably give a quicker diagnosis, if
there is a problem.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay


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


--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Jerry Lowry
Ok, I am trying to run bls on the specified volume file that is 
associated with this job. But the problem I am having is that bls is 
failing trying to stat the device.


I have one director and two storage directors.  The volume I am trying 
to run against is on the second SD.  Do I run bls on the system where 
the 'director' is or on the system thats running the stand alone 'sd' 
where the volume is located?


thanks

On 5/11/2011 9:32 AM, Graham Keeling wrote:

On Wed, May 11, 2011 at 09:19:49AM -0700, Jerry Lowry wrote:

I have not tried to restore from that particular job as yet, but the
next question would be, if it fails on the restore that would mean that
anything backed up in that job would not be valid, correct?

I think that depends upon what you mean by valid.

For example, it might be possible to skip over the bad area of the volume and
restore some files past that bad area.

If it were me, I have to say that I would indeed be treating the whole job as
suspicious. And the others too, probably.

But let's not get ahead of ourselves. Perhaps the volume is actually fine and
the problem is something else.

Rather than doing a restore, maybe it would be worth running commands like
'bls' on the volume first. It would probably give a quicker diagnosis, if
there is a problem.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread John Drescher
On Wed, May 11, 2011 at 1:10 PM, pedro moreno  wrote:
>  Hi.
>
>  Want to understand why bacula 5.0.2 don't want to use my tape until
> it reach the MaximumVolJobs.
>
> I have 2 pools:
>
> Full-Backups
> Diff-Backups
>
> I will focus on Diff tapes.
>
> Storage: Tape.
>
> Pool Diff:
>
> Pool {
>  Name = CompanyDiffTape
>  Pool Type = Backup
>  Use Volume Once = no
>  Maximum Volume Jobs = 72
>  Maximum Volume Files = 0
>  Maximum Volume Bytes = 0
>  Volume Use Duration = 0
>  Catalog Files = yes
>  Recycle = yes
>  AutoPrune = yes
>  dolume Retention = 180 days
>  Label Format = TapeDiff-
> }
>
> U can see that I want to have 72 jobs on each tape and save the tape
> for 180 days. The problem is that bacula is using the tape just 1
> week, next week he wants a new volume, in one week I can 36 jobs, with
> 72 I can save 2 weeks.
>
> Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
> them why on earth he want a new volume and not finish this one.
>
> This happen every week.
>
> Some could point me if I had issues with my settings?
>

If you changed the settings after volumes were created the changes are
not applied to existing volumes.

Use bconsole

update "pool from resource"

then

update "all volumes in pool"

commands. I believe those are the commands or the wording is similar.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] MaximumVolJobs not working!!!

2011-05-11 Thread pedro moreno
 Hi.

 Want to understand why bacula 5.0.2 don't want to use my tape until
it reach the MaximumVolJobs.

I have 2 pools:

Full-Backups
Diff-Backups

I will focus on Diff tapes.

Storage: Tape.

Pool Diff:

Pool {
  Name = CompanyDiffTape
  Pool Type = Backup
  Use Volume Once = no
  Maximum Volume Jobs = 72
  Maximum Volume Files = 0
  Maximum Volume Bytes = 0
  Volume Use Duration = 0
  Catalog Files = yes
  Recycle = yes
  AutoPrune = yes
  dolume Retention = 180 days
  Label Format = TapeDiff-
}

U can see that I want to have 72 jobs on each tape and save the tape
for 180 days. The problem is that bacula is using the tape just 1
week, next week he wants a new volume, in one week I can 36 jobs, with
72 I can save 2 weeks.

Reading the db, I see that tape-a have just 36 jobs for 72 maximum,
them why on earth he want a new volume and not finish this one.

This happen every week.

Some could point me if I had issues with my settings?

Thanks!!!

Centos 5.5.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread Victor Lima
Thanks John for all the replies.

2011/5/11 John Drescher 

> > And if the tapel fill 2.4TB?
> >
>
> That is totally fine. Remember compression is variable.On a text only
> data set you can get greater than  5 to 1 compression. On a dataset
> with already compressed data you will likely get no compression at all
> so the tape will be full at ~400 GB. The 800 number quoted by the
> maufacturer is only the manufacturer expected value. Its not any kind
> of limit. Also in most real world data sets you will not actually
> achieve that.
>
> --
> John M. Drescher
>
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Run out of disk space

2011-05-11 Thread Duncan McQueen
Truncate = just delete it?  Or something more?

-Original Message-
From: Graham Keeling [mailto:gra...@equiinet.com] 
Sent: Wednesday, May 11, 2011 11:13 AM
To: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Run out of disk space

On Wed, May 11, 2011 at 11:05:47AM -0500, Duncan McQueen wrote:
> The second command gives me this:
> 
> Error updating Volume records: ERR=sql_update.c:443 Update failed: 
> affected_rows=0 for UPDATE Media SET ActionOnPurge=0, 
> Recycle=1,VolRetention=31536000,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,MaxVolBytes=0,RecyclePoolId=0
>  WHERE PoolId=3

Is it because your database files are on the same disk that has filled up?

If so and it were me, I would truncate a volume that I knew that I didn't want,
restart the database and try again.

> -Original Message-
> From: John Drescher [mailto:dresche...@gmail.com] 
> Sent: Wednesday, May 11, 2011 10:33 AM
> To: Duncan McQueen
> Cc: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Run out of disk space
> 
> > I set my retention periods too long and now have run out of disk space.  If
> > I want to start over (after I have edited the conf files for a good
> > retention period) and blow away the old volumes, what do I need to do?  Just
> > delete the files or do I need to do something in the database?
> >
> 
> You would need to delete each volume in the database. I would just
> change the retention period on the pool and then use bconsole to apply
> that to the existing volumes.
> 
> I think the commands are
> 
> update "Pool from resource"
> 
> then
> 
> update " all volumes in pool"
> 
> or similar.
> 
> John
> 
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Graham Keeling
On Wed, May 11, 2011 at 09:19:49AM -0700, Jerry Lowry wrote:
> I have not tried to restore from that particular job as yet, but the  
> next question would be, if it fails on the restore that would mean that  
> anything backed up in that job would not be valid, correct?

I think that depends upon what you mean by valid.

For example, it might be possible to skip over the bad area of the volume and
restore some files past that bad area.

If it were me, I have to say that I would indeed be treating the whole job as
suspicious. And the others too, probably.

But let's not get ahead of ourselves. Perhaps the volume is actually fine and
the problem is something else.

Rather than doing a restore, maybe it would be worth running commands like
'bls' on the volume first. It would probably give a quicker diagnosis, if
there is a problem.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Jerry Lowry
I have not tried to restore from that particular job as yet, but the 
next question would be, if it fails on the restore that would mean that 
anything backed up in that job would not be valid, correct?


thanks

On 5/11/2011 8:54 AM, Graham Keeling wrote:

On Wed, May 11, 2011 at 08:44:18AM -0700, Jerry Lowry wrote:

Is there anyone that can help me with this problem?  Surely someone is
using the migration job.

I'm not using migration jobs, but maybe I can give you a hint...


On 5/9/2011 2:51 PM, jerry lowry wrote:

09-May 13:59 distress-sd-sd JobId 2549: Forward spacing Volume "hardware-0007" 
tofile:block  0:215.
09-May 13:59 distress-sd-sd JobId 2549: Error: block.c:275 Volume data error at 0:215! Wanted ID: 
"BB02", got "2". Buffer discarded.

It seems to me that the error is not with the write to the new volume, but with
the read from the existing volume "hardware-0007".

I've seen similar errors before, when I found bugs in bacula that trashed the
data on my disk volumes.

One thing to try is a restore from "hardware-0007". I predict that you will
get the same error.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--

---
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web: _www.edt.com _


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Run out of disk space

2011-05-11 Thread Graham Keeling
On Wed, May 11, 2011 at 11:05:47AM -0500, Duncan McQueen wrote:
> The second command gives me this:
> 
> Error updating Volume records: ERR=sql_update.c:443 Update failed: 
> affected_rows=0 for UPDATE Media SET ActionOnPurge=0, 
> Recycle=1,VolRetention=31536000,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,MaxVolBytes=0,RecyclePoolId=0
>  WHERE PoolId=3

Is it because your database files are on the same disk that has filled up?

If so and it were me, I would truncate a volume that I knew that I didn't want,
restart the database and try again.

> -Original Message-
> From: John Drescher [mailto:dresche...@gmail.com] 
> Sent: Wednesday, May 11, 2011 10:33 AM
> To: Duncan McQueen
> Cc: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Run out of disk space
> 
> > I set my retention periods too long and now have run out of disk space.  If
> > I want to start over (after I have edited the conf files for a good
> > retention period) and blow away the old volumes, what do I need to do?  Just
> > delete the files or do I need to do something in the database?
> >
> 
> You would need to delete each volume in the database. I would just
> change the retention period on the pool and then use bconsole to apply
> that to the existing volumes.
> 
> I think the commands are
> 
> update "Pool from resource"
> 
> then
> 
> update " all volumes in pool"
> 
> or similar.
> 
> John
> 
> --
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Run out of disk space

2011-05-11 Thread Duncan McQueen
The second command gives me this:

Error updating Volume records: ERR=sql_update.c:443 Update failed: 
affected_rows=0 for UPDATE Media SET ActionOnPurge=0, 
Recycle=1,VolRetention=31536000,VolUseDuration=0,MaxVolJobs=0,MaxVolFiles=0,MaxVolBytes=0,RecyclePoolId=0
 WHERE PoolId=3


-Original Message-
From: John Drescher [mailto:dresche...@gmail.com] 
Sent: Wednesday, May 11, 2011 10:33 AM
To: Duncan McQueen
Cc: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Run out of disk space

> I set my retention periods too long and now have run out of disk space.  If
> I want to start over (after I have edited the conf files for a good
> retention period) and blow away the old volumes, what do I need to do?  Just
> delete the files or do I need to do something in the database?
>

You would need to delete each volume in the database. I would just
change the retention period on the pool and then use bconsole to apply
that to the existing volumes.

I think the commands are

update "Pool from resource"

then

update " all volumes in pool"

or similar.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Graham Keeling
On Wed, May 11, 2011 at 08:44:18AM -0700, Jerry Lowry wrote:
> Is there anyone that can help me with this problem?  Surely someone is  
> using the migration job.

I'm not using migration jobs, but maybe I can give you a hint...

> On 5/9/2011 2:51 PM, jerry lowry wrote:
>> 09-May 13:59 distress-sd-sd JobId 2549: Forward spacing Volume 
>> "hardware-0007" tofile:block  0:215.
>> 09-May 13:59 distress-sd-sd JobId 2549: Error: block.c:275 Volume data error 
>> at 0:215! Wanted ID: "BB02", got "2". Buffer discarded.

It seems to me that the error is not with the write to the new volume, but with
the read from the existing volume "hardware-0007".

I've seen similar errors before, when I found bugs in bacula that trashed the
data on my disk volumes.

One thing to try is a restore from "hardware-0007". I predict that you will
get the same error.


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Questions regarding migration job failure

2011-05-11 Thread Jerry Lowry
Is there anyone that can help me with this problem?  Surely someone is 
using the migration job.



On 5/9/2011 2:51 PM, jerry lowry wrote:

Hi,

I am frequently getting errors on my migration jobs and I need some 
help trying to figure out what the problem is.


I have three migration jobs that migrate data from a daily disk to a 
raid disk that is setup as a hotswap disk.  Once this is full I pull 
the disk and move it to an offsite facility.  About half of the time 
the migration jobs work with out any problems, the other half I get 
errors on many of the jobs that are being migrated.  Example:  I start 
a migrate job and it starts to migrate 6 jobs to the offsite disk.  It 
will get through two of the jobs successfully and then the last four 
jobs will fail with the error below.  Each of the media are created 
using  BAT or BConsole without errors.


I have no clue as to what the problem might be, so any help is great.

Below you will find the config files and job output.

thanks,
jerry

Job error:
09-May 12:55 distress-dir JobId 2549: The following 3 JobIds were chosen to be 
migrated: 2335,2328,2291
09-May 12:55 distress-dir JobId 2549: Job queued. JobId=2550
09-May 12:55 distress-dir JobId 2549: Migration JobId 2550 started.
09-May 12:55 distress-dir JobId 2549: Job queued. JobId=2552
09-May 12:55 distress-dir JobId 2549: Migration JobId 2552 started.
09-May 12:55 distress-dir JobId 2549: Migration using JobId=2291 
Job=BackupHardware.2011-04-17_20.05.00_17
09-May 12:55 distress-dir JobId 2549: Bootstrap records written to 
/var/run/bacula/working/distress-dir.restore.53.bsr
09-May 13:59 distress-dir JobId 2549: Start Migration JobId 2549, 
Job=CopyHWDiskToDisk.2011-05-09_12.55.37_45
09-May 13:59 distress-dir JobId 2549: Using Device "TopSwap"
09-May 13:59 distress-sd-sd JobId 2549: Ready to read from volume "hardware-0007" on 
device "Hardware" (/Hardware).
09-May 13:59 distress-sd-sd JobId 2549: Volume "hardwareBS-2" previously 
written, moving to end of data.
09-May 13:59 distress-sd-sd JobId 2549: Ready to append to end of Volume 
"hardwareBS-2" size=240021666918
09-May 13:59 distress-sd-sd JobId 2549: Forward spacing Volume "hardware-0007" 
tofile:block  0:215.
09-May 13:59 distress-sd-sd JobId 2549: Error: block.c:275 Volume data error at 0:215! Wanted ID: 
"BB02", got "2". Buffer discarded.
09-May 13:59 distress-dir JobId 2549: Error: Bacula distress-dir 5.0.1 
(24Feb10): 09-May-2011 13:59:15
   Build OS:   x86_64-unknown-linux-gnu redhat
   Prev Backup JobId:  2291
   Prev Backup Job:BackupHardware.2011-04-17_20.05.00_17
   New Backup JobId:   2554
   Current JobId:  2549
   Current Job:CopyHWDiskToDisk.2011-05-09_12.55.37_45
   Backup Level:   Full
   Client: distress-sd-fd
   FileSet:"Top Set" 2011-03-30 10:42:47
   Read Pool:  "HardwarePool" (From Job resource)
   Read Storage:   "hardware" (From command line)
   Write Pool: "OffsiteTop" (From Job Pool's NextPool resource)
   Write Storage:  "topswap" (From Storage from Pool's NextPool 
resource)
   Catalog:"MyCatalog" (From Client resource)
   Start time: 09-May-2011 13:59:15
   End time:   09-May-2011 13:59:15
   Elapsed time:   0 secs
   Priority:   10
   SD Files Written:   0
   SD Bytes Written:   0 (0 B)
   Rate:   0.0 KB/s
   Volume name(s):
   Volume Session Id:  27
   Volume Session Time:1304722130
   Last Volume Bytes:  0 (0 B)
   SD Errors:  1
   SD termination status:  Running
   Termination:*** Migration Error ***


Configuration files: (This is one of three, they are all setup the same way)

Job {
 Name = "CopyHWDiskToDisk"
 Type = Migrate
 Level = Full
 FileSet = "Top Set"
 Client = distress-sd-fd
 Messages = Standard
Storage = hardware
 Pool = HardwarePool
 Maximum Concurrent Jobs = 4
 Selection Type = Pool Time
 Selection Pattern = "hardwareTS-*"
}

# File Pool definition
Pool {
   Name = OffsiteTop
   Pool Type = Migrate
   Next Pool = OffsiteTop
   Storage = topswap
   Recycle = yes   # Bacula can automatically recycle 
Volumes
   AutoPrune = yes # Prune expired volumes
   Volume Retention = 6 months # one week
   Maximum Volume Bytes = 1800G   # Limit Volume size to something 
reasonable
   Maximum Volumes = 10   # Limit number of Volumes in Pool
}

FileSet {
Name = "Top Set"
Include {
Options {
signature = MD5
}
#
#  Put your list of files here, preceded by 'File =', one per line
#or include an external list with:
#
#File =http://p.sf.net/sfu/whatsupgold-sd


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

Re: [Bacula-users] Run out of disk space

2011-05-11 Thread Konstantin Khomoutov
On Wed, 11 May 2011 10:10:58 -0500
"Duncan McQueen"  wrote:

> I set my retention periods too long and now have run out of disk
> space. If I want to start over (after I have edited the conf files
> for a good retention period) and blow away the old volumes, what do I
> need to do? Just delete the files or do I need to do something in the
> database?
I think you have to purge each volume from the bacula console.
That should remove job and file records associated with those volumes
from the database.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Run out of disk space

2011-05-11 Thread John Drescher
> I set my retention periods too long and now have run out of disk space.  If
> I want to start over (after I have edited the conf files for a good
> retention period) and blow away the old volumes, what do I need to do?  Just
> delete the files or do I need to do something in the database?
>

You would need to delete each volume in the database. I would just
change the retention period on the pool and then use bconsole to apply
that to the existing volumes.

I think the commands are

update "Pool from resource"

then

update " all volumes in pool"

or similar.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Run out of disk space

2011-05-11 Thread Duncan McQueen
I set my retention periods too long and now have run out of disk space.
If I want to start over (after I have edited the conf files for a good
retention period) and blow away the old volumes, what do I need to do?
Just delete the files or do I need to do something in the database?

 

Thanks,

 

Duncan

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread John Drescher
> And if the tapel fill 2.4TB?
>

That is totally fine. Remember compression is variable.On a text only
data set you can get greater than  5 to 1 compression. On a dataset
with already compressed data you will likely get no compression at all
so the tape will be full at ~400 GB. The 800 number quoted by the
maufacturer is only the manufacturer expected value. Its not any kind
of limit. Also in most real world data sets you will not actually
achieve that.

-- 
John M. Drescher

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread Victor Lima
And if the tapel fill 2.4TB?

2011/5/11 John Drescher 

> > Thanks for the replies. Most of the recorded data are text files. Then it
> > can really happen to use the tapes over 800GB and it does not mean that
> my
> > tape library has a problem?
>
> There is no problem filling more than 800 GB on a tape. This is
> expected for data that is mostly text.
>
> John
>
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bat crash report (was Errors with bat from windows)

2011-05-11 Thread Roy Sigurd Karlsbakk
> Hello,
> 
> I would have another question. Is there a way to generate crash
> reports from BAT ? It's crashing all the time anytime I try it.

On Windows, I don't know. On unix systems, just allow for core dumps (ulimit -c 
unlimited). If bat is compiled with symbols/debug info, you should be able to 
produce a crash report with

  $ gdb bat core
  (gdb) bt

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
r...@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er 
et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av 
idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og 
relevante synonymer på norsk.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] My Webacula is not working yet [NOT SOLVED, BUT FINISHED]

2011-05-11 Thread Konstantin Khomoutov
On Wed, 11 May 2011 10:04:37 -0300
Wagner Pereira  wrote:

> Yes, the php5-gd extension wasn't installed. Even I install it, there 
> were others issues.
> 
> But no problem, I gave up this installation and I'm gonna restart a
> new one, without graphical interface at this time.
I wonder why is there anything to restart at all.
In Debian, it's just a bunch of calls to package manager + relevant
tweaking of configuration files to tailor to your hardware and network
topology.  In fact, that's what you had to get working first, without
thinking about fancy UIs to do restoration--that's the least
significant part when it comes to backups.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] My Webacula is not working yet [NOT SOLVED, BUT FINISHED]

2011-05-11 Thread J. Echter
Am 11.05.2011 15:04, schrieb Wagner Pereira:
> Thanks Kevin and Konstantin.
>
> Yes, the php5-gd extension wasn't installed. Even I install it, there
> were others issues.
>
> But no problem, I gave up this installation and I'm gonna restart a new
> one, without graphical interface at this time.
>
> Att,
why not use bat instead?

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] My Webacula is not working yet [NOT SOLVED, BUT FINISHED]

2011-05-11 Thread Wagner Pereira
Thanks Kevin and Konstantin.

Yes, the php5-gd extension wasn't installed. Even I install it, there 
were others issues.

But no problem, I gave up this installation and I'm gonna restart a new 
one, without graphical interface at this time.

Att,
-- 

Wagner Pereira
PoP-SP/RNP - Ponto de Presença da RNP em São Paulo
CCE/USP - Centro de Computação Eletrônica da Universidade de São Paulo
http://www.pop-sp.rnp.br
Tel. +55 11 3091-8901
fone@RNP: 10158902


Em 11/05/2011 09:34, Konstantin Khomoutov escreveu:
> On Tue, 10 May 2011 18:37:47 -0300
> Wagner Pereira  wrote:
>
>> I know there is a specific list for Webacula issues. I already posted
>> my issue in that, but no one answered me yet.
> This question is not even specific to webacula--it's about PHP
> extension named "GD".
>
> [...]
>> So, following the Tim's Installation Manual I executed
>> ./check_system_requirements.php and it showed to me what follows:
>>
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/lib/php5/20090626/gd.so' - /usr/lib/php5/20090626/gd.so: cannot
>> open shared object file: No such file or directory in Unknown on line
> [...]
>> php pdo installed.OK
>> ERROR! PHP extension gd not installed.
> [...]
>> Warning. PHP extension pdo_mysql not installed.
>> Warning. PHP extension pdo_pgsql not installed.
>> Warning. PHP extension pdo_sqlite not installed.
> [...]
>
> Look carefully at the messages quoted above.
> You did not provide any info about your system, but from the PHP
> version string it follows that you're using Debian Squeeze.
> Hence, the first thing is to check whether you have the php5-gd
> package installed.
>
> If yes, try to see if you may be have some
> leftover "extension" directive lingering somewhere in PHP config files
> (look at config files under /etc/php5/conf.d).
> This is because [1] lists "/usr/lib/php5/20090626+lfs/" as the location
> of gd.so, not "/usr/lib/php5/20090626/" from your output.
> Also on one of my nearby Squeeze systems I have the "extension_dir"
> variable set to "/usr/lib/php5/20090626+lfs/" as well.
> You can test your installation using this encantation (provided the
> php5-cli package is installed):
>
> $ echo '' | php | grep -i extension_dir
>
> I hope this gives you enough clue to proceed with debugging your setup.
>
> 1. http://packages.debian.org/squeeze/i386/php5-gd/filelist

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Errors with bat from windows

2011-05-11 Thread Jérôme Blion
Le 11/05/2011 14:52, Roy Sigurd Karlsbakk a écrit :
> Hi all
>
> We have some issues with bat not showing all backup targets with the version 
> browser. For this particular server, the browser only lists C: and not the 
> other drives backed up. I tested from X and that looks good. Testing from my 
> Windows VM, bat fails to see any job after the initial 41 listed, no clients 
> in that box, and clicking refresh returns an error: "No jobs were selected in 
> the job query!!!", whether I choose one or not.
>
> Version is 5.0.3.
>
> Any ideas?
>
> Vennlige hilsener / Best regards
>
> roy
> --
> Roy Sigurd Karlsbakk
> (+47) 97542685
> r...@karlsbakk.net
> http://blogg.karlsbakk.net/
> --

Hello,

I would have another question. Is there a way to generate crash reports 
from BAT ? It's crashing all the time anytime I try it.

Best regards.
Jerome Blion.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread John Drescher
> Thanks for the replies. Most of the recorded data are text files. Then it
> can really happen to use the tapes over 800GB and it does not mean that my
> tape library has a problem?

There is no problem filling more than 800 GB on a tape. This is
expected for data that is mostly text.

John

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Errors with bat from windows

2011-05-11 Thread Roy Sigurd Karlsbakk
Hi all

We have some issues with bat not showing all backup targets with the version 
browser. For this particular server, the browser only lists C: and not the 
other drives backed up. I tested from X and that looks good. Testing from my 
Windows VM, bat fails to see any job after the initial 41 listed, no clients in 
that box, and clicking refresh returns an error: "No jobs were selected in the 
job query!!!", whether I choose one or not.

Version is 5.0.3.

Any ideas?

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
r...@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er 
et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av 
idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og 
relevante synonymer på norsk.

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] My Webacula is not working yet

2011-05-11 Thread Konstantin Khomoutov
On Tue, 10 May 2011 18:37:47 -0300
Wagner Pereira  wrote:

> I know there is a specific list for Webacula issues. I already posted
> my issue in that, but no one answered me yet.
This question is not even specific to webacula--it's about PHP
extension named "GD".

[...]
> So, following the Tim's Installation Manual I executed
> ./check_system_requirements.php and it showed to me what follows:
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20090626/gd.so' - /usr/lib/php5/20090626/gd.so: cannot
> open shared object file: No such file or directory in Unknown on line
[...]
> php pdo installed.OK
> ERROR! PHP extension gd not installed.
[...]
> Warning. PHP extension pdo_mysql not installed.
> Warning. PHP extension pdo_pgsql not installed.
> Warning. PHP extension pdo_sqlite not installed.
[...]

Look carefully at the messages quoted above.
You did not provide any info about your system, but from the PHP
version string it follows that you're using Debian Squeeze.
Hence, the first thing is to check whether you have the php5-gd
package installed.

If yes, try to see if you may be have some
leftover "extension" directive lingering somewhere in PHP config files
(look at config files under /etc/php5/conf.d).
This is because [1] lists "/usr/lib/php5/20090626+lfs/" as the location
of gd.so, not "/usr/lib/php5/20090626/" from your output.
Also on one of my nearby Squeeze systems I have the "extension_dir"
variable set to "/usr/lib/php5/20090626+lfs/" as well.
You can test your installation using this encantation (provided the
php5-cli package is installed):

$ echo '' | php | grep -i extension_dir

I hope this gives you enough clue to proceed with debugging your setup.

1. http://packages.debian.org/squeeze/i386/php5-gd/filelist

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula sabe se atingiu a capacidade máxima de uma fita?

2011-05-11 Thread Victor Lima
Thanks for the replies. Most of the recorded data are text files. Then it
can really happen to use the tapes over 800GB and it does not mean that my
tape library has a problem?

Obrigado pelas respostas. A maioria dos dados gravados são arquivos de texto
. Então, pode realmente acontecer as fitas passarem dos 800GB e isso não
significa que a minha biblioteca de fita tenha um problema?

2011/5/7 Radosław Korzeniewski 

> Hi,
>
>
> 2011/4/29 Marcio Merlone 
> >
> > I have a LTO-4 tape full with 2.7GB and another with 2.89GB. :)
> >
>
> Well, if it is really only 2,7 _GB_ or 2,89 _GB_ and your tapes are LTO-4
> then I recommend you to check your tapes or tape drive :)
>
> :)
>
> cheers,
>
> --
> Radosław Korzeniewski
> rados...@korzeniewski.net
>
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users