Re: [Bacula-users] How to emulate auto-prune in director bacula 2.2.6

2007-12-07 Thread Bruno Friedmann
Alan Brown wrote:
 On Thu, 6 Dec 2007, Bruno Friedmann wrote:
 
 Thank Alan,
 But this is not exactly what they want.
 
 What they want isn't necessarily what is best for them to work with.

I understand your point of view Alan, just as 19 jobs of 20 are base on file 
disk backup there's no need to put tape.
What they need is to be sure that pruning have correctly take place ...
 
 Before version 2.2x version bacula did always automatically the
 pruning job for all media that have their prune time ellapsed.

 so status-director show on which volume it would start.
 
 My SQL query will give that information AND the shell script will give
 it in a form which is trivially mailed out automatically via a cronjob.
 
 AB
 
Exactly, and your sql query have take place in my script catalog, as it's very 
usefull for tape librairies
and once per week when they need to put a tape inside the SDLT.

Martin give me the trick two thread next.
the list nextvol for job ...

Thank again.


-- 

 Bruno Friedmann  [EMAIL PROTECTED]

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] (no subject)

2007-12-07 Thread marc . smith
 [EMAIL PROTECTED] wrote:
 Hi,

 I have a Spectra Logic T50 and run about 50 jobs each night. The tape
 library has 2 LTO3 drives. Lately it seems like at the beginning of the
 night, one of the jobs will sit and and keep a drive waiting for a
 volume
 all night:

 07-Dec 02:24 escabot-sd JobId 8280: Please mount Volume 97LX or
 label a new
 one for:
 Job:  espizarro.2007-12-07_02.00.55
 Storage:  T50-Drive-1 (/dev/nst0)
 Pool: Daily
 Media type:   LTO-3

 Was the volume being requested, 97LX, already mounted on the other
 tape
 drive, nst1?  If so, it sounds like you're hitting the same glitch I ran
 into:

 http://bugs.bacula.org/view.php?id=1018


Yeah, seems to be the same problem. I haven't actually watched to see if
the other drive is requesting the tape at the same time, but I assumed
that it was something like that. Its also at the beginning of the jobs, so
that sounds right. I guess they don't have any ETA -- I'm also using
version 2.2.6.


--Marc

 --
 Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution
 that
 WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL
 Mencken
 GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

 !DSPAM:1,4759534220681210147!





-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] (no subject)

2007-12-07 Thread marc . smith
Hi,

I have a Spectra Logic T50 and run about 50 jobs each night. The tape
library has 2 LTO3 drives. Lately it seems like at the beginning of the
night, one of the jobs will sit and and keep a drive waiting for a volume
all night:

07-Dec 02:24 escabot-sd JobId 8280: Please mount Volume 97LX or
label a new
one for:
Job:  espizarro.2007-12-07_02.00.55
Storage:  T50-Drive-1 (/dev/nst0)
Pool: Daily
Media type:   LTO-3

Even after all the other jobs are done, it never mounts that volume by
itself. I'm not actually sure why its waiting for that specific volume
anyhow, there are other appendable volumes in the pool. I don't really
remember Bacula doing this with other versions in the past.

Anyone else having this problem?


Thanks,

Marc


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to emulate auto-prune in director bacula 2.2.6

2007-12-07 Thread Alan Brown
On Fri, 7 Dec 2007, Bruno Friedmann wrote:

 I understand your point of view Alan, just as 19 jobs of 20 are base on 
 file disk backup there's no need to put tape. What they need is to be 
 sure that pruning have correctly take place ...

Have you had problems with pruning failing?


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job hangs at end of run - Fatal error: job.c

2007-12-07 Thread Damian Brasher
Martin Simmons wrote:

 Also, you could attach gdb to each daemon and run the gdb command

 thread apply all bt


11th Nov 07---
Have attached /sbin/bacual-dir /sbin/bacula-fd and /sbin/bacula-sd to
gdb, run the commands
and will now wait until the error condition repeats.

Will post the output to [(gdb)info file] and [(gdb)thread apply all bt]
as soon as I have the error condition
as well as the dir/fd and sd status.
--

The error has occurred again. I decided to start bacula with the init 
scripts and attached gdb to the running process.

All the details descibing this problem are at the beginning of the thread.

As the job halted this was the output from the bconsole, about 200 lines 
of roughly the same as below:-

...Orphaned buffer:  backup-dir  8 bytes buf=9e1f010 allocated at 
workq.c:167
Orphaned buffer:  backup-dir 16 bytes buf=9e1eee0 allocated at jcr.c:247
Orphaned buffer:  backup-dir528 bytes buf=9e1f038 allocated at jcr.c:255
Orphaned buffer:  backup-dir528 bytes buf=9e23ab8 allocated at job.c:953
Orphaned buffer:  backup-dir528 bytes buf=9e23ce8 allocated at 
job.c:1130
Orphaned buffer:  backup-dir  6 bytes buf=9e23f50 allocated at 
ua_server.c:105
Orphaned buffer:  backup-dir316 bytes buf=9e23f78 allocated at 
ua_server.c:192
Orphaned buffer:  backup-dir804 bytes buf=9e24338 allocated at 
bsock.c:429
Orphaned buffer:  backup-dir707 bytes buf=9e24c40 allocated at 
mem_pool.c:198
Orphaned buffer:  backup-dir707 bytes buf=9e24680 allocated at 
mem_pool.c:198
Orphaned buffer:  backup-dir 24 bytes buf=9e1f268 allocated at 
job.c:1153
Orphaned buffer:  backup-dir 40 bytes buf=9e1f2a0 allocated at 
alist.c:53...

 From command: status all the only unusual output is:

Running Jobs:
JobId 166 Job holly.2007-12-06_23.25.09 is running.
 Backup Job started: 07-Dec-07 01:41
 Files=50,030 Bytes=12,066,088,479 Bytes/sec=407,211
 Files Examined=66,825
 Processing file: /etc/httpd/conf/httpd.conf
 SDReadSeqNo=6 fd=7
Director connected at: 07-Dec-07 09:55

The sd status is:

backup-sd Version: 2.2.5 (09 October 2007) i686-pc-linux-gnu redhat 
Enterprise release
Daemon started 06-Dec-07 11:42, 4 Jobs run since started.
  Heap: heap=217,088 smbytes=160,745 max_bytes=161,943 bufs=124 max_bufs=133
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
Writing: Full Backup job holly JobId=166 Volume=Thursday1
 pool=Thursday device=LTO-2 (/dev/nst0)
 spooling=0 despooling=0 despool_wait=0
 Files=50,030 Bytes=12,073,480,104 Bytes/sec=404,607
 FDReadSeqNo=646,525 in_msg=552497 out_msg=6 fd=8

The output from gdb thread apply all bt are as follows:-

1) bacula-dir

(gdb) thread apply all bt

Thread 8 (Thread -1210356848 (LWP 9317)):
#0  0x0038e402 in __kernel_vsyscall ()
#1  0x008e3051 in select () from /lib/libc.so.6
#2  0x0809a84f in bnet_thread_server (addrs=0x8e15b78, max_clients=20, 
client_wq=0x80dcba0,
 handle_client_request=0x8081f40 handle_UA_client_request) at 
bnet_server.c:161
#3  0x08081f36 in connect_thread (arg=0x8e15b78) at ua_server.c:84
#4  0x003e245b in start_thread () from /lib/libpthread.so.0
#5  0x008ea24e in clone () from /lib/libc.so.6

Thread 7 (Thread -1220846704 (LWP 9318)):
#0  0x0038e402 in __kernel_vsyscall ()
#1  0x003e64dc in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
/lib/libpthread.so.0
#2  0x080b818f in watchdog_thread (arg=0x0) at watchdog.c:307
#3  0x003e245b in start_thread () from /lib/libpthread.so.0
#4  0x008ea24e in clone () from /lib/libc.so.6

Thread 6 (Thread -1231336560 (LWP 9320)):
#0  0x0038e402 in __kernel_vsyscall ()
#1  0x003e8e1b in read () from /lib/libpthread.so.0
#2  0x0809996d in read_nbytes (bsock=0x8e21460,
 ptr=0xb69b4318 
(C\233�h*�\b`\024�\b\200*�\bXC\233��\037\b\b`\024�\bc\\\f\b\b, 
nbytes=4)
 at bnet.c:82
#3  0x0809c136 in BSOCK::recv (this=0x8e21460) at bsock.c:381
#4  0x08081fba in handle_UA_client_request (arg=0x8e21460) at 
ua_server.c:140
#5  0x080b87fc in workq_server (arg=0x80dcba0) at workq.c:357
#6  0x003e245b in start_thread () from /lib/libpthread.so.0
#7  0x008ea24e in clone () from /lib/libc.so.6

Thread 5 (Thread -1241826416 (LWP 9321)):
#0  0x0038e402 in __kernel_vsyscall ()
#1  0x003e8e1b in read () from /lib/libpthread.so.0
#2  0x0809996d in read_nbytes (bsock=0x8e22cf8,
 ptr=0xb5fb3318 
(3��\220E�\b�,�\b�E�\bX3���\037\b\b�,�\bc\\\f\b\b, nbytes=4) at 
bnet.c:82
#3  0x0809c136 in BSOCK::recv (this=0x8e22cf8) at bsock.c:381
#4  0x08081fba in handle_UA_client_request (arg=0x8e22cf8) at 
ua_server.c:140
#5  0x080b87fc in workq_server (arg=0x80dcba0) at workq.c:357
#6  0x003e245b in start_thread () from /lib/libpthread.so.0
#7  0x008ea24e in clone () from /lib/libc.so.6

Thread 4 (Thread -1252316272 (LWP 9322)):
#0  0x0038e402 in __kernel_vsyscall ()
#1  0x003e8e1b in read () from /lib/libpthread.so.0
#2  

Re: [Bacula-users] (no subject)

2007-12-07 Thread Frank Sweetser
[EMAIL PROTECTED] wrote:
 Hi,
 
 I have a Spectra Logic T50 and run about 50 jobs each night. The tape
 library has 2 LTO3 drives. Lately it seems like at the beginning of the
 night, one of the jobs will sit and and keep a drive waiting for a volume
 all night:
 
 07-Dec 02:24 escabot-sd JobId 8280: Please mount Volume 97LX or
 label a new
 one for:
 Job:  espizarro.2007-12-07_02.00.55
 Storage:  T50-Drive-1 (/dev/nst0)
 Pool: Daily
 Media type:   LTO-3

Was the volume being requested, 97LX, already mounted on the other tape
drive, nst1?  If so, it sounds like you're hitting the same glitch I ran into:

http://bugs.bacula.org/view.php?id=1018

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] migration job problems

2007-12-07 Thread Christoph Litauer
Hi,

running bacula 2.2.5. I configured a migration job that should migrate
all jobs older than 3 month. While migrating, some jobs issue the
following messages:

07-Dez 12:53 bacula-sd JobId 8446: Ready to read from volume File-0189
on device FileStorage (/storage).
07-Dez 12:55 bacula-sd JobId 8446: End of file 2 on device FileStorage
(/storage), Volume File-0189
07-Dez 12:55 bacula-sd JobId 8446: End of Volume at file 2 on device
FileStorage (/storage), Volume File-0189
07-Dez 12:55 bacula-sd JobId 8446: Ready to read from volume File-0190
on device FileStorage (/storage).
07-Dez 12:55 bacula-dir JobId 8446: Warning: Got MD5 digest but not same
File as attributes
07-Dez 12:57 bacula-sd JobId 8446: End of file 2 on device FileStorage
(/storage), Volume File-0190
07-Dez 12:57 bacula-sd JobId 8446: End of Volume at file 2 on device
FileStorage (/storage), Volume File-0190
07-Dez 12:57 bacula-sd JobId 8446: Ready to read from volume File-0191
on device FileStorage (/storage).
07-Dez 13:00 bacula-sd JobId 8446: End of file 2 on device FileStorage
(/storage), Volume File-0191
07-Dez 13:00 bacula-sd JobId 8446: End of Volume at file 2 on device
FileStorage (/storage), Volume File-0191
07-Dez 13:00 bacula-sd JobId 8446: Ready to read from volume File-0192
on device FileStorage (/storage).
07-Dez 13:00 bacula-dir JobId 8446: Warning: Got MD5 digest but not same
File as attributes
07-Dez 13:03 bacula-sd JobId 8446: End of file 2 on device FileStorage
(/storage), Volume File-0192
07-Dez 13:03 bacula-sd JobId 8446: End of Volume at file 2 on device
FileStorage (/storage), Volume File-0192
07-Dez 13:03 bacula-sd JobId 8446: Ready to read from volume File-0193
on device FileStorage (/storage).
07-Dez 13:03 bacula-dir JobId 8446: Warning: Got MD5 digest but not same
File as attributes
07-Dez 13:05 bacula-sd JobId 8446: End of file 2 on device FileStorage
(/storage), Volume File-0193
07-Dez 13:05 bacula-sd JobId 8446: End of Volume at file 2 on device
FileStorage (/storage), Volume File-0193
07-Dez 13:05 bacula-sd JobId 8446: Ready to read from volume File-0194
on device FileStorage (/storage).
07-Dez 13:05 bacula-dir JobId 8446: Warning: Got MD5 digest but not same
File as attributes

... and so on.

What does this warning message mean?

-- 
Regards
Christoph

Christoph Litauer  [EMAIL PROTECTED]
Uni Koblenz, Computing Center, http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore job alters a volumes LastWritten value?

2007-12-07 Thread Arno Lehmann
Hi,

07.12.2007 12:28,, Sean Cardus wrote::
 Hi all,
 
 A week ago I restored some files from a tape marked as full 
 recyclable.  This morning during a normal backup run I expected this
 tape to be recycled and purged like all the tapes previous to it have.
 However this did not happen, instead another tape was purged and
 recycled.
 
 After looking at my volume list I can see that the LastWritten value on
 the tape has been updated with the date/time of when I ran the restore
 job.  Nothing in my logs suggests any more data has been written to the
 tape.
 
 Is this expected behaviour?  Is there a way of preventing this from
 happening again on future restore jobs?

Which version of Bacula is this?

And have a look at http://bugs.bacula.org/view.php?id=982 - there's a 
patch for 2.2.5 available.

Arno

 Thanks in advance,
 Sean
 
 
 
 -
 SF.Net email is sponsored by:
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to emulate auto-prune in director bacula 2.2.6

2007-12-07 Thread Bruno Friedmann
Martin Simmons wrote:
 On Thu, 06 Dec 2007 18:02:06 +0100, Bruno Friedmann said:
 Thank Alan,
 But this is not exactly what they want.
 Before version 2.2x version bacula did always automatically the pruning job 
 for all media that have their prune time ellapsed.

 so status-director show on which volume it would start.

 Actually until the last moment (until the job start, bacula doesn't want to 
 prune expired volumes).
 When the job start, it do it correctly alone.
 At the momemt the job start there's should be already prune volums. But they 
 aren't.

 so a prune-all command inside the bconsole would be the feature needed.

 Any ideas how to make it.
 
 Have you looked at the `list nextvol job=xxx' command?  It can only do one job
 name at a time, but it will do the pruning.
 
 __Martin
 

Thanks Martin, the command list nextvol do the trick and was what I'm looking 
for.
perhaprs we should ask for a enhancement in bconsole that help show also this 
option
 list   list [pools | jobs | jobtotals | media pool=pool-name | files 
jobid=nn]; from catalog
(or simple a * more to doc) would have drive me to the online manual :-)

I don't find my way to automated the command like having multiple jobs in one 
line something like
list nextvol job=tata-job,titi-job,toto-job ... Documentation doesn't allow 
this.

Is there a way to emulate this (I think about people having more than 5 jobs 
per day)
I could try to extended the query use by the list nextl command with a clause 
like
media_last_write = media_retention_time for each pool present.

If we succeed in this, we can publish to the wiki ressources.

Waht would be your point of view ?


-- 

 Bruno Friedmann  [EMAIL PROTECTED]

Ioda-Net Sàrl   - www.ioda-net.ch
  2830 Vellerat - Switzerland

  Tél : ++41 32 435 7171
  Fax : ++41 32 435 7172
  gsm : ++41 78 802 6760

C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore job alters a volumes LastWritten value?

2007-12-07 Thread Sean Cardus
Hi all,

A week ago I restored some files from a tape marked as full 
recyclable.  This morning during a normal backup run I expected this
tape to be recycled and purged like all the tapes previous to it have.
However this did not happen, instead another tape was purged and
recycled.

After looking at my volume list I can see that the LastWritten value on
the tape has been updated with the date/time of when I ran the restore
job.  Nothing in my logs suggests any more data has been written to the
tape.

Is this expected behaviour?  Is there a way of preventing this from
happening again on future restore jobs?

Thanks in advance,
Sean



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore fails

2007-12-07 Thread Michael Galloway
hmmm ...

ok, working with backups on my new T50/LTO4 box. i've got some data backed up 
but
when i tried to restore a file today i got this in the console:

07-Dec 11:44 molbio-dir JobId 6: Bacula molbio-dir 2.2.6 (10Nov07): 07-Dec-2007 
11:44:31
otstrap records written to /bacula/bin/working/molbio-dir.restore.1.bsr

The job will require the following
   Volume(s) Storage(s)SD Device(s)
===
   
   002045L4  LTO4  LTO4 

1 file selected to be restored.

Run Restore job
JobName: RestoreFiles
Bootstrap:   /bacula/bin/working/molbio-dir.restore.1.bsr
Where:   /tmp/bacula-restores
Replace: always
FileSet: Full Set
Backup Client:   moldyn-fd
Restore Client:  moldyn-fd
Storage: LTO4
When:2007-12-07 11:39:20
Catalog: MyCatalog
Priority:10
OK to run? (yes/mod/no): yes
Job queued. JobId=6
*
*
*
You have messages.
*
 .

07-Dec 11:44 molbio-sd JobId 6: End of Volume at file 0 on device LTO4 
(/dev/nst0), Volume 002045L4
07-Dec 11:44 molbio-sd JobId 6: End of all volumes.
07-Dec 11:44 molbio-sd JobId 6: Alert: smartctl version 5.36 
[x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
07-Dec 11:44 molbio-sd JobId 6: Alert: Home page is 
http://smartmontools.sourceforge.net/
07-Dec 11:44 molbio-sd JobId 6: Alert: 
07-Dec 11:44 molbio-sd JobId 6: Alert: TapeAlert Not Supported
07-Dec 11:44 molbio-sd JobId 6: Alert: 
07-Dec 11:44 molbio-sd JobId 6: Alert: Error Counter logging not supported
07-Dec 11:44 molbio-dir JobId 6: Bacula molbio-dir 2.2.6 (10Nov07): 07-Dec-2007 
11:44:31
  Build OS:   x86_64-unknown-linux-gnu redhat 
  JobId:  6
  Job:RestoreFiles.2007-12-07_11.39.04
  Restore Client: moldyn-fd
  Start time: 07-Dec-2007 11:39:33
  End time:   07-Dec-2007 11:44:31
  Files Expected: 1
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK -- warning file count mismatch

07-Dec 11:44 molbio-dir JobId 6: Begin pruning Jobs.
07-Dec 11:44 molbio-dir JobId 6: No Jobs found to prune.
07-Dec 11:44 molbio-dir JobId 6: Begin pruning Files.
07-Dec 11:44 molbio-dir JobId 6: No Files found to prune.
07-Dec 11:44 molbio-dir JobId 6: End auto prune.

  Build OS:   x86_64-unknown-linux-gnu redhat 
  JobId:  6
  Job:RestoreFiles.2007-12-07_11.39.04
  Restore Client: moldyn-fd
  Start time: 07-Dec-2007 11:39:33
  End time:   07-Dec-2007 11:44:31
  Files Expected: 1
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK -- warning file count mismatch

with no file restored. this is bacula 2.2.6 on centos 5. i patched with:

2.2.6-add.patch
2.2.6-backup-restore-socket.patch
2.2.6-queued-msg.patch
2.2.6-status.patch

i noticed that in dmesg there was this:

st0: Current: sense key: Medium Error
Additional sense: Recorded entity not found
Info fld=0x1

i'm trying another restore from a different volume to see how it goes. 
is this a hardware or software problem?

-- michael


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] disable batch inserts in 2.2.4

2007-12-07 Thread Dane Miller
Hi,

How can I disable batch inserts when building bacula from FreeBSD ports
sysutils/bacula-server?  make configure didn't give me any choices.

The bacula.batch table consistently disappears during long-running
jobs, which generates lots of sql errors (seems and oft reported
problem).  So I'd like to test without the batch insert feature.

Thanks,
Dane
-- 
Dane Miller
Systems Administartor
Greatschools, Inc
http://www.greatschools.net


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to emulate auto-prune in director bacula 2.2.6

2007-12-07 Thread Bruno Friedmann
Alan Brown wrote:
 On Fri, 7 Dec 2007, Bruno Friedmann wrote:
 
 I understand your point of view Alan, just as 19 jobs of 20 are base
 on file disk backup there's no need to put tape. What they need is to
 be sure that pruning have correctly take place ...
 
 Have you had problems with pruning failing?
 

Not really, but sometimes from one or another jobs, which have start at time du 
to waiting a operator action.
The lastwritten happen to lately for the next time the job should start.

In this case, op will prune/purge manually the media.



-- 

 Bruno Friedmann  [EMAIL PROTECTED]



-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Spooled backup to tape blows away spooler directory after first client...

2007-12-07 Thread David Gardner
Hey guys,

I thought it an artifact last week that the spooler directory was blown away 
while having trouble with the tape backup job. It happened again last night 
without any other apparent issues.

The first clients files were spooled to /tmp/BUspool directory then put onto 
tape. The next client tried to spool files to the same directory but it was 
gone and the job failed as did the subsequent client backups. For the record, 
the only difference between the daily and weekly backups is that the Dailies 
are incrementals stored to disk while the weekly is a full backup to tape. All 
jobs use the /tmp/BUspool directory to spool the jobs despite the settings in 
bacula-sd.conf (see below).

I guess I have two questions:
1) Why is the BUspool folder getting blown away on spooled tape backups? and
2) How is it the disk-to-disk backups know to spool to the BUspool directory?

-==-=-=-=-=-=-=-===-=-=-=-=-=--=-=
#
# Bacula Storage Daemon Configuration file
#
#  For Bacula release 2.2.5 (09 October 2007) -- redhat (Zod)
#

Storage {
  Name = DURANGO-sd
  SDPort = 9103  # Director's port
  WorkingDirectory = /var/bacula/working
  Pid Directory = /var/run
  Maximum Concurrent Jobs = 20
}


#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = DURANGO-dir
  Password = ...snip...
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = DURANGO-mon
  Password = ...snip...
  Monitor = yes
}


#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType.
#

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

#
# An HP DAT72e USB tape drive with spooling
#
Device {
Name = DAT72
Media Type = DAT-72 # from Bacula documentation
Description = HP DAT72e USB tape drive
Archive Device = /dev/tape
LabelMedia = yes;   # lets Bacula label unlabeled media
RandomAccess = no;
AutomaticMount = yes;   # when device opened, read it
AlwaysOpen = no;
RemovableMedia = yes;
AutoChanger = no
Spool Directory = /tmp/BUspool
}


Messages {
  Name = Standard
  director = DURANGO-dir = all
}


 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
David Gardner
email: djgardner(at)yahoo.com
Yahoo! IM: djgardner
AIM: dgardner09 
Everything is a learning experience, even a mistake.





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users