Re: [Bacula-users] Recycling and scratch pool

2006-04-10 Thread Pierre Dibon
Le Vendredi 7 Avril 2006 22:57, Ludovic Strappazon a écrit :
 Hello,

 I'm still running 1.38.5, and I agree with Pierre, I think the use of
 the scratch pool was at the right place in 1.38.5.
 The last mail I read about the place of scratch pool in the recycling
 algorithm was this one :

thank you, I love people agreeing with me ;)
But if I understand your response (no time to read archives this week-end) and 
if this was the last mail about recycle algo changes, there is an important 
difference with the real actual algo because in this mail of Ludovic the 
scratch pool usage come on point 8 after the recycling of expired volume
so ?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] When is a tape Full?

2006-04-10 Thread Julien Cigar

Wolfgang Denk wrote:

Dear Eric,

in message [EMAIL PROTECTED] you wrote:
  

Yes, I received following messages:

04-Apr 00:48 epohost-sd: epo-xp.2006-04-03_23.14.09 Error: block.c:538 Write 
error at 7:1119 on device DDS-4 (/dev/nst0). ERR=Input/output error.
04-Apr 00:48 epohost-sd: epo-xp.2006-04-03_23.14.09 Error: Error writing final 
EOF to tape. This Volume may not be readable.

dev.c:1536 ioctl MTWEOF error on DDS-4 (/dev/nst0). ERR=Input/output error.
04-Apr 00:48 epohost-sd: End of medium on Volume EPOdata03 Bytes=6,445,884,582 
Blocks=99,918 at 04-Apr-2006 00:48.
04-Apr 00:49 epohost-sd: Please mount Volume EPOdata04 on Storage Device 
DDS-4 (/dev/nst0) for Job epo-xp.2006-04-03_23.14.09



I see. This is the very same problem I've been trying to  track  down
for some time. See the threads stared by these postings:

Subject: [Bacula-users] Strange SCSI problems
From: Wolfgang Denk [EMAIL PROTECTED]
Date: Mon, 13 Mar 2006 13:00:57 +0100
and
Subject: [Bacula-users] tape writing error in bacula
From: david robert [EMAIL PROTECTED]
Date: Fri, 17 Mar 2006 09:30:52 + (GMT)

  
No, I didn't find any of these messages. However, at the time of the tape full 
message the attached messages showed up in the syslog. Unfortunately I am not 
able to digest them into any correctional activity. But at least I understand 
that some hardware error may be involved.



No, this is most likely NOT a hardware issue;  I  have  this  problem
reproducable on several systems with different tape drives; it popped
up  suddenly  with  a software update, but that's not the only factor
that seems to play a role - the same software runs  fine  on  a  slow
system  (old  P  II 400 MHz box) but fails reliably on a fast machine
(Athlon 3000+). I see it with  different  SCSI  controllers,  and  at
least  with  bacula 1.38.5 and 1.38.6; my latest speculation was that
it had something to do with certain (pre 2.6.12) kernel versions, but
you mentioned that you're running FC5, i. e. a later kernel, so  this
does not fit.

  


I have those problems from time to time on a 2.4 kernel too (bacula 1.36.3)


Try running a plain kernel.org (i. e. non-FC)  kernel  -  and  please
report if this changes anything for you.

Best regards,

Wolfgang Denk

  




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restoring

2006-04-10 Thread Kern Sibbald
On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
 Thanx for your suggestions.
 Don't you think that it's strange that bacula can restore from bconsole,
 and not from manual commands? 

All but the highest level code that reads a Volume is identical between all 
Bacula components, so there is unlikely to be any difference between jobs run 
from bconsole and using the standalone tools.

 Is it a possible situation with a badly conficured device?

Since the code is the same, my answer is: no.

Your problem is most likely a bad tape or a dirty drive as I mentioned last 
time. An I/O error as you got means a hardware problem not a software 
problem. The manual lists other possibilities.

 Actually I never happened to encounter this problem, because I could always
 restore anything that was still in the database. Gabriele Bulfon - Sonicle
 S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Kern Sibbald [EMAIL PROTECTED]
 A: bacula-users@lists.sourceforge.net
 Cc: Gabriele Bulfon [EMAIL PROTECTED]
 Data: 9 aprile 2006 10.25.44 CEST
 Oggetto: Re: [Bacula-users] restoring

 On Saturday 08 April 2006 13:02, Gabriele Bulfon wrote:
  Hello,
  yesterday I was trying to restore an old file from an old backup tape
  that is no more in the database. So I tried using first btape and bls to
  check the content.
  With btape I could read the original label.
  With bls I was trying to get the list of jobs numbers present in the tape
  (this tape should contain 5 jobs of 5 different clients on the same day).
  But this is what I got from the system:
  -bash-3.00# ./bls -c ../etc/bacula-sd.conf -j -v -V FRIDAY QUANTUM
  bls: butil.c:258 Using device: QUANTUM for reading.
  08-Apr 12:47 bls: Ready to read from volume FRIDAY on device
  /dev/rmt/0. Volume Label:
  Id: Bacula 1.0 immortal
  VerNo : 11
  VolName   : FRIDAY
  PrevVolName   :
  VolFile   : 0
  LabelType : VOL_LABEL
  LabelSize : 162
  PoolName  : FridayPool
  MediaType : LTO
  PoolType  : Backup
  HostName  : iserver
  Date label written: 20-Jul-2005 10:39
  Begin Job Session Record:
  JobId : 16
  VerNum: 11
  PoolName  : FridayPool
  PoolType  : Backup
  JobName   : Enterprise Backup
  ClientName: iserver-fd
  Job (unique name) : Enterprise_Backup.2006-04-07_23.00.00
  FileSet   : Full Set
  JobType   : B
  JobLevel  : F
  Date written  : 07-Apr-2006 23:00
  08-Apr 12:48 bls: Got EOF at file 1  on device /dev/rmt/0, Volume
  FRIDAY 08-Apr 12:48 bls: bls Error: block.c:782 Read error at file:blk
  1:0 on device /dev/rmt/0. ERR=I/O error. 08-Apr 12:48 bls: End of Volume
  at file 1 on device /dev/rmt/0, Volume FRIDAY 08-Apr 12:48 bls: End of
  all volumes. End of physical tape.
  08-Apr 12:48 bls: ERROR in dev.c:1288 dev.c:1287 This device does not
  support Unknown. -bash-3.00#
  Then, to check the system, I placed other recent tapes in the LTO drive,
  and issued the same commands. Always the same error
  I even tried to force a bextract, knowning what was inside the tape,
  with the same errors. So I did the same on other systems I have at
  customers.always the same problem! I was worried.
  At last, I tried restoring a file from a recent tape that is in the
  database, so I could use bconsole/restore and the file was correctly
  restored!but the same tape gives errors with manual commands.
  This problem doesn't let me restore tapes that are no more in the
  database. I did not try to run a bscan yet, on a separate and clean
  machine, but I assume it will be producing the same errors while trying
  to recreate the db. Any idea about this?

 It looks like Bacula got an error trying to read the data on your tape.  I
 suspect that your drive is dirty or your media is bad.  You might try
 cleaning your tape drive.
 You should also run the btape test command if you haven't already to
 ensure that your Device directives are compatibile with your drive.  Also,
 it appears that Bacula's code is attempting to issue an unsupported ioctl()
 *after* the tape go an error.

  Machines are Sun v20z amd64, Solaris 10, Bacula 1.36.2 compiled with gcc
  in 32 bit mode. Drives are Certance Ultrium LTO2.
  Gabriele.
  Gabriele Bulfon - Sonicle S.r.l.
  Tel +39 028246016 Int. 30 - Fax +39 028243880
  Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
  http://www.sonicle.com

 --
 Best regards,
 Kern
 (
 /\
 V_V

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group 

RE: [Bacula-users] Bacula version 1.38.6 one Windows 2003

2006-04-10 Thread Masopust, Christian

Hi again,

as promised...   here are the results of my tests with version 1.38.6-1
of winbacula...

- backup runs fine during the whole weekend (also a full one)
- restore runs fine (tested this one right now).

so, i think you fixed the problems with 1.38.6 (but i think you already
know this as you've released the 1.38.7 :-

chris


--
I sense much NT in you, NT leads to Blue Screen. 
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to 
the darkside. 

- Unknown Unix Jedi  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Masopust, Christian
 Sent: Thursday, April 06, 2006 8:15 AM
 To: Kern Sibbald; bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Bacula version 1.38.6 one Windows 2003
 
 
 Hello Kern,
 
 i tried it this morning, run only one job on one server, and
 it seems to work ok.  I'll continue to use 1.38.6-1 on this server
 over this weekend and will tell you then if it is still ok.
 
 chris
 
 
 --
 I sense much NT in you, NT leads to Blue Screen. 
 Blue Screen leads to downtime, downtime leads to suffering. 
 NT is the path to the darkside. 
 
 - Unknown Unix Jedi  
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf 
  Of Kern Sibbald
  Sent: Wednesday, April 05, 2006 4:28 PM
  To: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] Bacula version 1.38.6 one Windows 2003
  
  On Wednesday 05 April 2006 16:09, Kern Sibbald wrote:
   Hello,
  
   For those of you who have experienced failures of Bacula 
  1.38.6 on Windows
   2003, I would appreciate it if you would download and test 
  a version that I
   believe has the problem corrected.  Feedback as soon as 
  possible would be
   appreciated.
  
   You can find this version at:
  
 www.sibbald.com/download/bacula-1.38.6-1.exe
  
  
  Oops. The correct link is:
  
www.sibbald.com/download/winbacula-1.38.6-1.exe

  -- 
  Best regards,
  
  Kern
  
(
/\
V_V
  
  
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking 
  scripting language
  that extends applications into web and mobile media. Attend 
  the live webcast
  and join the prime developer group breaking into this new 
  coding territory!
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720;
  dat=121642
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
  
 
 
 ---
 This SF.Net email is sponsored by xPML, a groundbreaking 
 scripting language
 that extends applications into web and mobile media. Attend 
 the live webcast
 and join the prime developer group breaking into this new 
 coding territory!
 http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] job is waiting for its start time

2006-04-10 Thread Turbo Fredriksson
This is weird... I've been fiddling with running multiple jobs
simultaneous (which seems to work). But this morning (first time
ALL run/start at the same time), I have a couple of jobs that ISN'T
started!

- s n i p -
Running Jobs:
 JobId Level   Name   Status
==
  3256 FullAnton_System.2006-04-10_01.05.04 is waiting for its start time
  3257 FullAlfred_System.2006-04-10_01.05.05 is waiting for its start time
  3258 FullKattla_System.2006-04-10_01.05.06 is waiting for its start time
  3259 FullEmil_System.2006-04-10_01.05.07 is waiting for its start time
  3260 FullIda_System.2006-04-10_01.05.08 is waiting for its start time


Terminated Jobs:
 JobId  Level Files  Bytes Status   FinishedName

[...]
  3255  Incr 83 91,052,336 OK   10-Apr-06 01:06 51Pegasi_System
  3253  Incr 39 64,948,868 OK   10-Apr-06 01:07 Pumba_System
  3254  Incr 68 17,706,777 OK   10-Apr-06 01:08 Fritz_System
  3252  Incr223  2,412,072,400 OK   10-Apr-06 01:15 Aurora_System
  3261  Full289,873  2,194,762,107 OK   10-Apr-06 01:55 Backup_Mail
  3262  Full  0  0 OK   10-Apr-06 01:57 Backup_Homes
  3263  Full313,935  8,281,112,843 OK   10-Apr-06 02:57 Backup_Devel
  3264  Full 39 43,787 OK   10-Apr-06 03:14 Backup_Catalog


*time
10-Apr-2006 09:07:05
- s n i p -

I don't get it... They should have started HOURS ago!


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Peeking a Tape

2006-04-10 Thread Turbo Fredriksson
Quoting Gabriele Bulfon [EMAIL PROTECTED]:

I would like to have a batch command for reading a tape content, with
summary informations about it (such as job names and total files for
each, maybe date and time informations and so on).

Try my BaculaSNMP agent.

- s n i p -
[EMAIL PROTECTED] snmptable baculaStatsTable | head
SNMP table: BAYOUR-COM-MIB::baculaStatsTable

baculaStatsStart  baculaStatsEnd baculaStatsDuration baculaStatsFiles 
baculaStatsBytes baculaStatsType baculaStatsStatus baculaStatsLevel 
baculaStatsErrors baculaStatsMissingFiles
 2006-03-03 01:05:02 -00-00 00:00:00  -10   
 0   B 0d   
  0   0
  na  na   00   
 0  na 0   na   
  0   0
 2005-11-24 20:18:22 2005-11-24 20:18:22   00   
 0   B 0d   
  0   0
 2005-11-24 20:18:22 2005-11-24 20:18:22   00   
 0   B 0d   
  0   0
 2006-01-13 01:42:42 2006-01-13 01:42:58  16  140   
 15443   B 0d   
  0   0
 2006-01-14 01:28:15 2006-01-14 01:28:31  16  107   
 14721   B 0d   
  0   0
 2006-01-16 04:14:38 2006-01-16 04:43:33173526168   
   1804573   B 0d   
  0   0
- s n i p -

http://bayour.com/bacula-snmp/

-- 
Why can't programmers tell the difference between
halloween and christmas day? Because 25 DEC = 31 OCT.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula version 1.38.6 one Windows 2003

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 09:40, Masopust, Christian wrote:
 Hi again,

 as promised...   here are the results of my tests with version 1.38.6-1
 of winbacula...

 - backup runs fine during the whole weekend (also a full one)
 - restore runs fine (tested this one right now).

 so, i think you fixed the problems with 1.38.6 (but i think you already
 know this as you've released the 1.38.7 :-

Thanks for the confirmation.  I just closed the bug as: fixed in 1.38.7


 chris


 --
 I sense much NT in you, NT leads to Blue Screen.
 Blue Screen leads to downtime, downtime leads to suffering. NT is the path
 to the darkside.

 - Unknown Unix Jedi

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
  Of Masopust, Christian
  Sent: Thursday, April 06, 2006 8:15 AM
  To: Kern Sibbald; bacula-users@lists.sourceforge.net
  Subject: RE: [Bacula-users] Bacula version 1.38.6 one Windows 2003
 
 
  Hello Kern,
 
  i tried it this morning, run only one job on one server, and
  it seems to work ok.  I'll continue to use 1.38.6-1 on this server
  over this weekend and will tell you then if it is still ok.
 
  chris
 
 
  --
  I sense much NT in you, NT leads to Blue Screen.
  Blue Screen leads to downtime, downtime leads to suffering.
  NT is the path to the darkside.
 
  - Unknown Unix Jedi
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf
   Of Kern Sibbald
   Sent: Wednesday, April 05, 2006 4:28 PM
   To: bacula-users@lists.sourceforge.net
   Subject: Re: [Bacula-users] Bacula version 1.38.6 one Windows 2003
  
   On Wednesday 05 April 2006 16:09, Kern Sibbald wrote:
Hello,
   
For those of you who have experienced failures of Bacula
  
   1.38.6 on Windows
  
2003, I would appreciate it if you would download and test
  
   a version that I
  
believe has the problem corrected.  Feedback as soon as
  
   possible would be
  
appreciated.
   
You can find this version at:
   
  www.sibbald.com/download/bacula-1.38.6-1.exe
  
   Oops. The correct link is:
  
 www.sibbald.com/download/winbacula-1.38.6-1.exe
  
   --
   Best regards,
  
   Kern
  
 (
 /\
 V_V
  
  
   ---
   This SF.Net email is sponsored by xPML, a groundbreaking
   scripting language
   that extends applications into web and mobile media. Attend
   the live webcast
   and join the prime developer group breaking into this new
   coding territory!
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720;
   dat=121642
   ___
   Bacula-users mailing list
   Bacula-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/bacula-users
 
  ---
  This SF.Net email is sponsored by xPML, a groundbreaking
  scripting language
  that extends applications into web and mobile media. Attend
  the live webcast
  and join the prime developer group breaking into this new
  coding territory!
  http://sel.as-us.falkag.net/sel?cmd=kkid0944bid$1720dat1642
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restoring

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 09:25, Kern Sibbald wrote:
 On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
  Thanx for your suggestions.
  Don't you think that it's strange that bacula can restore from bconsole,
  and not from manual commands?

 All but the highest level code that reads a Volume is identical between all
 Bacula components, so there is unlikely to be any difference between jobs
 run from bconsole and using the standalone tools.

  Is it a possible situation with a badly conficured device?

 Since the code is the same, my answer is: no.

 Your problem is most likely a bad tape or a dirty drive as I mentioned last
 time. An I/O error as you got means a hardware problem not a software
 problem. The manual lists other possibilities.

Well, yes, I should probably be more explicit as I don't always distinguish 
between OS problems and hardware problems.  

I should have said that this is very unlikely to be an application program 
(Bacula) error. If there is an I/O error, either the kernel driver is buggy 
or there is a problem with the hardware (which could also be the firmware in 
the tape drive).


  Actually I never happened to encounter this problem, because I could
  always restore anything that was still in the database. Gabriele Bulfon -
  Sonicle S.r.l.
  Tel +39 028246016 Int. 30 - Fax +39 028243880
  Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
  http://www.sonicle.com
  -
 -- --- Da: Kern Sibbald [EMAIL PROTECTED]
  A: bacula-users@lists.sourceforge.net
  Cc: Gabriele Bulfon [EMAIL PROTECTED]
  Data: 9 aprile 2006 10.25.44 CEST
  Oggetto: Re: [Bacula-users] restoring
 
  On Saturday 08 April 2006 13:02, Gabriele Bulfon wrote:
   Hello,
   yesterday I was trying to restore an old file from an old backup tape
   that is no more in the database. So I tried using first btape and bls
   to check the content.
   With btape I could read the original label.
   With bls I was trying to get the list of jobs numbers present in the
   tape (this tape should contain 5 jobs of 5 different clients on the
   same day). But this is what I got from the system:
   -bash-3.00# ./bls -c ../etc/bacula-sd.conf -j -v -V FRIDAY QUANTUM
   bls: butil.c:258 Using device: QUANTUM for reading.
   08-Apr 12:47 bls: Ready to read from volume FRIDAY on device
   /dev/rmt/0. Volume Label:
   Id: Bacula 1.0 immortal
   VerNo : 11
   VolName   : FRIDAY
   PrevVolName   :
   VolFile   : 0
   LabelType : VOL_LABEL
   LabelSize : 162
   PoolName  : FridayPool
   MediaType : LTO
   PoolType  : Backup
   HostName  : iserver
   Date label written: 20-Jul-2005 10:39
   Begin Job Session Record:
   JobId : 16
   VerNum: 11
   PoolName  : FridayPool
   PoolType  : Backup
   JobName   : Enterprise Backup
   ClientName: iserver-fd
   Job (unique name) : Enterprise_Backup.2006-04-07_23.00.00
   FileSet   : Full Set
   JobType   : B
   JobLevel  : F
   Date written  : 07-Apr-2006 23:00
   08-Apr 12:48 bls: Got EOF at file 1  on device /dev/rmt/0, Volume
   FRIDAY 08-Apr 12:48 bls: bls Error: block.c:782 Read error at
   file:blk 1:0 on device /dev/rmt/0. ERR=I/O error. 08-Apr 12:48 bls: End
   of Volume at file 1 on device /dev/rmt/0, Volume FRIDAY 08-Apr 12:48
   bls: End of all volumes. End of physical tape.
   08-Apr 12:48 bls: ERROR in dev.c:1288 dev.c:1287 This device does not
   support Unknown. -bash-3.00#
   Then, to check the system, I placed other recent tapes in the LTO
   drive, and issued the same commands. Always the same error
   I even tried to force a bextract, knowning what was inside the tape,
   with the same errors. So I did the same on other systems I have at
   customers.always the same problem! I was worried.
   At last, I tried restoring a file from a recent tape that is in the
   database, so I could use bconsole/restore and the file was correctly
   restored!but the same tape gives errors with manual commands.
   This problem doesn't let me restore tapes that are no more in the
   database. I did not try to run a bscan yet, on a separate and clean
   machine, but I assume it will be producing the same errors while trying
   to recreate the db. Any idea about this?
 
  It looks like Bacula got an error trying to read the data on your tape. 
  I suspect that your drive is dirty or your media is bad.  You might try
  cleaning your tape drive.
  You should also run the btape test command if you haven't already to
  ensure that your Device directives are compatibile with your drive. 
  Also, it appears that Bacula's code is attempting to issue an unsupported
  ioctl() *after* the tape go an error.
 
   Machines are Sun v20z amd64, Solaris 10, Bacula 1.36.2 compiled with
   gcc in 32 bit mode. Drives are Certance Ultrium LTO2.

[Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
Hello,

It seems that it is becoming more frequent (probably because of the increasing 
number of Bacula users) that users submit support questions to the bugs 
database.  This morning a user submitted a bug stating that the WildFile 
option was broken. Normally, I would have dismissed this as a support problem 
because most of us realize that wild-cards and regexes are awfully tricky.

However, this user presented a *really* simple case with debug output, so I 
took a look at it, and surprise both WildFile and RegexFile are broken 
because they match against the full path and filename rather than just the 
filename.

I wonder how many users have torn out their hair trying to figure out why 
WildFile or RegexFile didn't work :-(

Now, since this involves the FD, I cannot just provide a patch (because 
building your own Win32 FD is not something I expect you to do), so I'll be 
making a 1.38.8 release.  However, I am thinking about taking another week or 
two to do this so that I can back port Thorsten's code that allows restoring 
non-portable Windows backup data to any OS.  Thorsten simply took the time 
and effort to pick apart the Microsoft BackupRead stream data.

The downside is that this will delay the Migration code ...

For those of you who are for or against the new 1.38.6 code that takes Volumes 
from the Scratch pool earlier in the algorithm, now is the time to make your 
case.  At this point, unless someone can convince me otherwise (again), I am 
inclined to put it back to the 1.38.5 behavior (i.e. remove the early Scratch 
pool selection).

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Alan Brown

On Mon, 10 Apr 2006, Kern Sibbald wrote:


For those of you who are for or against the new 1.38.6 code that takes Volumes
from the Scratch pool earlier in the algorithm, now is the time to make your
case.  At this point, unless someone can convince me otherwise (again), I am
inclined to put it back to the 1.38.5 behavior (i.e. remove the early Scratch
pool selection).


My 2c (but I don't use scratch pools much)

If there are recyclable pool volumes in the changer then use them, else 
use available scratch pool volumes.


Otherwise the size of a tape pool can effectively grow far more rapidly 
than expected in the absence of a max volumes = pool parameter.



Do scratch pool volumes which have been pressed into service in a 
particular pool revert back to the scratch pool at the end of their 
lifespan?


AB




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Adding Capacity to Backup Server

2006-04-10 Thread Danie

Hi All ,

I've recently (over the weekend actually) realized that my backup server 
is/has run out of space.( ! )


My Setup is as follows :

FC3 , running in a RAID 5 setup ( 4 x 300GB) , no LVM

My question , if I want to add another disk to the array , will I need 
to reconfigure my whole logical disk? I've tried to google it etc , but 
I've come to know this list as the best resource for my backup woes :)


If any more info is needed I will supply

TIA
D


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Martin Simmons
 On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald [EMAIL PROTECTED] said:
 
 Hello,
 
 It seems that it is becoming more frequent (probably because of the 
 increasing 
 number of Bacula users) that users submit support questions to the bugs 
 database.  This morning a user submitted a bug stating that the WildFile 
 option was broken. Normally, I would have dismissed this as a support problem 
 because most of us realize that wild-cards and regexes are awfully tricky.
 
 However, this user presented a *really* simple case with debug output, so I 
 took a look at it, and surprise both WildFile and RegexFile are broken 
 because they match against the full path and filename rather than just the 
 filename.
 
 I wonder how many users have torn out their hair trying to figure out why 
 WildFile or RegexFile didn't work :-(

Are you really sure that is a bug?  I think the word filename in the
documentation is ambiguous, but when it says No directories will be matched
by this directive it does not mean that the matching is performed only on the
basename part.

The examples in A Windows Example FileSet are also written to assume that
WildFile compares the whole name.

The current behaviour is very useful because it allows files in selected
directories to be matched, without accidentally matching subdirectories (as
Wild will do).

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] When is a tape Full?

2006-04-10 Thread Martin Simmons
 On Sun, 09 Apr 2006 12:16:51 +0200, Erik P. Olsen [EMAIL PROTECTED] 
 said:
 
 I am infrequently getting tape full conditions at times when I did not expect 
 it. My tapes are DDS-4 tapes and they are considered Full by bacula at 
 various 
   capacities, for exampel:
 
 21,112,841,569
   6,445,884,582
 17,477,850,063
 15,855,178,172
 
 After the last volume ran full and mounting of the next empty volume it 
 appended only 3,710,244,549 to it, an amount which I had thought could easily 
 be 
 squeezed into the full volume.
 
 I don't understand what triggers the Full condition especially the 6GB 
 volume 
 is wierd since it shouldn't be full before approx. 20GB of data has been 
 written 
 to it.
 
 I am trying to optimize the use of the tapes but this process is difficult to 
 carry out when bacula determines the full condition at such different times. 
 Are 
 there anything I can do to ensure that the full condition becomes close to 
 20GB 
 or do I have to live with this strange phenomenon?

Are you using hardware compression?

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Adding Capacity to Backup Server

2006-04-10 Thread Dimitri Puzin
Danie schrieb:
 Hi All ,
Hello,

[...]
 FC3 , running in a RAID 5 setup ( 4 x 300GB) , no LVM
 
 My question , if I want to add another disk to the array , will I need
 to reconfigure my whole logical disk? I've tried to google it etc , but
 I've come to know this list as the best resource for my backup woes :)
IMO this has nothing to do with Bacula software itself but with
underlying disk subsystem. Whether you can add a disk or not depends on
the capability of your RAID controller. If you have software RAID
solution running there, then there is currently no way to enlarge the
array. It needs to be rebuilt from scratch completely. However, Linux
Kernel v2.6.17-rc1 together with latest mdadm tools has support for
growing software RAID-5 volumes. This schould be considered beta
quality! If you attempt doing it, make sure you have a backup ;). Please
share your results as I am also interested in this function.

Regards,
-Dimitri aka Tristan-777



signature.asc
Description: OpenPGP digital signature


Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 12:59, Alan Brown wrote:
 On Mon, 10 Apr 2006, Kern Sibbald wrote:
  For those of you who are for or against the new 1.38.6 code that takes
  Volumes from the Scratch pool earlier in the algorithm, now is the time
  to make your case.  At this point, unless someone can convince me
  otherwise (again), I am inclined to put it back to the 1.38.5 behavior
  (i.e. remove the early Scratch pool selection).

 My 2c (but I don't use scratch pools much)

 If there are recyclable pool volumes in the changer then use them, else
 use available scratch pool volumes.

 Otherwise the size of a tape pool can effectively grow far more rapidly
 than expected in the absence of a max volumes = pool parameter.


 Do scratch pool volumes which have been pressed into service in a
 particular pool revert back to the scratch pool at the end of their
 lifespan?

No, but hopefully they will in a future version.


-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 13:15, Martin Simmons wrote:
  On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald [EMAIL PROTECTED]
  said:
 
  Hello,
 
  It seems that it is becoming more frequent (probably because of the
  increasing number of Bacula users) that users submit support questions to
  the bugs database.  This morning a user submitted a bug stating that the
  WildFile option was broken. Normally, I would have dismissed this as a
  support problem because most of us realize that wild-cards and regexes
  are awfully tricky.
 
  However, this user presented a *really* simple case with debug output, so
  I took a look at it, and surprise both WildFile and RegexFile are broken
  because they match against the full path and filename rather than just
  the filename.
 
  I wonder how many users have torn out their hair trying to figure out why
  WildFile or RegexFile didn't work :-(

 Are you really sure that is a bug?  I think the word filename in the
 documentation is ambiguous, but when it says No directories will be
 matched by this directive it does not mean that the matching is performed
 only on the basename part.

Yes, that is the way it is supposed to work, otherwise, what is the difference 
between WildFile and Wild?  WildFile should compare only to the filename 
(basename), WildDir compares only to directories (it will not compare if the 
item is a file), and Wild compares against the full path + filename.


 The examples in A Windows Example FileSet are also written to assume that
 WildFile compares the whole name.

They were probably written by someone who was working around the problem.


 The current behaviour is very useful because it allows files in selected
 directories to be matched, without accidentally matching subdirectories (as
 Wild will do).

Well, WildFile will never match against a directory, either in the old broken 
code, or in the current code.  In both cases, any directories found are 
passed to WildDir, and files and special devices are passed to WildFile.

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 13:15, Martin Simmons wrote:
  On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald [EMAIL PROTECTED]
  said:
 
  Hello,
 
  It seems that it is becoming more frequent (probably because of the
  increasing number of Bacula users) that users submit support questions to
  the bugs database.  This morning a user submitted a bug stating that the
  WildFile option was broken. Normally, I would have dismissed this as a
  support problem because most of us realize that wild-cards and regexes
  are awfully tricky.
 
  However, this user presented a *really* simple case with debug output, so
  I took a look at it, and surprise both WildFile and RegexFile are broken
  because they match against the full path and filename rather than just
  the filename.
 
  I wonder how many users have torn out their hair trying to figure out why
  WildFile or RegexFile didn't work :-(

 Are you really sure that is a bug?  I think the word filename in the
 documentation is ambiguous, but when it says No directories will be
 matched by this directive it does not mean that the matching is performed
 only on the basename part.

 The examples in A Windows Example FileSet are also written to assume that
 WildFile compares the whole name.

 The current behaviour is very useful because it allows files in selected
 directories to be matched, without accidentally matching subdirectories (as
 Wild will do).


After a little more thought about this, I'm not so sure I should change the 
behavior. It is not what I had originally intended (I didn't program it), but 
to change it now, given all the examples in the doc would create a number of 
problems.

I think the best solution is to ensure that the documentation is extremely 
clear, then if there is really a demand, implement a new option such as 
WildFilename that matches against only the filename (basename).

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Proposed enhancement to Bacula-Web

2006-04-10 Thread Stephan Ebelt
Kern Sibbald wrote:
 Hello,
 
 I'm a bit surprised because I have not seen any comments on this proposal. Am 
 I missing something?  It sounds like a nice feature to me.

to me too.

It could be useful e.g to show somebody how much work the backup system
actually does. Ie during the last week.

If its in the CVS I would be willing to put the missing form in (if Mike
has not done so yet).

I would prefer the input being a 'select' list with human readable terms
such as '2 days ago', '3 days ago', 'one week ago', ..., 'half year
ago', ... for the lazy folks who like to click. Actually we could also
do both. :-)

best regards,
Stephan



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Martin Simmons
 On Mon, 10 Apr 2006 14:09:03 +0200, Kern Sibbald [EMAIL PROTECTED] said:
 
 On Monday 10 April 2006 13:15, Martin Simmons wrote:
   On Mon, 10 Apr 2006 12:22:59 +0200, Kern Sibbald [EMAIL PROTECTED]
   said:
  
   Hello,
  
   It seems that it is becoming more frequent (probably because of the
   increasing number of Bacula users) that users submit support questions to
   the bugs database.  This morning a user submitted a bug stating that the
   WildFile option was broken. Normally, I would have dismissed this as a
   support problem because most of us realize that wild-cards and regexes
   are awfully tricky.
  
   However, this user presented a *really* simple case with debug output, so
   I took a look at it, and surprise both WildFile and RegexFile are broken
   because they match against the full path and filename rather than just
   the filename.
  
   I wonder how many users have torn out their hair trying to figure out why
   WildFile or RegexFile didn't work :-(
 
  Are you really sure that is a bug?  I think the word filename in the
  documentation is ambiguous, but when it says No directories will be
  matched by this directive it does not mean that the matching is performed
  only on the basename part.
 
  The examples in A Windows Example FileSet are also written to assume that
  WildFile compares the whole name.
 
  The current behaviour is very useful because it allows files in selected
  directories to be matched, without accidentally matching subdirectories (as
  Wild will do).
 
 
 After a little more thought about this, I'm not so sure I should change the 
 behavior. It is not what I had originally intended (I didn't program it), but 
 to change it now, given all the examples in the doc would create a number of 
 problems.
 
 I think the best solution is to ensure that the documentation is extremely 
 clear, then if there is really a demand, implement a new option such as 
 WildFilename that matches against only the filename (basename).

Yes, that's probably the best thing.  There are a couple of unix examples
using .journal and .autofsck in the doc that need fixing.

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Proposed enhancement to Bacula-Web

2006-04-10 Thread Juan Luis Frances
Hello,

I'm not able to find that message, and I don't have the diffs, sorry.

First, it is great that someone upgrade my code. I believed that nobody had 
interest on it.

Michael, thanks for your code. I hope to apply it this week. If you follow 
improving bacula-web, please, take the CVS code: 
http://sourceforge.net/cvs/?group_id=50727

Best regards,
Juan Luis Francés

El Domingo 09 Abril 2006 22:57, Kern Sibbald escribió:
 Hello,

 I'm a bit surprised because I have not seen any comments on this proposal.
 Am I missing something?  It sounds like a nice feature to me.

 I'm copying the users list as well as perhaps they have something to say
 about this.

 On Friday 31 March 2006 03:27, Kraft, Mike wrote:
  Hi,
 
  Pursuant to a brief discussion I had last week with Mr. Sibbald, please
  find attached some diffs showing the implementation of a 'numDaysAgo'
  CGI query parameter to allow users to see results in Bacula-Web from
  previous days, not just the last 24 hours. Our implementation (and the
  attached diffs) is based on the 1.38.0 Bacula-Web codebase. A screenshot
  is also attached so you can see what it looks like.
 
  We changed the Bacula-Web status display so that it is not limited to
  listing jobs from the previous 24 hours. It can now list jobs for any 24
  hour period a specified number of days ago. Likewise, the General Report
  graph now shows bytecounts for a 48 hour period starting the specified
  number of days ago, instead of just the last 48 hours.
 
  index.php
  To begin with, we implemented the recognition of a CGI query parameter
  numDaysAgo for the index.php URL. For example:
 
  http://bacula.celcorp.com/index.php?numDaysAgo=2
 
  This would display jobs from 48-72 hours ago. The code in index.php to
  read the numDaysAgo parameter:
 
  $numDaysAgo = 0;
 
  if (isset($_GET['numDaysAgo'])) {
  $numDaysAgo = $_GET['numDaysAgo'];
  }
 
  settype($numDaysAgo, integer);
  $smarty-assign('num_days_ago', $numDaysAgo);
  settype($numDaysAgo, string);
 
  The next step was to change the 'where' clause of the query that
  retrieves the data for the job listing to use the $numDaysAgo variable:
 
  where
  UNIX_TIMESTAMP(EndTime) = (UNIX_TIMESTAMP(NOW()) -
  86400*$numDaysAgo)
and
  UNIX_TIMESTAMP(EndTime)  (UNIX_TIMESTAMP(NOW()) -
  86400*($numDaysAgo+1))
 
  last_run_report.tpl
  The status section label was changed in last_run_report.tpl.
 
  index.tpl
  The General Report graph is created when index.tpl calls stats.php to
  ask it to return the image for the graph. stats.php in turn uses code in
  classes.inc to create that image. So we needed to propagate the
  numDaysAgo value all the way down this chain. Recall that we created a
  template variable num_days_ago in index.php; this is available for use
  in index.tpl, so we add it to the URL for calling stats.php:
 
  img src=stats.php?server={$server}tipo_dato=69title={t}
  General%20report{/t}modo_graph=barssizex=420
  sizey=250MBottom=20legend=1numDaysAgo={$num_days_ago}
 
  stats.php
  In stats.php, we now need to read that parameter:
 
  if (isset($_GET['numDaysAgo'])) {
  $graph-numDaysAgo = $_GET['numDaysAgo'];
  }
 
  classes.inc
  $graph is an object of type BCreateGraph found in classes.inc. Of
  course, it had no member variable numDaysAgo, so we had to add it:
 
  class BCreateGraph extends BGraph {
  var $BD_bacula;
  var $izquierda;
  var $derecha;
  var $StartDate;
  var $EndDate;
  var $elapsed; // Default elapsed time to show complex graphs
  var $numDaysAgo;
 
  function BCreateGraph() {
  $this-StartDate = 1900-01-01;
  $this-EndDate = 4000-01-01;
  $this-elapsed = 86400; // 24 hours in seconds.
  $this-numDaysAgo = 0;
   }
 
  Finally, we used BCreateGraph.numDaysAgo in the same way as we did in
  index.php, in the 'where' clause of the queries to get the data for the
  graph:
 
  where
  UNIX_TIMESTAMP(EndTime) = (UNIX_TIMESTAMP(NOW()) -
  $this-elapsed*$this-numDaysAgo)
and
  UNIX_TIMESTAMP(EndTime)  (UNIX_TIMESTAMP(NOW()) -
  $this-elapsed*($this-numDaysAgo+1))
 
  Misc
  Please note that, while we did implement the changes for the Postgres as
  well as the MySQL versions of the queries, the Postgres versions have
  not been tested...
 
  We were too lazy   ;^)   to implement a form field for users to submit
  numDaysAgo values; we just use the browser URL field. Obviously, anyone
  could add such a form at anytime.
 
  I was pretty much learning PHP as I went, so please accept my apologies
  if I violated any common PHP coding conventions...
 
  So let me know what you think!
 
  Sincerely,
  Michael Kraft
  Software Project Manager,
  Celcorp
  www.celcorp.com


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and 

[Bacula-users] Excluding wildcard files in a fileset

2006-04-10 Thread Bill Moran

I'm looking at backing up a bunch of our user's laptops.  There's
some pretty decent explanation about how to put together jobs, so
I'm free and clear there.

Where I'm a bit fuzzy is in excluding files.  There are a number of
file types that I don't want to waste tape backing up, but are
acceptable for our users to have on their laptops.  Files such as
.mp3, for example.

I can't seem to find it documented anywhere, but can I just do:

FileSet{
  Name = WindowsHomeDirs
  Include{
File = c:\Documents and Settings\
  }
  Exclude{
File = *.mp3
  }
}

Will the wildcard work as one would expect it to?  If not, is there
another way to accomplish this?

As a side note, the _ideal_ circumstance would be to exclude files by
mime-type, as this would protect from case-[in]sensitivity issues as
well as poorly renamed files.  I don't know how feasible this would
be on non-posix systems that don't have a file command ... ?

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Kodis wrote:
 On Mon, Apr 10, 2006 at 11:59:15AM +0100, Alan Brown wrote:
 
 If there are recyclable pool volumes in the changer then use them, else 
 use available scratch pool volumes.

 Otherwise the size of a tape pool can effectively grow far more rapidly 
 than expected in the absence of a max volumes = pool parameter.
 
 I'd second this.  I'd like to be able to leave a number of scratch
 volumes available without having them put into service when there are
 other eligible volumes available.

I'd like to add a third. I don't use scratch pools at all, currently,
but I can't see why I'd want a new volume being added to the pool when
I've got one in there that's supposed to be used. Wouldn't that mean
that it would ALWAYS choose a scratch volume if there is one available
and all of your tapes are full (even if one should be recycled)? In my
setup, this would be the case anyway.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEOnnjmb+gadEcsb4RAqpyAJ0e4tltWeE1k+8qK1GK5kVyoxVfHgCgvzog
WBbltCy3KoDUe2/rg5Qqp4g=
=kzNT
-END PGP SIGNATURE-



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 17:08, John Kodis wrote:
 On Mon, Apr 10, 2006 at 11:59:15AM +0100, Alan Brown wrote:
  If there are recyclable pool volumes in the changer then use them, else
  use available scratch pool volumes.
 
  Otherwise the size of a tape pool can effectively grow far more rapidly
  than expected in the absence of a max volumes = pool parameter.

 I'd second this.  I'd like to be able to leave a number of scratch
 volumes available without having them put into service when there are
 other eligible volumes available.

 On a somewhat related note, I'm not clear on how the tape selection
 algorithm is altered when an autochanger is available.  For example,
 if there are two equally eligible volumes available, only one of which
 is in the autochanger, would this volume be preferred?  That seems
 desirable, but I don't see this behavior specified anywhere.

Please see the Recycle algorithm in the doc.


 I'm also unclear on whether Bacula currently tracks which volumes are
 in an autochanger.  Right now, I have two volumes that are both
 recorded in the database as InChanger = 1 and Slot = 4, but it's
 not obvious which tape is actually in the changer.

The Volume tracking is more or less manual using update slots or update 
slots scan

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 17:29, Ryan Novosielski wrote:
 John Kodis wrote:
  On Mon, Apr 10, 2006 at 11:59:15AM +0100, Alan Brown wrote:
  If there are recyclable pool volumes in the changer then use them, else
  use available scratch pool volumes.
 
  Otherwise the size of a tape pool can effectively grow far more rapidly
  than expected in the absence of a max volumes = pool parameter.
 
  I'd second this.  I'd like to be able to leave a number of scratch
  volumes available without having them put into service when there are
  other eligible volumes available.

 I'd like to add a third. I don't use scratch pools at all, currently,
 but I can't see why I'd want a new volume being added to the pool when
 I've got one in there that's supposed to be used. Wouldn't that mean
 that it would ALWAYS choose a scratch volume if there is one available
 and all of your tapes are full (even if one should be recycled)? In my
 setup, this would be the case anyway.

If I remember the argument correctly, it was: Why overwrite volumes if there 
are scratch volumes available? That is what scratch volumes are for. 


-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: [Bacula-devel] Proposed enhancement to Bacula-Web

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 14:29, Stephan Ebelt wrote:
 Kern Sibbald wrote:
  Hello,
 
  I'm a bit surprised because I have not seen any comments on this
  proposal. Am I missing something?  It sounds like a nice feature to me.

 to me too.

 It could be useful e.g to show somebody how much work the backup system
 actually does. Ie during the last week.

 If its in the CVS I would be willing to put the missing form in (if Mike
 has not done so yet).

The source code for bacula-web is in the CVS under the module name gui.  
However, the new code was sent to the devel list as diff files and is not yet 
applied. 

Juan Luis didn't seem to get the code, so I will send him the attachments. If 
anyone else did not get them and would like to look at it or apply it 
themselves, let me know and I'll copy you too.

There was also a nice screen shot included.


 I would prefer the input being a 'select' list with human readable terms
 such as '2 days ago', '3 days ago', 'one week ago', ..., 'half year
 ago', ... for the lazy folks who like to click. Actually we could also
 do both. :-)


-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Ludovic Strappazon

Kern Sibbald a écrit :

On Monday 10 April 2006 17:29, Ryan Novosielski wrote:
  

John Kodis wrote:


On Mon, Apr 10, 2006 at 11:59:15AM +0100, Alan Brown wrote:
  

If there are recyclable pool volumes in the changer then use them, else
use available scratch pool volumes.

Otherwise the size of a tape pool can effectively grow far more rapidly
than expected in the absence of a max volumes = pool parameter.


I'd second this.  I'd like to be able to leave a number of scratch
volumes available without having them put into service when there are
other eligible volumes available.
  

I'd like to add a third. I don't use scratch pools at all, currently,
but I can't see why I'd want a new volume being added to the pool when
I've got one in there that's supposed to be used. Wouldn't that mean
that it would ALWAYS choose a scratch volume if there is one available
and all of your tapes are full (even if one should be recycled)? In my
setup, this would be the case anyway.



If I remember the argument correctly, it was: Why overwrite volumes if there 
are scratch volumes available? That is what scratch volumes are for. 



  

Hello,

In my opinion, the pools should normally cycle on theirs tapes without 
adding tapes in a stable situation. The scratch pool should be  a 
security to avoid blocking the backups if one volumetry's job increases 
suddenly, for example.


The second advantage of scratch pool is to reach a stable situation 
automatically : I create all my pools, I put all the tapes in the 
scratch pool, and let's run Bacula and see what happen. The pools will 
pick the tapes until they can cycle respecting the retentions periods, 
so the different pools should be stable.


With the new algorithm, I can't use the scratch pool in any of these ways...
So please Kern, put it back to the 1.38.5 behavior !

Ludovic Strappazon.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-devel] Re: [Bacula-users] Surprise bug + Scratch pool algorithm

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 18:07, Ludovic Strappazon wrote:
 Kern Sibbald a écrit :
  On Monday 10 April 2006 17:29, Ryan Novosielski wrote:
  John Kodis wrote:
  On Mon, Apr 10, 2006 at 11:59:15AM +0100, Alan Brown wrote:
  If there are recyclable pool volumes in the changer then use them,
  else use available scratch pool volumes.
 
  Otherwise the size of a tape pool can effectively grow far more
  rapidly than expected in the absence of a max volumes = pool
  parameter.
 
  I'd second this.  I'd like to be able to leave a number of scratch
  volumes available without having them put into service when there are
  other eligible volumes available.
 
  I'd like to add a third. I don't use scratch pools at all, currently,
  but I can't see why I'd want a new volume being added to the pool when
  I've got one in there that's supposed to be used. Wouldn't that mean
  that it would ALWAYS choose a scratch volume if there is one available
  and all of your tapes are full (even if one should be recycled)? In my
  setup, this would be the case anyway.
 
  If I remember the argument correctly, it was: Why overwrite volumes if
  there are scratch volumes available? That is what scratch volumes are
  for.

 Hello,

 In my opinion, the pools should normally cycle on theirs tapes without
 adding tapes in a stable situation. The scratch pool should be  a
 security to avoid blocking the backups if one volumetry's job increases
 suddenly, for example.

 The second advantage of scratch pool is to reach a stable situation
 automatically : I create all my pools, I put all the tapes in the
 scratch pool, and let's run Bacula and see what happen. The pools will
 pick the tapes until they can cycle respecting the retentions periods,
 so the different pools should be stable.

 With the new algorithm, I can't use the scratch pool in any of these
 ways... So please Kern, put it back to the 1.38.5 behavior !

Yes, my original reaction to the request to change the algorithm was more or 
less what you write: if you have your retention periods and the number of 
volumes setup correctly, Bacula shouldn't really need to pull from the 
scratch pool except when it is going to block.  

So either I incorrectly implemented what they wanted, or quite possibly they 
(as I) didn't realize all the ramifications that such a change would have.

If there are still any users that want to keep the current behavior, you 
should speak up now ...

-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restoring

2006-04-10 Thread Gabriele Bulfon


I tried the btape tests on clean systems:Sun v20z, AMD64, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium LTO2.
SunFire280R, Sparcv9, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium LTO2.I always get the long list of "got EOF"but I'm sure that the system defaults to variable block size.I even tried substituting the Quantum device with a certified Sun-Dat72 : same results.I believe that until I can't get rid of these "got EOF" during tests, I will have my problem (able to restore via bconsole, not able to restore through command line).Do you think there may be something wrong in the way I compiled binaries on Solaris?Is there any issue about the 64 bit platform? The binaries are all 32bit ones: may be this a problem?Is there any specific issue pertaining to the Solaris 10 platform?Thanks for any help.


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

--Da: Kern Sibbald [EMAIL PROTECTED]A: bacula-users@lists.sourceforge.net Cc: Gabriele Bulfon [EMAIL PROTECTED] Data: 10 aprile 2006 11.50.50 CESTOggetto: Re: [Bacula-users] restoringOn Monday 10 April 2006 09:25, Kern Sibbald wrote:
 On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
  Thanx for your suggestions.
  Don't you think that it's strange that bacula can restore from bconsole,
  and not from manual commands?

 All but the highest level code that reads a Volume is identical between all
 Bacula components, so there is unlikely to be any difference between jobs
 run from bconsole and using the standalone tools.

  Is it a possible situation with a badly conficured device?

 Since the code is the same, my answer is: no.

 Your problem is most likely a bad tape or a dirty drive as I mentioned last
 time. An I/O error as you got means a hardware problem not a software
 problem. The manual lists other possibilities.

Well, yes, I should probably be more explicit as I don't always distinguish 
between OS problems and hardware problems.  

I should have said that this is very unlikely to be an application program 
(Bacula) error. If there is an I/O error, either the kernel driver is buggy 
or there is a problem with the hardware (which could also be the firmware in 
the tape drive).


  Actually I never happened to encounter this problem, because I could
  always restore anything that was still in the database. Gabriele Bulfon -
  Sonicle S.r.l.
  Tel +39 028246016 Int. 30 - Fax +39 028243880
  Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
  http://www.sonicle.com
  -
 -- --- Da: Kern Sibbald [EMAIL PROTECTED]
  A: bacula-users@lists.sourceforge.net
  Cc: Gabriele Bulfon [EMAIL PROTECTED]
  Data: 9 aprile 2006 10.25.44 CEST
  Oggetto: Re: [Bacula-users] restoring
 
  On Saturday 08 April 2006 13:02, Gabriele Bulfon wrote:
   Hello,
   yesterday I was trying to restore an old file from an old backup tape
   that is no more in the database. So I tried using first btape and bls
   to check the content.
   With btape I could read the original label.
   With bls I was trying to get the list of jobs numbers present in the
   tape (this tape should contain 5 jobs of 5 different clients on the
   same day). But this is what I got from the system:
   -bash-3.00# ./bls -c ../etc/bacula-sd.conf -j -v -V FRIDAY QUANTUM
   bls: butil.c:258 Using device: "QUANTUM" for reading.
   08-Apr 12:47 bls: Ready to read from volume "FRIDAY" on device
   /dev/rmt/0. Volume Label:
   Id: Bacula 1.0 immortal
   VerNo : 11
   VolName   : FRIDAY
   PrevVolName   :
   VolFile   : 0
   LabelType : VOL_LABEL
   LabelSize : 162
   PoolName  : FridayPool
   MediaType : LTO
   PoolType  : Backup
   HostName  : iserver
   Date label written: 20-Jul-2005 10:39
   Begin Job Session Record:
   JobId : 16
   VerNum: 11
   PoolName  : FridayPool
   PoolType  : Backup
   JobName   : Enterprise Backup
   ClientName: iserver-fd
   Job (unique name) : Enterprise_Backup.2006-04-07_23.00.00
   FileSet   : Full Set
   JobType   : B
   JobLevel  : F
   Date written  : 07-Apr-2006 23:00
   08-Apr 12:48 bls: Got EOF at file 1  on device /dev/rmt/0, Volume
   "FRIDAY" 08-Apr 12:48 bls: bls Error: block.c:782 Read error at
   file:blk 1:0 on device /dev/rmt/0. ERR=I/O error. 08-Apr 12:48 bls: End
   of Volume at file 1 on device /dev/rmt/0, Volume "FRIDAY" 08-Apr 12:48
   bls: End of all volumes. End of physical tape.
   08-Apr 12:48 bls: ERROR in dev.c:1288 dev.c:1287 This device does not
   support Unknown. -bash-3.00#
   Then, to check the system, I placed other recent tapes in the LTO
   drive, and issued the same 

Re: [Bacula-users] restoring

2006-04-10 Thread Kern Sibbald

I don't know why you are worrying about the got EOF messages. They are quite 
normal. They are not error messages. Bacula is *very* careful to put the word 
error in error messages or warning in possible error messages. If neither 
of those words are in the message, it can be considered an informational 
message and not normally anything to worry about.

On Monday 10 April 2006 18:14, Gabriele Bulfon wrote:
 I tried the btape tests on clean systems:
 Sun v20z, AMD64, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium
 LTO2. SunFire280R, Sparcv9, Solaris 10, self compiled bacula 1.36.2,
 Quantum Ultrium LTO2. I always get the long list of got EOFbut I'm
 sure that the system defaults to variable block size. I even tried
 substituting the Quantum device with a certified Sun-Dat72 : same results.
 I believe that until I can't get rid of these got EOF during tests, I
 will have my problem (able to restore via bconsole, not able to restore
 through command line). Do you think there may be something wrong in the way
 I compiled binaries on Solaris? Is there any issue about the 64 bit
 platform? The binaries are all 32bit ones: may be this a problem? Is there
 any specific issue pertaining to the Solaris 10 platform? Thanks for any
 help.
 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Kern Sibbald [EMAIL PROTECTED]
 A: bacula-users@lists.sourceforge.net
 Cc: Gabriele Bulfon [EMAIL PROTECTED]
 Data: 10 aprile 2006 11.50.50 CEST
 Oggetto: Re: [Bacula-users] restoring

 On Monday 10 April 2006 09:25, Kern Sibbald wrote:
  On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
   Thanx for your suggestions.
   Don't you think that it's strange that bacula can restore from
   bconsole, and not from manual commands?
 
  All but the highest level code that reads a Volume is identical between
  all Bacula components, so there is unlikely to be any difference between
  jobs run from bconsole and using the standalone tools.
 
   Is it a possible situation with a badly conficured device?
 
  Since the code is the same, my answer is: no.
 
  Your problem is most likely a bad tape or a dirty drive as I mentioned
  last time. An I/O error as you got means a hardware problem not a
  software problem. The manual lists other possibilities.

 Well, yes, I should probably be more explicit as I don't always distinguish
 between OS problems and hardware problems.
 I should have said that this is very unlikely to be an application program
 (Bacula) error. If there is an I/O error, either the kernel driver is buggy
 or there is a problem with the hardware (which could also be the firmware
 in the tape drive).

   Actually I never happened to encounter this problem, because I could
   always restore anything that was still in the database. Gabriele Bulfon
   - Sonicle S.r.l.
   Tel +39 028246016 Int. 30 - Fax +39 028243880
   Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
   http://www.sonicle.com
   ---
  -- -- --- Da: Kern Sibbald [EMAIL PROTECTED]
   A: bacula-users@lists.sourceforge.net
   Cc: Gabriele Bulfon [EMAIL PROTECTED]
   Data: 9 aprile 2006 10.25.44 CEST
   Oggetto: Re: [Bacula-users] restoring
  
   On Saturday 08 April 2006 13:02, Gabriele Bulfon wrote:
Hello,
yesterday I was trying to restore an old file from an old backup tape
that is no more in the database. So I tried using first btape and bls
to check the content.
With btape I could read the original label.
With bls I was trying to get the list of jobs numbers present in the
tape (this tape should contain 5 jobs of 5 different clients on the
same day). But this is what I got from the system:
-bash-3.00# ./bls -c ../etc/bacula-sd.conf -j -v -V FRIDAY QUANTUM
bls: butil.c:258 Using device: QUANTUM for reading.
08-Apr 12:47 bls: Ready to read from volume FRIDAY on device
/dev/rmt/0. Volume Label:
Id: Bacula 1.0 immortal
VerNo : 11
VolName   : FRIDAY
PrevVolName   :
VolFile   : 0
LabelType : VOL_LABEL
LabelSize : 162
PoolName  : FridayPool
MediaType : LTO
PoolType  : Backup
HostName  : iserver
Date label written: 20-Jul-2005 10:39
Begin Job Session Record:
JobId : 16
VerNum: 11
PoolName  : FridayPool
PoolType  : Backup
JobName   : Enterprise Backup
ClientName: iserver-fd
Job (unique name) : Enterprise_Backup.2006-04-07_23.00.00
FileSet   : Full Set
JobType   : B
JobLevel  : F
Date written  : 07-Apr-2006 23:00
08-Apr 12:48 bls: Got EOF at file 1  on 

Re: [Bacula-users] restoring

2006-04-10 Thread Gabriele Bulfon


...I forgot a particular about "Got EOF"on first "Got EOF" (after the Rewind OK) I get an erroron the console (and in /var/adm/messages):Apr 10 18:27:14 solar10lab btape[712]: [ID 702911 daemon.error] btape: btape Error: block.c:782 Read error at file:blk 1:0 on device /dev/rmt/0. ERR=I/O error.And then, the list of "Got EOF" goes on endlessly.


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

--Da: Kern Sibbald [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] Cc: bacula-users bacula-users@lists.sourceforge.net Data: 10 aprile 2006 18.24.02 CESTOggetto: Re: [Bacula-users] restoring
I don't know why you are worrying about the "got EOF" messages. They are quite 
normal. They are not error messages. Bacula is *very* careful to put the word 
"error" in error messages or "warning" in possible error messages. If neither 
of those words are in the message, it can be considered an "informational" 
message and not normally anything to worry about.

On Monday 10 April 2006 18:14, Gabriele Bulfon wrote:
 I tried the btape tests on clean systems:
 Sun v20z, AMD64, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium
 LTO2. SunFire280R, Sparcv9, Solaris 10, self compiled bacula 1.36.2,
 Quantum Ultrium LTO2. I always get the long list of "got EOF"but I'm
 sure that the system defaults to variable block size. I even tried
 substituting the Quantum device with a certified Sun-Dat72 : same results.
 I believe that until I can't get rid of these "got EOF" during tests, I
 will have my problem (able to restore via bconsole, not able to restore
 through command line). Do you think there may be something wrong in the way
 I compiled binaries on Solaris? Is there any issue about the 64 bit
 platform? The binaries are all 32bit ones: may be this a problem? Is there
 any specific issue pertaining to the Solaris 10 platform? Thanks for any
 help.
 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Kern Sibbald [EMAIL PROTECTED]
 A: bacula-users@lists.sourceforge.net
 Cc: Gabriele Bulfon [EMAIL PROTECTED]
 Data: 10 aprile 2006 11.50.50 CEST
 Oggetto: Re: [Bacula-users] restoring

 On Monday 10 April 2006 09:25, Kern Sibbald wrote:
  On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
   Thanx for your suggestions.
   Don't you think that it's strange that bacula can restore from
   bconsole, and not from manual commands?
 
  All but the highest level code that reads a Volume is identical between
  all Bacula components, so there is unlikely to be any difference between
  jobs run from bconsole and using the standalone tools.
 
   Is it a possible situation with a badly conficured device?
 
  Since the code is the same, my answer is: no.
 
  Your problem is most likely a bad tape or a dirty drive as I mentioned
  last time. An I/O error as you got means a hardware problem not a
  software problem. The manual lists other possibilities.

 Well, yes, I should probably be more explicit as I don't always distinguish
 between OS problems and hardware problems.
 I should have said that this is very unlikely to be an application program
 (Bacula) error. If there is an I/O error, either the kernel driver is buggy
 or there is a problem with the hardware (which could also be the firmware
 in the tape drive).

   Actually I never happened to encounter this problem, because I could
   always restore anything that was still in the database. Gabriele Bulfon
   - Sonicle S.r.l.
   Tel +39 028246016 Int. 30 - Fax +39 028243880
   Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
   http://www.sonicle.com
   ---
  -- -- --- Da: Kern Sibbald [EMAIL PROTECTED]
   A: bacula-users@lists.sourceforge.net
   Cc: Gabriele Bulfon [EMAIL PROTECTED]
   Data: 9 aprile 2006 10.25.44 CEST
   Oggetto: Re: [Bacula-users] restoring
  
   On Saturday 08 April 2006 13:02, Gabriele Bulfon wrote:
Hello,
yesterday I was trying to restore an old file from an old backup tape
that is no more in the database. So I tried using first btape and bls
to check the content.
With btape I could read the original label.
With bls I was trying to get the list of jobs numbers present in the
tape (this tape should contain 5 jobs of 5 different clients on the
same day). But this is what I got from the system:
-bash-3.00# ./bls -c ../etc/bacula-sd.conf -j -v -V FRIDAY QUANTUM
bls: butil.c:258 Using device: "QUANTUM" for reading.
08-Apr 12:47 bls: Ready to read from volume "FRIDAY" on device
/dev/rmt/0. Volume Label:
Id: 

Re: [Bacula-users] restoring

2006-04-10 Thread Kern Sibbald
On Monday 10 April 2006 18:33, Gabriele Bulfon wrote:
 ...I'm worrying about it because the list of Got EOF on tape. never ends,
 until I kill the btape/test; should I wait longer? 

Sorry, my error. I did not read what you wrote carefully enough. If you are 
getting that during a restore, there is no problem and my previous comments 
apply. 

Since you are getting that during the btape test command as you are, then 
yes, it indicates that your Device specification in the bacula-sd.conf file 
does not match your OS and tape drive.  You must correct this condition 
before Bacula will work correctly. The btape tests must run to completion 
correctly there are some got EOF messages but only 5-10.

Perhaps if you send your bacula-sd.conf file to the list, someone can help you 
debug the problems.  It would also be a good idea to send a copy of the 
output of btape test (of course, truncating any big number of got EOF 
messages).

By the way, Bacula 1.36.2 is quite old and no longer officially 
supported ...

 And I'm worrying because 
 in the pdf document, you state that if you get this output, it's probably
 because of the variable / fixed-size block setting, and that I should fix
 it. I'm worrying because I cannot run a single ./bls -c
 ../etc/bacula-sd.conf -j -v -V THURSDAY2 QUANTUM on any tape (old or
 recent), because it will fail to show me but the first job. And finally I'm
 worrying because I cannot run a single ./bextract . on jobs that ar
 not the first one. It seems like command line tools can work only on a
 short amount of data that stays at the beginning of the tape. ...I'm really
 worried...please help
 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Kern Sibbald [EMAIL PROTECTED]
 A: Gabriele Bulfon [EMAIL PROTECTED]
 Cc: bacula-users bacula-users@lists.sourceforge.net
 Data: 10 aprile 2006 18.24.02 CEST
 Oggetto: Re: [Bacula-users] restoring
 I don't know why you are worrying about the got EOF messages. They are
 quite normal. They are not error messages. Bacula is *very* careful to put
 the word error in error messages or warning in possible error messages.
 If neither of those words are in the message, it can be considered an
 informational message and not normally anything to worry about.

 On Monday 10 April 2006 18:14, Gabriele Bulfon wrote:
  I tried the btape tests on clean systems:
  Sun v20z, AMD64, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium
  LTO2. SunFire280R, Sparcv9, Solaris 10, self compiled bacula 1.36.2,
  Quantum Ultrium LTO2. I always get the long list of got EOFbut I'm
  sure that the system defaults to variable block size. I even tried
  substituting the Quantum device with a certified Sun-Dat72 : same
  results. I believe that until I can't get rid of these got EOF during
  tests, I will have my problem (able to restore via bconsole, not able to
  restore through command line). Do you think there may be something wrong
  in the way I compiled binaries on Solaris? Is there any issue about the
  64 bit platform? The binaries are all 32bit ones: may be this a problem?
  Is there any specific issue pertaining to the Solaris 10 platform? Thanks
  for any help.
  Gabriele Bulfon - Sonicle S.r.l.
  Tel +39 028246016 Int. 30 - Fax +39 028243880
  Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
  http://www.sonicle.com
  -
 -- --- Da: Kern Sibbald [EMAIL PROTECTED]
  A: bacula-users@lists.sourceforge.net
  Cc: Gabriele Bulfon [EMAIL PROTECTED]
  Data: 10 aprile 2006 11.50.50 CEST
  Oggetto: Re: [Bacula-users] restoring
 
  On Monday 10 April 2006 09:25, Kern Sibbald wrote:
   On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
Thanx for your suggestions.
Don't you think that it's strange that bacula can restore from
bconsole, and not from manual commands?
  
   All but the highest level code that reads a Volume is identical between
   all Bacula components, so there is unlikely to be any difference
   between jobs run from bconsole and using the standalone tools.
  
Is it a possible situation with a badly conficured device?
  
   Since the code is the same, my answer is: no.
  
   Your problem is most likely a bad tape or a dirty drive as I mentioned
   last time. An I/O error as you got means a hardware problem not a
   software problem. The manual lists other possibilities.
 
  Well, yes, I should probably be more explicit as I don't always
  distinguish between OS problems and hardware problems.
  I should have said that this is very unlikely to be an application
  program (Bacula) error. If there is an I/O error, either the kernel
  driver is buggy or there is a problem with the hardware (which could also
  be the firmware in the tape drive).
 
  

Fwd: Re: [Bacula-users] restoring

2006-04-10 Thread Gabriele Bulfon


...I forgot to add the list to the cc...


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

Da: Gabriele Bulfon [EMAIL PROTECTED]A: Kern Sibbald [EMAIL PROTECTED] Data: 10 aprile 2006 18.33.44 CESTOggetto: Re: [Bacula-users] restoring

...I'm worrying about it because the list of "Got EOF on tape." never ends, until I kill the btape/test; should I wait longer?And I'm worrying because in the pdf document, you state that if you get this output, it's probablybecause of the variable / fixed-size block setting, and that I should fix it.I'm worrying because I cannot run a single "./bls -c ../etc/bacula-sd.conf -j -v -V THURSDAY2 QUANTUM" on any tape (old or recent), because it will fail to show me but the first job.And finally I'm worrying because I cannot run a single "./bextract ." on jobs that ar not the first one.It seems like command line tools can work only on a short amount of data that stays at the beginning of the tapeI'm really worried...please help


 



 

Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com

 

--Da: Kern Sibbald [EMAIL PROTECTED]A: Gabriele Bulfon [EMAIL PROTECTED] Cc: bacula-users bacula-users@lists.sourceforge.net Data: 10 aprile 2006 18.24.02 CESTOggetto: Re: [Bacula-users] restoring
I don't know why you are worrying about the "got EOF" messages. They are quite 
normal. They are not error messages. Bacula is *very* careful to put the word 
"error" in error messages or "warning" in possible error messages. If neither 
of those words are in the message, it can be considered an "informational" 
message and not normally anything to worry about.

On Monday 10 April 2006 18:14, Gabriele Bulfon wrote:
 I tried the btape tests on clean systems:
 Sun v20z, AMD64, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium
 LTO2. SunFire280R, Sparcv9, Solaris 10, self compiled bacula 1.36.2,
 Quantum Ultrium LTO2. I always get the long list of "got EOF"but I'm
 sure that the system defaults to variable block size. I even tried
 substituting the Quantum device with a certified Sun-Dat72 : same results.
 I believe that until I can't get rid of these "got EOF" during tests, I
 will have my problem (able to restore via bconsole, not able to restore
 through command line). Do you think there may be something wrong in the way
 I compiled binaries on Solaris? Is there any issue about the 64 bit
 platform? The binaries are all 32bit ones: may be this a problem? Is there
 any specific issue pertaining to the Solaris 10 platform? Thanks for any
 help.
 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Kern Sibbald [EMAIL PROTECTED]
 A: bacula-users@lists.sourceforge.net
 Cc: Gabriele Bulfon [EMAIL PROTECTED]
 Data: 10 aprile 2006 11.50.50 CEST
 Oggetto: Re: [Bacula-users] restoring

 On Monday 10 April 2006 09:25, Kern Sibbald wrote:
  On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
   Thanx for your suggestions.
   Don't you think that it's strange that bacula can restore from
   bconsole, and not from manual commands?
 
  All but the highest level code that reads a Volume is identical between
  all Bacula components, so there is unlikely to be any difference between
  jobs run from bconsole and using the standalone tools.
 
   Is it a possible situation with a badly conficured device?
 
  Since the code is the same, my answer is: no.
 
  Your problem is most likely a bad tape or a dirty drive as I mentioned
  last time. An I/O error as you got means a hardware problem not a
  software problem. The manual lists other possibilities.

 Well, yes, I should probably be more explicit as I don't always distinguish
 between OS problems and hardware problems.
 I should have said that this is very unlikely to be an application program
 (Bacula) error. If there is an I/O error, either the kernel driver is buggy
 or there is a problem with the hardware (which could also be the firmware
 in the tape drive).

   Actually I never happened to encounter this problem, because I could
   always restore anything that was still in the database. Gabriele Bulfon
   - Sonicle S.r.l.
   Tel +39 028246016 Int. 30 - Fax +39 028243880
   Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
   http://www.sonicle.com
   ---
  -- -- --- Da: Kern Sibbald [EMAIL PROTECTED]
   A: bacula-users@lists.sourceforge.net
   Cc: Gabriele Bulfon [EMAIL PROTECTED]
   Data: 9 aprile 2006 10.25.44 CEST
   Oggetto: Re: [Bacula-users] 

Re: Fwd: Re: [Bacula-users] restoring

2006-04-10 Thread Kern Sibbald
If you have gotten yourself into a problem with variable/non-variable block 
sizes, the current online manual gives some tips for getting yourself out of 
difficulties. Several users have recovered badly configured tapes, but I have 
never done it myself, so again, maybe the list can help you.  If you read the 
new manual, be aware that a number of things have changed since 1.36.2 
(probably a large number) so be careful.

On Monday 10 April 2006 18:52, Gabriele Bulfon wrote:
 ...I forgot to add the list to the cc...
 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 Da:
 Gabriele Bulfon [EMAIL PROTECTED]
 A:
 Kern Sibbald [EMAIL PROTECTED]
 Data:
 10 aprile 2006 18.33.44 CEST
 Oggetto:
 Re: [Bacula-users] restoring
 ...I'm worrying about it because the list of Got EOF on tape. never ends,
 until I kill the btape/test; should I wait longer? And I'm worrying because
 in the pdf document, you state that if you get this output, it's probably
 because of the variable / fixed-size block setting, and that I should fix
 it. I'm worrying because I cannot run a single ./bls -c
 ../etc/bacula-sd.conf -j -v -V THURSDAY2 QUANTUM on any tape (old or
 recent), because it will fail to show me but the first job. And finally I'm
 worrying because I cannot run a single ./bextract . on jobs that ar
 not the first one. It seems like command line tools can work only on a
 short amount of data that stays at the beginning of the tape. ...I'm really
 worried...please help
 Gabriele Bulfon - Sonicle S.r.l.
 Tel +39 028246016 Int. 30 - Fax +39 028243880
 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
 http://www.sonicle.com
 ---
--- Da: Kern Sibbald [EMAIL PROTECTED]
 A: Gabriele Bulfon [EMAIL PROTECTED]
 Cc: bacula-users bacula-users@lists.sourceforge.net
 Data: 10 aprile 2006 18.24.02 CEST
 Oggetto: Re: [Bacula-users] restoring
 I don't know why you are worrying about the got EOF messages. They are
 quite normal. They are not error messages. Bacula is *very* careful to put
 the word error in error messages or warning in possible error messages.
 If neither of those words are in the message, it can be considered an
 informational message and not normally anything to worry about.

 On Monday 10 April 2006 18:14, Gabriele Bulfon wrote:
  I tried the btape tests on clean systems:
  Sun v20z, AMD64, Solaris 10, self compiled bacula 1.36.2, Quantum Ultrium
  LTO2. SunFire280R, Sparcv9, Solaris 10, self compiled bacula 1.36.2,
  Quantum Ultrium LTO2. I always get the long list of got EOFbut I'm
  sure that the system defaults to variable block size. I even tried
  substituting the Quantum device with a certified Sun-Dat72 : same
  results. I believe that until I can't get rid of these got EOF during
  tests, I will have my problem (able to restore via bconsole, not able to
  restore through command line). Do you think there may be something wrong
  in the way I compiled binaries on Solaris? Is there any issue about the
  64 bit platform? The binaries are all 32bit ones: may be this a problem?
  Is there any specific issue pertaining to the Solaris 10 platform? Thanks
  for any help.
  Gabriele Bulfon - Sonicle S.r.l.
  Tel +39 028246016 Int. 30 - Fax +39 028243880
  Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
  http://www.sonicle.com
  -
 -- --- Da: Kern Sibbald [EMAIL PROTECTED]
  A: bacula-users@lists.sourceforge.net
  Cc: Gabriele Bulfon [EMAIL PROTECTED]
  Data: 10 aprile 2006 11.50.50 CEST
  Oggetto: Re: [Bacula-users] restoring
 
  On Monday 10 April 2006 09:25, Kern Sibbald wrote:
   On Sunday 09 April 2006 23:21, Gabriele Bulfon wrote:
Thanx for your suggestions.
Don't you think that it's strange that bacula can restore from
bconsole, and not from manual commands?
  
   All but the highest level code that reads a Volume is identical between
   all Bacula components, so there is unlikely to be any difference
   between jobs run from bconsole and using the standalone tools.
  
Is it a possible situation with a badly conficured device?
  
   Since the code is the same, my answer is: no.
  
   Your problem is most likely a bad tape or a dirty drive as I mentioned
   last time. An I/O error as you got means a hardware problem not a
   software problem. The manual lists other possibilities.
 
  Well, yes, I should probably be more explicit as I don't always
  distinguish between OS problems and hardware problems.
  I should have said that this is very unlikely to be an application
  program (Bacula) error. If there is an I/O error, either the kernel
  driver is buggy or there is a problem with the hardware (which could also
  be the firmware in the tape drive).
 
Actually I never happened to encounter this 

[Bacula-users] Windows FD and Backup API

2006-04-10 Thread Christoph . Teuber

Hello, 

as reported here some time ago, I have
problem with the bacula FD in a Win2K domain controller. I get Access
is denied errors for files, which are not accessible to the user
running the FD-process. As bacula is using the windows backup API, this
should work anyway.

Now, I created virtual machines for
testing purposes and detected, that there is no difference between domain
controllers and other windows installation, as I said before. It just happened
that I didn't made the testing situation as complicated as it is on the
domain controller. Everything works fine, even on a domain controller,
if the unaccessible file lies in an accessible directory. Thats the only
case I tested up to now. But access denied errors occur, if you have this
situation:

System: Out of the Box Win2K server
installation (SP4)

Users: 
Administrator
test

Directory structure: 

folder1
   
(Accessible for everyone)
-
file1 
   (accessible only for test)   

 
 - subfolder1 
  (accessible only for test)

   - subfile1(accessible
only for test)


In this case, file1 ist backed up correctly
as well as subfolder1. An error occurs for subfile1. Accessible only for
test means, that user test is the owner of that filesystem object an the
only entry in the ACL as well. 

This seams to be a bug to me rather
than a configuration issue, or does anybody have any idea?

Thanks in advance
Christoph 



[Bacula-users] Re: SOLVED! Re: Director crashing: same results with one processor

2006-04-10 Thread Joshua Kugler
On Sunday 09 April 2006 01:04, Kern Sibbald wrote:
 On Sunday 09 April 2006 00:11, Joshua Kugler wrote:
  Well, it appears I've taken care of the problem.  After going down to one
  processor, and still having problems, I recompiled with -O0 and I'm
  through lots of jobs (even concurrent jobs) with no problems.  I'll
  re-enable the other processor on Monday and let it run, but it appears I
  have a working install at the moment.

 Interesting solution. We have seen the problem of optimization on 64 bit
 machines, but never in the places where you were seeing it.

Yeah, I thought it odd as well.

 For future reference, could you remind me of the following things:

 - Which version of Bacula worked with -O2:

It was actually -O3.

 - Which version of Bacula did not work with -O2:

Both 1.36.1 and 1.36.3 were crashing at the weird spots with -O3

 - What distribution are you using:

This particular server is Mandrake 10.1.  Probably going to be rebuilt soon, 
though.

 - What version of g++ are you using:

[EMAIL PROTECTED] ~]$ g++ -v
Reading specs from /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib 
--with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info 
--enable-shared --enable-threads=posix --disable-checking --enable-long-long 
--enable-__cxa_atexit --enable-clocale=gnu --disable-libunwind-exceptions 
--enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu 
--with-system-zlib
Thread model: posix
gcc version 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk

glibc-2.3.3-23.1.101mdk and libstdc++6-3.4.1-4mdk, but as mentioned before, 
this could vary widely due to vendor patches.

 - What is your machine architecture (i.e. 32 or 64 bits):

32 bit SMP, but when it was crashing, it didn't matter whether I was using 
both CPU's or nosmp; they both had the weird crashes.

 Thanks.

You're welcome.  I hope it helps.

j- k-

-- 
Joshua Kugler PGP Key: http://pgp.mit.edu/
CDE System Administrator ID 0xDB26D7CE
http://distance.uaf.edu/


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows FD and Backup API

2006-04-10 Thread Erich Prinz

Hi Christoph,

This has got to be a thorn in your side! Gr.

Accessible only for test means, that user test is the owner of that  
filesystem object an the only entry in the ACL as well.


So only the user 'test' has access to this file based on the ACL and  
no others?
Logged in as Administrator, can you navigate, see, open, and save the  
file in subfolder1 via Windows Explorer?


Odd that the ACL allows access all the way to subfolder1 but not  
subfile1. If all checks out above, seems to me to be a FD issue. Kern  
released a new build (see prior links below) and may be worth  
attempting using the latest build.


Erich


On Apr 10, 2006, at 12:09 PM, [EMAIL PROTECTED] wrote:



Hello,

as reported here some time ago, I have problem with the bacula FD  
in a Win2K domain controller. I get Access is denied errors for  
files, which are not accessible to the user running the FD-process.  
As bacula is using the windows backup API, this should work anyway.


Now, I created virtual machines for testing purposes and detected,  
that there is no difference between domain controllers and other  
windows installation, as I said before. It just happened that I  
didn't made the testing situation as complicated as it is on the  
domain controller. Everything works fine, even on a domain  
controller, if the unaccessible file lies in an accessible  
directory. Thats the only case I tested up to now. But access  
denied errors occur, if you have this situation:


System: Out of the Box Win2K server installation (SP4)

Users:
Administrator
test

Directory structure:

folder1 (Accessible for everyone)
- file1 (accessible only for test)
  - subfolder1(accessible only for test)
- subfile1(accessible only for test)


In this case, file1 ist backed up correctly as well as subfolder1.  
An error occurs for subfile1. Accessible only for test means, that  
user test is the owner of that filesystem object an the only entry  
in the ACL as well.


This seams to be a bug to me rather than a configuration issue, or  
does anybody have any idea?


Thanks in advance
Christoph





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] column file.markedid does not exist error

2006-04-10 Thread Joe Park
bacula ver: 1.38.6OS: FreeBSD 6.0DB: postgresql 8.1.3Changer/Tapedrive: Dell PowerVault 122T
Hello,I have this error messeges repeated in system log file --Apr 9 03:40:47 localhost postgres[18833]: [1-1] ERROR: column file.markedid does not existApr 9 06:38:20 localhost postgres[20267]: [1-1] ERROR: column 
file.markedid does not existApr 9 10:04:23 localhost postgres[21200]: [1-1] ERROR: column file.markedid does not existThe error coincides with bacula verify job end time. I see that bacula db has file.mark
 column, but not file.markedid column. Any help is appreciated.Thanks,Joe


Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-10 Thread Bill Moran
On Sat, 8 Apr 2006 21:22:26 -0500
Erich Prinz [EMAIL PROTECTED] wrote:

 Once I figured out the appropriate configure options, it was a snap.
 
 ./configure \
 --enable-smartalloc \
 --sbindir=/usr/sbin \
 --with-pid-dir=/var/run \
 --with-subsys-dir=/var/run/subsys \
 --with-mysql=/usr/local/mysql \
 --with-working-dir=/etc/bacula/working \
 --with-dir-password=  \
 --with-sd-password= \
 --with-fd-password= \
 [EMAIL PROTECTED] \
 --with-smtp-host=server.domain.com \
 --with-baseport=9101

Well.  I'm having some problems and I hope you can help me.  configure
succeeds, although I used a slightly different set of options:
./configure \
--enable-smartalloc \
--sbindir=/usr/sbin \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/run/subsys \
--with-working-dir=/etc/bacula/working \
--enable-client-only \
--with-dir-password=  \
--with-sd-password= \
--with-fd-password= \
--with-job-email=[snip] \
--with-smtp-host=[snip] \
--with-baseport=9101

This machine has no database on it whatsoever, so I'd prefer not to
bother with anything but the client (i.e. fd).

DT is installed, and I created the directories you mentioned, but I get
the following output during make:

[no errors to this point]
 Make of lib is good 
 
==Entering directory /Users/bill/bacula-1.38.7/src/findlib
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  find.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  match.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  find_one.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  attribs.c
attribs.c: In function `bool set_attributes(JCR*, ATTR*, BFILE*)':
attribs.c:351: error: `lchown' undeclared (first use this function)
attribs.c:351: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[1]: *** [attribs.o] Error 1


  == Error in /Users/bill/bacula-1.38.7/src/findlib ==


==Entering directory /Users/bill/bacula-1.38.7/src/filed
/usr/bin/g++   -c -I. -I..  -g -O2 -Wall  filed.c
/usr/bin/g++   -c -I. -I..  -g -O2 -Wall  authenticate.c
/usr/bin/g++   -c -I. -I..  -g -O2 -Wall  acl.c
acl.c:164:21: sys/acl.h: No such file or directory
acl.c: In function `int bacl_get(JCR*, int)':
acl.c:188: error: `acl_t' undeclared (first use this function)
acl.c:188: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
acl.c:188: error: parse error before `;' token
acl.c:190: error: `acl_type_t' undeclared (first use this function)
acl.c:190: error: parse error before `;' token
acl.c:193: error: `ostype' undeclared (first use this function)
acl.c:193: error: `ACL_TYPE_DEFAULT' undeclared (first use this function)
acl.c:193: error: `ACL_TYPE_ACCESS' undeclared (first use this function)
acl.c:195: error: `acl' undeclared (first use this function)
acl.c:195: error: `acl_get_file' undeclared (first use this function)
acl.c:197: error: `acl_to_text' undeclared (first use this function)
acl.c:199: error: `acl_free' undeclared (first use this function)
acl.c: In function `int bacl_set(JCR*, int)':
acl.c:217: error: parse error before `;' token
acl.c:224: error: `acl_delete_def_file' undeclared (first use this function)
acl.c:230: error: `acl_from_text' undeclared (first use this function)
acl.c:240: error: `acl_valid' undeclared (first use this function)
acl.c:246: error: `acl_set_file' undeclared (first use this function)
make[1]: *** [acl.o] Error 1


  == Error in /Users/bill/bacula-1.38.7/src/filed ==


==Entering directory /Users/bill/bacula-1.38.7/src/console
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  console.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  console_conf.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  authenticate.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  conio.c
/usr/bin/g++ -O  -L../lib -L../cats -o bconsole console.o console_conf.o authent
icate.o conio.o \
   -ltermcap  -lbac -lm -lpthread  -lintl  \
  
 Make of console is good 

Does anyone have any suggestions on how to get the fd to compile?
This is on Mac OS 10.4.6

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

[Bacula-users] column file.markedid does not exist error

2006-04-10 Thread Joe Park
bacula ver: 1.38.6OS: FreeBSD 6.0DB: postgresql 8.1.3Changer/Tapedrive: Dell PowerVault 122T
Hello,I have this error messeges repeated in system log file --Apr 9 03:40:47 localhost postgres[18833]: [1-1] ERROR: column file.markedid does not existApr 9 06:38:20 localhost postgres[20267]: [1-1] ERROR: column 
file.markedid does not existApr 9 10:04:23 localhost postgres[21200]: [1-1] ERROR: column file.markedid does not existThe error coincides with bacula verify job end time. I see that bacula db has file.mark

 column, but not file.markedid column. Any help is appreciated.Thanks,Joe


Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-10 Thread Dan Rich




I really can't say enough good things about Darwin Ports. I had my
bacula daemon up and running in under an hour, and most of that time
was spent compiling it. http://bacula.darwinports.com/ has the basics
on getting it and installing it. I'm trying to find the site I used
that had almost step-by-step instructions on getting it going.

Bill Moran wrote:

  On Sat, 8 Apr 2006 21:22:26 -0500
Erich Prinz [EMAIL PROTECTED] wrote:

  
  
Once I figured out the appropriate configure options, it was a snap.

./configure \
--enable-smartalloc \
--sbindir=/usr/sbin \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/run/subsys \
--with-mysql=/usr/local/mysql \
--with-working-dir=/etc/bacula/working \
--with-dir-password=  \
--with-sd-password= \
--with-fd-password= \
[EMAIL PROTECTED] \
--with-smtp-host=server.domain.com \
--with-baseport=9101

  
  
Well.  I'm having some problems and I hope you can help me.  configure
succeeds, although I used a slightly different set of options:
./configure \
--enable-smartalloc \
--sbindir=/usr/sbin \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/run/subsys \
--with-working-dir=/etc/bacula/working \
--enable-client-only \
--with-dir-password=  \
--with-sd-password= \
--with-fd-password= \
--with-job-email=[snip] \
--with-smtp-host=[snip] \
--with-baseport=9101

This machine has no database on it whatsoever, so I'd prefer not to
bother with anything but the client (i.e. fd).

DT is installed, and I created the directories you mentioned, but I get
the following output during make:

[no errors to this point]
 Make of lib is good 
 
==Entering directory /Users/bill/bacula-1.38.7/src/findlib
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  find.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  match.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  find_one.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  attribs.c
attribs.c: In function `bool set_attributes(JCR*, ATTR*, BFILE*)':
attribs.c:351: error: `lchown' undeclared (first use this function)
attribs.c:351: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[1]: *** [attribs.o] Error 1


  == Error in /Users/bill/bacula-1.38.7/src/findlib ==


==Entering directory /Users/bill/bacula-1.38.7/src/filed
/usr/bin/g++   -c -I. -I..  -g -O2 -Wall  filed.c
/usr/bin/g++   -c -I. -I..  -g -O2 -Wall  authenticate.c
/usr/bin/g++   -c -I. -I..  -g -O2 -Wall  acl.c
acl.c:164:21: sys/acl.h: No such file or directory
acl.c: In function `int bacl_get(JCR*, int)':
acl.c:188: error: `acl_t' undeclared (first use this function)
acl.c:188: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
acl.c:188: error: parse error before `;' token
acl.c:190: error: `acl_type_t' undeclared (first use this function)
acl.c:190: error: parse error before `;' token
acl.c:193: error: `ostype' undeclared (first use this function)
acl.c:193: error: `ACL_TYPE_DEFAULT' undeclared (first use this function)
acl.c:193: error: `ACL_TYPE_ACCESS' undeclared (first use this function)
acl.c:195: error: `acl' undeclared (first use this function)
acl.c:195: error: `acl_get_file' undeclared (first use this function)
acl.c:197: error: `acl_to_text' undeclared (first use this function)
acl.c:199: error: `acl_free' undeclared (first use this function)
acl.c: In function `int bacl_set(JCR*, int)':
acl.c:217: error: parse error before `;' token
acl.c:224: error: `acl_delete_def_file' undeclared (first use this function)
acl.c:230: error: `acl_from_text' undeclared (first use this function)
acl.c:240: error: `acl_valid' undeclared (first use this function)
acl.c:246: error: `acl_set_file' undeclared (first use this function)
make[1]: *** [acl.o] Error 1


  == Error in /Users/bill/bacula-1.38.7/src/filed ==


==Entering directory /Users/bill/bacula-1.38.7/src/console
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  console.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  console_conf.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  authenticate.c
/usr/bin/g++   -c-I. -I..  -g -O2 -Wall  conio.c
/usr/bin/g++ -O  -L../lib -L../cats -o bconsole console.o console_conf.o authent
icate.o conio.o \
   -ltermcap  -lbac -lm -lpthread  -lintl  \
  
 Make of console is good 

Does anyone have any suggestions on how to get the fd to compile?
This is on Mac OS 10.4.6

  



-- 
Dan Rich [EMAIL PROTECTED] |   http://www.employees.org/~drich/
   |  "Step up to red alert!"  "Are you sure, sir?
   |   It means changing the bulb in the sign..."
   |  - Red Dwarf (BBC)





signature.asc
Description: OpenPGP digital signature


Re: [Bacula-users] column file.markedid does not exist error

2006-04-10 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Did you upgrade to 1.38 from 1.36 without running the upgrade database
script by any chance?

  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - User Support Spec. III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630


Joe Park wrote:
 bacula ver: 1.38.6
 OS: FreeBSD 6.0
 DB: postgresql 8.1.3
 Changer/Tapedrive: Dell PowerVault 122T
 
 
 Hello,
 
 I have this error messeges repeated in system log file --
 
 
 Apr  9 03:40:47 localhost postgres[18833]: [1-1] ERROR:  column
 file.markedid does not exist
 Apr  9 06:38:20 localhost postgres[20267]: [1-1] ERROR:  column
 file.markedid does not exist
 Apr  9 10:04:23 localhost postgres[21200]: [1-1] ERROR:  column
 file.markedid does not exist
 
 
 The error coincides with bacula verify job end time.  I see that bacula db
 has file.mark column, but not file.markedid column.  Any help is
 appreciated.
 
 Thanks,
 
 Joe
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEOr49mb+gadEcsb4RAheDAKCxDbh4Dl+5/4UHOejPquIjKAJOHgCgvzeh
yOKMA4UNA5oOdvq2PkcXAvk=
=M187
-END PGP SIGNATURE-



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] column file.markedid does not exist error

2006-04-10 Thread Joe Park
Nope, it was a fresh install of 1.38.6, using latest freebsd port snapshot.JoeOn 4/10/06, Ryan Novosielski 
[EMAIL PROTECTED] wrote:-BEGIN PGP SIGNED MESSAGE-Hash: SHA1
Did you upgrade to 1.38 from 1.36 without running the upgrade databasescript by any chance?  __ __ __ |Y#| || |\/| |\ |\ || |Ryan Novosielski - User Support Spec. III |$| |__| || |__/ | \| _| |novosirj@
umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630Joe Park wrote: bacula ver: 1.38.6 OS: FreeBSD 6.0
 DB: postgresql 8.1.3 Changer/Tapedrive: Dell PowerVault 122T Hello, I have this error messeges repeated in system log file -- Apr9 03:40:47 localhost postgres[18833]: [1-1] ERROR:column
 file.markedid does not exist Apr9 06:38:20 localhost postgres[20267]: [1-1] ERROR:column file.markedid does not exist Apr9 10:04:23 localhost postgres[21200]: [1-1] ERROR:column
 file.markedid does not exist The error coincides with bacula verify job end time.I see that bacula db has file.mark column, but not file.markedid column.Any help is appreciated.
 Thanks, Joe-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.2.2 (MingW32)iD8DBQFEOr49mb+gadEcsb4RAheDAKCxDbh4Dl+5/4UHOejPquIjKAJOHgCgvzehyOKMA4UNA5oOdvq2PkcXAvk=
=M187-END PGP SIGNATURE-


Re: [Bacula-users] When is a tape Full?

2006-04-10 Thread Erik P. Olsen

Martin Simmons wrote:

On Sun, 09 Apr 2006 12:16:51 +0200, Erik P. Olsen [EMAIL PROTECTED] said:
I am infrequently getting tape full conditions at times when I did not expect 
it. My tapes are DDS-4 tapes and they are considered Full by bacula at various 
  capacities, for exampel:


21,112,841,569
  6,445,884,582
17,477,850,063
15,855,178,172

After the last volume ran full and mounting of the next empty volume it 
appended only 3,710,244,549 to it, an amount which I had thought could easily be 
squeezed into the full volume.


I don't understand what triggers the Full condition especially the 6GB volume 
is wierd since it shouldn't be full before approx. 20GB of data has been written 
to it.


I am trying to optimize the use of the tapes but this process is difficult to 
carry out when bacula determines the full condition at such different times. Are 
there anything I can do to ensure that the full condition becomes close to 20GB 
or do I have to live with this strange phenomenon?


Are you using hardware compression?


No, s/w compression. Do you recommend that I use h/w?

--
Regards,
Erik P. Olsen.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: Compilation errors on Macintosh (was [Bacula-users] Bacula FD on Macintosh)

2006-04-10 Thread Bill Moran
On Mon, 10 Apr 2006 13:01:54 -0700
Dan Rich [EMAIL PROTECTED] wrote:

 I really can't say enough good things about Darwin Ports.  I had my
 bacula daemon up and running in under an hour, and most of that time was
 spent compiling it.  http://bacula.darwinports.com/ has the basics on
 getting it and installing it.  I'm trying to find the site I used that
 had almost step-by-step instructions on getting it going.

Thanks for the advice, Dan, but Darwin Ports is a complete failure.  I
keep getting libtool related erros while trying to selfupdate.  I suppose
I'll need to subscribe to the darwin ports mailing lists and ask there,
but this is getting rather frustrating.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula FD on Macintosh

2006-04-10 Thread Bill Moran
On Sat, 8 Apr 2006 21:22:26 -0500
Erich Prinz [EMAIL PROTECTED] wrote:

 Let me know if you want the pre compiled FD.

Would you mind putting this up on ftp or something for me to grab.
So far I've been unable to build from source or Darwin Ports.

Thanks.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] When is a tape Full?

2006-04-10 Thread Martin Simmons
 On Mon, 10 Apr 2006 23:12:48 +0200, Erik P. Olsen [EMAIL PROTECTED] 
 said:
 
 Martin Simmons wrote:
  On Sun, 09 Apr 2006 12:16:51 +0200, Erik P. Olsen [EMAIL 
  PROTECTED] said:
  I am infrequently getting tape full conditions at times when I did not 
  expect 
  it. My tapes are DDS-4 tapes and they are considered Full by bacula at 
  various 
capacities, for exampel:
 
  21,112,841,569
6,445,884,582
  17,477,850,063
  15,855,178,172
 
  After the last volume ran full and mounting of the next empty volume it 
  appended only 3,710,244,549 to it, an amount which I had thought could 
  easily be 
  squeezed into the full volume.
 
  I don't understand what triggers the Full condition especially the 6GB 
  volume 
  is wierd since it shouldn't be full before approx. 20GB of data has been 
  written 
  to it.
 
  I am trying to optimize the use of the tapes but this process is difficult 
  to 
  carry out when bacula determines the full condition at such different 
  times. Are 
  there anything I can do to ensure that the full condition becomes close to 
  20GB 
  or do I have to live with this strange phenomenon?
  
  Are you using hardware compression?
 
 No, s/w compression. Do you recommend that I use h/w?

H/w compression on DDS-4 is a bit feeble, so it may be better to stick to s/w
compression if you have spare CPU cycles on the fd.

That's the reason I asked, because the h/w compressed size can sometimes be
larger than the uncompressed size, especially if you have both kinds of
compression switched on!

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error - The number of files mismatch

2006-04-10 Thread Bradley Schatz
Hi,I am a newcomer to using bacula, and am being stung by what must be pretty obvious to veterans. I have read the manual cover to cover in search of answers, but cant seem to figure this out.I am consistently having tapes marked with an error as follows:
11-Apr 08:23 foundry-sd: Volume Daily01 previously written, moving to end of data.11-Apr 08:23 foundry-sd: NightlySaveFoundry.2006-04-11_03.05.00 Error: I canot write on Volume Daily01 because:
The number of files mismatch! Volume=27 Catalog=2811-Apr 08:23 foundry-sd: Marking Volume Daily01 in Error in Catalog.11-Apr 08:25 foundry-dir: Recycled volume Daily03What causes this kind of off by one error? And how can I completely reset the state of a particular volume to empty to start again?
Thanks,bradley


[Bacula-users] Autochanger device returning tape contents

2006-04-10 Thread Jason Martin
I'm having a problem whereby the mtx command is opening the
changer device and getting back the contents of the tape. I
repeatedly reproduce this if I do the following:

1. Perform some operation, such as a backup
2. Schedule a job to verify the last catalog backup
3. Schedule a job to perform some other verification job that
uses a different tape
4. Complete the catalog backup verification
5. Bacula calls mtx-changer, which calls mtx, to switch to the
needed tape.
6. mtx-changer fails on the 'loaded' command with 
mtx: Request Sense: 70
00 05 00 00 00 00 0A 00 00 00 00 21 01 00 C0 00 00 00 00
READ ELEMENT STATUS Command Failed
7. mtx-changer fails on the load command as there is already a
tape loaded.
8. Bacula yells for help.


When I wrap mtx with strace, I see the following:

1793  open(/dev/sg4, O_RDWR)  = 3
1793  write(3, 
0\0\0\0\240\34M\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2702 
   \0M\34|\0\0, 48) = 48
1793  read(3, 
\240\34M\0\240\34M\0\0\0\0\0\0\0\0\0\2\0\2\0p\0\5\0\0\0\0\n\0\0\0\0!\1\0\300\23
 
Wx0\361\253r\375\3\340\332\262\313T\366j\212\200\323E\252;\333i\t\372\5#a\277\371\272\f{\372\202\340(0U\0\35\366u\\30l\326k\314\3zj\231\vzeX\250\fz\265Y\27\240~\315\204\3W\205\277\22\373\225|\4M\245\223}/[\232\32\n\350\235\26\213\353\4\177\255A\333\370^\275
 
zGn\35!F\32\22!g\3\2{\37\346WS\277\24\23\ts\265\201:\305\273\5\0200\343\177\313\262px\3515D\330x\351s\277\32!%ip\205\201V\224\3227(\352\3\2155\300\242\223
 
\307\342\270n\302C\261A\315\205I\337\374sQ\272\343s\325\230\215\262%p4\372\273G\324Z+\242\307\250_\261]\224\307\207S\346O\363\27\25\354\\271\375\272\337\304\242A\7\312\276\30\305\16\335r$\r\235_\315\226\345\350\300\354\305gl\34\16`\261\302\356P\377kT90\376m#8\f\224:\2612\311p\253\10\202\375\305\366\\u\270\2109\360\233\23\264\21\345\367\322xX\37\350\344\350\2572\370\32\244\272\37)Fu\217,\5f[\357\244}\345\350m\3J\254\357\301\236\4\277Zu}R}\26B\177A\257gb\307\177\\274\266\304\276\267\202\7\243\207\277\26\333*g\220\23\335\253K\31\363\2\257\303\273\3347S\341\300\272\350/iA\33\354
 
m\330\\v\320l./H\23A\324\351\260\4\3439,?W\24\310\27\0360\324\23\22\376j$!\346\266\t\271\f\246\10\17X\370\26\300\316\217\357{\333\263\27\36\213)3\275\210?-\5\273awx\200\21\375\316\347\0\\200\335\177N\\\3\250\31\276\316\25\317\7Z\17\202\r\'[EMAIL
 
PROTECTED]:_,\331\34\31S\210\274*7\3\3436W\274?\10\0\361\244\204`\331-\327\303\217\n\263\370\322\26\202$}\362D\272\361f5\305oW8\320m\224\246T\251\263{A\317(\200O\321\'\252\361\223\350\342b\217(\200\207\240\222L/T\252\ts*\266\233\240\212\320\361Y\270\215\330\203\30\350\225\270\345`G\264%\227v\201x|Nx\251n\277M\370\360\200\301\36l\251nW\223\311i\247w-\203\323b\302\316\25\233+\2577\217A\345\371S\30\225\310\1\263\323b\354\323\274
 \177\330\234\315\356\201\351j\342\226\225i\'|\320\n\202\221\343a3\346..., 
5053600) = 5053600
1793  write(3, 
0\0\0\0\240\34M\0\0\0\0\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\270\
\0M\34|\0\0, 48) = 48
1793  read(3, 
\240\34M\0\240\34M\0\0\0\0\0\0\0\0\0\2\0\2\0p\0\5\0\0\0\0\n\0\0\0\0!\1\0\300 B 
A A A B/ IAA I BENL/u BDBndZ BENL/u A A 
C\',\'yktl64+/Gw+w3W+Nux/IZC\'),(35218579,6473522,58,745134,65118,0,\'T URYBY 
IGk B A A A aL6 IAA Dg BENL/u BDBncy BENL/u A A 
C\',\'qFpjFzhMJm+wGk/3SF/5mB\'),(35218580,6473523,58,745134,65112,0,\'T URYBZ 
IGk B A A A y5Q IAA Gg BENL/u BDBncx BENL/u A A 
C\',\'c1+Gy4+CMn+eEH+mmR/0OA\'),(35218581,6473524,58,745134,65110,0,\'T URYBb 
IGk B A A A X IAA I BENL/u BDBncy BENL/u A A 
C\',\'48/muQ5rai+2E5gC37dgEA\'),(35218582,6473525,58,745134,65108,0,\'T URYBc 
IGk B A A A Ee IAA I BENL/u BDBndZ BENL/u A A 
C\',\'U8+sih/oez/mw+lagCZlDA\'),(35218575,6473518,58,745133,65109,0,\'T URcBb 
IGk B A A A 2 IAA I BENL/u BDBncy BENL/u A A 
C\',\'iW+Yq9sB+89Xq7/FR7/GED\'),(35218574,6473517,58,745132,2,0,\'T HKIF6 EHt D 
A A A BAA IAA I BENMOf BEKu3h BENMOf A A 
C\',\'0\'),(35218573,6473516,58,745132,65115,0,\'T URUCL IGk B A A A lI IAA I 
BENL/u BDBndP BENL/u A A 
C\',\'t9+gZ+RVRC/WN3/mMRhSwD\'),(35218572,6473515,58,745132,65107,0,\'T URUCK 
IGk B A A A 2 IAA I BENL/u B..., 5053600) = 5053600
1793  write(2, mtx: Request Sense: 70, 22) = 22
1793  write(2,  00, 3)= 3
1793  write(2,  05, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  0A, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  21, 3)= 3
1793  write(2,  01, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  C0, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2,  00, 3)= 3
1793  write(2, \n, 1) = 1
1793  write(2, READ ELEMENT STATUS 

Re: [Bacula-users] Error - The number of files mismatch

2006-04-10 Thread Joe Park
Hello,http://www.bacula.org/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION000348000
mt -f /dev/st0 rewindmt -f /dev/st0 weofIt will reset the tape. mt -f /dev/st0 erase will actually erase them (writing 0s I think) but it will take longer that just writing weof at the beginning of the tape.
As for file number mismatch, have you read --http://www.bacula.org/rel-manual/Tips_Suggestions.html#SECTION000357000
JoeOn 4/10/06, Bradley Schatz [EMAIL PROTECTED] wrote:
Hi,I am a newcomer to using bacula, and am being stung by what must be pretty obvious to veterans. I have read the manual cover to cover in search of answers, but cant seem to figure this out.
I am consistently having tapes marked with an error as follows:
11-Apr 08:23 foundry-sd: Volume Daily01 previously written, moving to end of data.11-Apr 08:23 foundry-sd: NightlySaveFoundry.2006-04-11_03.05.00 Error: I canot write on Volume Daily01 because:
The number of files mismatch! Volume=27 Catalog=2811-Apr 08:23 foundry-sd: Marking Volume Daily01 in Error in Catalog.11-Apr 08:25 foundry-dir: Recycled volume Daily03What causes this kind of off by one error? And how can I completely reset the state of a particular volume to empty to start again?
Thanks,bradley




[Bacula-users] mysql bacula tables

2006-04-10 Thread victoria
Hello,

for a moment i'm writing simple script, which makes for me summary
report about last backup process. I want select records directly from
database. So i just got a few questions. 
I want to know where in a database i can find following records:
- Rate
- Files count (what is the difference between SD and FD files count?)
- Bytes 

Other needed records i found.

Or maybe someone can point me to the documentation, where i can find
description for each table?

Thank You in advice.

Victoria




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users