Re: [Bacula-users] bacula behave diferent that i want to

2008-12-01 Thread Bartosz . c
On Fri, 28 Nov 2008 14:08:48 -0500, John Drescher
[EMAIL PROTECTED] wrote:

On Fri, Nov 28, 2008 at 6:39 AM, Bartosz. c [EMAIL PROTECTED] wrote:
 I have weird situation, when bacula meet a problem (mainly one of
 bacula-fd is shuted down) it dont want to continue rest of backups
 from the list of jobs,

 only when problem is solved (it mean backuped data [bacula-fd] is
 online) it start working and do rest of jobs:

 i have no idea how to solve this problem,

 screen from times of jobs:
 http://www.wrzuta.pl/obraz/lc7lfuxH3J/

 my conf file:

 http://www.wrzuta.pl/pliki/fPLc49A5fD/

 I kindly ask for help
 Bartosz.

 if I duplicate this post sorry but I still have a problem with my
 membership of bacula-users


This is normal. Unless you enable concurrency or use a run before
script to test the status of the fd, bacula will retry to connect to a
down fd a few times before giving up. Depending on your timeout
settings this can take 30 minutes or more for bacula to give up on a
client. If you want concurrency you have to enable concurrency on the
storage in bacula-dir.conf You can also restrict the times that bacula
will wait for a client.

John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/

thanks for answer,
I thought that I have enabled concurrency:

Director {
  Name = max-dir
  DIRport = 9101
  QueryFile = /etc/bacula/scripts/query.sql
  WorkingDirectory = /var/lib/bacula
  PidDirectory = /var/run/bacula
  Maximum Concurrent Jobs = 20
  Password = xxx
  Messages = Daemon
} 


am I wrong or it is locatet somewhere diffrent?

You can also restrict the times that bacula will wait for a client.
could you tell me where is such option?

Bartosz.





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FW: Disk to Disk to Tape

2008-12-01 Thread Sebastian Lehmann
Hi,

Am Mi 26.11.2008 15:46 schrieb Martin Hengst [EMAIL PROTECTED]:

 I have realized disk2disk2tape by migrating jobs (see manual:
 http://www.bacula.org/en/dev-manual/Migration.html). By doing so you
 can configure something like this:

 client with file daemon (and the files you want to backup)
 backserver with director daemon, storage daemon and file daemon.

 1. you define a pool A in the filesystem of the backupserver and a
 pool B in the tape library
 2. you define a standard backup job J1 which backups the files from
 the client into pool B
 3. you define a migrate job J2 which migrates J1 to the tape

 Thanks for the suggestion. I'll take a look at migration.

that could be a nice solution for you problem, but keep in mind, that
you lose your original backup, because migration means, that you move
data from one pool to an other.

Greetings

Sebastian 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Backing up Windows 2008 64-bit with VSS...

2008-12-01 Thread Sean Cardus
Hi All,

I've now got a need to perform backups of a new 64-bit Windows 2008 Server.
The current 32-bit Bacula agent runs ok up to a point, but unfortunately
it's unable to perform backups using VSS.

Eg:  28-Nov 22:59 win2k8-fd JobId 12291: Warning: VSS was not initialized
properly. VSS support is disabled. ERR=An attempt was made to reference a
token that does not exist.

I've searched the users  dev archives and I've read some discussion about
work done in this area and I'm wondering if someone's produced some binaries
we can test with yet?

Thanks in advance,
Sean



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula behave diferent that i want to

2008-12-01 Thread Bruno Friedmann
Bartosz.c wrote:
 On Fri, 28 Nov 2008 14:08:48 -0500, John Drescher
 [EMAIL PROTECTED] wrote:
 
 On Fri, Nov 28, 2008 at 6:39 AM, Bartosz. c [EMAIL PROTECTED] wrote:
 I have weird situation, when bacula meet a problem (mainly one of
 bacula-fd is shuted down) it dont want to continue rest of backups
 from the list of jobs,

 only when problem is solved (it mean backuped data [bacula-fd] is
 online) it start working and do rest of jobs:

 i have no idea how to solve this problem,

 screen from times of jobs:
 http://www.wrzuta.pl/obraz/lc7lfuxH3J/

 my conf file:

 http://www.wrzuta.pl/pliki/fPLc49A5fD/

 I kindly ask for help
 Bartosz.

 if I duplicate this post sorry but I still have a problem with my
 membership of bacula-users

 This is normal. Unless you enable concurrency or use a run before
 script to test the status of the fd, bacula will retry to connect to a
 down fd a few times before giving up. Depending on your timeout
 settings this can take 30 minutes or more for bacula to give up on a
 client. If you want concurrency you have to enable concurrency on the
 storage in bacula-dir.conf You can also restrict the times that bacula
 will wait for a client.

 John

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 
 thanks for answer,
 I thought that I have enabled concurrency:
 
 Director {
   Name = max-dir
   DIRport = 9101
   QueryFile = /etc/bacula/scripts/query.sql
   WorkingDirectory = /var/lib/bacula
   PidDirectory = /var/run/bacula
   Maximum Concurrent Jobs = 20
   Password = xxx
   Messages = Daemon
 } 
 
 
 am I wrong or it is locatet somewhere diffrent?
 
 You can also restrict the times that bacula will wait for a client.
 could you tell me where is such option?
 
 Bartosz.
 
 
bacula.org - search - concurrent jobs.
first link
http://www.bacula.org/en/rel-manual/Tips_Suggestions.html#SECTION003817

bacula.org - search - fd timeout
-
http://www.bacula.org/en/dev-manual/Configuring_Director.html#4865

We all know that manual is complete
Searching inside is the top feature :-)

Hope this help you

-- 

 Bruno Friedmann


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] SIGSEV with btape

2008-12-01 Thread Willians Vivanco
After some failed attemps to report a bug using the BTS
(http://bugs.bacula.org/) I decided to write to your the mail list. I 
will follow
the indications explained in http://www.bacula.org/en/?page=bugs.



*Operating System*: debian/GNU Linux [Lenny (kernel 2.6.26-1-686)]

*Version of Bacula*: 2.4.2 (26 July 2008)

*Tape drive*: HP StorageWorks MSL6000 series

*Description of the problem*:
I have a HP StorageWorks MSL6000 series tape library. My bacula-sd (and
the rest of the daemons) are running in a blade server connected to the
tape library trough a FibreChannel SAN. My problem is that the btape
fill test fails. Find below the output of all commands I've tried and
some other useful information.

*Results of _test_ btape test*:

*test

output command=test
=== Write, rewind, and re-read test ===

I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

btape: btape.c:831 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:847 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:856 Rewind OK.
1000 blocks re-read correctly.
Got EOF on tape.
1000 blocks re-read correctly.
=== Test Succeeded. End Write, rewind, and re-read test ===


=== Write, rewind, and position test ===

I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and position to a few blocks and verify that it is correct.

This is an *essential* feature ...

btape: btape.c:943 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:959 Wrote 1000 blocks of 64412 bytes.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:968 Rewind OK.
Reposition to file:block 0:4
Block 5 re-read correctly.
Reposition to file:block 0:200
Block 201 re-read correctly.
Reposition to file:block 0:999
Block 1000 re-read correctly.
Reposition to file:block 1:0
Block 1001 re-read correctly.
Reposition to file:block 1:600
Block 1601 re-read correctly.
Reposition to file:block 1:999
Block 2000 re-read correctly.
=== Test Succeeded. End Write, rewind, and re-read test ===



=== Append files test ===

This test is essential to Bacula.

I'm going to write one record  in file 0,
  two records in file 1,
and three records in file 2

btape: btape.c:475 Rewound Drive-0 (/dev/nst0)
btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:372 open device Drive-0 (/dev/nst0): OK
btape: btape.c:475 Rewound Drive-0 (/dev/nst0)
btape: btape.c:1097 Now moving to end of medium.
btape: btape.c:526 Moved to end of medium.
We should be in file 3. I am at file 3. This is correct!

Now the important part, I am going to attempt to append to the tape.

btape: btape.c:1577 Wrote one record of 64412 bytes.
btape: btape.c:1579 Wrote block to device.
btape: btape.c:505 Wrote 1 EOF to Drive-0 (/dev/nst0)
btape: btape.c:475 Rewound Drive-0 (/dev/nst0)
Done appending, there should be no I/O errors

Doing Bacula scan of blocks:
1 block of 64448 bytes in file 1
End of File mark.
2 blocks of 64448 bytes in file 2
End of File mark.
3 blocks of 64448 bytes in file 3
End of File mark.
1 block of 64448 bytes in file 4
End of File mark.
Total files=4, blocks=7, bytes = 451,136
End scanning the tape.
We should be in file 4. I am at file 4. This is correct!

The above Bacula scan should have output identical to what follows.
Please double check it ...
=== Sample correct output ===
1 block of 64448 bytes in file 1
End of File mark.
2 blocks of 64448 bytes in file 2
End of File mark.
3 blocks of 64448 bytes in file 3
End of File mark.
1 block of 64448 bytes in file 4
End of File mark.
Total files=4, blocks=7, bytes = 451,136
=== End sample correct output ===

If the above scan output is not identical to the
sample output, you MUST correct the problem
or Bacula will not be able to write multiple Jobs to
the tape.


=== Write, backup, and re-read test ===

I'm going to write three records and an EOF
then backup over the EOF and re-read the last record.
Bacula does this after writing the last block on the
tape to verify that the block was written correctly.

This is not an 

[Bacula-users] FreeBSD, Bacula, and a Dell Autochanger 122T SCSI Timeouts

2008-12-01 Thread Brian A. Seklecki
FWD'd on behalf of a co-worker who is stuck in some limbo dimension
caused by the SF.net mailman farm.


From:   Steve Polyack [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:  FreeBSD, Bacula, and a Dell Autochanger
Date:   Tue, 25 Nov 2008 15:23:39 -0500

We've been using Bacula with FreeBSD with a Dell Autochanger (PV-122T) 
for some time now.  Within the last few months we've seen the interface 
to the tape changer crash, causing the devices /dev/ch0 and /dev/nsa0 to 
disappear.  Re-scanning the SCSI bus with camcontrol(8) brings the devices 
back just fine. 

Physical problems with the changer have been ruled out 
by replacing it (twice!).  We've also added a good bit of debugging to 
chio-changer.sh (Bacula's freebsd interface to the changer) to get a 
better look at the problem.

Anyways. we've witnessed the crash while the changer was unloading a 
tape.  After rescanning the bus and checking the device with chio(1) we 
can see that the tape unload occurred successfully.  This has led us to 
believe that FreeBSD is not giving the device enough time to complete 
its operations ((ch0:ahc0:0:5:0): SCB 0x2 - timed out), and is giving up 
after timing out.  For example:

static const u_int32_t CH_TIMEOUT_EXCHANGE_MEDIUM = 10;

 ... does not seem to be adequate, as we've seen the device take upwards of 
two minutes to exchange a tape! We've doubled most of the timeouts in 
/usr/src/sys/cam/scsi/scsi_ch.c and the problem has yet to reoccur.

Has anyone else ever had an issue similar to this? Is there a better 
solution, or a more likely problem that we are potentially missing?

   Perhaps a sysctl knob would be appropriate instead of static inline values?

-- 
Brian A. Seklecki [EMAIL PROTECTED]
Collaborative Fusion, Inc.


signature.asc
Description: This is a digitally signed message part
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tape struggles

2008-12-01 Thread Russell Sutherland
From time to time, I find difficulty with backing up to tape,
particularly when the machine
reboots. Here's the current state which seems broken.

Software:

uname -a
FreeBSD backup.cns.utoronto.ca 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5
#0: Thu Nov 20 06:46:55 EST 2008
[EMAIL PROTECTED]:/backup/opt/obj/backup/opt/src/sys/GENERIC
i386

$ pkg_info | grep bacula
bacula-bat-2.4.3The network backup solution (GUI)
bacula-client-2.4.3 The network backup solution (client)
bacula-docs-2.4.3   The Bacula document set
bacula-server-2.4.3 The network backup solution (server)

Hardware:

$ dmesg | grep -i scsi
ahc0: Adaptec 3960D Ultra160 SCSI adapter port 0x9400-0x94ff mem
0xfc7fe000-0xfc7fefff irq 28 at device 3.0 on pci1
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc1: Adaptec 3960D Ultra160 SCSI adapter port 0x9800-0x98ff mem
0xfc7ff000-0xfc7f irq 29 at device 3.1 on pci1
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
Waiting 5 seconds for SCSI devices to settle
sa0: CERTANCE ULTRIUM 2 1914 Removable Sequential Access SCSI-3 device


Demonstration of problem:

a. The status of the tape drive seems fine:

*status storage
The defined Storage resources are:
 1: Storage-backup
 2: Storage-bsd
 3: Storage-joey
 4: Storage-msc
 5: Storage-pics
 6: Storage-tank
 7: Storage-remote-cache
 8: Storage-remote-tank
 9: Storage-remote-tank-large
10: Storage-tape
Select Storage resource (1-10): 10
Connecting to Storage daemon Storage-tape at backup.cns.utoronto.ca:9103

backup-sd Version: 2.4.3 (10 October 2008) i386-portbld-freebsd7.0
freebsd 7.0-RELEASE-p4
Daemon started 01-Dec-08 11:21, 2 Jobs run since started.
 Heap: heap=0 smbytes=157,179 max_bytes=291,078 bufs=101 max_bufs=127
Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8

Running Jobs:
No Jobs running.


Jobs waiting to reserve a drive:


Terminated Jobs:
 JobId  LevelFiles  Bytes   Status   FinishedName
===
 12241  Diff  1,251868.6 M  OK   22-Nov-08 05:06 msc-data
 12242  Incr 3616.50 M  OK   22-Nov-08 05:07 pics-system
 12243  Incr 7123.88 M  OK   22-Nov-08 05:08 pics-data
 12245  Incr 951.526 G  Error22-Nov-08 05:25 bsd-data
 12244  Full  1239.2 M  OK   22-Nov-08 05:25 backup-catalog
 12246  Incr  2   255   OK   22-Nov-08 14:17 backup-system
 122470 0   Error22-Nov-08 21:19 Restore-backup
 12346  Incr  0 0   Cancel   01-Dec-08 11:17 backup-system
 12347  Incr  0 0   Cancel   01-Dec-08 11:21 backup-data
 12348  Incr  0 0   Cancel   01-Dec-08 11:23 backup-system


Device status:
Device Device-backup (/backup/bacula) is not open.
Device Device-bsd (/backup/bacula/bsd) is not open.
Device Dell-PV-110T (/dev/nsa0) is mounted with:
Volume:  BG7385
Pool:Default
Media type:  LTO-2
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0


Used Volume status:
BG7385 on device Dell-PV-110T (/dev/nsa0)
Reader=0 writers=0 devres=0 volinuse=1



*


So the tape is mounted and labeled. Now when I go to run a job I am
asked to issue a label command:


.
Select Job resource (1-19): 1
Run Backup job
JobName:  backup-system
Level:Incremental
Client:   backup-fd
FileSet:  System
Pool: Default (From Job resource)
Storage:  Storage-tape (From Pool resource)
When: 2008-12-01 11:42:16
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=12349
You have messages.
*
*messages
01-Dec 11:42 backup-dir JobId 12349: Start Backup JobId 12349,
Job=backup-system.2008-12-01_11.42.11
01-Dec 11:42 backup-dir JobId 12349: Using Device Dell-PV-110T
01-Dec 11:42 backup-sd JobId 12349: Job
backup-system.2008-12-01_11.42.11 waiting. Cannot find any appendable
volumes.
Please use the label  command to create a new Volume for:
Storage:  Dell-PV-110T (/dev/nsa0)
Pool: Default
Media type:   LTO-2
*


What do I do to get the system back to its ground state?

The tape drive _was_ working fine for several weeks and had about 65
Gbytes of data
written to it.  All tapes had been thoroughly tested using btape and
fill before being put into
production.

Frustrated...


-- 
Russell Sutherland
[EMAIL PROTECTED]
+1.416.696.7600

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Greetings

2008-12-01 Thread Robert Du Gaue




This is my first post to this list and a followup to "Re:
[Bacula-users] Bacula 2.4.3 Win32 truncate error". 
Anyways, I'm on a Win32 system running latest
as of this post (2.4.3) and having pretty much the same issue. Whenever
bacula hits a max file size and has to roll
over to a new volume I'm getting an error (see below). The backup runs
fine if I go in and pre-purge volumes that are set to be
reused/expired. But when the backup does it on it's own and then tries
to write it's next 65k block I'll a truncate and invalid handle
error.Setting volume size to 2gb isn't an option. All daemons are
running as service using SYSTEM. Any ideas/help
is appreciated. Thanks. I'm sure some funky win32 thing, all my Unix
stuff runs flawlessly! I guess worse case would be to VM it all on the
system to a unix platform, but I'm not looking forward to that.

1-Dec 03:07 satoribackup-dir JobId 536: Start Backup JobId 536, Job=fs01-Daily.2008-12-01_03.05.27
01-Dec 03:07 satoribackup-dir JobId 536: Using Device "satoribackup-Storage"
01-Dec 03:07 satoribackup-sd JobId 536: Volume "daily-0053" previously written, moving to end of data.
01-Dec 03:07 satoribackup-sd JobId 536: Ready to append to end of Volume "daily-0053" size=6387164742
01-Dec 03:07 fs01-fd JobId 536: Generate VSS snapshots. Driver="VSS Win 2003", Drive(s)="D"
01-Dec 04:53 satoribackup-sd JobId 536: User defined maximum volume capacity 50,000,000,000 exceeded on device "satoribackup-Storage" (M:\bacula).
01-Dec 04:53 satoribackup-sd JobId 536: End of medium on Volume "daily-0053" Bytes=49,999,985,509 Blocks=775,062 at 01-Dec-2008 04:53.
01-Dec 04:53 satoribackup-dir JobId 536: Recycled volume "daily-0047"
01-Dec 04:53 satoribackup-dir JobId 536: Recycled current volume "daily-0048"
01-Dec 04:53 satoribackup-sd JobId 536: Fatal error: ../../stored/label.c:481 Truncate error on device "satoribackup-Storage" (M:\bacula): ERR=../../stored/dev.c:1971 Unable to stat device "satoribackup-Storage" (M:\bacula). ERR=The handle is invalid.


01-Dec 04:53 satoribackup-sd JobId 536: Marking Volume "daily-0048" in Error in Catalog.
01-Dec 04:53 satoribackup-sd JobId 536: Fatal error: Job 536 canceled.
01-Dec 04:53 satoribackup-sd JobId 536: Job write elapsed time = 01:46:00, Transfer rate = 6.851 M bytes/second
01-Dec 04:53 fs01-fd JobId 536: Fatal error: ../../filed/backup.c:892 Network send error to SD. ERR=Input/output error
01-Dec 04:53 fs01-fd JobId 536: Error: ../../lib/bsock.c:306 Write error sending 65562 bytes to Storage daemon:192.168.105.100:9103: ERR=Input/output error
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "System Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "MSDEWriter", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "FRS Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "Registry Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "NTDS", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "COM+ REGDB Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "IIS Metabase Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "Event Log Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "BITS Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "WMI Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "SPSearch VSS Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): "OSearch VSS Writer", State: 0x1 (VSS_WS_STABLE)
01-Dec 04:55 satoribackup-dir JobId 536: Error: Bacula satoribackup-dir 2.4.3 (10Oct08): 01-Dec-2008 04:55:16
  Build OS:   Linux Cross-compile Win32
  JobId:  536
  Job:fs01-Daily.2008-12-01_03.05.27
  Backup Level:   Full
  Client: "fs01-fd" 2.4.2 (26Jul08) Linux,Cross-compile,Win32
  FileSet:"Windows D Drive" 2008-08-10 21:46:32
  Pool:   "satoribackup-m" (From Run pool override)
  Storage:"satoribackup-sd" (From Pool resource)
  Scheduled time: 01-Dec-2008 03:05:00
  Start time: 01-Dec-2008 03:07:34
  End time:   01-Dec-2008 04:55:16
  Elapsed time:   1 hour 47 mins 42 secs
  Priority:   10
  FD Files Written:   28,962
  SD Files Written:   28,962
  FD Bytes Written:   43,572,673,949 (43.57 GB)
  SD Bytes Written:   43,578,414,497 (43.57 GB)
  Rate:   6742.9 KB/s
  Software Compression:   13.9 %
  VSS:yes
  Storage Encryption: no
  Volume name(s): daily-0053|daily-0048
  Volume Session Id:  18
  Volume Session 

Re: [Bacula-users] Tape struggles

2008-12-01 Thread John Drescher

 So the tape is mounted and labeled. Now when I go to run a job I am
 asked to issue a label command:


 .
 Select Job resource (1-19): 1
 Run Backup job
 JobName:  backup-system
 Level:Incremental
 Client:   backup-fd
 FileSet:  System
 Pool: Default (From Job resource)
 Storage:  Storage-tape (From Pool resource)
 When: 2008-12-01 11:42:16
 Priority: 10
 OK to run? (yes/mod/no): yes
 Job queued. JobId=12349
 You have messages.
 *
 *messages
 01-Dec 11:42 backup-dir JobId 12349: Start Backup JobId 12349,
 Job=backup-system.2008-12-01_11.42.11
 01-Dec 11:42 backup-dir JobId 12349: Using Device Dell-PV-110T
 01-Dec 11:42 backup-sd JobId 12349: Job
 backup-system.2008-12-01_11.42.11 waiting. Cannot find any appendable
 volumes.
 Please use the label  command to create a new Volume for:
Storage:  Dell-PV-110T (/dev/nsa0)
Pool: Default
Media type:   LTO-2
 *


 What do I do to get the system back to its ground state?

Please post the output of

list media

from bconsole

John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Greetings

2008-12-01 Thread Bruno Friedmann
Hi Robert,

What you describe remember me the number of time I've get this type of error 
under Win.
Many Many times it an antivirus story which try to check what happen to this 
file and as they are all stupid and slow
they have the tendency to not release in time the file to programs who need it.

Perharps you can filter the bacula storage directory and/or the 3 bacula 
process to be monitored by AV.

I don't say this is the solution, but I've a good feeling about that.


Robert Du Gaue wrote:
 This is my first post to this list and a followup to *Re: [Bacula-users] 
 Bacula 
 2.4.3 Win32 truncate error*.
 Anyways, I'm on a Win32 system running latest as of this post (2.4.3) and 
 having 
 pretty much the same issue. Whenever bacula hits a max file size and has to 
 roll 
 over to a new volume I'm getting an error (see below).  The backup runs fine 
 if 
 I go in and pre-purge volumes that are set to be reused/expired. But when the 
 backup does it on it's own and then tries to write it's next 65k block I'll a 
 truncate and invalid handle error.Setting volume size to 2gb isn't an option. 
 All daemons are running as service using SYSTEM. Any ideas/help is 
 appreciated. 
 Thanks. I'm sure some funky win32 thing, all my Unix stuff runs flawlessly! I 
 guess worse case would be to VM it all on the system to a unix platform, but 
 I'm 
 not looking forward to that.
 
 1-Dec 03:07 satoribackup-dir JobId 536: Start Backup JobId 536, 
 Job=fs01-Daily.2008-12-01_03.05.27
 01-Dec 03:07 satoribackup-dir JobId 536: Using Device satoribackup-Storage
 01-Dec 03:07 satoribackup-sd JobId 536: Volume daily-0053 previously 
 written, moving to end of data.
 01-Dec 03:07 satoribackup-sd JobId 536: Ready to append to end of Volume 
 daily-0053 size=6387164742
 01-Dec 03:07 fs01-fd JobId 536: Generate VSS snapshots. Driver=VSS Win 
 2003, Drive(s)=D
 01-Dec 04:53 satoribackup-sd JobId 536: User defined maximum volume capacity 
 50,000,000,000 exceeded on device satoribackup-Storage (M:\bacula).
 01-Dec 04:53 satoribackup-sd JobId 536: End of medium on Volume daily-0053 
 Bytes=49,999,985,509 Blocks=775,062 at 01-Dec-2008 04:53.
 01-Dec 04:53 satoribackup-dir JobId 536: Recycled volume daily-0047
 01-Dec 04:53 satoribackup-dir JobId 536: Recycled current volume daily-0048
 01-Dec 04:53 satoribackup-sd JobId 536: Fatal error: ../../stored/label.c:481 
 Truncate error on device satoribackup-Storage (M:\bacula): 
 ERR=../../stored/dev.c:1971 Unable to stat device satoribackup-Storage 
 (M:\bacula). ERR=The handle is invalid.
 
 
 01-Dec 04:53 satoribackup-sd JobId 536: Marking Volume daily-0048 in Error 
 in Catalog.
 01-Dec 04:53 satoribackup-sd JobId 536: Fatal error: Job 536 canceled.
 01-Dec 04:53 satoribackup-sd JobId 536: Job write elapsed time = 01:46:00, 
 Transfer rate = 6.851 M bytes/second
 01-Dec 04:53 fs01-fd JobId 536: Fatal error: ../../filed/backup.c:892 Network 
 send error to SD. ERR=Input/output error
 01-Dec 04:53 fs01-fd JobId 536: Error: ../../lib/bsock.c:306 Write error 
 sending 65562 bytes to Storage daemon:192.168.105.100:9103: ERR=Input/output 
 error
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): System Writer, 
 State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): MSDEWriter, 
 State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): FRS Writer, 
 State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): Registry 
 Writer, State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): NTDS, State: 
 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): COM+ REGDB 
 Writer, State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): IIS Metabase 
 Writer, State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): Event Log 
 Writer, State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): BITS Writer, 
 State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): WMI Writer, 
 State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): SPSearch VSS 
 Writer, State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 fs01-fd JobId 536: VSS Writer (BackupComplete): OSearch VSS 
 Writer, State: 0x1 (VSS_WS_STABLE)
 01-Dec 04:55 satoribackup-dir JobId 536: Error: Bacula satoribackup-dir 2.4.3 
 (10Oct08): 01-Dec-2008 04:55:16
   Build OS:   Linux Cross-compile Win32
   JobId:  536
   Job:fs01-Daily.2008-12-01_03.05.27
   Backup Level:   Full
   Client: fs01-fd 2.4.2 (26Jul08) Linux,Cross-compile,Win32
   FileSet:Windows D Drive 2008-08-10 21:46:32
   Pool:   satoribackup-m (From Run pool override)
   Storage:satoribackup-sd (From Pool resource)
   Scheduled time: 01-Dec-2008 03:05:00

Re: [Bacula-users] Tape struggles

2008-12-01 Thread John Drescher
On Mon, Dec 1, 2008 at 12:19 PM, Russell Sutherland [EMAIL PROTECTED] wrote:
 Here's the output from list media:

 +-++---+-++--+--+-+--+---+--+-+
 | MediaId | VolumeName | VolStatus | Enabled | VolBytes   |
 VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType|
 LastWritten |
 +-++---+-++--+--+-+--+---+--+-+
 | 595 | Catalog-01 | Append|   1 |  4,023,197,419 |
 0 |   34,560,000 |   1 |0 | 0 | Media-backup |
 2008-11-12 04:59:35 |
 | 642 | BG7385 | Error |   1 | 64,673,086,464 |
 208 |   34,560,000 |   1 |0 | 0 | LTO-2|
 2008-11-28 21:15:43 |
 +-++---+-++--+--+-+--+---+--+-+

 So, it seems as if my last job created an Error status.  I can read
 from the documentation how to clear this. Will that be sufficient to
 get me back going again?


update volume status

from bconsole

set the status to append

John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula and software encryption

2008-12-01 Thread s_mendes
People,
After my company implemented a program that encrypt the entire HD (Credant), Bacula can't access any file on clients that have this program installed. The message error is Cannot open C:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Outlook/2008.pst: ERR=Access is denied.
Is there anything to do about this issue? I can access the entire volume and any file on all clients; I don't know why babula can't access.
Tks for any help!
Sandro

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] move tapes back to scratch pool

2008-12-01 Thread Michael Galloway
happy holidays all!

bacula moved several tapes from scratch pool into the default pool this 
morninig 
after i swapped out some tapes in the library:

*list media
Pool: Default
+-++---+-+---+--+--+-+--+---+---+-+
| mediaid | volumename | volstatus | enabled | volbytes  | volfiles | 
volretention | recycle | slot | inchanger | mediatype | lastwritten |
+-++---+-+---+--+--+-+--+---+---+-+
|   1 | 002048L4   | Append|   1 |   393,860,146,176 |  449 |   
31,536,000 |   1 |2 | 0 | LTO4  | 2008-03-14 17:36:03 |
|  29 | 012476L4   | Append|   1 |   131,792,467,968 |  140 |   
31,536,000 |   1 |   29 | 0 | LTO4  | 2008-04-03 23:33:41 |
|  45 | 020784L4   | Append|   1 | 1,272,702,154,752 |1,348 |   
31,536,000 |   1 |1 | 1 | LTO4  | 2008-12-01 12:25:03 |
|  49 | 020780L4   | Append|   1 |64,512 |0 |   
31,536,000 |   1 |   14 | 1 | LTO4  | |
|  50 | 020742L4   | Append|   1 |64,512 |0 |   
31,536,000 |   1 |   15 | 1 | LTO4  | |
|  51 | 023304L4   | Append|   1 |64,512 |0 |   
31,536,000 |   1 |   21 | 0 | LTO4  | |
|  52 | 023303L4   | Append|   1 |64,512 |0 |   
31,536,000 |   1 |   22 | 0 | LTO4  | |
+-++---+-+---+--+--+-+--+---+---+-+

how can i move those tapes back into the scratch pool? update volume status? 
thanks!

-- michael

bacula version:

Connecting to Director molbio:9101
1000 OK: molbio-dir Version: 2.4.3 (10 October 2008)


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] move tapes back to scratch pool

2008-12-01 Thread John Drescher
On Mon, Dec 1, 2008 at 2:15 PM, Michael Galloway [EMAIL PROTECTED] wrote:
 happy holidays all!

 bacula moved several tapes from scratch pool into the default pool this 
 morninig
 after i swapped out some tapes in the library:

 *list media
 Pool: Default
 +-++---+-+---+--+--+-+--+---+---+-+
 | mediaid | volumename | volstatus | enabled | volbytes  | volfiles | 
 volretention | recycle | slot | inchanger | mediatype | lastwritten |
 +-++---+-+---+--+--+-+--+---+---+-+
 |   1 | 002048L4   | Append|   1 |   393,860,146,176 |  449 | 
   31,536,000 |   1 |2 | 0 | LTO4  | 2008-03-14 17:36:03 |
 |  29 | 012476L4   | Append|   1 |   131,792,467,968 |  140 | 
   31,536,000 |   1 |   29 | 0 | LTO4  | 2008-04-03 23:33:41 |
 |  45 | 020784L4   | Append|   1 | 1,272,702,154,752 |1,348 | 
   31,536,000 |   1 |1 | 1 | LTO4  | 2008-12-01 12:25:03 |
 |  49 | 020780L4   | Append|   1 |64,512 |0 | 
   31,536,000 |   1 |   14 | 1 | LTO4  | |
 |  50 | 020742L4   | Append|   1 |64,512 |0 | 
   31,536,000 |   1 |   15 | 1 | LTO4  | |
 |  51 | 023304L4   | Append|   1 |64,512 |0 | 
   31,536,000 |   1 |   21 | 0 | LTO4  | |
 |  52 | 023303L4   | Append|   1 |64,512 |0 | 
   31,536,000 |   1 |   22 | 0 | LTO4  | |
 +-++---+-+---+--+--+-+--+---+---+-+

 how can i move those tapes back into the scratch pool? update volume status? 
 thanks!


update volume pool

John

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Solaris Packet size too big failures

2008-12-01 Thread Jason Dixon
On Thu, Nov 27, 2008 at 01:01:12AM +0100, Kjetil Torgrim Homme wrote:
 Jason Dixon [EMAIL PROTECTED] writes:
  On Wed, Nov 26, 2008 at 11:59:41AM +0100, Kshatriya wrote:
  On Mon, 24 Nov 2008, Jason Dixon wrote:
   We moved our Bacula Director off Linux to Solaris (not my choice)
   recently.  Since then, we've encountered frequent failures of the
   catalog backup job which reads from the local FD.  They always
   fail with a Packet size too big error, which seems to be more
   common with Windows hosts.  Has anyone seen this on Solaris?
  
  Check if you are using a different MTU size than the rest of your
  hosts in the network.
 
  This is only for the localhost FD.  Traffic should never hit a
  physical interface.
 
 I don't know if it is relevant, but the MTU for lo0 on Solaris is 8232
 by default.  perhaps Bacula can't handle it?
 
 I wouldn't use localhost anyway -- I prefer to use globally unique
 names to keep things clear.  there should be no perceivable difference
 in performance.

Good idea, I've put this into testing.  I'll report back our results in
a few days.

Thanks,

-- 
Jason Dixon
OmniTI Computer Consulting, Inc.
[EMAIL PROTECTED]
443.325.1357 x.241

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] move tapes back to scratch pool

2008-12-01 Thread Michael Galloway
On Mon, Dec 01, 2008 at 02:26:22PM -0500, John Drescher wrote:
 On Mon, Dec 1, 2008 at 2:15 PM, Michael Galloway [EMAIL PROTECTED] wrote:
  happy holidays all!
 
  bacula moved several tapes from scratch pool into the default pool this 
  morninig
  after i swapped out some tapes in the library:
 
  *list media
  Pool: Default
  +-++---+-+---+--+--+-+--+---+---+-+
  | mediaid | volumename | volstatus | enabled | volbytes  | volfiles 
  | volretention | recycle | slot | inchanger | mediatype | lastwritten   
|
  +-++---+-+---+--+--+-+--+---+---+-+
  |   1 | 002048L4   | Append|   1 |   393,860,146,176 |  449 
  |   31,536,000 |   1 |2 | 0 | LTO4  | 2008-03-14 
  17:36:03 |
  |  29 | 012476L4   | Append|   1 |   131,792,467,968 |  140 
  |   31,536,000 |   1 |   29 | 0 | LTO4  | 2008-04-03 
  23:33:41 |
  |  45 | 020784L4   | Append|   1 | 1,272,702,154,752 |1,348 
  |   31,536,000 |   1 |1 | 1 | LTO4  | 2008-12-01 
  12:25:03 |
  |  49 | 020780L4   | Append|   1 |64,512 |0 
  |   31,536,000 |   1 |   14 | 1 | LTO4  |   
|
  |  50 | 020742L4   | Append|   1 |64,512 |0 
  |   31,536,000 |   1 |   15 | 1 | LTO4  |   
|
  |  51 | 023304L4   | Append|   1 |64,512 |0 
  |   31,536,000 |   1 |   21 | 0 | LTO4  |   
|
  |  52 | 023303L4   | Append|   1 |64,512 |0 
  |   31,536,000 |   1 |   22 | 0 | LTO4  |   
|
  +-++---+-+---+--+--+-+--+---+---+-+
 
  how can i move those tapes back into the scratch pool? update volume 
  status? thanks!
 
 
 update volume pool
 
 John


yup, great! thanks john!

-- michael
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows XP networking dies

2008-12-01 Thread Jason Dixon
On Mon, Nov 24, 2008 at 01:21:00PM -0500, Josh Fisher wrote:

 Jason Dixon wrote:
 On Mon, Nov 24, 2008 at 12:50:15PM -0500, Josh Fisher wrote:
   
 Jason Dixon wrote:
 
 We have three XP SP2 workstations that all have scheduled Bacula jobs.
 Two of them run fine.  The third one loses networking every Friday
 during the FULL backup job.  When it enters this state you can no longer
 ping the box or perform any networking functionality.
 Disabling/re-enabling the interface doesn't help.  The only remedy is to
 reboot the box.

 Has anyone encountered this with XP before?  Is it possibly a
 combination of software that is causing the issue (e.g. AVG)?  Any known
 workarounds?
   
 This is almost certainly either a buggy NIC driver or a hardware 
 (NIC/switch/cable) problem. If all three XP machines have the same NIC 
 and driver version, then it's probably hardware. Otherwise, my guess is 
 the NIC driver. During a full backup, Bacula, naturally, places a heavy 
 load on the NIC, and so Bacula will definitely reveal any underlying 
 network problems. I ran into this with a couple of Vista laptops, and 
 also with a nForce430 chipset XP machine. I have found it is not uncommon 
 for Windows NIC drivers to be buggy.

 Someone else suggested that offlist.  There was a driver update for the 
 onboard nforce ethernet, so I applied that and we'll see how that goes.

 Also, you could try disabling checksum offload and/or segmentation offload 
 in the NIC's advanced settings.

The new driver didn't help.  Installed an Intel card, we'll see how that
goes.

-- 
Jason Dixon
OmniTI Computer Consulting, Inc.
[EMAIL PROTECTED]
443.325.1357 x.241

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula hang waiting for storage

2008-12-01 Thread Arno Lehmann
Hello,

29.11.2008 19:45, Bob Hetzel wrote:
 
 From: Arno Lehmann [EMAIL PROTECTED] 
   Date: Thu, 27 Nov 2008 08:14:45 +0100
 Hi, 
  
 26.11.2008 21:22, Bob Hetzel wrote:
 I've got bacula currently in a hung state with the following interesting 
 info.  When I run a status storage produces the following...
 Is your Bacula still stuck? If so, and you have gdb installed, and a 
 Bacula with debug symbols, now might be a good time to see what it's 
 doing...

 
 I'll put the traceback at the end

Great.

 Used Volume status:
 [nothing further and the bconsole program hangs here]
 That alone would be a bug, I guess...
 [snip]
 Sounds like it's worth a bug report - especially if you can re-create 
 the problem. I cc'ed this to Eric, who - I believe - has been working 
 on this sort of problems recently.

As I'm a bit too busy right now I forward this to Eric again - if he's 
still working on this he might know if it relates to any current bug 
report. Perhaps he even opens one himself :-)

Please see my inline comments first, especially the last ones...

 Arno

 It didn't crash so I tried to force the traceback per the instructions 
 at http://www.bacula.org/en/dev-manual/What_Do_When_Bacula.html
 
 The first line of the output implies that I did something wrong but 
 anyway...

I don't know why that message appears, but the traceback looks good to me.

 /usr/sbin: No such file or directory.
 Using host libthread_db library /lib/libthread_db.so.1.
 [Thread debugging using libthread_db enabled]
 [New Thread -1214433584 (LWP 5411)]
 [New Thread -1416819824 (LWP 9229)]
 [New Thread -1425212528 (LWP 8819)]
 [New Thread -1374856304 (LWP 8816)]
 [New Thread -1341285488 (LWP 8670)]
 [New Thread -1400034416 (LWP 8553)]
 [New Thread -1366463600 (LWP 8402)]
 [New Thread -1442006128 (LWP 8160)]
 [New Thread -1408427120 (LWP 8157)]
 [New Thread -1383249008 (LWP 8154)]
 [New Thread -1358070896 (LWP 8151)]
 [New Thread -1324434544 (LWP 8017)]
 [New Thread -1316041840 (LWP 8016)]
 [New Thread -1307649136 (LWP 8015)]
 [New Thread -1282483312 (LWP 8014)]
 [New Thread -1274090608 (LWP 8013)]
 [New Thread -1265697904 (LWP 8012)]
 [New Thread -1257292912 (LWP 8007)]
 [New Thread -1248900208 (LWP 8004)]
 [New Thread -1240507504 (LWP 8003)]
 [New Thread -1299256432 (LWP 8002)]
 [New Thread -1332892784 (LWP 8001)]
 [New Thread -1433613424 (LWP 8000)]
 [New Thread -1231897712 (LWP 7921)]
 [New Thread -1223505008 (LWP 5414)]
 [New Thread -1215112304 (LWP 5413)]
 0xb7f6a410 in __kernel_vsyscall ()
 $1 = gyrus-dir, '\0' repeats 20 times
 $2 = 0x80f8e00 bacula-dir
 $3 = 0x80f90b0 /usr/sbin/
 $4 = 0x80f91e0 MySQL
 $5 = 0x80ed18b 2.4.3 (10 October 2008)
 $6 = 0x80ed1a3 i686-pc-linux-gnu
 $7 = 0x80ed1b5 suse
 $8 = 0x80ed1ba 10.2
 #0  0xb7f6a410 in __kernel_vsyscall ()
 #1  0xb7c73876 in __nanosleep_nocancel () from /lib/libpthread.so.0
 #2  0x080a827b in bmicrosleep (sec=60, usec=0) at bsys.c:71
 #3  0x08071b28 in wait_for_next_job (one_shot_job_to_run=0x0) at 
 scheduler.c:130
 #4  0x0804de85 in main (argc=0, argv=0xbfe00164) at dird.c:288
 
 Thread 26 (Thread -1215112304 (LWP 5413)):
 #0  0xb7f6a410 in __kernel_vsyscall ()
 #1  0xb7adba41 in ___newselect_nocancel () from /lib/libc.so.6
 #2  0x080a99b9 in bnet_thread_server (addrs=0x80f9860, max_clients=20, 
 client_wq=0x80f64e0, handle_client_request=0x808d536 
 handle_UA_client_request)
  at bnet_server.c:161

The above line looks like it might be related to the problem... in 
general, there's one thread per job running (plus the parent threads), 
and the variable max_clients might indicate the number of currently 
active thread servers is exhausted or something...

 #3  0x0808d52e in connect_thread (arg=0x80f9860) at ua_server.c:84
 #4  0xb7c6c112 in start_thread () from /lib/libpthread.so.0
 #5  0xb7ae22ee in clone () from /lib/libc.so.6
 
 Thread 25 (Thread -1223505008 (LWP 5414)):
 #0  0xb7f6a410 in __kernel_vsyscall ()
 #1  0xb7c707dc in pthread_cond_timedwait@@GLIBC_2.3.2 () from 
 /lib/libpthread.so.0
 #2  0x080ccf27 in watchdog_thread (arg=0x0) at watchdog.c:307
 #3  0xb7c6c112 in start_thread () from /lib/libpthread.so.0
 #4  0xb7ae22ee in clone () from /lib/libc.so.6

Above: a watchdog / timer thread?

 Thread 24 (Thread -1231897712 (LWP 7921)):
 #0  0xb7f6a410 in __kernel_vsyscall ()
 #1  0xb7c7302b in __read_nocancel () from /lib/libpthread.so.0
 #2  0x080a9300 in read_nbytes (bsock=0x8213df0, ptr=0xb692b1b4 
 \333\v\016\b\350\261\222\266\217#, nbytes=4) at bnet.c:82
 #3  0x080aba1c in BSOCK::recv (this=0x8213df0) at bsock.c:381
 #4  0x080a9021 in bnet_recv (bsock=0x8213df0) at bnet.c:187
 #5  0x0808ef27 in do_storage_status (ua=0x8173d48, store=0x81d9f00) at 
 ua_status.c:325
 #6  0x0808f6ae in status_cmd (ua=0x8173d48, cmd=0x8160778 status 
 storage) at ua_status.c:134
 #7  0x08076dd0 in do_a_command (ua=0x8173d48, cmd=0x8160778 status 
 storage) at ua_cmds.c:180
 #8  0x0808d647 in handle_UA_client_request (arg=0x81b77e8) at 
 ua_server.c:147
 #9  0x080cd952 in 

Re: [Bacula-users] Bacula and software encryption

2008-12-01 Thread Kevin Keane
This is most likely by design. The whole point of encrypting hard disks 
is to only allow authorized software access to the decryption key (and 
to protect the hard disk if somebody has physical access to it). I am 
not familiar with Credant, but there probably is a way to tell it that 
the bacula-fd service is  safe and should have access to the key.  You 
may want to browse the Credant support area and knowledge base for 
information, and/or contact Credant.

I'm reasonably sure that this problem is outside of where this 
bacula-related mailing list can help you.

s_mendes wrote:

 People,

 After my company implemented a program that encrypt the entire HD 
 (Credant), Bacula can't access any file on clients that have this 
 program installed. The message error is Cannot open C:\Documents and 
 Settings\user\Local Settings\Application 
 Data\Microsoft\Outlook/2008.pst: ERR=Access is denied.

 Is there anything to do about this issue? I can access the entire 
 volume and any file on all clients; I don't know why babula can't access.

 Tks for any help!

 Sandro

-- 
Kevin Keane
Owner
The NetTech
Turn your NetWORRY into a NetWORK!

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Data Loss on Tapes

2008-12-01 Thread Glen Davison
Dear Bacula Users,

I have had an occasional, long-running problem with bacula.  Every now and 
then, when I am trying to restore a file from tape, I find that the tape 
has apparently corrupted. 

The symptoms vary - sometimes there is an error at some point through the 
tape, and sometimes (suspiciously often) it seems to have lost the bacula 
label right at the start.  These tapes were new, and the rate of these 
errors is far higher than I can attribute to bad tape manufacture, etc. 

These tapes spend most of their time write-protected and out of the 
library, so I am assuming that whatever it was, happened when the tapes 
were first in the drive and being written.

Is this a known bug?  Is there some sort of condition that led to 
currently loaded tapes being written at the wrong position, for example? 
Caused by a reboot or power-cycling the drive?

This system has had a history of problems, particularly scsi problems.
Bacula: 2.4.2 (built from source); upgraded a couple of times from older 
versions, eg. bacula-mysql-2.4.0-1 (rpm) and 2.0.3 before that.
I use bacula to back up a small number (1000s) of large files (common size 
of about 50GB)

Secondly, if a small section at the start of a tape is bad, is there any 
way to recover parts of data from later in the tape?  Something along the 
lines of:
mt fsf 10
dd if=
...feed files through bacula s/w...?

I really need this data, if it is at all possible to get it back.


Thanks for any assistance,

Glen

--
Glen Davison  [EMAIL PROTECTED]
SIRCA Pty Ltd  Ph (02) 9236 9133-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Need help debugging my schedule

2008-12-01 Thread Kevin Keane
I am trying to use a schedule to alternate between two different hard 
disks, and it doesn't behave as expected. I'm using bacula 2.4.2. I'd 
appreciate some help debugging my schedule. Here is the idea:

- On the first through the 15th of the month, use disk 1. On the 16th 
through 31st, use disk 2.
- A full backup every time I switch from one to the other disk
- A Diff backup in the middle of the cycle, on the 7th and 22nd.
- No backup the day after a full or differential backup (some of these 
backup jobs are large and a full backup may take more than a day to 
complete).

I am using three pools for each hard disk, one for Full, one for 
Differential and one for Incremental backups. Full-1-Pool, Diff-1-Pool 
and Inc-1-Pool are on disk 1, Full-2-Pool, Diff-2-Pool, Inc-2-Pool are 
on disk 2.

Based on this, today, on the 1st of December, the schedule should have 
performed a full backup into Full-1-Pool. But instead, it performed an 
incremental backup into Inc-1-Pool.

Schedule {
  Name = WeeklyCycle1
  Run = Level=Full FullPool=Full-1-Pool DifferentialPool=Diff-1-Pool 
IncrementalPool=Inc-1-Pool on 1 at 23:05
  Run = Level=Full FullPool=Full-2-Pool DifferentialPool=Diff-2-Pool 
IncrementalPool=Inc-2-Pool on 16 at 23:05
  Run = Level=Differential FullPool=Full-1-Pool 
DifferentialPool=Diff-1-Pool IncrementalPool=Inc-1-Pool on 7 at 23:05
  Run = Level=Differential FullPool=Full-2-Pool 
DifferentialPool=Diff-2-Pool IncrementalPool=Inc-2-Pool on 22 at 23:05
  Run = Level=Incremental FullPool=Full-1-Pool 
DifferentialPool=Diff-1-Pool IncrementalPool=Inc-1-Pool on 3-6,9-14 at 23:05
  Run = Level=Incremental FullPool=Full-2-Pool 
DifferentialPool=Diff-2-Pool IncrementalPool=Inc-2-Pool on 18-21,24-31 
at 23:05
}

JobDefs {
  Name = DefaultJob
  Type = Backup
  Level = Incremental
  Client = y-fd
  FileSet = Full Set
  Schedule = WeeklyCycle1
  Messages = Standard
  Priority = 10
  Write Bootstrap = /var/lib/bacula/working/%n.bsr
  Pool = Default
  Maximum Concurrent Jobs = 20
}

Client {
  Name = XXX-fd
  Address = 
  FDPort = 9102
  Catalog = MyCatalog
  Password = X
  File Retention = 30 days
  Job Retention = 6 months
  Maximum Concurrent Jobs = 10
  AutoPrune = yes
}
Job {
  Name = 
  Client = -fd
  Schedule = WeeklyCycle1
  JobDefs = DefaultJob
  Run Before Job = /usr/local/sbin/nagiosscheduledowntime X
  FileSet = 
}


-- 
Kevin Keane
Owner
The NetTech
Turn your NetWORRY into a NetWORK!

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula behave diferent that i want to

2008-12-01 Thread Bartosz . c
On Mon, 01 Dec 2008 14:22:21 +0100, Bruno Friedmann
[EMAIL PROTECTED] wrote:

Bartosz.c wrote:
 On Fri, 28 Nov 2008 14:08:48 -0500, John Drescher
 [EMAIL PROTECTED] wrote:
 
 On Fri, Nov 28, 2008 at 6:39 AM, Bartosz. c [EMAIL PROTECTED] wrote:
 I have weird situation, when bacula meet a problem (mainly one of
 bacula-fd is shuted down) it dont want to continue rest of backups
 from the list of jobs,

 only when problem is solved (it mean backuped data [bacula-fd] is
 online) it start working and do rest of jobs:

 i have no idea how to solve this problem,

 screen from times of jobs:
 http://www.wrzuta.pl/obraz/lc7lfuxH3J/

 my conf file:

 http://www.wrzuta.pl/pliki/fPLc49A5fD/

 I kindly ask for help
 Bartosz.

 if I duplicate this post sorry but I still have a problem with my
 membership of bacula-users

 This is normal. Unless you enable concurrency or use a run before
 script to test the status of the fd, bacula will retry to connect to a
 down fd a few times before giving up. Depending on your timeout
 settings this can take 30 minutes or more for bacula to give up on a
 client. If you want concurrency you have to enable concurrency on the
 storage in bacula-dir.conf You can also restrict the times that bacula
 will wait for a client.

 John

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great 
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 
 thanks for answer,
 I thought that I have enabled concurrency:
 
 Director {
   Name = max-dir
   DIRport = 9101
   QueryFile = /etc/bacula/scripts/query.sql
   WorkingDirectory = /var/lib/bacula
   PidDirectory = /var/run/bacula
   Maximum Concurrent Jobs = 20
   Password = xxx
   Messages = Daemon
 } 
 
 
 am I wrong or it is locatet somewhere diffrent?
 
 You can also restrict the times that bacula will wait for a client.
 could you tell me where is such option?
 
 Bartosz.
 
 
bacula.org - search - concurrent jobs.
first link
http://www.bacula.org/en/rel-manual/Tips_Suggestions.html#SECTION003817

bacula.org - search - fd timeout
-
http://www.bacula.org/en/dev-manual/Configuring_Director.html#4865

We all know that manual is complete
Searching inside is the top feature :-)

Hope this help you

Thank you,

I have changed my config, 
I have put line:
Maximum Concurrent Jobs = 4 
to my director, every job, to every storage and client
and now is a little better, but I recieve errors like for 4 different
jobs for exaple:

Intervention needed for wal_srv1_fb_codz.2008-12-02_02.16.00
02-gru 03:45 backup1-sd: Job wro_fb_codz.2008-12-02_02.01.00 waiting
to reserve a device.

like you can see in my config file each my job should start on
different time, and like I count it should finish before next
(interval time is about 30 minutes) and situation when 2 jobs run
concurency is rarity, 
so I have no idea why it waitig for device (I think storage) because
it should be free for use.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users