I don't have an answer but I can tell you I'm having the same problem. I
recently had to do a couple restores and both jobs errored as follows:

clketchu.uwsp.edu: -rwxrwxrwx   1 0        0                8 2007-08-26
10:25:47  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/vd263206.iad
clketchu.uwsp.edu: -rwxrwxrwx   1 0        0                8 2007-08-26
10:25:47  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/vd263206.iex
clketchu.uwsp.edu: -rwxrwxrwx   1 0        0              581 2007-08-26
10:26:26  /tmp/C/Documents and Settings/lketchum/Local Settings/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/Logs/08262007.Log
30-Aug 13:38 drss01a: Ready to read from volume
"BP-01-UWSP-Workstation-0545" on device "drss01.file"
(/prod/bacula/data/volumes).
30-Aug 13:38 drss01a: Forward spacing Volume "BP-01-UWSP-Workstation-0545"
to file:block 0:10476529.
30-Aug 13:38 drss01a: Restore.2007-08-30_13.37.19 Error: block.c:275 Volume
data error at 0:10476529! Wanted ID: "BB02", got "<D4><C8>". Buffer
discarded.
30-Aug 13:38 baculad0: Restore.2007-08-30_13.37.19 Error: Bacula baculad0
2.1.8 (03May07): 30-Aug-2007 13:38:01


 rwx   1 0        0               32 2007-09-01 18:35:34  /tmp/C/Documents
and Settings/All Users/Application Data/Symantec/Symantec AntiVirus
Corporate Edition/7.5/I2_LDVP.VDB/vd263e13.vdb/VIRSCANT.DAT
ctest0.uwsp.edu: -rwxrwxrwx   1 0        0            40289 2007-09-01
18:35:34  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate
Edition/7.5/I2_LDVP.VDB/vd263e13.vdb/WHATSNEW.TXT
ctest0.uwsp.edu: -rwxrwxrwx   1 0        0              224 2007-09-01
18:35:34  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate
Edition/7.5/I2_LDVP.VDB/vd263e13.vdb/ZDONE.DAT
ctest0.uwsp.edu: drwxrwxrwx   1 0        0                0 2007-09-01
18:35:20  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate
Edition/7.5/I2_LDVP.VDB/vd263e13.vdb/
05-Sep 09:33 drss03a: Ready to read from volume
"BP-03-UWSP-Workstation-0097" on device "drss03.file"
(/prod/bacula/data/volumes).
05-Sep 09:33 drss03a: Forward spacing Volume "BP-03-UWSP-Workstation-0097"
to file:block 0:455229305.
05-Sep 09:33 drss03a: Restore.2007-09-05_09.32.00 Error: block.c:275 Volume
data error at 0:455229305! Wanted ID: "BB02", got "     7". Buffer
discarded.
ctest0.uwsp.edu: -rwxrwxrwx   1 0        0             1869 2007-08-31
11:18:24  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/Logs/08312007.Log
ctest0.uwsp.edu: -rwxrwxrwx   1 0        0             1059 2007-09-01
18:35:22  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/Logs/09012007.Log
ctest0.uwsp.edu: -rwxrwxrwx   1 0        0                8 2007-09-01
18:35:19  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/vd263e13.iad
ctest0.uwsp.edu: -rwxrwxrwx   1 0        0                8 2007-09-01
18:35:19  /tmp/C/Documents and Settings/All Users/Application
Data/Symantec/Symantec AntiVirus Corporate Edition/7.5/vd263e13.iex
05-Sep 09:33 baculad0: Restore.2007-09-05_09.32.00 Error: Bacula baculad0
2.1.8 (03May07): 05-Sep-2007 09:33:02
  Build OS:               x86_64-unknown-linux-gnu gentoo 1.6.14

They both appear to have a problem with files located at or around the same
location. Since I don't really need the Symantec stuff I've added additional
filters to my fileset to exclude these directories. I am running an old
development version and have been doing so since May and will be upgrading
to a production release as soon as things calm down a bit. I seriously doubt
that I am having hardware issues. I am spooling my data then writing the
volumes to a RAID5. I run verifies on my RAID regularly and have had no
problems with the storage servers. I am curious if you are backing up XP
boxes and possibly running Symantec Antivirus. Have you noticed if the
restores fail at or around the same files/directories?

Brian Kelly



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, September 07, 2007 4:14 AM
To: bacula-users@lists.sourceforge.net
Subject: Bacula-users Digest, Vol 17, Issue 8

Send Bacula-users mailing list submissions to
        bacula-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/bacula-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Bacula-users digest..."


Today's Topics:

   1. Errors migrating jobs (Robert LeBlanc)
   2. restore problem (Steve Thompson)
   3. Fwd:  Problem with install bacula (Manuel Ostendorf)
   4. Re: restore problem (Doytchin Spiridonov)
   5. Recipe for Disaster Recovery of Windows 2003 (and maybe XP)
      (James Harper)
   6. Re: Recipe for Disaster Recovery of Windows 2003 (and maybe
      XP) (Frank Sweetser)
   7. Bacula environment (Kelly, Brian)
   8. Re: restore problem (Tom Sommer)
   9. Can Bacule use DVD-RAM? (Eric B?se-Wolf )
  10. Re: restore: device is blocked waiting for media (Luca Ferrari)
  11. Re: Can Bacule use DVD-RAM? (Mike Follwerk - T?BF)
  12. More jobs concurently (Marek Simon)
  13. performance (Gabriele Bulfon)
  14. Re: restore problem (Christoff van Zyl)
  15. Re: SQL error after upgrading 2.0.3 -> 2.2.0 (Silver Salonen)
  16. Re: Webmin Bacula-Module does not connect to database
      (Benjamin E. Zeller)


----------------------------------------------------------------------

Message: 1
Date: Thu, 6 Sep 2007 16:34:30 -0600
From: "Robert LeBlanc" <[EMAIL PROTECTED]>
Subject: [Bacula-users] Errors migrating jobs
To: <bacula-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"


I've been trying to get jobs migrated off my old tape library onto my new
tape library. I've followed the documentation online, but it seems like it
is trying to go backwards (new library to old library). I've tried several
different things and I keep getting an error that says "This shouldn't
happen". I'm using the bacula 2.2.0 Debian packages from sid on Lenny, but I
had the same problem with 2.1.28 that I built myself. A few things catch my
attention:

06-Sep 15:24 babacula-dir: Job queued. JobId=6256 06-Sep 15:24 babacula-dir:
Migration JobId 6256 started.
06-Sep 15:24 babacula-dir: The following 1 JobIds were chosen to be
migrated: 3693 06-Sep 15:24 babacula-dir: Migration using JobId=3693
Job=nightwing.2007-08-01_08.49.46 06-Sep 15:24 babacula-dir: Bootstrap
records written to /var/lib/bacula/babacula-dir.restore.54.bsr
06-Sep 15:24 babacula-dir: 
06-Sep 15:24 babacula-dir: The job will require the following
   Volume(s)                 Storage(s)                SD Device(s)
===========================================================================
06-Sep 15:24 babacula-dir:    
06-Sep 15:24 babacula-dir:    000061L3                  Neo8000
Drive-1                  
06-Sep 15:24 babacula-dir: 
06-Sep 15:24 babacula-dir: Start Migration JobId 6256,
Job=Migrate_volume.2007-09-06_15.24.49
06-Sep 15:24 babacula-dir: Job queued. JobId=6258 06-Sep 15:24 babacula-dir:
Migration JobId 6258 started.
06-Sep 15:24 babacula-dir: Using Device "Drive-1"
06-Sep 14:57 lsbacsd0-sd: acquire.c:115 Changing device. Want Media
Type="LTO3" have="LTO2"
  device="IBM-1" (/dev/nst2)
06-Sep 14:57 lsbacsd0-sd: Migrate_volume.2007-09-06_15.24.49 Fatal error:
askdir.c:332 NULL Volume name. This shouldn't happen!!!

First it says that it will use 000061L3 which is not in the source or
destination pool. It is also in the new library. It then says that it wants
media LTO3, but that is has LTO2 which says that it might be trying to use
the right device. Then it has a NULL Volume name and says This shouldn't
happen.

The error output seems correct:

  Build OS:               i486-pc-linux-gnu debian lenny/sid
  Prev Backup JobId:      3664
  New Backup JobId:       6257
  Migration JobId:        6256
  Migration Job:          Migrate_volume.2007-09-06_15.24.49
  Backup Level:           Full
  Client:                 lsbacsd0-fd
  FileSet:                "Windows" 2007-03-22 16:44:22
  Read Pool:              "Monthly" (From Job resource)
  Read Storage:           "PV132T" (From Pool resource)
  Write Pool:             "Monthly-new" (From Job Pool's NextPool resource)
  Write Storage:          "Neo8000" (From Storage from Pool's NextPool
resource)
  Start time:             06-Sep-2007 15:24:53
  End time:               06-Sep-2007 15:24:54
  Elapsed time:           1 sec
  Priority:               10
  SD Files Written:       0
  SD Bytes Written:       0 (0 B)
  Rate:                   0.0 KB/s
  Volume name(s):         
  Volume Session Id:      209
  Volume Session Time:    1189109201
  Last Volume Bytes:      0 (0 B)
  SD Errors:              0
  SD termination status:  Error
  Termination:            *** Migration Error ***

The correct read/write pool and storage are correct. My director conf is:

Pool {
  Name = Monthly-new
  Volume Use Duration = 20d
  Pool Type = Backup
  Storage = Neo8000
  AutoPrune = yes
  VolumeRetention = 2 years
  Recycle = yes
  Label Format = "Monthly-"
}

Pool {
  Name = Monthly
  Volume Use Duration = 20d
  Pool Type = Backup
  Storage = PV132T
  AutoPrune = yes
  VolumeRetention = 2 years
  Recycle = yes
  Label Format = "Monthly-LTO2-"
  Next Pool = Monthly-new
}

Job {
  Name = "Migrate_volume"
  Type = Migrate
  Level = Full
  Client = lsbacsd0-fd
  File Set = "Windows"
  Messages = Standard
  Pool = Monthly
  Maximum Concurrent Jobs = 4
  Selection Type = Volume
  Selection Pattern = "00000*"
}

When we got our new library, I renamed the Monthly pool to Monthly-LTO2 and
created a Monthly pool on the Neo8000 so that jobs would run there. I tried
migrating jobs with that configuration and I got the error that Monthly did
not have a next pool. So I named Monthly to Monthly-new and Monthly-LTO2 to
Monthly and that is the config and error above. I've also tried migrating to
a new pool that did not exist in the old library and I get the same errors
as above. The old library was attached to the director and I was having
problems so I attached it to the SD that has the Neo8000, so both libraries
are attached to the same computer.

Any help or pointers will be helpful.

Thanks,
Robert

Life Sciences Computer Support
Brigham Young University
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Thu, 6 Sep 2007 17:36:41 -0400 (EDT)
From: Steve Thompson <[EMAIL PROTECTED]>
Subject: [Bacula-users] restore problem
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii

Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
both 32-bit and 64-bit. Backups are to disk files.

I find that I cannot do any restores:

06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error: block.c:275
Volume data
        error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer
discarded. 
06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula 2.0.3
(06Mar07):
        06-Sep-2007 13:59:39

I have seen messages in the archive from others with a similar problem, with
suggestions that they are having hardware problems. I am not having hardware
problems, however: I can cp the backups, dd them, bls them, bextract them,
but I cannot run a restoration job to completion. I can exercise the
hardware for days with no apparent problems.

I have deleted all the backups, reinitialized bacula from scratch, run full
backups to different disk volumes, and tried a restore again: same result.

I'd be thankful for any clue stick that someone can hit me with.

Steve



------------------------------

Message: 3
Date: Thu, 6 Sep 2007 23:51:49 +0200
From: "Manuel Ostendorf" <[EMAIL PROTECTED]>
Subject: [Bacula-users] Fwd:  Problem with install bacula
To: bacula-users@lists.sourceforge.net
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="utf-8"

---------- Forwarded message ----------
From: Manuel Ostendorf <[EMAIL PROTECTED]>
Date: Sep 6, 2007 11:51 PM
Subject: Re: [Bacula-users] Problem with install bacula
To: Arno Lehmann <[EMAIL PROTECTED]>

HI,

Thank you for helping. I found another way to solve my problem. I used rpm
to install bacula.

I dont know what was problem. The directiory src was there, but make cannot
find that directory. I am using for unpacking tar zxvf.
I think Arno Lehmann has right that there is problem with permission. But I
have installed with Makefile on another computer and it works well.

thank you for helping

Manu

On 9/5/07, Arno Lehmann <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> 05.09.2007 03:34,, Ryan Novosielski wrote::
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Manuel Ostendorf wrote:
> >> Hello,
> >>
> >> have you an idea to solve my problem? I still have my problem.
>
> Unfortunately, I can't help. But...
>
> >> Manuel
> >>
> >> On 8/30/07, *Manuel Ostendorf* < [EMAIL PROTECTED]
> >> <mailto: [EMAIL PROTECTED]>> wrote:
> >>
> >>     Hello,
> >>
> >>     I cannot install bacule. If I tried after using "./configure
> >>     --with-mysql" with "make", I got errors.
> >>
> >>
> >>       ====== Error in /home/Ponte/bacula ======
> >>
> >>
> >>     /bin/sh: line 1: cd: scripts: Datei oder Verzeichnis nicht gefunden
> >>     ==>Entering directory /home/Ponte/bacula
> >>     make[253]: Entering directory `/home/Ponte/bacula'
> >>     /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >>     ==>Entering directory /home/Ponte/bacula
> >>     make[254]: Entering directory `/home/Ponte/bacula'
> >>     /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >>     ==>Entering directory /home/Ponte/bacula
> >>     make[255]: Entering directory `/home/Ponte/bacula'
> >>     /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >>     ==>Entering directory /home/Ponte/bacula
> >>     make[256]: Entering directory `/home/Ponte/bacula'
> >>     /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >>     ==>Entering directory /home/Ponte/bacula
> >>     make[257]: Entering directory `/home/Ponte/bacula'
> >>     /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >>
> >>
> >>     config.out
> >>
> >>     Configuration on Thu Aug 30 18:20:53 CEST 2007:
> >>
> >>       Host:                       i686-pc-linux-gnu -- suse 10.2
> >>       Bacula version:             2.2.0 (08 August 2007)
> >>       Source code location:       .
> >>       Install binaries:           /sbin
> >>       Install config files:       /etc/bacula
> >>       Scripts directory:          /etc/bacula
> >>       Working directory:          /var/bacula/working
> >>       PID directory:              /var/run
> >>       Subsys directory:           /var/lock/subsys
> >>       Man directory:              /usr/share/man
> >>       Data directory:             /usr/share
> >>       C Compiler:                 gcc 4.1.2
> >>       C++ Compiler:               /usr/bin/g++ 4.1.2
> >>       Compiler flags:              -g -O2 -Wall -fno-strict-aliasing
> >>     -fno-exceptions -fno-rtti
> >>       Linker flags:
> >>       Libraries:                  -lpthread
> >>       Statically Linked Tools:    yes
> >>       Statically Linked FD:       no
> >>       Statically Linked SD:       no
> >>       Statically Linked DIR:      no
> >>       Statically Linked CONS:     no
> >>       Database type:              MySQL
> >>       Database lib:               -L/usr/lib/mysql -lmysqlclient_r -lz
> >>       Database name:              bacula
> >>       Database user:              bacula
> >>
> >>       Job Output Email:           [EMAIL PROTECTED]
> >>       Traceback Email:            [EMAIL PROTECTED]
> >>       SMTP Host Address:          localhost
> >>
> >>       Director Port:              9101
> >>       File daemon Port:           9102
> >>       Storage daemon Port:        9103
> >>
> >>       Director User:
> >>       Director Group:
> >>       Storage Daemon User:
> >>       Storage DaemonGroup:
> >>       File Daemon User:
> >>       File Daemon Group:
> >>
> >>       SQL binaries Directory      /usr/bin
> >>
> >>       Large file support:         yes
> >>       Bacula conio support:       yes -lncurses
> >>       readline support:           no
> >>       TCP Wrappers support:       no
> >>       TLS support:                no
> >>       Encryption support:         no
> >>       ZLIB support:               yes
> >>       enable-smartalloc:          yes
> >>       bat support:                no
> >>       enable-gnome:               no
> >>       enable-bwx-console:         no
> >>       enable-tray-monitor:
> >>       client-only:                no
> >>       build-dird:                 yes
> >>       build-stored:               yes
> >>       ACL support:                yes
> >>       Python support:             no
> >>       Batch insert enabled:       yes
> >>
> >>
> >>     Can you tell me, what that problem is? How can I solve that
> problem?
> >>
> >>     Thanks
> >>
> >>     Manuel Ostendorf
> >
> > I don't speak that language, so I can't begin to figure out what 
> > that means. If you could tell us, probably others might know also.
>
> "Datei oder Verzeichnis nicht gefunden" is "File or Directory not found".
>
> Without actually trying to build Bacula recently, and without a closer 
> look at the Makefile, I suppose this could be a permisions problem.
>
> What I think happens is that make or rather the commands called by it 
> can't change to the directories it needs to do its work in. Check that 
> the directories actually exist and can be accessed by whoever runs make.
>
> Also it might be useful to provide some additional information: How 
> did you load the sources, how did you unpack them, and what does the 
> main Bacula directory look like? Especially file ownership and 
> permissions might be interesting.
>
> (It's interesting that ./configure seems to run ok, but make doesn't,
> though...)
>
> Arno
>
> --
> Arno Lehmann
> IT-Service Lehmann
> www.its-lehmann.de
>
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Fri, 7 Sep 2007 02:32:06 +0300
From: Doytchin Spiridonov <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] restore problem
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii

Hello,

just to mention again that while there were suggestions this is a hardware
problem we did a lot of tests and proved the problem is not hadrware but
there is a bug (which however was closed with "unable to reproduce" reason)

As you are the next case, can you please test it again ("have deleted all
the backups, reinitialized bacula from scratch, run full backups to
different disk volumes, and tried a restore again") but w/o enabling
concurrent jobs (I bet you are) and see if it will be OK or you will get the
same problems?

Regards.


Friday, September 7, 2007, 12:36:41 AM:

ST> Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 
ST> 4.5, both 32-bit and 64-bit. Backups are to disk files.

ST> I find that I cannot do any restores:

ST> 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
block.c:275 Volume data
ST>         error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer
discarded.
ST> 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
2.0.3 (06Mar07):
ST>         06-Sep-2007 13:59:39

ST> I have seen messages in the archive from others with a similar 
ST> problem, with suggestions that they are having hardware problems. I 
ST> am not having hardware problems, however: I can cp the backups, dd 
ST> them, bls them, bextract them, but I cannot run a restoration job to 
ST> completion. I can exercise the hardware for days with no apparent
problems.

ST> I have deleted all the backups, reinitialized bacula from scratch, 
ST> run full backups to different disk volumes, and tried a restore 
ST> again: same result.

ST> I'd be thankful for any clue stick that someone can hit me with.

ST> Steve

ST> --------------------------------------------------------------------
ST> ----- This SF.net email is sponsored by: Splunk Inc.
ST> Still grepping through log files to find problems?  Stop.
ST> Now Search log events and configuration files using AJAX and a browser.
ST> Download your FREE copy of Splunk now >>  http://get.splunk.com/ 
ST> _______________________________________________
ST> Bacula-users mailing list
ST> Bacula-users@lists.sourceforge.net
ST> https://lists.sourceforge.net/lists/listinfo/bacula-users




------------------------------

Message: 5
Date: Fri, 7 Sep 2007 10:44:57 +1000
From: "James Harper" <[EMAIL PROTECTED]>
Subject: [Bacula-users] Recipe for Disaster Recovery of Windows 2003
        (and    maybe XP)
To: <bacula-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

I'm not sure if this has been documented anywhere before, but I'm having a
look at disaster recovery of a Windows 2003 computer in the situation where
your director and sd are still running.

What I have done so far (I'll document it better later):

Preparation:
1. Do an NTBackup of your system state to C:\SystemState.bkf 2. Make sure
that the SystemState.bkf is on the bacula volume you want to restore from.
3. Create a Windows install CD, add the contents of your Bacula directory
and include your config file, and the asr.sif and asrpnp.sif files from
C:\WINDOWS\repair 4. Modify the asr.sif file to remove the call to ntbackup
and replace it with a call to cmd.exe (make sure the end of line characters
remain the
same!)
5. Include on the CD a text file containing the network details, for future
reference (ip address and dns server are all that should be
required)
6. Include any extra drivers that you might need 7. Burn the CD and make it
bootable


Restoration:
1. Boot from the CD, and press F2 to enter ASR mode 2. Let windows do it's
thing, it will restore all the partition information exactly as it was
before, eventually it will come up with a command prompt 3. Copy Bacula from
the CD to C:\Bacula 4. configure the network with netsh commands 5. Start
Bacula with something like 'bacula-fd -c C:\bacula\bacula-fd.conf'
6. Perform the restore from the directory (expect lots of 'file in use'
messages)
7. After the restore is complete, start ntbackup, and do a restore from
C:\SystemState.bkf (or whatever you called your system state backup) 8. Exit
the command prompt and the system should reboot.

I have just tried all of the above on a domain controller and it appears to
work correctly...

I think that almost all of the backup steps could be scripted, and so could
a few of the restore steps (copying bacula to the harddisk, configuring the
network, starting bacula, and starting ntbackup)

I'll document this a bit better if anyone is interested.

James




------------------------------

Message: 6
Date: Thu, 06 Sep 2007 21:29:36 -0400
From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] Recipe for Disaster Recovery of Windows
        2003 (and maybe XP)
To: James Harper <[EMAIL PROTECTED]>
Cc: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

James Harper wrote:
> I'll document this a bit better if anyone is interested.

Absolutely!  In fact, there's already a slot where you could add your stuff
to the wiki:

http://wiki.bacula.org/doku.php?id=windows_bare_metal_recovery

--
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



------------------------------

Message: 7
Date: Thu, 6 Sep 2007 20:53:17 -0500
From: "Kelly, Brian" <[EMAIL PROTECTED]>
Subject: [Bacula-users] Bacula environment
To: <bacula-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

I am running a post job python script that fails because python is unable to
import some libraries. I am running bacula as root. When running the script
manually as root there are no problems. Issuing the env command as root
yields a correct PYTHONPATH variable:

PYTHONPATH=/usr/lib64/portage/pym:/prod/bacula/local/lib64/python2.4/site-pa
ckages:/prod/bacula/local/lib/python2.4/site-packages

I wrote a small test script to determine what the environment variables look
like when the director fires off a script as follows:

#!/bin/bash
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" >>
/prod/bacula/var/bacula-environment
echo "" >> /prod/bacula/var/bacula-environment
date >> /prod/bacula/var/bacula-environment
echo "" >> /prod/bacula/var/bacula-environment
/bin/env >> /prod/bacula/var/bacula-environment
whoami >> /prod/bacula/var/bacula-environment
echo "***********************************************************" >>
/prod/bacula/var/bacula-environment

This yields the following output:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Thu Sep  6 18:30:54 CDT 2007

SHELL=/bin/bash
TERM=xterm
DEFAULTLEVEL=default
USER=root
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/loca
l/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bi
n/4.1.2
PWD=/
BOOTLEVEL=boot
CONSOLETYPE=pty
SVCNAME=bacula
HOME=/root
SHLVL=2
SOFTLEVEL=default
_=/bin/env
root
***********************************************************

Can anyone help me to understand why the the PYTHONPATH environment variable
is missing when the director fires off my simple shell script? I'm not sure
if I am doing something incorrectly within Bacula or if I've somehow
configured my Linux distro incorrectly. 

Thanks in advance for any advice with this problem. If you need more
information please let me know.

Brian Kelly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5082 bytes
Desc: not available

------------------------------

Message: 8
Date: Fri, 7 Sep 2007 08:32:41 +0200 (CEST)
From: "Tom Sommer" <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] restore problem
To: "Steve Thompson" <[EMAIL PROTECTED]>
Cc: bacula-users@lists.sourceforge.net
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain;charset=iso-8859-1

On Thu, September 6, 2007 23:36, Steve Thompson wrote:
> Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
> both 32-bit and 64-bit. Backups are to disk files.
>
> I find that I cannot do any restores:
>
>
> 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
> block.c:275 Volume data
> error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded.
> 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
> 2.0.3 (06Mar07):
> 06-Sep-2007 13:59:39
>
>
> I have seen messages in the archive from others with a similar problem,
> with suggestions that they are having hardware problems. I am not having
> hardware problems, however: I can cp the backups, dd them, bls them,
> bextract them, but I cannot run a restoration job to completion. I can
> exercise the hardware for days with no apparent problems.
>
> I have deleted all the backups, reinitialized bacula from scratch, run
> full backups to different disk volumes, and tried a restore again: same
> result.
>
> I'd be thankful for any clue stick that someone can hit me with.

Had/Have this problem too, I suggest opening a bug on it..

--
Tom Sommer





------------------------------

Message: 9
Date: Fri, 07 Sep 2007 09:49:12 +0200
From: [EMAIL PROTECTED] (Eric B?se-Wolf )
Subject: [Bacula-users] Can Bacule use DVD-RAM?
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hello everybody,

as DVD-Ram Media is the most reliable optical media in the DVD area,
I would like to use it. I aked myself can Bacula use DVD-RAM? I read
parts of the manual and found only things regarding DVD+-R(W), which
need a special treatment due to mounting, burning and so on ....

But DVD-RAM could be used like a harddrive, just put in the DVD-RAM
and use e.g. /dev/hda as device, but then Bacula have to check if the
media is full. Otherwise you could create udf 2.01 on the DVD and mount
it, but then you don't need a special writing tool like "dvd-handler"
>From Bacula. 

Another Problem could be that kernels lower (strictly) 2.6.22 cannot
create files larger than 1 GB on an DVD-RAM with udf, so back to direct
writing on the DVD-RAM without filesystem .... ? 

I don't know if one could just use the tapedrive drivers for dvd-ram, as
I don't know if the ioctl's are the same or so.

As I don't have a clue about all of this, this might sound all stupid, 
but please enlighten me :-)

mfg

Eric
-- 
Das Briefgeheimnis sowie das Post- und Fernmeldegeheimnis sind
unverletzlich.               (Grundgesetz, Artikel 10, Abs. 1)
http://www.gnupp.de                       http://www.gnupg.org
http://www.stud.uni-karlsruhe.de/~uwaru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available

------------------------------

Message: 10
Date: Fri, 7 Sep 2007 09:58:03 +0200
From: Luca Ferrari <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] restore: device is blocked waiting for
        media
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;  charset="iso-8859-1"

On Thursday 6 September 2007 Arno Lehmann's cat, walking on the keyboard, 
wrote:
> So my only idea is that perhaps you use several file storage devices
> with identical Media Type settings and Bacula chooses the wrong device
> for the needed volumes.

This is true! I mean, I've got several storages with the same media type, is

this not correct? Or it will lead me only problems like the mounting when 
restoring? Do you suggest me to separate each storage and device?

Luca



------------------------------

Message: 11
Date: Fri, 07 Sep 2007 10:09:49 +0200
From: Mike Follwerk - T?BF <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] Can Bacule use DVD-RAM?
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-15

Hello Eric,

mind you, I am no bacula expert myself (yet), but I spent some time to
get it running with REV-drives, which is quite similar to DVD-RAM in
terms of actual usage.

Eric B?se-Wolf schrieb:
> But DVD-RAM could be used like a harddrive, just put in the DVD-RAM
> and use e.g. /dev/hda as device, but then Bacula have to check if the
> media is full. Otherwise you could create udf 2.01 on the DVD and mount
> it, but then you don't need a special writing tool like "dvd-handler"
> From Bacula. 

Exactly. Apparently bacula does not like writing to raw devices if they
are anything else but tapes. So if it can be used "like a harddrive"
(which includes DVD-RAM) you are probably best off using files on the
medium. If you do that, bacula recognizes a full medium without any
problems too. It even treats a file on a UDF medium as "full" when it
hits the 1Gb limit - see below.

> Another Problem could be that kernels lower (strictly) 2.6.22 cannot
> create files larger than 1 GB on an DVD-RAM with udf, so back to direct
> writing on the DVD-RAM without filesystem .... ? 

That was a _major_ showstopper for me, since REVs also use UDF. There
are 2 ways to circumvent this problem as far as I know:

A) Use the virtual autochanger script that a community member kindly
provided. Look in the list archives for a mail about "Bacula Removable
Disk Howto". I can also provide you the article if you cannot find it.
Using this, you can treat each DVD-RAM medium as an autochanger
containing several volumes, each one being a file of 1Gb in size. This
might still be acceptable for DVD-RAM, but in my case, having about 65Gb
of space per medium, that would have created a LOT of volumes.

B) Format the medium with another non-journaling filesystem (like ext3
without the journal option) and then use larger files. This sounds like
a _very_ bad idea at first glance, but in my tests, it worked
surprisingly well - i.e. without too much stress on the drive or medium.
This may be due to the fact that bacula mostly does sequential writes,
not completely random access. However, it certainly creates more stress
than UDF.
I will take a backup system using this type of configuration into
production use next week, so if you have some time, I can keep you in
the loop.

> I don't know if one could just use the tapedrive drivers for dvd-ram, as
> I don't know if the ioctl's are the same or so.

I tried that with REVs and it went spectacularly wrong, because bacula
insisted on rewinding the medium at some point. ;)

CYa
Mike


-- 

T?BF IT Services GbR
Daniel Bl?mer, Mike Follwerk, Marcus Teske
Marie-Curie-Str. 1
D-53359 Rheinbach

Umsatzsteuer-Identifikationsnummer
gem. ? 27 a Umsatzsteuergesetz:    DE 238268154

Tel. +492226 / 87 21 40
Fax: +492226 / 87 21 49
http://www.tbf-it.de/



------------------------------

Message: 12
Date: Fri, 07 Sep 2007 10:21:14 +0200
From: Marek Simon <[EMAIL PROTECTED]>
Subject: [Bacula-users] More jobs concurently
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed

I have one basic disc storage with 400BG, one extra storage on other 
400GB disk and one DDS Tape. All the storages are in same server. I use 
the basic storage for common backup of systems and user data and the 
extra storage for backup of one special project. The extended storage is 
often full and extra jobs get stuck. But the other jobs get stuck too 
waiting on it. I set up Director Max Concurent job to 3 and for each 
Storage I set to one. It seems it is still not working properly. Should 
I set it somewhere else too? Or something else?
Marek




------------------------------

Message: 13
Date: Fri, 7 Sep 2007 10:32:22 +0200 (CEST)
From: Gabriele Bulfon <[EMAIL PROTECTED]>
Subject: [Bacula-users] performance
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Hello,
I need to speed up the backup of a machine with a lot of very small files
(600,000 = 90Gb).
I have verified that the problem is the mysql database, slowing down the
backup because it has
to write 600,000 records in the catalog.
I'm thinking of 2 options:
1- forcing transactions at the start and end of every job (or at the end of
the last job, maybe).
1- upgrading version 1.38 -> 2.x (latest).
Questions are:
1- how can I force bacula to use these transactions?
2- should I expect performance improvements by upgrading?
Thanx for any help
Gabriele.
Gabriele Bulfon - Sonicle S.r.l.
Tel +39 028246016 Int. 30 - Fax +39 028243880
Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY
http://www.sonicle.com
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 14
Date: Fri, 7 Sep 2007 10:37:33 +0200
From: Christoff van Zyl <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] restore problem
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;  charset="iso-8859-1"

On Friday 07 September 2007 08:32:41 Tom Sommer wrote:
> On Thu, September 6, 2007 23:36, Steve Thompson wrote:
> > Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
> > both 32-bit and 64-bit. Backups are to disk files.
> >
> > I find that I cannot do any restores:
> >
> >
> > 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
> > block.c:275 Volume data
> > error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded.
> > 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
> > 2.0.3 (06Mar07):
> > 06-Sep-2007 13:59:39
> >
> >
> > I have seen messages in the archive from others with a similar problem,
> > with suggestions that they are having hardware problems. I am not having
> > hardware problems, however: I can cp the backups, dd them, bls them,
> > bextract them, but I cannot run a restoration job to completion. I can
> > exercise the hardware for days with no apparent problems.
> >
> > I have deleted all the backups, reinitialized bacula from scratch, run
> > full backups to different disk volumes, and tried a restore again: same
> > result.
> >
> > I'd be thankful for any clue stick that someone can hit me with.
>
> Had/Have this problem too, I suggest opening a bug on it..
>
> --
> Tom Sommer
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Okay, as a newbie to Bacula this now a big worry, I am also using  Bacula 
2.0.3 on a 32-bit Ubuntu 6.0.6 system. I have compiled Bacula from source
and  
using disks for the backups. 

I am sitting on the point to cancel our backup support contract with our 
supplier because I am using Bacula now.

Is this now something to worry about????

Thanks
Christoff

PS: Busy doing a restore for one of our users on a Linux Terminal Server.
Will 
you guys now if successful or not.









------------------------------

Message: 15
Date: Fri, 7 Sep 2007 11:39:43 +0300
From: Silver Salonen <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] SQL error after upgrading 2.0.3 -> 2.2.0
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;  charset="iso-8859-1"

On Thursday 06 September 2007 11:46, Arno Lehmann wrote:
> Hi,
> 
> 06.09.2007 08:23,, Silver Salonen wrote::
> > Hello.
> > 
> > Yesterday I upgraded Bacula (dir, sd, fd) from 2.0.3 to 2.2.0 on 
FreeBSD-5.3. 
> > I use Bacula with MySQL 4.0.27. In the evening all the backups failed
with 
> > error:
> > =====
> > 06-Sep 00:33 mydom-sd: Job write elapsed time = 00:00:44, Transfer rate
= 
> > 2.103 M bytes/second
> > 06-Sep 00:33 mydom-dir: myser-conf.2007-09-06_00.32.49 Fatal error:
Can't 
fill 
> > Path table Query failed: INSERT INTO Path (Path)         SELECT a.Path 
> > FROM              (SELECT DISTINCT Path             FROM batch) AS a

> > WHERE NOT EXISTS                (SELECT Path                      FROM 
Path 
> > AS p                WHERE p.Path = a.Path)     : ERR=You have an error
in 
> > your SQL syntax.  Check the manual that corresponds to your MySQL server

> > version for the right syntax to use near 'SELECT DISTINCT Path

> > FROM batch) AS a           WHE
> > =====
> > 
> > May the problem be in MySQL, i.e. Bacula 2.2 isn't compatible with MySQL

4.0 
> > although 2.0 was?
> 
> Yes... as far as I know, subqueries or nested selects are available 
> ony with MySQL 4.1 and up.

Yep, today morning I upgraded to MySQL 4.1 and backups were OK.



------------------------------

Message: 16
Date: Fri, 7 Sep 2007 11:13:11 +0200
From: "Benjamin E. Zeller" <[EMAIL PROTECTED]>
Subject: Re: [Bacula-users] Webmin Bacula-Module does not connect to
        database
To: bacula-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

On Thursday 06 September 2007 21:41:14 Arno Lehmann wrote:
> Hello,
>
> 06.09.2007 15:15,, Ferdi Giese wrote::
> > Hi,
> >
> > bacula-2.1.1 is working fine on mysql-database at localhost
(SLES10-SP1),
> > but when I want to use the Webmin-Module for administration, it echos
> > "Failed to connect to the Bacula database: ../config.cgi?bacula-backup.
> > Maybe it is not set up, or the module configuration is incorrect."
> >
> > I tried editing the /etc/webmin/bacula-backup/config-file in many ways
> > (e.g. with "host=localhost" or "host=127.0.0.1", with "pass=""), but
> > nothing works. I need Your help.
>
> I guess you should ask that the webmin support. I don't think many
> people here use webmin for their Bacula installations, and as the
> webmin module is not produced by the Bacula product, webmin support is
> the right address anyway...

IMHO it's a *really* shame what OpenCountry did with that bacula plugin.
They 
asked for testing on that list (or was it devel, can't remember anymore) and

released a first version.
I was one of that testers and really really delighted when I saw that, as it

might provide some usability for the end-users I have.
Anyway, this first version had serious bugs, as it wasn't able to work with 
included configfiles, which was a complete nogo for me. I can't remeber the 
other problems, but there were minors and majors.
Nevertheless, these bugs and problems were reported to the developers and
one 
declared, that there will be an updated version with these bugs fixed. Well,

what should I say.. I never saw that version.
It looks like, that the first and only version was put into webmin and IMHO 
this is the shame I was talking before: They put an unfinished module into 
webmin, which doesn't completely work (there are some requirements, which
are 
not supplied by all bacula versions- this stuff just doesn't work.
What really makes me angry in some way is the fact, that they release an 
unfinished version, which doesn't work for everyone and ppl come here to ask

for support. This should *not* be a hit to ferdis direction, please see
that, 
but I just needed to clarify that. As I guess that someone should ping 
webmin-ppl about that facts, I copied devel-list, as Kern might be
interested 
in this misbehaviour too.

>
> Arno
>

Greetings,

Benni

> > Regards
> > Ferdi
> >
> >
> >
-------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
Benjamin E. Zeller
Ing.-B?ro Hohmann
Bahnhofstr. 34
D-82515 Wolfratshausen

Tel.:  +49 (0)8171 347 88 12
Mobil: +49 (0)160 99 11 55 23
Fax:   +49 (0)8171 910 778
mailto: [EMAIL PROTECTED]

www.ibh-wor.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available

------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

------------------------------

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


End of Bacula-users Digest, Vol 17, Issue 8
*******************************************

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to