RE: [Bacula-users] SUN L25 and Bacula.

2005-07-22 Thread Ray Pengelly

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:bacula-users-
 [EMAIL PROTECTED] On Behalf Of Luis Lacayo
 Sent: Thursday, July 21, 2005 4:51 PM
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] SUN L25 and Bacula.
 
 Hi
 
 
 Is anyone using a SUN L25 with a 10 tape library?  This is a repeat
 
 posting but I missed any response.
 
 
 Thanks
 
 
 Luis

I'm using an L25 with a total of 16 tapes. Not including archived data which
is pulled for offsite storage.

Ray



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula volume names problem

2005-07-22 Thread Flavio Fonseca
Hello List:

  I have a problem that is repeating in 3 servers I run bacula.
  When I change Bacula-dir configuration and restart bacula all volumes names 
gets crazzy. 
  Here is my configuration:
Client {
  Name = mamute-fd
  Address = mamute.italo.br
  FDPort = 9102
  Catalog = MyCatalog
  Password = 
}
Job {
  Name = ArquivosOracle
  Level = Full
  Type = Backup
  Client = mamute-fd
  FileSet =  ArquivosOracle-fs
  Schedule = 1xDia
  Storage = ArquivosOracle-st
  Messages = Standard
  Pool = Quinzenal
  Write Bootstrap = /usr/local/bacula/var/bacula/working/ArquivosOracle.bsr
  Client Run Before Job = /etc/rc.d/oracle stop
  Client Run After Job = /etc/rc.d/oracle start
}
FileSet {
  Name = ArquivosOracle-fs
  Include {
Options {
   signature = MD5
   compression = GZIP
}
File = /opt/oracle/oradata/dbwae
File = /opt/oracle/admin/dbwae
File = /opt/oracle/product/9ir2/dbs
  }
}
Storage {
  Name = ArquivosOracle-st
  Address = grilo
  SDPort = 9103
  Password = PUbLZrsWyV2DSzvnnv9+Q83VDXc/OYZ3RWn+7QSOh0Kf
  Device = ArquivosOracle-dev
  Media Type = File
}
Pool {
  Name = Quinzenal
  Pool Type = Backup
  Auto Prune = yes
  Use Volume Once = Yes
  Volume Retention = 15 days
  Label Format = 
$Job-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}-${Hour:p/2/0/r}:
${Minute:p/2/0/r}
}
Schedule {
  Name = 1xDia
  Run = at 1:00
}


So I changed dir configuration. Add a client or altered some configurantion in 
this job os its related section. After restart bacula de jobs names starts 
look like this:
-rw-r-  1 root root 440960652 Jul 18 01:04 ArquivosOracle-2005-07-18-01:00
-rw-r-  1 root root 428530101 Jul 13 01:04 Email-2005-05-08-09:49
-rw-r-  1 root root 429478237 Jul 14 01:04 Email-2005-05-10-10:21
-rw-r-  1 root root 426506401 Jul 12 01:04 Email-2005-05-21-01:24
-rw-r-  1 root root 432217335 Jul 15 01:04 Email-2005-06-29-01:04
-rw-r-  1 root root 440026209 Jul 16 01:04 Email-2005-06-30-01:04
-rw-r-  1 root root 441010580 Jul 17 01:04 Email-2005-07-01-01:04
-rw-r-  1 root root 410121506 Jul 20 01:04 Email-2005-07-04-01:04
-rw-r-  1 root root 410850310 Jul 21 01:04 Email-2005-07-05-01:04

Te first line is the correct name of the volume. But The file names just 
changes. With no visible reason for me. Do I have to run any command in 
bconsole after changing configuration on bacula director?
Email is the name of another Job of mine. So it seams to me it's naming the 
volume after another job. 
If anyone whishs to know, when a restore the backup from volume:
-rw-r-  1 root root 410121506 Jul 20 01:04 Email-2005-07-04-01:04
it restores oracle datas correctly.

Thanks for any help.


-- 
Att.
Flávio Fonseca
Divisão de Redes
Diretoria de Processamento de Dados
Universidade Federal de Uberlândia


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: [Bacula-devel] Severe problem: director hangs in production system

2005-07-22 Thread Volker Sauer
On So, 17 Jul 2005, Kern Sibbald [EMAIL PROTECTED] wrote:
 
 You could try running it under the debugger without debugging symbols. This 
 is 
 not ideal, but if it is an internal deadlock, I should be able to see it.  
 That might avoid you having to spend the time to rebuild it.  Unfortunately 
 without manually running it under the debugger and getting some form of 
 traceback, there isn't much I can do to resolve it.
 

Hello Kern,

I ran bacula-dir under the debugger without debugging symbols.
i seems to be a problem with threads:

[...]
[New Thread 1136855984 (LWP 16684)]
[New Thread 1145244592 (LWP 16685)]
[New Thread 1170418608 (LWP 30231)]

  Program received signal SIGINT, Interrupt.
  [Switching to Thread 1078024992 (LWP 31494)]
  0x401a7436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
  (gdb)  thread apply all bt

  Thread 107 (Thread 1170418608 (LWP 30231)):
  #0  0x401a5295 in pthread_cond_wait@@GLIBC_2.3.2 () from
  /lib/tls/libpthread.so.0
  #1  0x080959fc in ?? ()
  #2  0x0808c8d2 in ?? ()
  #3  0x0808bd56 in ?? ()
  #4  0x0807458c in ?? ()
  #5  0x0807468e in ?? ()
  #6  0x0809e4db in ?? ()
  #7  0x401a2b63 in start_thread () from /lib/tls/libpthread.so.0
  #8  0x4037418a in clone () from /lib/tls/libc.so.6

  Thread 106 (Thread 1145244592 (LWP 16685)):
  #0  0x401a7436 in __lll_mutex_lock_wait () from
  /lib/tls/libpthread.so.0
  #1  0x401a4893 in _L_mutex_lock_26 () from /lib/tls/libpthread.so.0
  #2  0x080c5b80 in optind ()
  #3  0x in ?? ()
  #4  0x in ?? ()
  #5  0x0001 in ?? ()
  #6  0x0001 in ?? ()
  #7  0x in ?? ()
  #8  0x44430ad8 in ?? ()
  #9  0x0805b982 in ?? ()
  Previous frame identical to this frame (corrupt stack?)
  #0  0x401a7436 in __lll_mutex_lock_wait () from
  /lib/tls/libpthread.so.0
  (gdb) 


Does this help?

Maybe to problem occured when I set Max Client Jobs = 2 on a specific
client. I'll try again with 1 concurrent job!

Regards
Volker
-- 
  Volker Sauer  *  Alexanderstrasse 39/217  *  64283 Darmstadt
  Telefon: 06151-154260  *  Mobil: 0179-6901475 * ICQ#98164307
  mailto:[EMAIL PROTECTED]  *  http://www.volker-sauer.de
  PGPKey-Fingerprint: DB2611C7B12E0B2739992E4F7E354E4D5DD5D0E0


signature.asc
Description: Digital signature


Re: [Bacula-users] volume is purged and marked recycle but not used

2005-07-22 Thread Michael 'buk' Scherer

Hi!

On Fri, 22 Jul 2005 - 10:21am, Rico wrote:

hi

i have read the manual again and again and again..
but can't find the solution.

i have 10 tapes for 10 full-backups(montag1-freitag1, montag2-freitag2).
5 jobs are to write on one tape.
We have something very similar.
16 tapes, which get used every 2 weeks.
They are named D01170, D02180, D0319, ... guess you get it.

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 325 hours #13,5days
  Accept Any Volume = yes
  Recycle Current Volume = yes
  Maximum Volumes = 10
  Maximum Volume Jobs = 5
}
We use a Maximum Use Duration setting of 23 hours, not a Max Vol Jobs.
but that doesnt seem to be your problem.

i will take donnerstag2 as example.
donnerstag2 had the status Used yesterday before the daily backup.

1st job(mounts the tape). this jobs is ok:

Job {
  Name = _before
  JobDefs = DefaultJob
  Type = Admin
  RunBeforeJob = /etc/bacula/before_backup
  Priority = 1
}

2nd job. look logfile below:

Job {
  Name = thepig
  JobDefs = DefaultJob
  Client = thepig-fd
  FileSet = thepig
  Write Bootstrap = /var/bacula/thepig.bsr
  Priority = 2
}

Schedule {
  Name = DaylyCycle
  Run = mon-fri at 20:00
}


here is the logfile.
the volume was pruned and status was set to Recycle.
but to the tape was not written.


21-Jul 22:09 pe2800oracle-dir: Start Backup JobId 424,
Job=thepig.2005-07-21_20.00.01
21-Jul 22:36 pe2800oracle-dir: Pruned 5 Jobs on Volume donnerstag2
from catalog.
21-Jul 22:36 pe2800oracle-sd: Job thepig.2005-07-21_20.00.01 waiting.
Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  LTO Ultrium 2
Media type:   LTO-G2
Pool: Default
21-Jul 23:36 pe2800oracle-dir: Recycled volume donnerstag2
21-Jul 23:36 pe2800oracle-sd: Please mount Volume donnerstag2 on
Storage Device LTO Ultrium 2 for Job thepig.2005-07-21_20.00.01
Use mount command to release Job.
22-Jul 01:36 pe2800oracle-sd: Please mount Volume donnerstag2 on
Storage Device LTO Ultrium 2 for Job thepig.2005-07-21_20.00.01
Use mount command to release Job.
22-Jul 05:36 pe2800oracle-sd: Please mount Volume donnerstag2 on
Storage Device LTO Ultrium 2 for Job thepig.2005-07-21_20.00.01
Use mount command to release Job.


this is the output after the jobs was canceled.

*list media
Pool: Default
+-+-+---+--+--+--+-+--+---+---+-+
| MediaId | VolumeName  | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-+-+---+--+--+--+-+--+---+---+-+
| 1   | montag1 | Used  | 371207648203 | 374  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-12 03:40:57 |
| 2   | dienstag1   | Used  | 375189988078 | 378  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-13 03:56:17 |
| 3   | mittwoch1   | Used  | 374915259786 | 377  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-14 04:43:18 |
| 4   | donnerstag1 | Used  | 372614864552 | 375  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-15 04:16:53 |
| 5   | freitag1| Used  | 373439663991 | 376  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-16 04:11:37 |
| 7   | dienstag2   | Used  | 372883955813 | 376  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-20 04:55:07 |
| 9   | mittwoch2   | Read-Only | 1| 0| 117
 | 1   | 0| 1 | LTO-G2| 2005-07-07 04:06:36 |
| 10  | donnerstag2 | Recycle   | 1| 0| 117
 | 1   | 0| 1 | LTO-G2| 2005-07-08 03:56:32 |
| 11  | freitag2| Used  | 374264238512 | 377  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-09 03:57:32 |
| 12  | montag2 | Used  | 373419137501 | 376  | 117
 | 1   | 0| 1 | LTO-G2| 2005-07-19 04:30:11 |
+-+-+---+--+--+--+-+--+---+---+-+



where is th error?

The only problem I can see is your LTO-changer device.
The tape itself is ready to be used, its just not there to be used.

Did you configure your SD to use an autochanger?

Our example from the -sd.conf
Device {
  Name  = TapeStorage
  Media Type= LTO
  Archive Device  = /dev/tape
  AutoChanger   = yes
  Changer Device  = /dev/changer
  Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
  LabelMedia= yes
  RandomAccess  = no
  AutomaticMount  = yes
  RemovableMedia  = yes
  AlwaysOpen= no
  Maximum Open Wait = 10 seconds
  Spool Directory = /u02/tmp/spool
  

Re: [Bacula-users] volume is purged and marked recycle but not used

2005-07-22 Thread Rico
Michael 'buk' Scherer wrote:
 Hi!
 
 On Fri, 22 Jul 2005 - 10:21am, Rico wrote:
 
 
hi

i have read the manual again and again and again..
but can't find the solution.

i have 10 tapes for 10 full-backups(montag1-freitag1, montag2-freitag2).
5 jobs are to write on one tape.
 
 We have something very similar.
 16 tapes, which get used every 2 weeks.
 They are named D01170, D02180, D0319, ... guess you get it.
 
 
# Default pool definition
Pool {
 Name = Default
 Pool Type = Backup
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 325 hours #13,5days
 Accept Any Volume = yes
 Recycle Current Volume = yes
 Maximum Volumes = 10
 Maximum Volume Jobs = 5
}
 
 We use a Maximum Use Duration setting of 23 hours, not a Max Vol Jobs.
 but that doesnt seem to be your problem.
 
 
i will take donnerstag2 as example.
donnerstag2 had the status Used yesterday before the daily backup.

1st job(mounts the tape). this jobs is ok:

Job {
 Name = _before
 JobDefs = DefaultJob
 Type = Admin
 RunBeforeJob = /etc/bacula/before_backup
 Priority = 1
}

2nd job. look logfile below:

Job {
 Name = thepig
 JobDefs = DefaultJob
 Client = thepig-fd
 FileSet = thepig
 Write Bootstrap = /var/bacula/thepig.bsr
 Priority = 2
}

Schedule {
 Name = DaylyCycle
 Run = mon-fri at 20:00
}


here is the logfile.
the volume was pruned and status was set to Recycle.
but to the tape was not written.


21-Jul 22:09 pe2800oracle-dir: Start Backup JobId 424,
Job=thepig.2005-07-21_20.00.01
21-Jul 22:36 pe2800oracle-dir: Pruned 5 Jobs on Volume donnerstag2
 
from catalog.
 
21-Jul 22:36 pe2800oracle-sd: Job thepig.2005-07-21_20.00.01 waiting.
Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
   Storage:  LTO Ultrium 2
   Media type:   LTO-G2
   Pool: Default
21-Jul 23:36 pe2800oracle-dir: Recycled volume donnerstag2
21-Jul 23:36 pe2800oracle-sd: Please mount Volume donnerstag2 on
Storage Device LTO Ultrium 2 for Job thepig.2005-07-21_20.00.01
Use mount command to release Job.
22-Jul 01:36 pe2800oracle-sd: Please mount Volume donnerstag2 on
Storage Device LTO Ultrium 2 for Job thepig.2005-07-21_20.00.01
Use mount command to release Job.
22-Jul 05:36 pe2800oracle-sd: Please mount Volume donnerstag2 on
Storage Device LTO Ultrium 2 for Job thepig.2005-07-21_20.00.01
Use mount command to release Job.


this is the output after the jobs was canceled.

*list media
Pool: Default
+-+-+---+--+--+--+-+--+---+---+-+
| MediaId | VolumeName  | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
   |
+-+-+---+--+--+--+-+--+---+---+-+
| 1   | montag1 | Used  | 371207648203 | 374  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-12 03:40:57 |
| 2   | dienstag1   | Used  | 375189988078 | 378  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-13 03:56:17 |
| 3   | mittwoch1   | Used  | 374915259786 | 377  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-14 04:43:18 |
| 4   | donnerstag1 | Used  | 372614864552 | 375  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-15 04:16:53 |
| 5   | freitag1| Used  | 373439663991 | 376  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-16 04:11:37 |
| 7   | dienstag2   | Used  | 372883955813 | 376  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-20 04:55:07 |
| 9   | mittwoch2   | Read-Only | 1| 0| 117
| 1   | 0| 1 | LTO-G2| 2005-07-07 04:06:36 |
| 10  | donnerstag2 | Recycle   | 1| 0| 117
| 1   | 0| 1 | LTO-G2| 2005-07-08 03:56:32 |
| 11  | freitag2| Used  | 374264238512 | 377  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-09 03:57:32 |
| 12  | montag2 | Used  | 373419137501 | 376  | 117
| 1   | 0| 1 | LTO-G2| 2005-07-19 04:30:11 |
+-+-+---+--+--+--+-+--+---+---+-+



where is th error?
 
 
 The only problem I can see is your LTO-changer device.
 The tape itself is ready to be used, its just not there to be used.
 
 Did you configure your SD to use an autochanger?
 
 Our example from the -sd.conf
 Device {
   Name  = TapeStorage
   Media Type= LTO
   Archive Device  = /dev/tape
   AutoChanger   = yes
   Changer Device  = /dev/changer
   Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
   LabelMedia= yes
   RandomAccess  = no
   AutomaticMount  = yes
   RemovableMedia  = yes
   AlwaysOpen= no
   Maximum Open Wait = 10 seconds
   

[Bacula-users] howto update media catalog when changing autochanger magazin?

2005-07-22 Thread Timo Eissler

Hello,

i don´t want to do an update slots scan manually everytime i change 
the magazin or change

a volume.
What´s the best way to let this do automatically?

A cronjob befor every backup who starts bconsole with an update slots 
scan command.


or

A run before job directive who do an update slots scan?

thanks for every hint.

grZ Timo

--
---
DT Netsolution GmbH   -   Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-70  Fax: +49-711-849910-934
WEB: http://www.dtnet.de/  Email: [EMAIL PROTECTED]



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: [Bacula-devel] Severe problem: director hangs in production system

2005-07-22 Thread Kern Sibbald
Hello Volker,

Please remind me what Linux distro and what kernel version you are using.

If you are on a 2.4 kernel, then the problem is 99% for sure the /lib/tls bug 
that is mentioned in the manual.  The manual suggests two solutions -- I 
prefer to zap the /lib/tls library by moving it to /lib/tls-broken

If this is on a 2.6 kernel, you will need to recompile with debug symbols 
turned on and re-run it.  The backtrace you got looks a bit strange to me 
because there are only 3 threads reported, and generally in the Directory, 
there are a lot more threads 5-10 depending on what is going on.

On Friday 22 July 2005 15:00, Volker Sauer wrote:
 On So, 17 Jul 2005, Kern Sibbald [EMAIL PROTECTED] wrote:
  You could try running it under the debugger without debugging symbols.
  This is not ideal, but if it is an internal deadlock, I should be able to
  see it. That might avoid you having to spend the time to rebuild it. 
  Unfortunately without manually running it under the debugger and getting
  some form of traceback, there isn't much I can do to resolve it.

 Hello Kern,

 I ran bacula-dir under the debugger without debugging symbols.
 i seems to be a problem with threads:

 [...]
 [New Thread 1136855984 (LWP 16684)]
 [New Thread 1145244592 (LWP 16685)]
 [New Thread 1170418608 (LWP 30231)]

   Program received signal SIGINT, Interrupt.
   [Switching to Thread 1078024992 (LWP 31494)]
   0x401a7436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
   (gdb)  thread apply all bt

   Thread 107 (Thread 1170418608 (LWP 30231)):
   #0  0x401a5295 in pthread_cond_wait@@GLIBC_2.3.2 () from
   /lib/tls/libpthread.so.0
   #1  0x080959fc in ?? ()
   #2  0x0808c8d2 in ?? ()
   #3  0x0808bd56 in ?? ()
   #4  0x0807458c in ?? ()
   #5  0x0807468e in ?? ()
   #6  0x0809e4db in ?? ()
   #7  0x401a2b63 in start_thread () from /lib/tls/libpthread.so.0
   #8  0x4037418a in clone () from /lib/tls/libc.so.6

   Thread 106 (Thread 1145244592 (LWP 16685)):
   #0  0x401a7436 in __lll_mutex_lock_wait () from
   /lib/tls/libpthread.so.0
   #1  0x401a4893 in _L_mutex_lock_26 () from /lib/tls/libpthread.so.0
   #2  0x080c5b80 in optind ()
   #3  0x in ?? ()
   #4  0x in ?? ()
   #5  0x0001 in ?? ()
   #6  0x0001 in ?? ()
   #7  0x in ?? ()
   #8  0x44430ad8 in ?? ()
   #9  0x0805b982 in ?? ()
   Previous frame identical to this frame (corrupt stack?)
   #0  0x401a7436 in __lll_mutex_lock_wait () from
   /lib/tls/libpthread.so.0
   (gdb)


 Does this help?

 Maybe to problem occured when I set Max Client Jobs = 2 on a specific
 client. I'll try again with 1 concurrent job!

 Regards
 Volker

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Error : zlib problem ?

2005-07-22 Thread Yann Cézard

Hi,

Since today, I noticed that severals (perhaps all ?) my volumes produces
errors when restoring all the files.
I'm backing up on disk, and with bextract, the error messages looks like :
--
22-Jul 16:22 bextract: bextract Error: block.c:304 Volume data error \
 at 0:26772725! Block checksum mismatch in block 417: \
 calc=f31c422b blk=f84dd332
22-Jul 16:22 bextract: ERROR in bextract.c:398 Uncompression error. \
 ERR=1
22-Jul 16:22 bextract: bextract Error: create_file.c:175 bpkt already \
 open fid=5
---
22-Jul 16:11 bextract: bextract Error: block.c:304 Volume data error \
 at 0:151216333! Block checksum mismatch in block 2346: \
 calc=707a3d29 blk=c0f8fb12
22-Jul 16:11 bextract: ERROR in bextract.c:398 Uncompression error. ERR=1
---
...

So here are my questions :
- is there a tool to test all my volumes ? (I still can do with 
something like

bextract VolumeName /dev/null | grep Error but perhaps there are
already something cleaner to test volumes !?)
- as errors mentionned Uncompression error, is the error could have
been introduced when I upgraded my zlib (last tuesday) ?
I'm running Bacula 1.36.3 from RPM on FC3.
Can the zlib's upgrade have broken something with bacula ?

The problem occurs on volumes created after AND before the zlib upgrade...

Thanks for any help !

Yann Cezard.


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: [Bacula-devel] Severe problem: director hangs in production system

2005-07-22 Thread Volker Sauer
On Fr, 22 Jul 2005, Kern Sibbald [EMAIL PROTECTED] wrote:
 Hello Volker,
 
 Please remind me what Linux distro and what kernel version you are using.

Debian Sarge Kernel 2.6.8

 If you are on a 2.4 kernel, then the problem is 99% for sure the /lib/tls bug 
 that is mentioned in the manual.  The manual suggests two solutions -- I 
 prefer to zap the /lib/tls library by moving it to /lib/tls-broken

It's kernel 2.6 and on my other site bacula ran's fine on debian sarge.

 If this is on a 2.6 kernel, you will need to recompile with debug symbols 
 turned on and re-run it.  The backtrace you got looks a bit strange to me 
 because there are only 3 threads reported, and generally in the Directory, 
 there are a lot more threads 5-10 depending on what is going on.

I'll rebuild with debug symbols!

-- 
  Volker Sauer  *  Alexanderstrasse 39/217  *  64283 Darmstadt
  Telefon: 06151-154260  *  Mobil: 0179-6901475 * ICQ#98164307
  mailto:[EMAIL PROTECTED]  *  http://www.volker-sauer.de
  PGPKey-Fingerprint: DB2611C7B12E0B2739992E4F7E354E4D5DD5D0E0


signature.asc
Description: Digital signature


[Bacula-users] Re: performance problem on windows

2005-07-22 Thread Carsten Schurig

Kern Sibbald schrieb:

On Wednesday 13 July 2005 14:00, Carsten Schurig wrote:

Unlikely, but I would be happy if someone tried.


I did install 1.37.30 and changed the following of the configuration 
addtionally:

* switched from sqlite to mysql
* use my 2 DDS-3 drives as single ones instead of emulating
  a autochanger

Currently on my Windows 2K server two concurrent jobs are running (one 
to drive 1 and the other one to drive 2). Both are running at about

1 MB/s (instead of 100 KB/s)!

BTW: I had to use different pools to get the concurrent jobs working. Is 
this ok? My first try was to do something like that


Job {
Client = win2k
FileSet = win2k 1
Storage = tape1
Pool = WeeklyPool
}
Job {
Client = win2k
FileSet = win2k 2
Storage = tape2
Pool = WeeklyPool
}

In both drives a valid tape was inserted and the pools are defined with 
Accept Any Volume = yes, but the second job started was always 
complaining:


Cannot find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  tape2 (/dev/nst1)
Media type:   DDS-3
Pool: WeeklyPool

So I created a pool WeeklyPool2 and moved tape2 to that pool and changed 
the job accordingly. After this the jobs are really running 
concurrently. Is this behaviour correct?


Cheers,
Carsten



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] how to get some information about tapes

2005-07-22 Thread Timo Eissler

Hello,

how can i get a list of tapes with which i can make a full restore of 
everything?


how can i get a email with the tapes i should put into the changer for 
today´s, tomorrow´s backup?


regards,
Timo

--
---
DT Netsolution GmbH   -   Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-70  Fax: +49-711-849910-934
WEB: http://www.dtnet.de/  Email: [EMAIL PROTECTED]



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Autochanger Question

2005-07-22 Thread Beren Gamble
Hi Guys,

We've got a pretty advanced tape library (Adic i2000) which is mostly
for backing up our SAN, but it's partitioned so one tape unit and 6 slot
and 6 mail slots are assigned to Bacula.

I thought it was working ok until I filled up the first tape. For some
reason, the tape it filled up is now in the other partition which is
assigned to backing up the SAN. I'm not really sure where this error is
occuring. What does bacula usually do once a tape has filled up? Does it
put it in the mail slot or back in the normal slot, then grab the next
tape?

Or do you think this is a library problem, where it screwed up and put
it in the wrong slot?

Cheers,

Beren


**
The views expressed within this e-mail are those of the individual and not 
necessarily those of the Council. The information in this internet e-mail is 
confidential and may contain legally privileged information. If you are not the 
intended above named addressee it may be unlawful for you to read, copy, 
distribute or otherwise use the information in this internet e-mail. If you are 
not the intended recipient of this internet e-mail please telephone the sender 
on +44(0)20 8863 5611.
LONDON BOROUGH OF HARROW...
**



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?

2005-07-22 Thread Chris Lee
Yes, the 1.36.3 ebuild currently in portage runs a catalog version check to
see that your catalog db version is correct.  This version number is
independent of your db server version (mysql, postgresql, sqlite) and is
described in the bacula manual online.

The catalog db version checking is likely to be removed from these ebuilds
in the future since the 1.36.3-r1 ebuild was committed blindly and removed a
lot of things including this version check.  It is arguable whether the
catalog version check belongs in the ebuild, so I won't go into it here, but
I'm hoping to get the bacula ebuilds cleaned up some more once the
maintainership change is made and if I can keep developers from fixing
ebuilds blindly like that.

While I'm on the subject of Bacula and Gentoo, I don't know if I'll have
time to get the current development versions into portage before Kern
releases 1.38, and if that turns out to be the case then I will probably
just try to get 1.38 pushed into portage ASAP and skip 1.37 unless any
objections to this are noted.

To answer your question about the second server, if you want to have two
different directors with different catalogs and different versions of both
the director and the catalog, you can simply create a second catalog
database on your database server.  For example, database name bacula-1.34
for the 1.34 director, and database name bacula-1.36 for the 1.36 director
and then configure the directors to access their respective databases.

If you want both directors to use the same catalog then you will need to
upgrade the 1.34 director to 1.36 and perform the catalog version upgrade on
it as well (this is documented in the online manual).

Thanks,
Chris  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of [EMAIL PROTECTED]
 Sent: Thursday, 21 July, 2005 15:07
 To: bacula-users
 Subject: Re: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
 
 Thank You. Now my only problem is I have a second
 server that is using version 1.34.6 and using the same
 database. I assume if I upgrade the database with the
 upgrade script I will have to upgrade bacula on the 
 other box.
 Thanks Again,
 John
 --- Dan Langille [EMAIL PROTECTED] wrote:
 
  On 20 Jul 2005 at 22:44, Dan Langille wrote:
  
   On 20 Jul 2005 at 18:52,
  [EMAIL PROTECTED] wrote:
   
I wanted to upgrade from version 1.34.6 to
  1.36.3 but
when I go to start bacula I get an error about
  my
PostgreSQL database configuration. It says
  something
about expected version 8 but got 7 and
  terminates the
init script for the bacula director.
   
   This sounds like you did not run the Bacula
  upgrade script.  This 
   will perform the necessary database changes to
  migrate you from db 
   version 8.
  
  I mean: form db version 7 to db version 8.  These
  are Bacula-specific 
  versions and used internally to ensure the code
  doesn't use an 
  outdated database.
  
  -- 
  Dan Langille : http://www.langille.org/
  BSDCan - The Technical BSD Conference -
  http://www.bsdcan.org/
  
  
  
  
 
 ---
  SF.Net email is sponsored by: Discover Easy Linux
  Migration Strategies
  from IBM. Find simple to follow Roadmaps,
  straightforward articles,
  informative Webcasts and more! Get everything you
  need to get up to
  speed, fast.
 
 http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/bacula-users
  
 
 When a man sits with a pretty girl for an hour, it seems 
 like a minute. But let him sit on a hot stove for a minute 
 and it's longer than any hour. That's relativity. - Albert Einstein
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: performance problem on windows

2005-07-22 Thread Kern Sibbald
On Friday 22 July 2005 17:18, Carsten Schurig wrote:
 Kern Sibbald schrieb:
  On Wednesday 13 July 2005 14:00, Carsten Schurig wrote:
 
  Unlikely, but I would be happy if someone tried.

 I did install 1.37.30 and changed the following of the configuration
 addtionally:
   * switched from sqlite to mysql
   * use my 2 DDS-3 drives as single ones instead of emulating
 a autochanger

 Currently on my Windows 2K server two concurrent jobs are running (one
 to drive 1 and the other one to drive 2). Both are running at about
 1 MB/s (instead of 100 KB/s)!

So, it sounds like your performance problems were resolved by the upgrade if I 
understand correctly.


 BTW: I had to use different pools to get the concurrent jobs working. Is
 this ok? 

I may be missing something, but this sounds like a bug.  I'll look at it.

By the way, please don't try to run simultaneous jobs in the same FD if you 
use the new VSS feature -- it will not work correctly with more than one job 
at a time.


 My first try was to do something like that 

 Job {
   Client = win2k
   FileSet = win2k 1
   Storage = tape1
   Pool = WeeklyPool
 }
 Job {
   Client = win2k
   FileSet = win2k 2
   Storage = tape2
   Pool = WeeklyPool
 }

 In both drives a valid tape was inserted and the pools are defined with
 Accept Any Volume = yes, but the second job started was always
 complaining:

 Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
  Storage:  tape2 (/dev/nst1)
  Media type:   DDS-3
  Pool: WeeklyPool

 So I created a pool WeeklyPool2 and moved tape2 to that pool and changed
 the job accordingly. After this the jobs are really running
 concurrently. Is this behaviour correct?

 Cheers,
   Carsten



 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?

2005-07-22 Thread Chris Lee
Sorry... Either Outlook or Gmail had a hiccup and I'm not sure if this went
through previously.

Thanks,
Chris  

 -Original Message-
 From: Chris Lee [mailto:[EMAIL PROTECTED] 
 Sent: Friday, 22 July, 2005 09:11
 To: 'bacula-users'
 Subject: RE: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
 
 Yes, the 1.36.3 ebuild currently in portage runs a catalog 
 version check to see that your catalog db version is correct. 
  This version number is independent of your db server version 
 (mysql, postgresql, sqlite) and is described in the bacula 
 manual online.
 
 The catalog db version checking is likely to be removed from 
 these ebuilds in the future since the 1.36.3-r1 ebuild was 
 committed blindly and removed a lot of things including this 
 version check.  It is arguable whether the catalog version 
 check belongs in the ebuild, so I won't go into it here, but 
 I'm hoping to get the bacula ebuilds cleaned up some more 
 once the maintainership change is made and if I can keep 
 developers from fixing ebuilds blindly like that.
 
 While I'm on the subject of Bacula and Gentoo, I don't know 
 if I'll have time to get the current development versions 
 into portage before Kern releases 1.38, and if that turns out 
 to be the case then I will probably just try to get 1.38 
 pushed into portage ASAP and skip 1.37 unless any objections 
 to this are noted.
 
 To answer your question about the second server, if you want 
 to have two different directors with different catalogs and 
 different versions of both the director and the catalog, you 
 can simply create a second catalog database on your database 
 server.  For example, database name bacula-1.34 for the 
 1.34 director, and database name bacula-1.36 for the 1.36 
 director and then configure the directors to access their 
 respective databases.
 
 If you want both directors to use the same catalog then you 
 will need to upgrade the 1.34 director to 1.36 and perform 
 the catalog version upgrade on it as well (this is documented 
 in the online manual).
 
 Thanks,
 Chris  
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf 
  Of [EMAIL PROTECTED]
  Sent: Thursday, 21 July, 2005 15:07
  To: bacula-users
  Subject: Re: [Bacula-users] Ver 1.36.3 does it require PostgreSQL 8?
  
  Thank You. Now my only problem is I have a second
  server that is using version 1.34.6 and using the same
  database. I assume if I upgrade the database with the
  upgrade script I will have to upgrade bacula on the 
  other box.
  Thanks Again,
  John
  --- Dan Langille [EMAIL PROTECTED] wrote:
  
   On 20 Jul 2005 at 22:44, Dan Langille wrote:
   
On 20 Jul 2005 at 18:52,
   [EMAIL PROTECTED] wrote:

 I wanted to upgrade from version 1.34.6 to
   1.36.3 but
 when I go to start bacula I get an error about
   my
 PostgreSQL database configuration. It says
   something
 about expected version 8 but got 7 and
   terminates the
 init script for the bacula director.

This sounds like you did not run the Bacula
   upgrade script.  This 
will perform the necessary database changes to
   migrate you from db 
version 8.
   
   I mean: form db version 7 to db version 8.  These
   are Bacula-specific 
   versions and used internally to ensure the code
   doesn't use an 
   outdated database.
   
   -- 
   Dan Langille : http://www.langille.org/
   BSDCan - The Technical BSD Conference -
   http://www.bsdcan.org/
   
   
   
   
  
  ---
   SF.Net email is sponsored by: Discover Easy Linux
   Migration Strategies
   from IBM. Find simple to follow Roadmaps,
   straightforward articles,
   informative Webcasts and more! Get everything you
   need to get up to
   speed, fast.
  
  http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
   ___
   Bacula-users mailing list
   Bacula-users@lists.sourceforge.net
  
  https://lists.sourceforge.net/lists/listinfo/bacula-users
   
  
  When a man sits with a pretty girl for an hour, it seems 
  like a minute. But let him sit on a hot stove for a minute 
  and it's longer than any hour. That's relativity. - Albert Einstein
  
  
  ---
  SF.Net email is sponsored by: Discover Easy Linux Migration 
 Strategies
  from IBM. Find simple to follow Roadmaps, straightforward articles,
  informative Webcasts and more! Get everything you need to get up to
  speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts 

Re: [Bacula-users] corrupt files on full restore

2005-07-22 Thread Martin Simmons
Some random ideas below.


 On Tue, 19 Jul 2005 21:37:54 -0400, Theron Toomey [EMAIL PROTECTED] 
 said:

  Theron Hello,
  Theron I'm seeing some strange behavior with restores under 1.36.3/RHEL 3 
using 
  Theron an AIT-3 drive. I'm not quite sure what is causing it and I'd really 
  Theron appreciate any suggestions.

  Theron When I choose restore option 5 (Select the most recent backup) bacula 
  Theron proceeds to restore data from the last full and subsequent diff/incr 
  Theron jobs. However, for large restores (50 GB), I notice a few dozen 
error 
  Theron messages like:
  Theron   Error: attribs.c:339 File size of restored file /foo/bar not 
correct.
  Theron   Original [file size], restored [large, bogus file size].

  Theron Comparing the restores against the live data, I see that the restored 
  Theron files have lots of random garbage inserted/appended to them.

  Theron However, when I manually find the jobIDs of the full/diffs/incrs and 
  Theron restore them individually with restore option 3, there is no 
corruption 
  Theron and the files all seem fine.

Does individually mean one at a time, i.e. repeated use of option 3?  If so,
do you get corruption if you enter all the jobIDs into a single option 3 in
the same order as bacula chose from option 5?


  Theron Most of the corrupt files are older than the last full; Perhaps 
there's 
  Theron something in the diff/incr jobs that corrupts the files from the full 
  Theron job. However, most of the corrupt files are older than the last full 
and 
  Theron so are not even present in the diff/incr jobs.

  Theron Has anyone seen behavior like this or have any ideas about where to 
look?

For a particular restore, is it always the same files that are corrupted?  If
yes, is the garbage really random or is it the same garbage each time?  Also,
what happens if you use option 5 but only mark one of the corrupted files for
restore?

__Martin


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] ACL's with Bacula on FreeBSD (resend)

2005-07-22 Thread Martin Simmons
 On Wed, 20 Jul 2005 12:15:23 -0600, Tony Lambregts [EMAIL PROTECTED] 
 said:

  Tony I have ACL's working on our FreeBSD Server using Samba but when I
  Tony tried to backup and restore the files using Bacula I was unable to
  Tony restore the ACL's. When I investigated I discovered that Bacula
  Tony configured itself to have  ACL support: no. I compiled it from
  Tony soure using ports (bacula-1.36.2) The relevant portion of the
  Tony configure check is as follows.

  Tony checking sys/acl.h usability... yes
  Tony checking sys/acl.h presence... yes
  Tony checking for sys/acl.h... yes
  Tony checking for acl_get_file in -lacl... no

  Tony From my research that last test is only really valid on linux.

  Tony I would really like to know how to get Bacula to backup and restore
  Tony ACL's on FreeBSD. Is this a known issue that has a simple fix or have
  Tony I missed something?

You could try hacking configure to use -lposix1e instead of -lacl.  YMMV.

__Martin


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Config error: Keyword EnableVSS not permitted in this re

2005-07-22 Thread Kern Sibbald
Hello,

I've just released winbacula-vss-1.37.31.exe to the Win32-beta area on Source 
Forge. 

This version corrects the problem that you noted below.  You need only specify 
File = c: for the VSS snapshot to be taken.  In addition, I've added VSS 
on the status output in front of each Job output when the job is being backed 
up by VSS.  This is in addition to the VSS on the signon line, which 
indicates that the FD is VSS enabled.  

There are a good number of reasons why a particular backup cannot be made with 
VSS, and generally they are reported in the Job output.  However, as is 
normal for new code, some of the fail conditions may not report correctly.  
I've corrected at least one and as time goes on, we will correct them all.

Please be aware of one restriction on VSS backups: you may run only one job at 
a time any given client.  You may run multiple simultaneous jobs, but only 
one that uses VSS in any given client.  I suspect that few if any of you run 
multiple simultaneous backups in a single client, so hopefully this will 
create no problems.

Thanks for reporting this bug.

Best regards, Kern

On Thursday 21 July 2005 04:30, Thomas Simmons wrote:
 Seems I spoke too soon. After seeing the output:

 21-Jul 21:59 nemo-fd: Generate VSS snapshots. Driver=VSS WinXP,
 Drive(s)=C
 21-Jul 21:59 nemo-fd: VSS Writer: MSDEWriter, State: 1 (VSS_WS_STABLE)
 21-Jul 21:59 nemo-fd: VSS Writer: Microsoft Writer (Bootable State),
 State: 1 (VSS_WS_STABLE)
 21-Jul 21:59 nemo-fd: VSS Writer: WMI Writer, State: 1 (VSS_WS_STABLE)
 21-Jul 21:59 nemo-fd: VSS Writer: Microsoft Writer (Service State),
 State: 1 (VSS_WS_STABLE)

 I walked away but the backup failed because it couldn't find c:/*. In
 any event, I found that specifying two trailing slashes after c: does
 work. I don't yet know if this will cause any issues when doing the
 restore, I'll be testing that tomorrow.

FileSet {
   Name = default-winxp
   Enable VSS = yes
   Include {
 Options {
   signature = MD5
 }
 File = c://
   }
 }

 Thanks,
 Thomas

  Kern, List,
  I figured out what the issue is! When backing up an entire drive, an
  asterix must follow the trailing /. If the fileset is specified as
  follows VSS will not be used:
   FileSet {
  Name = default-winxp
  Enable VSS = yes
  Include {
Options {
  signature = MD5
}
File = c:/
  }
   }
 
  Adding a * to c:/ solves the issue.
 
   FileSet {
  Name = default-winxp
  Enable VSS = yes
  Include {
Options {
  signature = MD5
}
File = c:/*
  }
   }
 
  Thanks,
  Thomas
 
  Kern Sibbald wrote:
  On Thursday 21 July 2005 19:55, Nicolas Lopez wrote:
  [EMAIL PROTECTED] wrote:
  Kern,
  Thanks for your reply. I am using the VSS enabled FD. Here is the
  output
  from status client.
 
  lightning:~# echo status client=nemo-fd | bconsole
  Connecting to Director lightning:9101
  1000 OK: lightning-dir Version: 1.37.30 (14 July 2005)
  Enter a period to cancel a command.
  status client=nemo-fd
  Using default Catalog name=MyCatalog DB=bacula
  Connecting to Client nemo-fd at nemo:9102
 
  nemo-fd Version: 1.37.30 (14 July 2005) VSS Windows XP MVS NT 5.1.2600
 
I think I see the problem, you're trying to backup an XP system.  XP
  is only a VSS client, it doesn't actually do Shadow Copies itself,
  that's a Server 2003 thing.  Microsoft bundled the VSS client with SP2
  so that you wouldn't have to install it separately.
   I haven't upgraded my director to 1.37 yet to double check that it
  does work against out 2003 server, but as soon as it hits Debian I
  will.
 
  I don't know what is going on here, but I'm backing up a Windows XP
  Home machine that has the same logon:
 
  Tibs Version: 1.37.30 (14 July 2005) VSS Windows XP MVS NT 5.1.2600
 
  with bconsole, and here is the top part of my Job report:
  19-Jul 01:23 MainSD: Spooling data ...
  19-Jul 01:23 Tibs: Generate VSS snapshots. Driver=VSS WinXP,
  Drive(s)=C
  19-Jul 01:23 Tibs: VSS Writer: WMI Writer, State: 1 (VSS_WS_STABLE)
  19-Jul 01:23 Tibs: VSS Writer: MSDEWriter, State: 1 (VSS_WS_STABLE)
  19-Jul 01:23 Tibs: VSS Writer: Microsoft Writer (Bootable State),
  State: 1 (VSS_W
  19-Jul 01:23 Tibs: VSS Writer: Microsoft Writer (Service State),
  State: 1 (VSS_WS
  19-Jul 01:25 MainSD: Committing spooled data to Volume. Despooling
  534,420 bytes ..
  19-Jul 01:25 MainSD: Sending spooled attrs to the Director. Despooling
  2,539 bytes
  19-Jul 01:25 HeadMan: Bacula 1.37.30 (14Jul05): 19-Jul-2005 01:25:57 ...
 
  As you can see, the VSS snapshot was clearly taken.  I'll take a look
  at the code tomorrow. Perhaps I will see something.
 
   - Nick Lopez
 [EMAIL PROTECTED]
 


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative 

[Bacula-users] Bacula and Microsoft Exchange on Windows

2005-07-22 Thread Christopher Rasch-Olsen Raa
Hi list,

Have any of you run into any problems doing backups of the Exchange-system for 
windows? I am a little worried that I might not get the files Exchange locks 
backed up. Any experiences on this?

Mind you, I have not started doing backups of Exchange yet. I just want to 
hear what some of you have to say beforehand. :)

Best regards,
Christopher


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Bacula and Microsoft Exchange on Windows

2005-07-22 Thread McCann, Brian
You're right...just backing up the files doesn't work as they are
locked.  I have a scheduled job that runs on my Exchange server that
runs a backup of the Information Stores to a network share, then Bacula
does it's thing, ignoring the Exchange files.

--Brian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Rasch-Olsen Raa
Sent: Friday, July 22, 2005 15:59
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Bacula and Microsoft Exchange on Windows

Hi list,

Have any of you run into any problems doing backups of the
Exchange-system for 
windows? I am a little worried that I might not get the files Exchange
locks 
backed up. Any experiences on this?

Mind you, I have not started doing backups of Exchange yet. I just want
to 
hear what some of you have to say beforehand. :)

Best regards,
Christopher


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Microsoft Exchange on Windows

2005-07-22 Thread Kern Sibbald
Hello,

I suspect that Exchange is a VSS (Volume Shadow Copy) aware application, and 
if so, it will be correctly backed up in a totally consistent state if you 
use Bacula 1.37.30 with winbacula-vss-1.37.31.  They can be found in the beta 
release section of Bacula on Source Forge.

On Friday 22 July 2005 21:58, Christopher Rasch-Olsen Raa wrote:
 Hi list,

 Have any of you run into any problems doing backups of the Exchange-system
 for windows? I am a little worried that I might not get the files Exchange
 locks backed up. Any experiences on this?

 Mind you, I have not started doing backups of Exchange yet. I just want to
 hear what some of you have to say beforehand. :)

 Best regards,
 Christopher


-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Microsoft Exchange on Windows

2005-07-22 Thread Christopher Rasch-Olsen Raa
Oh! Nice one. :) I think I'll go for that solution myself. Thank you for 
sharing. :)

Best regards,
Christopher

Fredag 22. juli 2005 22:42, skrev McCann, Brian:
 You're right...just backing up the files doesn't work as they are
 locked.  I have a scheduled job that runs on my Exchange server that
 runs a backup of the Information Stores to a network share, then Bacula
 does it's thing, ignoring the Exchange files.

 --Brian

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Christopher Rasch-Olsen Raa
 Sent: Friday, July 22, 2005 15:59
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] Bacula and Microsoft Exchange on Windows

 Hi list,

 Have any of you run into any problems doing backups of the
 Exchange-system for
 windows? I am a little worried that I might not get the files Exchange
 locks
 backed up. Any experiences on this?

 Mind you, I have not started doing backups of Exchange yet. I just want
 to
 hear what some of you have to say beforehand. :)

 Best regards,
 Christopher


 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users




 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=Click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Error : zlib problem ?

2005-07-22 Thread Kern Sibbald
In the past, I have noticed several cases where Bacula does not work correctly 
with zlib if you do not build Bacula with the version that is loaded on your 
system.  I guess they change some of the internal structures defined in the 
header files in an incompatible way.

I suggest trying recompiling Bacula from scratch.  Most likely it will clear 
up your zlib problems.

However, you also seem to have a tape read problem (checksum mismatch).  This 
may be due to bad media or just a dirty read head on your tape drive. Try 
cleaning.

On Friday 22 July 2005 17:12, Yann Cézard wrote:
 Hi,

 Since today, I noticed that severals (perhaps all ?) my volumes produces
 errors when restoring all the files.
 I'm backing up on disk, and with bextract, the error messages looks like :
 --
 22-Jul 16:22 bextract: bextract Error: block.c:304 Volume data error \
   at 0:26772725! Block checksum mismatch in block 417: \
   calc=f31c422b blk=f84dd332
 22-Jul 16:22 bextract: ERROR in bextract.c:398 Uncompression error. \
   ERR=1
 22-Jul 16:22 bextract: bextract Error: create_file.c:175 bpkt already \
   open fid=5
 ---
 22-Jul 16:11 bextract: bextract Error: block.c:304 Volume data error \
   at 0:151216333! Block checksum mismatch in block 2346: \
   calc=707a3d29 blk=c0f8fb12
 22-Jul 16:11 bextract: ERROR in bextract.c:398 Uncompression error. ERR=1
 ---
 ...

 So here are my questions :
 - is there a tool to test all my volumes ? (I still can do with
 something like
 bextract VolumeName /dev/null | grep Error but perhaps there are
 already something cleaner to test volumes !?)
 - as errors mentionned Uncompression error, is the error could have
 been introduced when I upgraded my zlib (last tuesday) ?
 I'm running Bacula 1.36.3 from RPM on FC3.
 Can the zlib's upgrade have broken something with bacula ?

 The problem occurs on volumes created after AND before the zlib upgrade...

 Thanks for any help !

 Yann Cezard.


 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (
  /\
  V_V


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users