[Bacula-users] MTEOM

2005-07-13 Thread Taymour A. El Erian
HI,

I had a tape which bacula failed to write on so I did mt erase and
relabeled it with label command and started to reuse it, what happened
is that I got this error from bacula after it wrote several jobs on the tape

Error: Unable to position to end of data on device "/dev/tape".
ERR=dev.c:494 ioctl MTEOM error on /dev/tape. ERR=Input/output error.

what does this mean ?

-- 
Taymour A El Erian
System Division Manager
RHCE, CNA, MCSE, CCNA, LPIC
TE Data
E-mail: [EMAIL PROTECTED]
Web: www.tedata.net
Tel:+(202)-4166600
Fax:+(202)-4166700
Ext:1101




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Unable connect to the storage daemon?

2005-07-13 Thread Arno Lehmann

[EMAIL PROTECTED] wrote:

Please, use the list for such queries.

I"ve a problem with a windows client.the "becky" client is a romote file storage,The following shows that problem. 



Especially when sending to me directly you will have to keep your mail 
shorter. I don't especially like having to go through all this again...



[EMAIL PROTECTED] bin]# ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
[EMAIL PROTECTED] bin]# ./bconsole
Connecting to Director backup:9101
1000 OK: backup-dir Version: 1.36.3 (22 April 2005)
Enter a period to cancel a command.
*run
Using default Catalog name=MyCatalog DB=bacula
A job name must be specified.
The defined Job resources are:
 1: Client1
 2: becky
 3: BackupCatalog
 4: RestoreFiles
 5: becky_RestoreFiles
Select Job resource (1-5): 2
Run Backup job
JobName:  becky
FileSet:  becky
Level:Incremental
Client:   becky-fd
Storage:  File
Pool: Default
When: 2005-07-12 15:44:40
Priority: 10
OK to run? (yes/mod/no): yes
Job started. JobId=18
*
You have messages.
*messages
12-Jul 15:44 backup-dir: No prior Full backup Job record found.
12-Jul 15:44 backup-dir: No prior or suitable Full backup found. Doing FULL 
backup.
12-Jul 15:44 backup-dir: Start Backup JobId 18, Job=becky.2005-07-12_15.44.41
12-Jul 15:44 becky-fd: becky.2005-07-12_15.44.41 Fatal error: Failed to connect 
to Storage daemon: backup:9103
12-Jul 15:44 becky-fd: becky.2005-07-12_15.44.41 Error: ..\lib\../../lib/bnet.c:685 
gethostbyname() for host "backup" failed: ERR=Authoritative answer for host not 
found.
12-Jul 15:44 backup-dir: becky.2005-07-12_15.44.41 Fatal error: Socket error 
from Filed on Storage command: ERR=No data available
12-Jul 15:44 backup-dir: becky.2005-07-12_15.44.41 Error: Bacula 1.36.3 
(22Apr05): 12-Jul-2005 15:44:48
  JobId:  18
  Job:becky.2005-07-12_15.44.41
  Backup Level:   Full (upgraded from Incremental)
  Client: becky-fd
  FileSet:"becky" 2005-07-12 10:16:19
  Pool:   "Default"
  Storage:"File"
  Start time: 12-Jul-2005 15:44:43
  End time:   12-Jul-2005 15:44:48
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0
  SD Bytes Written:   0
  Rate:   0.0 KB/s
  Software Compression:   None
  Volume name(s):
  Volume Session Id:  1
  Volume Session Time:1121154271
  Last Volume Bytes:  0
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:
  SD termination status:  Waiting on FD
  Termination:*** Backup Error ***

12-Jul 15:44 backup-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal 
connect error to localhost: ERR=Connection refused
12-Jul 15:44 backup-dir: becky.2005-07-12_15.44.41 Error: message.c:473 Mail 
program terminated in error.
CMD=/usr/local/bacula/bin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s 
"Bacula: Backup Fatal Error of becky-fd Full" [EMAIL PROTECTED]
ERR=Child exited with code 1

The following is my "bacula-dir.conf":

Director {# define myself
  Name = backup-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = "/usr/local/bacula/bin/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 1
  Password = "yrxkOVESHUh5FHf1sUgxgxFgmQPuFjtTO9e5TWo09mlz" # Console 
password
  Messages = Daemon
}
JobDefs {
  Name = "DefaultJob"
  Type = Backup
  Level = Incremental
  Client = backup-fd
  FileSet = "Full Set"
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Default
  Priority = 10
}
 JobDefs {
   Name = "becky"
   Type = Backup
   Level = Incremental
   Client = becky-fd
   FileSet = "becky"
   Schedule = "WeeklyCycle"
   Storage = File
   Messages = Standard
   Pool = Default
   Priority = 10
 }
Job {
  Name = "Client1"
  JobDefs = "DefaultJob"
  Write Bootstrap = "/var/bacula/Client1.bsr"
}
 Job {
   Name = "becky"
   JobDefs = "becky"
   Write Bootstrap = "/var/bacula/becky.bsr"
 }
Job {
  Name = "BackupCatalog"
  JobDefs = "DefaultJob"
  Level = Full
  FileSet="Catalog"
  Schedule = "WeeklyCycleAfterBackup"
  # This creates an ASCII copy of the catalog
  RunBeforeJob = "/usr/local/bacula/bin/make_catalog_backup bacula bacula"
  # This deletes the copy of the catalog
  RunAfterJob  = "/usr/local/bacula/bin/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}
Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=backup-fd
  FileSet="Full Set"
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /tmp/backup1/bacula-restores
}
Job {
  Name = "becky_RestoreFiles"
  Type = Restore
  Client= becky-fd
  FileSet="becky"
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /tmp/b

Re: [Bacula-users] problem with new full backup

2005-07-13 Thread Bernhard Suttner
On Tue, 12 Jul 2005 19:25:56 +0200
Arno Lehmann <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Bernhard Suttner wrote:
> 
> > On Tue, 12 Jul 2005 11:35:46 +0200
> > Arno Lehmann <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Hi,
> >>
> >>Bernhard Suttner wrote:
> >>
> >>
> >>>No, I don´t use a autochanger.
> >>
> >>Have you configured a script to more or less automatically manage volume 
> >>changes? Or anything in the configuration that I don't think about, 
> >>perhaps...
> > 
> > 
> > 
> > No, I think that if a volume (tape) is full it should ask for the next 
> > volume in the pool and not mark all volumes of this pool as Error.
> 
> Absolutely right... I only tried to understand why it didn't ask but 
> instead assumed that he volumes should be in the drive already.
> 
> Anyway, your volumes listing looks rather normal.
> 
> > *list volumes Pool=WeeklyPool
> > +-++---++--+--+-+--+---+---+-+
> > | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles | 
> > VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten 
> > |
> > +-++---++--+--+-+--+---+---+-+
> > |   1 | FULL_01| Full  | 32,457,886,386 |   34 |  
> > 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 04:29:25 |
> > |   2 | FULL_02| Full  | 35,432,971,514 |   35 |  
> > 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 12:50:42 |
> > |   3 | FULL_03| Append| 17,663,874,444 |   20 |  
> > 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 16:31:14 |
> > |   4 | FULL_04| Error |200 |0 |  
> > 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 12:52:15 |
> > |   5 | FULL_05| Error |200 |0 |  
> > 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 12:52:32 |
> > +-++---++--+--+-+--+---+---+-+
> > 
> > 
> > 
> > This is my the output of list volumes pool=WeeklyPool, actually. 
> 
> What I would do now is manually putting the "Error" volumes in a usable 
> state again and the next time you expect a request for new media run the 
> SD and the DIR with debug output.
> Capture that, and see what actually happens when bacula tries to change 
> the volume.
> 
> I only had tapes marked as Error when the tapes were actually broken or 
> when the SD, DIR or catalog had crashed before and so the infamous (for 
> me) "Nomber of Volumes Mismatch" Error came up...
> 
> Arno
> 


OK i will do that next weekend. After bacula mark all volumes with Error, I 
always update the catalog and set the next volume manually to state "append" 
and mount the tape. Then bacula use this volume.

What can I do against "Number of Volumes Mismatch Error"?. 

Bernhard







> 
> >  
> > 
> >>Anyway, a list volumes pool=xxx command should give you a listing of the 
> >>volumes you have, like
> >>
> >>
> >>>#list volumes pool=Incr
> >>>+-+--+---+---+--+--+-+--+---+---+-+
> >>>| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles | 
> >>>VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> >>> |
> >>>+-+--+---+---+--+--+-+--+---+---+-+
> >>>|   6 | DAT-120-0004 | Full  |10,838,017 |0 |  
> >>>864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 21:36:21 |
> >>>|  11 | DAT-120-0009 | Append| 1 |0 |  
> >>>864,000 |   1 |3 | 1 | DDS2  | 2005-07-12 10:53:28 |
> >>>|  14 | DAT-090-0001 | Full  | 2,568,189,339 |5 |  
> >>>864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 20:16:28 |
> >>>|  15 | DAT-090-0002 | Full  |22,385,665 |0 |  
> >>>864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 21:31:23 |
> >>>|  16 | DAT-090-0003 | Full  |   255,854,574 |0 |  
> >>>864,000 |   1 |0 | 0 | DDS1  | 2005-07-11 10:00:30 |
> >>>|  25 | DAT-090-0006 | Full  |17,676,289 |0 |  
> >>>864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 20:22:15 |
> >>
> >>and here you should have InChanger=0 and Slot=0.
> >>Everything else should, as far as I know, not happen in your case.
> >>
> >>If there is something different, you can modify the catalog entries 
> >>using the update command.
> >>Of course it would be good to know how this happened...
> >>
> >>Arno
> >>
> >>
> >>
> >>>On Tue, 12 Jul 2005 10:53:28 +0200

Re: [Bacula-users] Bacula (v1.36.2-2sarge1) don't seem to recycletapes correctly

2005-07-13 Thread Kern Sibbald
On Tuesday 12 July 2005 11:53, Alan Brown wrote:
> On Mon, 11 Jul 2005, Kern Sibbald wrote:
> >> *wishlist: last complete Full backup by default, but user-defineable
> >> number would be even better (to allow for 2 complete sets in safe, etc)
> >
> > The problem I have with this is: suppose you backup a Client containing a
> > terabyte of data. You set your retention time to 1 month because after
> > that the data is of no use. You don't do any more backups because the
> > Client is taken off line.  If the last Full backup + others are not
> > pruned, the terabyte of useless data will remain forever.
>
> In our case we'd keep the data at least a year anyway, however in the case
> of a dead client where the data is of no further use, I would expect
> people to explicitly purge the client's jobs at commandline.

OK, keeping data a year is easy -- simply set the expiration period for the 
Volumes so they will not be reused as well as for the jobs.  

I'm not much of a fan of manual intervention.  

>
> The other obvious alternative is to allow Bacula to automagically
> prune/purge all time-expired backup sets which are no longer defined in
> bacula-dir.conf - and in the case of a permanently dead client(*) it is
> logical to expect it would be removed from there, else error messages will
> be generated.

Unfortunately, old unused Client definitions often remain in the 
bacula-dir.conf (at least this is the case for me).  This seems to complicate 
the problem and doesn't resolve my concern that Bacula is currently too 
agressive doing pruning.  Normally this over zelous pruning is not obvious 
unless you set pruning times very short as a few people do so that they can 
rotate through a very small set of tapes.

>
>
> (*) I have a couple of clients right now which are dead on hardware
> issues, their schedule has been altered from "daily" to "never"

The issue here is what to do to the catalog when the retention period expires. 
As it stands, Bacula will prune the records after the retention expires.  I'm 
proposing "extending" what currently happens to something more logical.  

That is: regardless of the retention period, Bacula will not prune the last 
Full, Diff, or Inc File data until a month after the retention period for the 
last Full backup that was done.

This is additional security for your data and also "automagically" prunes the 
database as you define, but in a slightly more intelligent manner.  

Unless someone can find some really good points against this, it is what I 
plan to implement.

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: [Bacula-devel] Bacula RPM conflicts with sqlite (which is needed by rpm-4.4)

2005-07-13 Thread Kern Sibbald
On Tuesday 12 July 2005 17:43, Georg Lutz wrote:
> On 2005-07-11, Kern Sibbald wrote:
> > > Can the bacula-rpm be rebuilt to either use the existing sqlite-RPM or
> > > use it's own sqlite that doesn't conflict with the sqlite-package? (The
> > > current version's filenames shouldn't conflict anyway however the
> > > Conflicts-tag prevents from installing both packages.
> >
> > Bacula 1.36.x does not work with SQLite 3.x.   Bacula 1.37.x does work
> > with it, but I recommend against it because SQLite 3.x in my tests seems
> > to be 4 to 10 times slower than SQLite 2.8.x
> >
> > SQLite 2.x and 3.x are designed to be installed on your system at the
> > same time without conflicts -- providing it is done correctly of course.
>
> Would it not be better and safer in that case to statically link sqlite
> into bacula?

It is statically linked, but to create, modify, and dump a database, you need 
the SQLite executable as well.

>
> At the moment bacula-sqlite prevents me from install any other programs
> which need sqlite ...

I don't believe that is correct, but I don't have the time to go into it other 
than to say that it is possible to install and run an rpm having conflicts. 
You just need to be careful and know what you are doing.  The other solution 
is to switch to MySQL or PostgreSQL.

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problem with new full backup

2005-07-13 Thread Kern Sibbald
Hello Bernhard,

What version of Bacula are you using?

Is there any chance that you had non-zero Slot numbers originally defined for 
those volumes that were marked in error?

On Tuesday 12 July 2005 19:25, Arno Lehmann wrote:
> Hello,
>
> Bernhard Suttner wrote:
> > On Tue, 12 Jul 2005 11:35:46 +0200
> >
> > Arno Lehmann <[EMAIL PROTECTED]> wrote:
> >>Hi,
> >>
> >>Bernhard Suttner wrote:
> >>>No, I don´t use a autochanger.
> >>
> >>Have you configured a script to more or less automatically manage volume
> >>changes? Or anything in the configuration that I don't think about,
> >>perhaps...
> >
> > No, I think that if a volume (tape) is full it should ask for the next
> > volume in the pool and not mark all volumes of this pool as Error.
>
> Absolutely right... I only tried to understand why it didn't ask but
> instead assumed that he volumes should be in the drive already.
>
> Anyway, your volumes listing looks rather normal.
>
> > *list volumes Pool=WeeklyPool
> > +-++---++--+-
> >-+-+--+---+---+-+
> >
> > | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |
> > | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> > | |
> >
> > +-++---++--+-
> >-+-+--+---+---+-+
> >
> > |   1 | FULL_01| Full  | 32,457,886,386 |   34 | 
> > | 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 04:29:25
> > | | 2 | FULL_02| Full  | 35,432,971,514 |   35 |  604,800
> > | |   1 |0 | 0 | AIT   | 2005-07-11 12:50:42 | 3 |
> > | FULL_03| Append| 17,663,874,444 |   20 |  604,800 |
> > |   1 |0 | 0 | AIT   | 2005-07-11 16:31:14 | 4 | FULL_04 
> > |   | Error |200 |0 |  604,800 |   1 |   
> > | 0 | 0 | AIT   | 2005-07-11 12:52:15 | 5 | FULL_05|
> > | Error |200 |0 |  604,800 |   1 |0 |
> > | 0 | AIT   | 2005-07-11 12:52:32 |
> >
> > +-++---++--+-
> >-+-+--+---+---+-+
> >
> >
> >
> > This is my the output of list volumes pool=WeeklyPool, actually.
>
> What I would do now is manually putting the "Error" volumes in a usable
> state again and the next time you expect a request for new media run the
> SD and the DIR with debug output.
> Capture that, and see what actually happens when bacula tries to change
> the volume.
>
> I only had tapes marked as Error when the tapes were actually broken or
> when the SD, DIR or catalog had crashed before and so the infamous (for
> me) "Nomber of Volumes Mismatch" Error came up...
>
> Arno
>
> >>Anyway, a list volumes pool=xxx command should give you a listing of the
> >>volumes you have, like
> >>
> >>>#list volumes pool=Incr
> >>>+-+--+---+---+--+---
> >>>---+-+--+---+---+-+
> >>>
> >>>| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles |
> >>>| VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten   
> >>>|  |
> >>>
> >>>+-+--+---+---+--+---
> >>>---+-+--+---+---+-+
> >>>
> >>>|   6 | DAT-120-0004 | Full  |10,838,017 |0 | 
> >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 21:36:21
> >>>| | 11 | DAT-120-0009 | Append| 1 |0 | 
> >>>| 864,000 |   1 |3 | 1 | DDS2  | 2005-07-12 10:53:28
> >>>| | 14 | DAT-090-0001 | Full  | 2,568,189,339 |5 | 
> >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 20:16:28
> >>>| | 15 | DAT-090-0002 | Full  |22,385,665 |0 | 
> >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 21:31:23
> >>>| | 16 | DAT-090-0003 | Full  |   255,854,574 |0 | 
> >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-11 10:00:30
> >>>| | 25 | DAT-090-0006 | Full  |17,676,289 |0 | 
> >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 20:22:15
> >>>| |
> >>
> >>and here you should have InChanger=0 and Slot=0.
> >>Everything else should, as far as I know, not happen in your case.
> >>
> >>If there is something different, you can modify the catalog entries
> >>using the update command.
> >>Of course it would be good to know how this happened...
> >>
> >>Arno
> >>
> >>>On Tue, 12 Jul 2005 10:53:28 +0200
> >>>
> >>>Arno Lehmann <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> Bernhard Suttner wrote:
> >Helo,
> >
> >I do a full backup on Tape FULL_03. After this tape i

Re: [Bacula-users] Drive not available

2005-07-13 Thread Kern Sibbald
Probably /dev/nst1 does not exist or has no tape mounted.

On Tuesday 12 July 2005 23:22, Richard White wrote:
> My system has one internal VXA-1 and an external RakPak, with two VXA-1
> drives. In earlier experiments with Bacula, all drives were available and
> had been successfully used, at least to lable tapes, if not to run backup
> jobs.
>
> I began experiencing difficulties with Bacula using one of the RakPak
> drives. Since then I have replaced SuSE ES 9.1 with RH 9.0, but the problem
> persists. If I try to mount a tape in the left drive on the RakPak, here is
> what Bacula tells me:
>
> Using default Catalog name=MyCatalog DB=bacula
> 3999 Device "LeftDrive" not found
>
> Here are the pertinent parts of bacula-sd.conf and bacula-dir.conf:
>
> SD --
> Device {
>   Name = LeftDrive
>   Media Type = VXA-1
>   Archive Device = /dev/nst1
>   AutomaticMount = yes;
>   AlwaysOpen = yes;
>   RemovableMedia = yes;
>   RandomAccess = no;
> }
>
> DIR --
> Storage {
>   Name = Left
>   Address = lbackup
>   SDPort = 9103
>   Password = "[here is the password]"
>   Device = LeftDrive
>   Media Type = VXA-1
> }
>
> The InternalDrive and RightDrive, both of which work, are defined in the SD
> just like the LeftDrive, except that they have different names and use
> /dev/nst0 and /dev/nst2, respectively. Upon examination, I discovered that
> the line "Name = LeftDrive" did not end at the "e", but had a trailing
> space, so I removed it, then stopped Bacula and re-started it. It didn't
> make any difference.
>
> Tks n rgds,
> Richard White CNE6
> Network Engineer
> Mason County, Washington
> 360-427-5501
> [EMAIL PROTECTED]
>
>
>
> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
> in dual core and dual graphics technology at this free one hour event
> hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problem with new full backup

2005-07-13 Thread Bernhard Suttner
On Wed, 13 Jul 2005 10:44:28 +0200
Kern Sibbald <[EMAIL PROTECTED]> wrote:

> Hello Bernhard,
> 
> What version of Bacula are you using?
> 
> Is there any chance that you had non-zero Slot numbers originally defined for 
> those volumes that were marked in error?
> 


Hello,

I am using "bacula-1.36.3". 
No, all Slots were originally defined as zero-Slots. 




Bernhard









> On Tuesday 12 July 2005 19:25, Arno Lehmann wrote:
> > Hello,
> >
> > Bernhard Suttner wrote:
> > > On Tue, 12 Jul 2005 11:35:46 +0200
> > >
> > > Arno Lehmann <[EMAIL PROTECTED]> wrote:
> > >>Hi,
> > >>
> > >>Bernhard Suttner wrote:
> > >>>No, I don´t use a autochanger.
> > >>
> > >>Have you configured a script to more or less automatically manage volume
> > >>changes? Or anything in the configuration that I don't think about,
> > >>perhaps...
> > >
> > > No, I think that if a volume (tape) is full it should ask for the next
> > > volume in the pool and not mark all volumes of this pool as Error.
> >
> > Absolutely right... I only tried to understand why it didn't ask but
> > instead assumed that he volumes should be in the drive already.
> >
> > Anyway, your volumes listing looks rather normal.
> >
> > > *list volumes Pool=WeeklyPool
> > > +-++---++--+-
> > >-+-+--+---+---+-+
> > >
> > > | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |
> > > | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> > > | |
> > >
> > > +-++---++--+-
> > >-+-+--+---+---+-+
> > >
> > > |   1 | FULL_01| Full  | 32,457,886,386 |   34 | 
> > > | 604,800 |   1 |0 | 0 | AIT   | 2005-07-11 04:29:25
> > > | | 2 | FULL_02| Full  | 35,432,971,514 |   35 |  604,800
> > > | |   1 |0 | 0 | AIT   | 2005-07-11 12:50:42 | 3 |
> > > | FULL_03| Append| 17,663,874,444 |   20 |  604,800 |
> > > |   1 |0 | 0 | AIT   | 2005-07-11 16:31:14 | 4 | FULL_04 
> > > |   | Error |200 |0 |  604,800 |   1 |   
> > > | 0 | 0 | AIT   | 2005-07-11 12:52:15 | 5 | FULL_05|
> > > | Error |200 |0 |  604,800 |   1 |0 |
> > > | 0 | AIT   | 2005-07-11 12:52:32 |
> > >
> > > +-++---++--+-
> > >-+-+--+---+---+-+
> > >
> > >
> > >
> > > This is my the output of list volumes pool=WeeklyPool, actually.
> >
> > What I would do now is manually putting the "Error" volumes in a usable
> > state again and the next time you expect a request for new media run the
> > SD and the DIR with debug output.
> > Capture that, and see what actually happens when bacula tries to change
> > the volume.
> >
> > I only had tapes marked as Error when the tapes were actually broken or
> > when the SD, DIR or catalog had crashed before and so the infamous (for
> > me) "Nomber of Volumes Mismatch" Error came up...
> >
> > Arno
> >
> > >>Anyway, a list volumes pool=xxx command should give you a listing of the
> > >>volumes you have, like
> > >>
> > >>>#list volumes pool=Incr
> > >>>+-+--+---+---+--+---
> > >>>---+-+--+---+---+-+
> > >>>
> > >>>| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles |
> > >>>| VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten   
> > >>>|  |
> > >>>
> > >>>+-+--+---+---+--+---
> > >>>---+-+--+---+---+-+
> > >>>
> > >>>|   6 | DAT-120-0004 | Full  |10,838,017 |0 | 
> > >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 21:36:21
> > >>>| | 11 | DAT-120-0009 | Append| 1 |0 | 
> > >>>| 864,000 |   1 |3 | 1 | DDS2  | 2005-07-12 10:53:28
> > >>>| | 14 | DAT-090-0001 | Full  | 2,568,189,339 |5 | 
> > >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 20:16:28
> > >>>| | 15 | DAT-090-0002 | Full  |22,385,665 |0 | 
> > >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 21:31:23
> > >>>| | 16 | DAT-090-0003 | Full  |   255,854,574 |0 | 
> > >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-11 10:00:30
> > >>>| | 25 | DAT-090-0006 | Full  |17,676,289 |0 | 
> > >>>| 864,000 |   1 |0 | 0 | DDS1  | 2005-07-10 20:22:15
> > >>>| |
> > >>
> > >>and here you should have InChanger=0 and Slot=0.
> > >>Everything else should, as far as I know, not happen in your case.
> > >>
> > >>

[Bacula-users] density codes AIT-E

2005-07-13 Thread Andre Hennig
Hello List

what's the right density code for ait-e Tapes to write 53 GB of data on
the Tape. currently its 0x38 and 20 GB of Data can be writen on the Tape.


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multitape and automatic labeling

2005-07-13 Thread Arno Lehmann

Hello,

Paul Waldo wrote:


Hi all,

The multitape saga continues :-).  I have the mutitape device set up (2 
drives).

...
It appears that when I started the backup, bacula realized that it needed a 
tape, there was a blank available and so bacula created a catalog entry, but 
did not label the blank:


12-Jul 17:07 localhost-dir: Start Backup JobId 146, 
Job=Office_Root_Without_Home.2005-07-12_16.38.23

12-Jul 17:07 localhost-dir: Created new Volume "DLTVol0019" in catalog.
12-Jul 17:07 localhost-dir: Recycled volume "DLTVol0019"
12-Jul 17:07 localhost-sd: Office_Root_Without_Home.2005-07-12_16.38.23 
Warning: Requested Volume "DLTVol0019" on /dev/tape is not a Bacula labeled 
Volume, because: ERR=block.c:793 Read zero bytes at 0:0 on device /dev/tape.
12-Jul 17:07 localhost-sd: Please mount Volume "DLTVol0019" on Storage Device 
"multitape" for Job Office_Root_Without_Home.2005-07-12_16.38.23



I'm so close!  How can I have bacula label the tape and write the backup to 
it?  Any help is appreciated!


Is the tape already labeled by bacula?
If not, I assume you have some remains of earlier tests in the catalog...
Anyway, in the console you use the label command to label a tape, and if 
the tape is already in the catalog but has been erased, you can use 
btape and write a new label with the same name onto it.


Arno



Paul


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


[Bacula-users] performance problem on windows

2005-07-13 Thread Carsten Schurig

Hi,

I installed bacula 1.36.3 to backup two Linux server and one Windows 2K
server. It seems to work, almost: the backup from the windows machine
ist very slow.

The backup of the Linux servers runs with about 800 kBytes/s (DDS-3
tapes), but the Windows server just returns about 100 kB/s, which is
much too slow to backup 15 GB!

What I don't understand at all is, that I in some of the test runs I did
reach these 800 kB/s for the Windows machine as well and I can't
remember, what I changed.

Do you have any idea what I could look for? Are there some settings in
the fileset definitions, which reduce performance on a Windows machine
this tremendously?

Thanks,
Carsten



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] problem with new full backup

2005-07-13 Thread Kern Sibbald
Hello Bernard,

On Wednesday 13 July 2005 10:48, Bernhard Suttner wrote:
> On Wed, 13 Jul 2005 10:44:28 +0200
>
> Kern Sibbald <[EMAIL PROTECTED]> wrote:
> > Hello Bernhard,
> >
> > What version of Bacula are you using?
> >
> > Is there any chance that you had non-zero Slot numbers originally defined
> > for those volumes that were marked in error?
>
> Hello,
>
> I am using "bacula-1.36.3".
> No, all Slots were originally defined as zero-Slots.

OK, thanks. There is something going on here that I don't understand. Bacula 
should never crunch through your tapes marking them in error. It can do that 
for the tape that is currently mounted if there is a serious error.

Since I have not been following this in detail, and I would like to understand 
it, could you please file a bug report at bugs.bacula.org  ?  What is 
important for me is your bacula-dir.conf and bacula-sd.conf files and as much 
Bacula output that was generated as you still have that shows what was 
happening while Bacula was marking your Volumes in error.
Also, if you mounted the different tapes, please indicate which ones and when 
as that is not obvious from Bacula Job reports ...

Thanks,

Kern

>
>
>
>
> Bernhard
>
> > On Tuesday 12 July 2005 19:25, Arno Lehmann wrote:
> > > Hello,
> > >
> > > Bernhard Suttner wrote:
> > > > On Tue, 12 Jul 2005 11:35:46 +0200
> > > >
> > > > Arno Lehmann <[EMAIL PROTECTED]> wrote:
> > > >>Hi,
> > > >>
> > > >>Bernhard Suttner wrote:
> > > >>>No, I don´t use a autochanger.
> > > >>
> > > >>Have you configured a script to more or less automatically manage
> > > >> volume changes? Or anything in the configuration that I don't think
> > > >> about, perhaps...
> > > >
> > > > No, I think that if a volume (tape) is full it should ask for the
> > > > next volume in the pool and not mark all volumes of this pool as
> > > > Error.
> > >
> > > Absolutely right... I only tried to understand why it didn't ask but
> > > instead assumed that he volumes should be in the drive already.
> > >
> > > Anyway, your volumes listing looks rather normal.
> > >
> > > > *list volumes Pool=WeeklyPool
> > > > +-++---++--+-
> > > >
> > > > -+-+--+---+---+-+
> > > >
> > > > | MediaId | VolumeName | VolStatus | VolBytes   | VolFiles |
> > > > | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
> > > >
> > > > +-++---++--+-
> > > >
> > > > -+-+--+---+---+-+
> > > >
> > > > |   1 | FULL_01| Full  | 32,457,886,386 |   34 |
> > > > | 604,800 |   1 |0 | 0 | AIT   | 2005-07-11
> > > > | 04:29:25
> > > > |
> > > > | | 2 | FULL_02| Full  | 35,432,971,514 |   35 | 
> > > > | | 604,800 1 |0 | 0 | AIT   | 2005-07-11 12:50:42 |
> > > > | | 3 |
> > > > |
> > > > | FULL_03| Append| 17,663,874,444 |   20 |  604,800 |
> > > > |   1 |0 | 0 | AIT   | 2005-07-11 16:31:14 | 4 |
> > > > | FULL_04
> > > > |
> > > > |   | Error |200 |0 |  604,800 |   1
> > > > |   | |
> > > > |
> > > > | 0 | 0 | AIT   | 2005-07-11 12:52:15 | 5 | FULL_05|
> > > > | Error |200 |0 |  604,800 |   1 |   
> > > > | 0 | 0 | AIT   | 2005-07-11 12:52:32 |
> > > >
> > > > +-++---++--+-
> > > >
> > > > -+-+--+---+---+-+
> > > >
> > > >
> > > >
> > > > This is my the output of list volumes pool=WeeklyPool, actually.
> > >
> > > What I would do now is manually putting the "Error" volumes in a usable
> > > state again and the next time you expect a request for new media run
> > > the SD and the DIR with debug output.
> > > Capture that, and see what actually happens when bacula tries to change
> > > the volume.
> > >
> > > I only had tapes marked as Error when the tapes were actually broken or
> > > when the SD, DIR or catalog had crashed before and so the infamous (for
> > > me) "Nomber of Volumes Mismatch" Error came up...
> > >
> > > Arno
> > >
> > > >>Anyway, a list volumes pool=xxx command should give you a listing of
> > > >> the volumes you have, like
> > > >>
> > > >>>#list volumes pool=Incr
> > > >>>+-+--+---+---+--+---
> > > >>>
> > > >>> ---+-+--+---+---+--
> > > >>>---+
> > > >>>
> > > >>>| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles |
> > > >>>| VolRetention | Recycle | Slot | InChanger | MediaType |
> > > >>>| LastWritten
> > > >>>
> > > >>>+-+--+---+---+--+---
> > > >>>
> > > >>> ---+-+--+---+---+--
> > > >>>---+
> > > >>>
> > >

Re: [Bacula-users] density codes AIT-E

2005-07-13 Thread Arno Lehmann

Hello,

Andre Hennig wrote:


Hello List

what's the right density code for ait-e Tapes to write 53 GB of data on
the Tape. currently its 0x38 and 20 GB of Data can be writen on the Tape.


Without looking AIT specs up - I guess that 20GB is the native capacity 
of your cartridges, and the famous 53GB are what you get when you follow 
Sony's unrealistic compression ratio assumtions...


Try turning on compression, for example using mt.

Usually, you don't need to worry about the density codes at all.

Arno




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] rsync or another kind of delta compression

2005-07-13 Thread Martin Simmons
> On Mon, 11 Jul 2005 20:35:46 +0200, Kern Sibbald <[EMAIL PROTECTED]> said:

  Kern> On Monday 11 July 2005 18:50, Phil Stracchino wrote:
  >> On Mon, Jul 11, 2005 at 11:44:36AM +0200, Ren? Brask S?rensen wrote:
  >> > Hi All
  >> >
  >> > Don't know if this is the right list to ask.
  >> >
  >> > I have been looking through the bacula documentation but couldn't find
  >> > anything about delta compression. Do backula support any kind of delta
  >> > compression ? or are there any plans for implementing it i future
  >> > releases ? I'm asking because it frustrates me that I every night
  >> > transfer one file that's over 1Gb. If I had a tool which supports delta
  >> > compression I could greatly reduce the amount of data transfered.
  >> 
  >> This is something that has been discussed in the past, but no-one has
  >> yet worked on an implementation to my knowledge.

  Kern> I haven't read about how rsync and zsync work, but I suspect that it is 
called 
  Kern> delta comparison rather than delta compression since the incremental 
backup 
  Kern> of only what changed is based on a rolling file signature or checksum 
rather 
  Kern> than a compression technique.  In fact, compressing the files can 
create 
  Kern> important problems for these techniques.

  Kern> I don't see how the same technique can be used with Bacula or any other 
  Kern> program that does not store the files in a directory tree on disk.  
These 
  Kern> techniques seem to require having the previously backed up file 
available for 
  Kern> comparison during subsequent backups.  If someone has an idea how to 
  Kern> implement this without having backed up files online, please let me 
know.

Maybe storing the checksums of the original file blocks would suffice?  That
is still a significant amount of data, but less than the file itself.

__Martin


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] density codes AIT-E

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 11:40, Arno Lehmann wrote:
> Hello,
>
> Andre Hennig wrote:
> > Hello List
> >
> > what's the right density code for ait-e Tapes to write 53 GB of data on
> > the Tape. currently its 0x38 and 20 GB of Data can be writen on the Tape.
>
> Without looking AIT specs up - I guess that 20GB is the native capacity
> of your cartridges, and the famous 53GB are what you get when you follow
> Sony's unrealistic compression ratio assumtions...
>
> Try turning on compression, for example using mt.
>
> Usually, you don't need to worry about the density codes at all.

I've added a new table to the "supported tape drives" section of the 
development manual that presents a number of tape drive/media specifications.


>
> Arno
>
> > ---
> > This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> > happening July 14 at 8am PDT/11am EDT. We invite you to explore the
> > latest in dual core and dual graphics technology at this free one hour
> > event hosted by HP, AMD, and NVIDIA.  To register visit
> > http://www.hp.com/go/dualwebinar
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] rsync or another kind of delta compression

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 11:44, Martin Simmons wrote:
> > On Mon, 11 Jul 2005 20:35:46 +0200, Kern Sibbald <[EMAIL PROTECTED]>
> > said:
>
>   Kern> On Monday 11 July 2005 18:50, Phil Stracchino wrote:
>   >> On Mon, Jul 11, 2005 at 11:44:36AM +0200, Ren? Brask S?rensen wrote:
>   >> > Hi All
>   >> >
>   >> > Don't know if this is the right list to ask.
>   >> >
>   >> > I have been looking through the bacula documentation but couldn't
>   >> > find anything about delta compression. Do backula support any kind
>   >> > of delta compression ? or are there any plans for implementing it i
>   >> > future releases ? I'm asking because it frustrates me that I every
>   >> > night transfer one file that's over 1Gb. If I had a tool which
>   >> > supports delta compression I could greatly reduce the amount of data
>   >> > transfered.
>   >>
>   >> This is something that has been discussed in the past, but no-one has
>   >> yet worked on an implementation to my knowledge.
>
>   Kern> I haven't read about how rsync and zsync work, but I suspect that
> it is called Kern> delta comparison rather than delta compression since the
> incremental backup Kern> of only what changed is based on a rolling file
> signature or checksum rather Kern> than a compression technique.  In fact,
> compressing the files can create Kern> important problems for these
> techniques.
>
>   Kern> I don't see how the same technique can be used with Bacula or any
> other Kern> program that does not store the files in a directory tree on
> disk.  These Kern> techniques seem to require having the previously backed
> up file available for Kern> comparison during subsequent backups.  If
> someone has an idea how to Kern> implement this without having backed up
> files online, please let me know.
>
> Maybe storing the checksums of the original file blocks would suffice? 
> That is still a significant amount of data, but less than the file itself.

This is already done providing you enable either MD5 or SHA1 signatures. This 
will be used in the Base implementation.

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multitape and automatic labeling

2005-07-13 Thread Paul Waldo
Hi Arno,

No the tape was not labeled--it was blank as can be.  Nor was that volume 
label in the catalog.  I was under the impression from the docs that 
automatic labeling would allow me to just feed blank tapes into the drives 
and bacula would properly detect, label, and use the tapes whenever it needed 
to write data.  Do I need to pre-label all of the blank tapes I have?  
Thanks.

Paul

On Wednesday 13 July 2005 05:09 am, Arno Lehmann wrote:
> Is the tape already labeled by bacula?
> If not, I assume you have some remains of earlier tests in the catalog...
> Anyway, in the console you use the label command to label a tape, and if
> the tape is already in the catalog but has been erased, you can use
> btape and write a new label with the same name onto it.
>
> Arno


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Lost connection to MySQL server during query

2005-07-13 Thread Jonas Björklund

Hello,

It seems that I loose connection to the database (localhost).
I only have this problem on the first job, next job runs without problem.
Any ideas?

13-Jul 13:05 -dir: client.2005-07-13_13.05.00 Fatal
error: sql_create.c:91 sql_create.c:91 insert INSERT INTO Job
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES
('client.2005-07-13_13.05.00','client','B','I','C','
2005-07-13 13:05:00',1121252700) failed:
Lost connection to MySQL server during query
13-Jul 13:05 -dir: sql_create.c:91 INSERT INTO Job
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES
('client.2005-07-13_13.05.00','client','B','I','C','
2005-07-13 13:05:00',1121252700)
13-Jul 13:05 -dir: client.2005-07-13_13.05.00 Fatal
error: sql_create.c:93 Create DB Job record INSERT INTO Job
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES
('client.2005-07-13_13.05.00','client','B','I','C','
2005-07-13 13:05:00',1121252700) failed. ERR=Lost connection to MySQL 
server during query



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] performance problem on windows

2005-07-13 Thread Jonas Björklund
Hello,

On Wed, 13 Jul 2005, Carsten Schurig wrote:

 > The backup of the Linux servers runs with about 800 kBytes/s (DDS-3
 > tapes), but the Windows server just returns about 100 kB/s, which is
 > much too slow to backup 15 GB!

Have you tried spooling?

http://www.bacula.org/rel-manual/Data_Spooling.html


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] performance problem on windows

2005-07-13 Thread Dominic Marks
On Wednesday 13 July 2005 12:14, Jonas Björklund wrote:
> Hello,
>
> On Wed, 13 Jul 2005, Carsten Schurig wrote:
>  > The backup of the Linux servers runs with about 800 kBytes/s
>  > (DDS-3 tapes), but the Windows server just returns about 100 kB/s,
>  > which is much too slow to backup 15 GB!
>
> Have you tried spooling?
>
> http://www.bacula.org/rel-manual/Data_Spooling.html
>

The problem is that the client system is not sending data fast
enough, so I don't see how spooling will help. I also have this
problem, some Windows machines can manange ~1MB/s. One laptop
in particular running WindowsXP can do no better than 50KB/s when 
backing up. Which is obviously no good to anyone.

How can we debug the performance problems of the Windows FD?

> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the
> latest in dual core and dual graphics technology at this free one
> hour event hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Cheers,
-- 
Dominic Marks


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: performance problem on windows

2005-07-13 Thread Carsten Schurig

Jonas Björklund schrieb:


Have you tried spooling?


Doesn't change anything. And then I wouldn't expect, that

a) the performance of a linux client is 8x better,
b) I got a similar performance from the windows machine before.

I did even test portable mode, but that doesn't change anything either. 
And I just have no idea what to look for: CPU usage of both the windows 
machine and the backup server is low and memory usage reasonable. At 
least not different to the time, when I got the good performance on the 
windows machine...


The sqlite database is just about 65 MB currently, so I don't think 
there's a problem.




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


[Bacula-users] Re: performance problem on windows

2005-07-13 Thread Carsten Schurig

Dominic Marks schrieb:


The problem is that the client system is not sending data fast
enough, so I don't see how spooling will help. I also have this

> problem, some Windows machines can manange ~1MB/s. One laptop
in particular running WindowsXP can do no better than 50KB/s when 


And I don't find any bottleneck on the machine. Just services running, 
that ran before. Copying files isn't as slow as well, so I don't think 
it's the filesystem access...


Is there any chance, that's there a difference using 1.37.22?

Cheers,
 Carsten



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


[Bacula-users] Re: [Bacula-devel] Bacula RPM conflicts with sqlite (which is needed by rpm-4.4)

2005-07-13 Thread D. Scott Barninger
On Mon, 2005-07-11 at 16:34 +0200, Kern Sibbald wrote:
> On Monday 11 July 2005 16:25, Alexander Bergolth wrote:
> > Hi!
> >
> > The current bacula-sqlite RPM has a conflicts-tag for sqlite:
> >
> > $ rpm -q --conflicts -p bacula-sqlite-1.36.3-1.fc3.i386.rpm
> > bacula-client
> > sqlite
> > sqlite-tools
> >
> > However, the current rpm package from Axel Thimm's ATrpms
> > (http://atrpms.net/dist/fc3/rpm-4.4.x/) requires sqlite which is
> > packaged as a seperate RPM (http://atrpms.net/dist/fc3/sqlite/).
> >
> >  > rpm -q rpm
> >
> > rpm-4.4.1-21_45.rhfc3.at
> >
> >  > rpm -q --requires rpm | fgrep sqlite
> >
> > libsqlite3.so.0
> >
> >  > rpm -q sqlite
> >
> > sqlite-3.1.2-2.99_1.rhfc3.at
> >
> >  > rpm -ql sqlite
> >
> > /usr/bin/sqlite3
> > /usr/lib/libsqlite3.so.0
> > /usr/lib/libsqlite3.so.0.8.6
> > /usr/share/doc/sqlite-3.1.2
> > /usr/share/doc/sqlite-3.1.2/README
> > /usr/share/man/man1/sqlite3.1.gz
> >
> > Can the bacula-rpm be rebuilt to either use the existing sqlite-RPM or
> > use it's own sqlite that doesn't conflict with the sqlite-package? (The
> > current version's filenames shouldn't conflict anyway however the
> > Conflicts-tag prevents from installing both packages.
> 
> Bacula 1.36.x does not work with SQLite 3.x.   Bacula 1.37.x does work with 
> it, but I recommend against it because SQLite 3.x in my tests seems to be 4 
> to 10 times slower than SQLite 2.8.x
> 
> SQLite 2.x and 3.x are designed to be installed on your system at the same 
> time without conflicts -- providing it is done correctly of course.
> 

It is my intention for the next release to package the sqlite as a
private library and remove the package conflict.



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Still confuse of connecting the storage daemon

2005-07-13 Thread liujh




I"ve a problem with a windows client.the "becky" client is a 
romote file storage,The following shows that problem. 
 
[EMAIL PROTECTED] bin]# ./bacula startStarting the Bacula Storage 
daemonStarting the Bacula File daemonStarting the Bacula Director 
daemon[EMAIL PROTECTED] bin]# ./bconsoleConnecting to Director 
backup:91011000 OK: backup-dir Version: 1.36.3 (22 April 2005)Enter a 
period to cancel a command.*runUsing default Catalog name=MyCatalog 
DB=baculaA job name must be specified.The defined Job resources 
are: 1: Client1 2: 
becky 3: BackupCatalog 
4: RestoreFiles 5: becky_RestoreFilesSelect Job 
resource (1-5): 2Run Backup jobJobName:  beckyFileSet:  
beckyLevel:    IncrementalClient:   
becky-fdStorage:  FilePool: 
DefaultWhen: 2005-07-12 15:44:40Priority: 
10OK to run? (yes/mod/no): yesJob started. JobId=18*You have 
messages.*messages12-Jul 15:44 backup-dir: No prior Full backup Job 
record found.12-Jul 15:44 backup-dir: No prior or suitable Full backup 
found. Doing FULL backup.12-Jul 15:44 backup-dir: Start Backup JobId 18, 
Job=becky.2005-07-12_15.44.4112-Jul 15:44 becky-fd: 
becky.2005-07-12_15.44.41 Fatal error: Failed to connect to Storage daemon: 
backup:910312-Jul 15:44 becky-fd: becky.2005-07-12_15.44.41 Error: 
..\lib\../../lib/bnet.c:685 gethostbyname() for host "backup" failed: 
ERR=Authoritative answer for host not found.12-Jul 15:44 backup-dir: 
becky.2005-07-12_15.44.41 Fatal error: Socket error from Filed on Storage 
command: ERR=No data available12-Jul 15:44 backup-dir: 
becky.2005-07-12_15.44.41 Error: Bacula 1.36.3 (22Apr05): 12-Jul-2005 
15:44:48  
JobId:  
18  
Job:    
becky.2005-07-12_15.44.41  Backup 
Level:   Full 
(upgraded from Incremental)  
Client: 
becky-fd  
FileSet:    
"becky" 2005-07-12 10:16:19  
Pool:   
"Default"  
Storage:    
"File"  Start 
time: 
12-Jul-2005 15:44:43  End 
time:   
12-Jul-2005 15:44:48  FD Files 
Written:   0  SD Files 
Written:   0  FD Bytes 
Written:   0  SD Bytes 
Written:   0  
Rate:   
0.0 KB/s  Software Compression:   None  Volume 
name(s):  Volume Session Id:  1  
Volume Session Time:    1121154271  Last Volume 
Bytes:  0  Non-fatal FD 
errors:    0  SD 
Errors:  
0  FD termination status:  SD termination status:  
Waiting on FD  
Termination:    
*** Backup Error ***
 
12-Jul 15:44 backup-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal 
connect error to localhost: ERR=Connection refused12-Jul 15:44 backup-dir: 
becky.2005-07-12_15.44.41 Error: message.c:473 Mail program terminated in 
error.CMD=/usr/local/bacula/bin/bsmtp -h localhost -f "(Bacula) [EMAIL PROTECTED]" -s "Bacula: Backup Fatal Error 
of becky-fd Full" [EMAIL PROTECTED]ERR=Child exited with code 
1
 
the following is my bacula-dir.conf:
Director 
{    
# define myself  Name = backup-dir  DIRport = 
9101    
# where we listen for UA connections  QueryFile = 
"/usr/local/bacula/bin/query.sql"  WorkingDirectory = 
"/var/bacula"  PidDirectory = "/var/run"  Maximum Concurrent 
Jobs = 1  Password = 
"yrxkOVESHUh5FHf1sUgxgxFgmQPuFjtTO9e5TWo09mlz" 
# Console password  Messages = Daemon}JobDefs {  Name 
= "DefaultJob"  Type = Backup  Level = Incremental  
Client = backup-fd  FileSet = "Full Set"  Schedule = 
"WeeklyCycle"  Storage = File  Messages = Standard  
Pool = Default  Priority = 10} JobDefs {   
Name = "becky"   Type = Backup   Level = 
Incremental   Client = becky-fd   FileSet = 
"becky"   Schedule = "WeeklyCycle"   Storage = 
File   Messages = Standard   Pool = 
Default   Priority = 10 }Job {  Name = 
"Client1"  JobDefs = "DefaultJob"  Write Bootstrap = 
"/var/bacula/Client1.bsr"} Job {   Name = 
"becky"   JobDefs = "becky"   Write Bootstrap = 
"/var/bacula/becky.bsr" }Job {  Name = 
"BackupCatalog"  JobDefs = "DefaultJob"  Level = 
Full  FileSet="Catalog"  Schedule = 
"WeeklyCycleAfterBackup"  # This creates an ASCII copy of the 
catalog  RunBeforeJob = "/usr/local/bacula/bin/make_catalog_backup 
bacula bacula"  # This deletes the copy of the catalog  
RunAfterJob  = "/usr/local/bacula/bin/delete_catalog_backup"  
Write Bootstrap = "/var/bacula/BackupCatalog.bsr"  Priority = 
11   
# run after main backup}Job {  Name = "RestoreFiles"  
Type = Restore  Client=backup-fd  FileSet="Full Set"  
Storage = File  Pool = Default  Messages = Standard  
Where = /tmp/backup1/bacula-restores}Job {  Name = 
"becky_RestoreFiles"  Type = Restore  Client= 
becky-fd  FileSet="becky"  Storage = File  Pool = 
Default  Messages = Standard  Where = 
/tmp/backup1/bacula-restores}FileSet {  Name = "Full 
Set"  Include {    Options 
{  signature = MD5    
}    File =/home/liujh}} FileSet 
{   Na

[Bacula-users] performance problem on windows

2005-07-13 Thread Carsten Schurig

Hi,

I installed bacula 1.36.3 to backup two Linux server and one Windows 2K 
server. It seems to work, almost: the backup from the windows machine 
ist very slow.


The backup of the Linux servers runs with about 800 kBytes/s (DDS-3 
tapes), but the Windows server just returns about 100 kB/s, which is 
much too slow to backup 15 GB!


What I don't understand at all is, that I in some of the test runs I did 
reach these 800 kB/s for the Windows machine as well and I can't 
remember, what I changed.


Do you have any idea what I could look for? Are there some settings in 
the fileset definitions, which reduce performance on a Windows machine 
this tremendously?


Thanks,
Carsten



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


[Bacula-users] How to generate passwords fo authentication

2005-07-13 Thread Lucas Stam

Hello Bacula Team,

I just started adding some clients in my config who needs to be backed up.

But now im busy with the passwords and im wondering in what format the 
passwords are generated. In the documentation they mentioned it was a 
MD5 hash but it's to short for MD5 in my oppinion.


I had generated a MD5 hash and added it in the configs both client and 
server-side, but if i try to connect through the Wx console to the 
client I get: 'Failed to connect to client'


Is it possible to insert "plain-text" passwords? Or can you tell me 
where to find a proper generator that allows me to generate a 42 digit hash?


Im looking forward hearing from you.

Regards,

Lucas Stam

The Netherlands



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] multitape and automatic labeling

2005-07-13 Thread Alan Brown

On Wed, 13 Jul 2005, Paul Waldo wrote:


Hi Arno,

No the tape was not labeled--it was blank as can be.


I am seeing this behaviour with truely blank LTOs too.

Try writing 2 EOFs to the start of the tapes and try it again.


Nor was that volume
label in the catalog.  I was under the impression from the docs that
automatic labeling would allow me to just feed blank tapes into the drives
and bacula would properly detect, label, and use the tapes whenever it needed
to write data.  Do I need to pre-label all of the blank tapes I have?
Thanks.


No, but bacula needs to detect the tapes are blank, rather than empty/erased.

This is an area which clearly needs some work... :-)



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


[Bacula-users] 2 questions about Autochangers

2005-07-13 Thread Beren Gamble
Hi,

I've set bacula up to work with our autochanger.

my 2 questions are:

If I have two labeled tapes in the library, then bacula uses one to
full capacity. Will bacula automatically continue the job on the next
tape?

Also, when bacula has finished all jobs, will it place the tape back in
to the library slot.

I'm just trying to make it as easy as possible for our operations guy
(tape shuffler)

Cheers,

Beren


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



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to generate passwords fo authentication

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 12:10, Lucas Stam wrote:
> Hello Bacula Team,
>
> I just started adding some clients in my config who needs to be backed up.
>
> But now im busy with the passwords and im wondering in what format the
> passwords are generated. In the documentation they mentioned it was a
> MD5 hash but it's to short for MD5 in my oppinion.
>
> I had generated a MD5 hash and added it in the configs both client and
> server-side, but if i try to connect through the Wx console to the
> client I get: 'Failed to connect to client'
>
> Is it possible to insert "plain-text" passwords? Or can you tell me
> where to find a proper generator that allows me to generate a 42 digit
> hash?
>
> Im looking forward hearing from you.


openssl rand -base64 33

If you don't have openssl a less secure substitute is:

cd 
autoconf/randpass 37


>
> Regards,
>
> Lucas Stam
>
> The Netherlands
>
>
>
> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
> in dual core and dual graphics technology at this free one hour event
> hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multitape and automatic labeling

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 13:25, Alan Brown wrote:
> On Wed, 13 Jul 2005, Paul Waldo wrote:
> > Hi Arno,
> >
> > No the tape was not labeled--it was blank as can be.
>
> I am seeing this behaviour with truely blank LTOs too.
>
> Try writing 2 EOFs to the start of the tapes and try it again.
>
> > Nor was that volume
> > label in the catalog.  I was under the impression from the docs that
> > automatic labeling would allow me to just feed blank tapes into the
> > drives and bacula would properly detect, label, and use the tapes
> > whenever it needed to write data.  Do I need to pre-label all of the
> > blank tapes I have? Thanks.
>
> No, but bacula needs to detect the tapes are blank, rather than
> empty/erased.

Huh.  What is the difference?

>
> This is an area which clearly needs some work... :-)

Please be a bit more specific.

>
>
>
> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
> in dual core and dual graphics technology at this free one hour event
> hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to generate passwords fo authentication

2005-07-13 Thread Dominic Marks
On Wednesday 13 July 2005 11:10, Lucas Stam wrote:
> Hello Bacula Team,
>
> I just started adding some clients in my config who needs to be
> backed up.
>
> But now im busy with the passwords and im wondering in what format
> the passwords are generated. In the documentation they mentioned it
> was a MD5 hash but it's to short for MD5 in my oppinion.
>
> I had generated a MD5 hash and added it in the configs both client
> and server-side, but if i try to connect through the Wx console to
> the client I get: 'Failed to connect to client'

I use apg to generate the password strings.

 http://www.adel.nursat.kz/apg/

> Is it possible to insert "plain-text" passwords? Or can you tell me
> where to find a proper generator that allows me to generate a 42
> digit hash?

I don't believe the passwords in Bacula's configurations are
hashed (at least not by me?). Certainly thats not how I setup my
systems.

# apg -x 42 -m 42 -n 1
UpsovShijalEupcavutHufs0GrafUbitsyonobUknu

> Im looking forward hearing from you.
>
> Regards,
>
> Lucas Stam
>
> The Netherlands
>
>
>
> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the
> latest in dual core and dual graphics technology at this free one
> hour event hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

HTH,
-- 
Dominic Marks


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 14:00, Carsten Schurig wrote:
> Dominic Marks schrieb:
> > The problem is that the client system is not sending data fast
> > enough, so I don't see how spooling will help. I also have this
> >
>  > problem, some Windows machines can manange ~1MB/s. One laptop
> >
> > in particular running WindowsXP can do no better than 50KB/s when
>
> And I don't find any bottleneck on the machine. Just services running,
> that ran before. Copying files isn't as slow as well, so I don't think
> it's the filesystem access...
>
> Is there any chance, that's there a difference using 1.37.22?

Unlikely, but I would be happy if someone tried.

Recently a user reported serious performance problems and stalled backups. The 
bottom line was a NVidia ethernet card with an old driver.  See the Win32 
chapter of the development manual for more details.

Bottom line: check that your hardware/firmware are up to date as well as the 
network drivers.  If you have an NVidia network card be suspicious.

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2005-07-13 Thread Dominic Marks
On Wednesday 13 July 2005 13:29, Kern Sibbald wrote:
> On Wednesday 13 July 2005 14:00, Carsten Schurig wrote:
> > Dominic Marks schrieb:
> > > The problem is that the client system is not sending data fast
> > > enough, so I don't see how spooling will help. I also have this
> > >
> >  > problem, some Windows machines can manange ~1MB/s. One laptop
> > >
> > > in particular running WindowsXP can do no better than 50KB/s when
> >
> > And I don't find any bottleneck on the machine. Just services
> > running, that ran before. Copying files isn't as slow as well, so I
> > don't think it's the filesystem access...
> >
> > Is there any chance, that's there a difference using 1.37.22?
>
> Unlikely, but I would be happy if someone tried.
>
> Recently a user reported serious performance problems and stalled
> backups. The bottom line was a NVidia ethernet card with an old
> driver.  See the Win32 chapter of the development manual for more
> details.
>
> Bottom line: check that your hardware/firmware are up to date as well
> as the network drivers.  If you have an NVidia network card be
> suspicious.

In my case the laptop is a Dell with an Intel Centrino chipset and
is connected via a 54Mbit wireless link. The AP is in the same room
as the laptop so connection strength is permanently excellent and
I can transfer at ~5MB/s from our Samba server in both directions
so I don't think that is it.

Anything else I can try to identify the problem?

Cheers,
-- 
Dominic Marks


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 1.37.25 and Volume Shadow Copy Service?

2005-07-13 Thread Kern Sibbald
On Tuesday 12 July 2005 17:39, Jonte Norman wrote:
> > > I am still a bit confused about how to get this to work though...
> > > Are VSS enabled in the Winbacula-1.37.22 version of the client, or do
> > > I have to build one from CVS? I have added "Enable VSS = Yes" in the
> > > FileSet resource in bacula-dir.conf but Bacula does not seem to use
> > > VSS...
> >
> > VSS is not yet enabled in the FD.  Please refer to my status report sent
> > last Friday (if I remember right).
>
> Ok! Thanks for the info...
> Are you planning to release any more betas of Winbacula (wich includes
> VSS) before the release of Bacula 1.38?

There will one more beta release of Bacula (winbacula too) without VSS.

I will explain why and propose a solution (that I hope will please everyone 
including Thorsten) in a email I hope to write tonight or tomorrow.


-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Web interface?

2005-07-13 Thread Kern Sibbald
On Tuesday 12 July 2005 15:23, Rushowr wrote:
> Kern,
> I did a quick perusal of the developer's document but found no answer as to
> how the console program connects to the director. I am attempting to figure
> out a way to basically make a clone for the console by way of php scripts.
> I'll continue to read, but if you have any quick notes or links that can
> point me in the right direction it would be most appreciated. The only area
> that I could find that might have contained the information is:
> http://www.bacula.org/developers/Impleme_Bacula_GUI_Interfa.html which does
> not contain useful information for my project.
> Mostly what I found in there is helpful if I was writing lower level code,
> but I'm looking more into just accessing it from a web interface for my
> admins. Again, I'll keep digging, maybe I haven't dug deep enough

I believe that Juan Francis sent you the specific document coordinates. 

Interfacing to the Director from php is a project that I plan to attack after 
the 1.38 release.  Depending on what you want to do and whether or not your 
project is Open Source, we may find some common grounds.  I know how to 
interface to the Director, and I can write either C or C++ routines that 
provide a sort of API.  What I don't know how to do (I can learn but the less 
I have to learn at this point, the better) is to connect php to C or C++ 
routines.

>
> Thanks again,
> Sherwood
>
> ->-Original Message-
> ->From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> ->Sent: Tuesday, July 12, 2005 8:57 AM
> ->To: Rushowr
> ->Cc: [EMAIL PROTECTED]
> ->Subject: Re: [Bacula-users] Web interface?
> ->
> ->On Tuesday 12 July 2005 13:54, Rushowr wrote:
> ->> Last question concerning this, what protocol does the bconsole
> ->> interface use to connect to the director? If possible I'd like to
> ->> being development of my own interface (I would release it under the
> ->> gpl on sourceforge). Does it use telnet over the director port?
> ->
> ->Please see the developer's document. There are links to it
> ->from www.bacula.org
>
>
>
>
> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
> in dual core and dual graphics technology at this free one hour event
> hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: performance problem on windows

2005-07-13 Thread Carsten Schurig

Kern Sibbald schrieb:

Recently a user reported serious performance problems and stalled backups. The 
bottom line was a NVidia ethernet card with an old driver.  See the Win32 
chapter of the development manual for more details.


I can almost definetly say, that this shouldn't be the problem in my 
case. I'm just copying some 5 GB data to a new Samba share on one of my 
Linux servers. The rate is between 2.5 MB/s and 7 MB/s.


Carsten



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


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

2005-07-13 Thread Kern Sibbald
Hello Volker,

There were one or two race conditions that I fixed in 1.36.3.  You might look 
at the release notes and see if they appy to you.  Beware 1.36.3 requires the 
new format FileSets (and hence a Full backup unless you explicitly disable 
it).

On Tuesday 12 July 2005 00:24, Volker Sauer wrote:
> Hello,
>
> after some weeks of proper operation, my new bacula site causes
> problems.
>
> Problem description:
> After setting up the site, job scheduling worked for about 2 weeks. Now,
> quite often, the director hangs after starting the scheduled jobs at
> night. Connecting via console is not possible anymore.
>
> The only solution so far was restarting the director and manually
> running the jobs. After a few days (maybe even the next night) the
> problem occurs again.
> Looking into the archives of this list, I found some similar problem
> descriptions but none of the suggest things lead to a solution (at least
> none reported).
>
> The amazing thing is, that I have a second site with very similar
> config but only another loader, that works fine for years now.
> Now, I found out, that it could have come from a hanging sd, too. See
> below why. Question is: why hangs the dir because the sd is hanging?
>
> I haven't been able to produce a trace-file. I'll set debuglevel=100 and
> trace=1 now and see if I can gather some information and post it to this
> list as soon as possbile.
> What I can provide (so far) is some other debugging output (see below).
>
> Does anyone have ideas or comments on this odd behaviour??
>
> Regards
> Volker
>
> Debugging-Session attached:
>
> 8<-
>--
>
> System: Debian Sarge Kernel 2.6.8-2-k7-smp
> Bacula: 1.36.2-2sarge1
> Storage: Overland 10x DLT with Quantum DLT40/80
> Database: mysql 4.0.24-10 (Size: 1.4G)
> dir, sd and mysql on the same machine. Approx. 15 Clients. DiskSpooling
> for all machines except bacula-host itself.
>
> -
> dakar: / 7# bconsole
> Connecting to Director dakar:9101
> Director authorization problem.
> Most likely the passwords do not agree.
> Please see
> http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.
> -
> (passwords are definitely okay).
>
>
> This is the conmesg-file so far:
> ---
> dakar: /var/lib/bacula 33# cat backup-dir.conmsg
>
> 11-Jul 21:00 backup-dir: Start Backup JobId
> 899,Job=paris-home.archived.2005-07-11_21.00.00 11-Jul 21:00 backup-dir:
> Start Backup JobId 900,Job=paris-netboot.2005-07-11_21.00.01 11-Jul 21:00
> backup-sd: 3301 Issuing autochanger "loaded drive 0" command. 11-Jul 21:00
> backup-sd: 3302 Autochanger "loaded drive 0", result is Slot 3. 11-Jul
> 21:00 backup-sd: Volume "DiffInc-03" previously written, moving to end of
> data. 11-Jul 21:00 backup-dir: Start Backup JobId 907,
> Job=bali-rootfs.2005-07-11_21.00.08 
> The bali-fd is up and seems to okay. The director seems to wait for
> something. Nothing else in this file
>
>
> There's nothing in the syslog (SCSI error etc.), either:
> 
> Jul 11 20:40:30 dakar -- MARK --
> Jul 11 21:00:30 dakar -- MARK --
> Jul 11 21:17:01 dakar /USR/SBIN/CRON[12590]: (root) CMD (   run-parts
> --report /etc/cron.hourly)
> Jul 11 21:40:30 dakar -- MARK --
> Jul 11 22:00:30 dakar -- MARK --
> Jul 11 22:17:01 dakar /USR/SBIN/CRON[12737]: (root) CMD (   run-parts
> --report /etc/cron.hourly)
> Jul 11 22:40:30 dakar -- MARK --
> Jul 11 23:00:30 dakar -- MARK --
> -
>
> Here's what strace -p says:
>
> on bacula-director-process:
>   dakar: ~ 2# strace -v -p 19051
>   Process 19051 attached - interrupt to quit
>   futex(0x80c5680, FUTEX_WAIT, 2, NULL
> (running bconsole doesn't produce any additional output). It seems to
> wait for something.
>
>
> on bacula-sd-process:
>   dakar: ~ 3# strace -v -p 19099
>   Process 19099 attached - interrupt to quit
>   select(5, [4], NULL, NULL, NULL 
>   Process 19099 detached
>
>
> on bacula-fd on bali-fd:
>   bali: ~ 4# strace -v -p 3301
>   Process 3301 attached - interrupt to quit
>   select(4, [3], NULL, NULL, NULL 
>   Process 3301 detached
>
>
> on bacula-fd on paris-fd:
>   paris: ~# strace -v -p 14280
>   Process 14280 attached - interrupt to quit
>   select(4, [3], NULL, NULL, NULL
>
> Something is quite strange about the bacula-fd on paris:
>
> PID   USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> 14280 root  16   0  263m 221m 2840 S  0.0 10.9   0:00.02 
> /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
>
> The bacula-fd is 263M in size!! Hell, why so much?? I don't know if
> this has something to do with the director.
>
> What I'll do right now is restart paris-fd and see what happens:
>
> Results:
> - bacula-fd on par

[Bacula-users] Re: performance problem on windows

2005-07-13 Thread Carsten Schurig

Kern Sibbald schrieb:


Unlikely, but I would be happy if someone tried.


Is the binary windows version available on SF (1.37.22) compatible to 
the current Linux version 1.37.25? The release notes say, that there's a 
new communication protocol so that all clients need to be updated to 
1.37.25...


Cheers,
Carsten



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


RE: [Bacula-users] Web interface?

2005-07-13 Thread Rushowr
The project will definitely be open source, and currently I have access to
ClarkConnect's php module and class. This will greatly increase my ability
to build the web interface. I'll keep the list posted as to how the project
is going. If you like the interface and find it useful, I'd be interested in
submitting it to the bacula project for inclusion.

Thanks,
Sherwood McGowan

->I believe that Juan Francis sent you the specific document 
->coordinates. 
->
->Interfacing to the Director from php is a project that I plan 
->to attack after the 1.38 release.  Depending on what you want 
->to do and whether or not your project is Open Source, we may 
->find some common grounds.  I know how to interface to the 
->Director, and I can write either C or C++ routines that 
->provide a sort of API.  What I don't know how to do (I can 
->learn but the less I have to learn at this point, the better) 
->is to connect php to C or C++ routines.
->




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with automatic labelling and Label Format

2005-07-13 Thread Morten A. Middelthon

Hi,

I'm having trouble getting bacula's automatic labelling working like I 
want it to. I have created three types of pools, inc, diff and full:


bacula-dir.conf:

Pool {
  Name = Full-Pool
  Pool Type = Backup
  Recycle = yes   # automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 6 months
  Accept Any Volume = yes # write on any volume in the pool
  Maximum Volume Jobs = 1
#  Label Format = "Full-${Client}-"
  Label Format = Full-
  Maximum Volumes = 6
}
Pool {
  Name = Inc-Pool
  Pool Type = Backup
  Recycle = yes   # automatically recycle Volumes
  AutoPrune = yes # Prune expired volumes
  Volume Retention = 20 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 6
#  Label Format = "Inc-${Client}-"
  Label Format = Inc-
  Maximum Volumes = 5
}
Pool {
  Name = Diff-Pool
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 40 days
  Accept Any Volume = yes
  Maximum Volume Jobs = 1
  Label Format = Diff-
#  Label Format = "Diff-${Client}-"
  Maximum Volumes = 6
}


As you can see from above I have commented out how I really wanted 
bacula to label the volumes. With the current config bacula will now 
automically label volumes "Full-0001", "Inc-0001" and so on. The problem 
is when I use variables like "Full-${Client}-" bacula does _not_ append 
the volume number, like "Full-someclient-fd-0001", only 
"Full-someclient-fd-". Is there perhaps a bug in the automatic labelling 
support when combined with variable expansions or am I doing something 
wrong?



--
Morten A. Middelthon
http://flipp.net/


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] density codes AIT-E

2005-07-13 Thread Attila Fülöp

Kern Sibbald wrote:


I've added a new table to the "supported tape drives" section of the 
development manual that presents a number of tape drive/media specifications.




Hi, this works for me:

OS:
FreeBSD 5.4-RELEASE-p1 amd64

Bacula:
1.36.3 from FreeBSD ports colection (with pgsql, sqlite was instable)

Tape Drive:
Certance CL400 LTO Ultrium 2 (formerly Seagate Viper)

from dmesg:
sa0:  Removable Sequential Access SCSI-3 device

Capacity: 200GB native; 400GB compressed (vendor);
  ~300GB real life compressed


-- Attila



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


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

2005-07-13 Thread Volker Sauer
Hi Kern,

I'll upgrade to 1.36.3 and see what happens. Maybe "Fix deadlock in
multiple simultaneous jobs." (from ReleaseNotes) could be the right one.
I already setup this site with 1.36.3 FileFormat because I knew it's
going to be required!

Regards
Volker

On Mi, 13 Jul 2005, Kern Sibbald wrote:

> Hello Volker,
> 
> There were one or two race conditions that I fixed in 1.36.3.  You might look 
> at the release notes and see if they appy to you.  Beware 1.36.3 requires the 
> new format FileSets (and hence a Full backup unless you explicitly disable 
> it).
> 
> On Tuesday 12 July 2005 00:24, Volker Sauer wrote:
> > Hello,
> >
> > after some weeks of proper operation, my new bacula site causes
> > problems.
> >
> > Problem description:
> > After setting up the site, job scheduling worked for about 2 weeks. Now,
> > quite often, the director hangs after starting the scheduled jobs at
> > night. Connecting via console is not possible anymore.
> >
> > The only solution so far was restarting the director and manually
> > running the jobs. After a few days (maybe even the next night) the
> > problem occurs again.
> > Looking into the archives of this list, I found some similar problem
> > descriptions but none of the suggest things lead to a solution (at least
> > none reported).
> >
> > The amazing thing is, that I have a second site with very similar
> > config but only another loader, that works fine for years now.
> > Now, I found out, that it could have come from a hanging sd, too. See
> > below why. Question is: why hangs the dir because the sd is hanging?
> >
> > I haven't been able to produce a trace-file. I'll set debuglevel=100 and
> > trace=1 now and see if I can gather some information and post it to this
> > list as soon as possbile.
> > What I can provide (so far) is some other debugging output (see below).
> >
> > Does anyone have ideas or comments on this odd behaviour??
> >
> > Regards
> > Volker
> >
> > Debugging-Session attached:
> >
> > 8<-
> >--
> >
> > System: Debian Sarge Kernel 2.6.8-2-k7-smp
> > Bacula: 1.36.2-2sarge1
> > Storage: Overland 10x DLT with Quantum DLT40/80
> > Database: mysql 4.0.24-10 (Size: 1.4G)
> > dir, sd and mysql on the same machine. Approx. 15 Clients. DiskSpooling
> > for all machines except bacula-host itself.
> >
> > -
> > dakar: / 7# bconsole
> > Connecting to Director dakar:9101
> > Director authorization problem.
> > Most likely the passwords do not agree.
> > Please see
> > http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for help.
> > -
> > (passwords are definitely okay).
> >
> >
> > This is the conmesg-file so far:
> > ---
> > dakar: /var/lib/bacula 33# cat backup-dir.conmsg
> >
> > 11-Jul 21:00 backup-dir: Start Backup JobId
> > 899,Job=paris-home.archived.2005-07-11_21.00.00 11-Jul 21:00 backup-dir:
> > Start Backup JobId 900,Job=paris-netboot.2005-07-11_21.00.01 11-Jul 21:00
> > backup-sd: 3301 Issuing autochanger "loaded drive 0" command. 11-Jul 21:00
> > backup-sd: 3302 Autochanger "loaded drive 0", result is Slot 3. 11-Jul
> > 21:00 backup-sd: Volume "DiffInc-03" previously written, moving to end of
> > data. 11-Jul 21:00 backup-dir: Start Backup JobId 907,
> > Job=bali-rootfs.2005-07-11_21.00.08 
> > The bali-fd is up and seems to okay. The director seems to wait for
> > something. Nothing else in this file
> >
> >
> > There's nothing in the syslog (SCSI error etc.), either:
> > 
> > Jul 11 20:40:30 dakar -- MARK --
> > Jul 11 21:00:30 dakar -- MARK --
> > Jul 11 21:17:01 dakar /USR/SBIN/CRON[12590]: (root) CMD (   run-parts
> > --report /etc/cron.hourly)
> > Jul 11 21:40:30 dakar -- MARK --
> > Jul 11 22:00:30 dakar -- MARK --
> > Jul 11 22:17:01 dakar /USR/SBIN/CRON[12737]: (root) CMD (   run-parts
> > --report /etc/cron.hourly)
> > Jul 11 22:40:30 dakar -- MARK --
> > Jul 11 23:00:30 dakar -- MARK --
> > -
> >
> > Here's what strace -p says:
> >
> > on bacula-director-process:
> > dakar: ~ 2# strace -v -p 19051
> > Process 19051 attached - interrupt to quit
> > futex(0x80c5680, FUTEX_WAIT, 2, NULL
> > (running bconsole doesn't produce any additional output). It seems to
> > wait for something.
> >
> >
> > on bacula-sd-process:
> > dakar: ~ 3# strace -v -p 19099
> > Process 19099 attached - interrupt to quit
> > select(5, [4], NULL, NULL, NULL 
> > Process 19099 detached
> >
> >
> > on bacula-fd on bali-fd:
> > bali: ~ 4# strace -v -p 3301
> > Process 3301 attached - interrupt to quit
> > select(4, [3], NULL, NULL, NULL 
> > Process 3301 detached
> >
> >
> > on bacula-fd on paris-fd:
> > paris: ~# strace -v -p 14280
> > Process 14280 attached - interrupt to q

Re: [Bacula-users] Web interface?

2005-07-13 Thread Juan Luis Frances
Hello Kern,

I have a "experiment" (php class) where I am attempting to connect to the 
director. I am able to send and receive packets (without the need of external 
php modules), but I am blocked with the cram_md5 authentication. 

Best regards,
Juan Luis Francés

El Miércoles 13 Julio 2005 14:48, Kern Sibbald escribió:
> On Tuesday 12 July 2005 15:23, Rushowr wrote:
> > Kern,
> > I did a quick perusal of the developer's document but found no answer as
> > to how the console program connects to the director. I am attempting to
> > figure out a way to basically make a clone for the console by way of php
> > scripts. I'll continue to read, but if you have any quick notes or links
> > that can point me in the right direction it would be most appreciated.
> > The only area that I could find that might have contained the information
> > is:
> > http://www.bacula.org/developers/Impleme_Bacula_GUI_Interfa.html which
> > does not contain useful information for my project.
> > Mostly what I found in there is helpful if I was writing lower level
> > code, but I'm looking more into just accessing it from a web interface
> > for my admins. Again, I'll keep digging, maybe I haven't dug deep enough
>
> I believe that Juan Francis sent you the specific document coordinates.
>
> Interfacing to the Director from php is a project that I plan to attack
> after the 1.38 release.  Depending on what you want to do and whether or
> not your project is Open Source, we may find some common grounds.  I know
> how to interface to the Director, and I can write either C or C++ routines
> that provide a sort of API.  What I don't know how to do (I can learn but
> the less I have to learn at this point, the better) is to connect php to C
> or C++ routines.
>
> > Thanks again,
> > Sherwood
> >
> > ->-Original Message-
> > ->From: Kern Sibbald [mailto:[EMAIL PROTECTED]
> > ->Sent: Tuesday, July 12, 2005 8:57 AM
> > ->To: Rushowr
> > ->Cc: [EMAIL PROTECTED]
> > ->Subject: Re: [Bacula-users] Web interface?
> > ->
> > ->On Tuesday 12 July 2005 13:54, Rushowr wrote:
> > ->> Last question concerning this, what protocol does the bconsole
> > ->> interface use to connect to the director? If possible I'd like to
> > ->> being development of my own interface (I would release it under the
> > ->> gpl on sourceforge). Does it use telnet over the director port?
> > ->
> > ->Please see the developer's document. There are links to it
> > ->from www.bacula.org
> >
> >
> >
> >
> > ---
> > This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> > happening July 14 at 8am PDT/11am EDT. We invite you to explore the
> > latest in dual core and dual graphics technology at this free one hour
> > event hosted by HP, AMD, and NVIDIA.  To register visit
> > http://www.hp.com/go/dualwebinar
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


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

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 14:58, Carsten Schurig wrote:
> Kern Sibbald schrieb:
> > Unlikely, but I would be happy if someone tried.
>
> Is the binary windows version available on SF (1.37.22) compatible to
> the current Linux version 1.37.25? The release notes say, that there's a
> new communication protocol so that all clients need to be updated to
> 1.37.25...

I'll be making a new beta release in a day or two.

>
> Cheers,
>   Carsten
>
>
>
> ---
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar
> happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
> in dual core and dual graphics technology at this free one hour event
> hosted by HP, AMD, and NVIDIA.  To register visit
> http://www.hp.com/go/dualwebinar
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No Volume name given.

2005-07-13 Thread Mario Ohnewald
Hello List,

i am trying to test my backup volume like the tutorial recommends:

btape -c /etc/bacula/bacula-sd.conf /dev/hdc
Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "/dev/hdc" for writing.
13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No
Volume name given.



Here my config:

grep -v "^#" bacula-sd.conf

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

Director {
  Name = SpiekLap-dir
  Password = "yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw"
}

Director {
  Name = SpiekLap-mon
  Password = "Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+"
  Monitor = yes
}






Device {
  Name = "DVD-WRITER"
  Media Type = DVD
  Archive Device = /dev/hdc
  LabelMedia = no;   # i have already tried YES here, too
  Random Access = Yes;
  AutomaticMount = yes;  # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
  MaximumPartSize = 800M;
  RequiresMount = yes;
  MountPoint = /cdrom;
  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
  UnmountCommand = "/bin/umount %m";
  SpoolDirectory = /tmp/backup;
  WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v"
  FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
}



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



Does anyone know how to solve this? The btape has no volume option.


Thanks, Mario



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No Volume name given.

2005-07-13 Thread Frederic PIERROT

Hi,

At 16:06 13/07/2005, you wrote:

i am trying to test my backup volume like the tutorial recommends:

btape -c /etc/bacula/bacula-sd.conf /dev/hdc
Tape block granularity is 1024 bytes.
btape: butil.c:258 Using device: "/dev/hdc" for writing.
13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No
Volume name given.



Here my config:

grep -v "^#" bacula-sd.conf

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

Director {
  Name = SpiekLap-dir
  Password = "yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw"
}

Director {
  Name = SpiekLap-mon
  Password = "Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+"
  Monitor = yes
}


Device {
  Name = "DVD-WRITER"
  Media Type = DVD
  Archive Device = /dev/hdc
  LabelMedia = no;   # i have already tried YES here, too
  Random Access = Yes;
  AutomaticMount = yes;  # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = no;
  MaximumPartSize = 800M;
  RequiresMount = yes;
  MountPoint = /cdrom;
  MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
  UnmountCommand = "/bin/umount %m";
  SpoolDirectory = /tmp/backup;
  WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v"
  FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
}



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



Does anyone know how to solve this? The btape has no volume option.


"This program permits a number of elementary tape operations via a tty 
command interface "


I don't think you need this with a dvd-writer. 




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] rsync or another kind of delta compression

2005-07-13 Thread Martin Simmons
> On Wed, 13 Jul 2005 12:32:19 +0200, Kern Sibbald <[EMAIL PROTECTED]> said:

  Kern> On Wednesday 13 July 2005 11:44, Martin Simmons wrote:
  >> > On Mon, 11 Jul 2005 20:35:46 +0200, Kern Sibbald <[EMAIL PROTECTED]>
  >> > said:
  >> 
  Kern> On Monday 11 July 2005 18:50, Phil Stracchino wrote:
  >> >> On Mon, Jul 11, 2005 at 11:44:36AM +0200, Ren? Brask S?rensen wrote:
  >> >> > Hi All
  >> >> >
  >> >> > Don't know if this is the right list to ask.
  >> >> >
  >> >> > I have been looking through the bacula documentation but couldn't
  >> >> > find anything about delta compression. Do backula support any kind
  >> >> > of delta compression ? or are there any plans for implementing it i
  >> >> > future releases ? I'm asking because it frustrates me that I every
  >> >> > night transfer one file that's over 1Gb. If I had a tool which
  >> >> > supports delta compression I could greatly reduce the amount of data
  >> >> > transfered.
  >> >>
  >> >> This is something that has been discussed in the past, but no-one has
  >> >> yet worked on an implementation to my knowledge.
  >> 
  Kern> I haven't read about how rsync and zsync work, but I suspect that
  >> it is called Kern> delta comparison rather than delta compression since the
  >> incremental backup Kern> of only what changed is based on a rolling file
  >> signature or checksum rather Kern> than a compression technique.  In fact,
  >> compressing the files can create Kern> important problems for these
  >> techniques.
  >> 
  Kern> I don't see how the same technique can be used with Bacula or any
  >> other Kern> program that does not store the files in a directory tree on
  >> disk.  These Kern> techniques seem to require having the previously backed
  >> up file available for Kern> comparison during subsequent backups.  If
  >> someone has an idea how to Kern> implement this without having backed up
  >> files online, please let me know.
  >> 
  >> Maybe storing the checksums of the original file blocks would suffice? 
  >> That is still a significant amount of data, but less than the file itself.

  Kern> This is already done providing you enable either MD5 or SHA1 
signatures. This 
  Kern> will be used in the Base implementation.

OK, but the client or director would have to keep *per block* checksums
available online so the next differential backup can compare them.

__Martin


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Drive not available

2005-07-13 Thread Richard White
  
>>> Kern Sibbald <[EMAIL PROTECTED]> wrote on 7/13/2005 1:47 AM:
> Probably /dev/nst1 does not exist or has no tape mounted.

After I posted my message, I changed /dev/nst1 to /dev/st1. It worked, so I 
changed the others as well.

Tks n rgds,
Richard White CNE6
Network Engineer
Mason County, Washington
360-427-5501
[EMAIL PROTECTED]



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: disaster recovery & windows

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 16:40, Romain Charlon wrote:
> Hello Kern,
>
> Excuse me for boring you once again, but I believe in Bacula, and I'd like
> to succeed in using it. I'd like to know if for you it's a normal thing
> that I can't save files like SYSTEM or SOFTWARE in the directory
> c:/winnt/system32/config, or if I am doing something wrong?

Please ask the list.

>
> Thanks.
> Best regards.
>
> Romain Charlon
>
> Eolas, Business & Decision Grenoble : +33 (4) 76 44 50 50 - fax : +33 (4)
> 76 44 00 41
> L'Internet au complet : Portail Internet et SI Intranet, Trafic web,
> Hébergement
> Avion à Saint Exupéry ? rendez-vous sur Achat-Lyon.com, "Lyon Aéroport" OU
> sur la zone boutique du site de l'aéroport

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2 questions about Autochangers

2005-07-13 Thread Volker Sauer

Hi Beren,

On Mi, 13 Jul 2005, Beren Gamble wrote:
> If I have two labeled tapes in the library, then bacula uses one to
> full capacity. Will bacula automatically continue the job on the next
> tape?

Yes!

> 
> Also, when bacula has finished all jobs, will it place the tape back in
> to the library slot.

Nope by default, but this possbile by setting up a special
RunAfterJob-Hook. It's easy!

> 

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


signature.asc
Description: Digital signature


Re: [Bacula-users] Re: disaster recovery & windows

2005-07-13 Thread Volker Sauer
> > Excuse me for boring you once again, but I believe in Bacula, and I'd like
> > to succeed in using it. I'd like to know if for you it's a normal thing
> > that I can't save files like SYSTEM or SOFTWARE in the directory
> > c:/winnt/system32/config, or if I am doing something wrong?
> 
Right now, it's normal since Bacula can't backup files that are opened
by Windows. AFAIK future versions of bacula might support backing up
open files.

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


signature.asc
Description: Digital signature


Re: [Bacula-users] Re: disaster recovery & windows

2005-07-13 Thread Ludovic Strappazon
Hi Romain,

As I said you in french, I think Bacula is not better nor worst than the
others softwares concerning open files in Windows. You can always use an
open transfer manager, as you would with another softare.

I'm a little more anxious and surprised about the service packs and
updates as you says they are not restored. I hope to try this friday.

Regards,
Ludovic Strappazon.

Kern Sibbald a écrit :

>On Wednesday 13 July 2005 16:40, Romain Charlon wrote:
>  
>
>>Hello Kern,
>>
>>Excuse me for boring you once again, but I believe in Bacula, and I'd like
>>to succeed in using it. I'd like to know if for you it's a normal thing
>>that I can't save files like SYSTEM or SOFTWARE in the directory
>>c:/winnt/system32/config, or if I am doing something wrong?
>>
>>
>
>Please ask the list.
>
>  
>
>>Thanks.
>>Best regards.
>>
>>Romain Charlon
>>
>>Eolas, Business & Decision Grenoble : +33 (4) 76 44 50 50 - fax : +33 (4)
>>76 44 00 41
>>L'Internet au complet : Portail Internet et SI Intranet, Trafic web,
>>Hébergement
>>Avion à Saint Exupéry ? rendez-vous sur Achat-Lyon.com, "Lyon Aéroport" OU
>>sur la zone boutique du site de l'aéroport
>>
>>
>
>  
>



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] 2 questions about Autochangers

2005-07-13 Thread Ryan Colp
Hi Beren,

Yes, Bacula will automatically load the next tape once the first one is
full.  Both tapes must be in the same pool in the catalog.  You may need
to specify "Accept Any Volume = yes" in your pool definition in
bacula-dir.conf.  All of the examples I've seen have that line anyway.
:)

I can't speak for all autochangers, but mine leaves the last used tape
loaded in the drive, and doesn't rewind it automatically.  Mine is an HP
DAT40x6 (6 tape DDS-4 autochanger).  My drive's device name is
/dev/nst0.  With the mt tape driver in Linux, The "n" in nst0 specifies
"no automatic rewind".

Other changers may behave differently.  The best way to find out is to
test.  My guess is that most changers would leave the tape in the drive.

You could automate the unloading of a tape after a job by creating a
RunAfter script containing an mtx-changer unload command.

Cheers,

-Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Beren
Gamble
Sent: Wednesday, July 13, 2005 7:17 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] 2 questions about Autochangers

Hi,

I've set bacula up to work with our autochanger.

my 2 questions are:

If I have two labeled tapes in the library, then bacula uses one to full
capacity. Will bacula automatically continue the job on the next tape?

Also, when bacula has finished all jobs, will it place the tape back in
to the library slot.

I'm just trying to make it as easy as possible for our operations guy
(tape shuffler)

Cheers,

Beren


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



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening July 14 at 8am PDT/11am EDT. We invite you to explore the
latest in dual core and dual graphics technology at this free one hour
event hosted by HP, AMD, and NVIDIA.  To register visit
http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MTEOM

2005-07-13 Thread Mike Reinehr
On Wednesday 13 July 2005 02:42 am, Taymour A. El Erian wrote:
> HI,
>
> I had a tape which bacula failed to write on so I did mt erase and
> relabeled it with label command and started to reuse it, what happened
> is that I got this error from bacula after it wrote several jobs on the
> tape
>
> Error: Unable to position to end of data on device "/dev/tape".
> ERR=dev.c:494 ioctl MTEOM error on /dev/tape. ERR=Input/output error.
>
> what does this mean ?

This is just a guess, but Magnetic Tape End Of Media error. In other 
words, 
you have run off the end of the tape, without Bacula having received an end 
of media signal.

HTH's.

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Still confuse of connecting the storage daemon

2005-07-13 Thread Mike Reinehr
As Arno already has told you, you have problems in the following two areas:

> 12-Jul 15:44 becky-fd: becky.2005-07-12_15.44.41 Error: ..
\lib\../../lib/bnet.c:685 gethostbyname() for host "backup" failed: 
ERR=Authoritative answer for host not found.

In other words, becky-fd can not resolve the name "backup" to an ip address. 
If you would take the time to read your storage definition you would find:

> Address = backup                # N.B. Use a fully qualified name here

Note the comment which says USE A FULLY QUALIFIED NAME HERE, or use an ip 
address or configure your resolver to append the correct domain name.

> 12-Jul 15:44 backup-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal 
connect error to localhost: ERR=Connection refused

The mail program, bsmtp is failing. Bacula is attempting to mail you the error 
messages. This might be related to your resolver problem as it can not 
connect to localhost.

This is a "self-help" mailing list. In order to receive any help you are 
expected to make some effort of your own to help yourself, starting with a 
thorough reading of the user manual. Further, you are expected to be 
conversant with basic system administration. If you are unable or unwilling 
to do this, then your only recourse is, as Arno also has suggested, to hire a 
consultant.

Also, please direct all inquiries and responses to the list.

cmr

On Tuesday 12 July 2005 09:16 pm, [EMAIL PROTECTED] wrote:
> I"ve a problem with a windows client.the "becky" client is a romote file
> storage,The following shows that problem.
>
>
> [EMAIL PROTECTED] bin]# ./bacula start
> Starting the Bacula Storage daemon
> Starting the Bacula File daemon
> Starting the Bacula Director daemon
> [EMAIL PROTECTED] bin]# ./bconsole
> Connecting to Director backup:9101
> 1000 OK: backup-dir Version: 1.36.3 (22 April 2005)
> Enter a period to cancel a command.
> *run
> Using default Catalog name=MyCatalog DB=bacula
> A job name must be specified.
> The defined Job resources are:
>  1: Client1
>  2: becky
>  3: BackupCatalog
>  4: RestoreFiles
>  5: becky_RestoreFiles
> Select Job resource (1-5): 2
> Run Backup job
> JobName:  becky
> FileSet:  becky
> Level:Incremental
> Client:   becky-fd
> Storage:  File
> Pool: Default
> When: 2005-07-12 15:44:40
> Priority: 10
> OK to run? (yes/mod/no): yes
> Job started. JobId=18
> *
> You have messages.
> *messages
> 12-Jul 15:44 backup-dir: No prior Full backup Job record found.
> 12-Jul 15:44 backup-dir: No prior or suitable Full backup found. Doing FULL
> backup. 12-Jul 15:44 backup-dir: Start Backup JobId 18,
> Job=becky.2005-07-12_15.44.41 12-Jul 15:44 becky-fd:
> becky.2005-07-12_15.44.41 Fatal error: Failed to connect to Storage daemon:
> backup:9103 12-Jul 15:44 becky-fd: becky.2005-07-12_15.44.41 Error:
> ..\lib\../../lib/bnet.c:685 gethostbyname() for host "backup" failed:
> ERR=Authoritative answer for host not found. 12-Jul 15:44 backup-dir:
> becky.2005-07-12_15.44.41 Fatal error: Socket error from Filed on Storage
> command: ERR=No data available 12-Jul 15:44 backup-dir:
> becky.2005-07-12_15.44.41 Error: Bacula 1.36.3 (22Apr05): 12-Jul-2005
> 15:44:48 JobId:  18
>   Job:becky.2005-07-12_15.44.41
>   Backup Level:   Full (upgraded from Incremental)
>   Client: becky-fd
>   FileSet:"becky" 2005-07-12 10:16:19
>   Pool:   "Default"
>   Storage:"File"
>   Start time: 12-Jul-2005 15:44:43
>   End time:   12-Jul-2005 15:44:48
>   FD Files Written:   0
>   SD Files Written:   0
>   FD Bytes Written:   0
>   SD Bytes Written:   0
>   Rate:   0.0 KB/s
>   Software Compression:   None
>   Volume name(s):
>   Volume Session Id:  1
>   Volume Session Time:1121154271
>   Last Volume Bytes:  0
>   Non-fatal FD errors:0
>   SD Errors:  0
>   FD termination status:
>   SD termination status:  Waiting on FD
>   Termination:*** Backup Error ***
>
> 12-Jul 15:44 backup-dir: message.c:462 Mail prog: bsmtp: bsmtp.c:276 Fatal
> connect error to localhost: ERR=Connection refused 12-Jul 15:44 backup-dir:
> becky.2005-07-12_15.44.41 Error: message.c:473 Mail program terminated in
> error. CMD=/usr/local/bacula/bin/bsmtp -h localhost -f "(Bacula)
> [EMAIL PROTECTED]" -s "Bacula: Backup Fatal Error of becky-fd Full"
> [EMAIL PROTECTED] ERR=Child exited with code 1
>
> the following is my bacula-dir.conf:
> Director {# define myself
>   Name = backup-dir
>   DIRport = 9101# where we listen for UA connections
>   QueryFile = "/usr/local/bacula/bin/query.sql"
>   WorkingDirectory = "/var/bacula"
>   PidDirectory = "/var/run"
>   Maximum Concurrent Jobs = 1
>   Password = "yrxkOVESHUh5FHf1sUgxgxFgmQPuFjtTO9e5TWo09mlz" #
> Console password Messages = Daemon
> }
> JobDefs {
>   Name = "DefaultJob"
>   Type = 

RE: [Bacula-users] Re: disaster recovery & windows

2005-07-13 Thread McCann, Brian
If my memory is correct (and I'm hoping it is since I'm doing this), a system 
state backup of Windows should grab that stuff.  I haven't tried restoring that 
in a LONG time...but iirc, it should work.

--Brian

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern Sibbald
Sent: Wednesday, July 13, 2005 11:43
To: Romain Charlon
Cc: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Re: disaster recovery & windows

On Wednesday 13 July 2005 16:40, Romain Charlon wrote:
> Hello Kern,
>
> Excuse me for boring you once again, but I believe in Bacula, and I'd like
> to succeed in using it. I'd like to know if for you it's a normal thing
> that I can't save files like SYSTEM or SOFTWARE in the directory
> c:/winnt/system32/config, or if I am doing something wrong?

Please ask the list.

>
> Thanks.
> Best regards.
>
> Romain Charlon
>
> Eolas, Business & Decision Grenoble : +33 (4) 76 44 50 50 - fax : +33 (4)
> 76 44 00 41
> L'Internet au complet : Portail Internet et SI Intranet, Trafic web,
> Hébergement
> Avion à Saint Exupéry ? rendez-vous sur Achat-Lyon.com, "Lyon Aéroport" OU
> sur la zone boutique du site de l'aéroport

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multitape and automatic labeling

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 18:12, Alan Brown wrote:
> On Wed, 13 Jul 2005, Kern Sibbald wrote:
> >> I am seeing this behaviour with truely blank LTOs too.
> >>
> >> Try writing 2 EOFs to the start of the tapes and try it again.
> >>
> >> No, but bacula needs to detect the tapes are blank, rather than
> >> empty/erased.
> >
> > Huh.  What is the difference?
>
> There is something on the tape which bacula doesn't like when it scans the
> start of the tape. Writing an EOF solves the problem but it means tapes
> need massaging and can't simply be unwrapped, labelled and stuck in
> magazines.

Well, this is a function of the drive and the OS. Bacula does a read of the 
tape. If you have an old stupid drive an the tape is blank, it runs away.  If 
you have a modern drive and a good OS, it should report some sort of "error", 
in which case Bacula will assume the tape is not labeled and proceed with 
labeling and using it.  I don't know what more I can do.

>
> >> This is an area which clearly needs some work... :-)
> >
> > Please be a bit more specific.
>
> Testing of what's seen by LTO drives using various brands of blank media
> to see if it varies or is consistent.
>
> I'd liken it to the difference between a formatted and an unformatted
> floppy disk
>
> AB

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] MTEOM

2005-07-13 Thread Arno Lehmann

Hello,

Mike Reinehr wrote:


On Wednesday 13 July 2005 02:42 am, Taymour A. El Erian wrote:


HI,

   I had a tape which bacula failed to write on so I did mt erase and
relabeled it with label command and started to reuse it, what happened
is that I got this error from bacula after it wrote several jobs on the
tape

Error: Unable to position to end of data on device "/dev/tape".
ERR=dev.c:494 ioctl MTEOM error on /dev/tape. ERR=Input/output error.

what does this mean ?



	This is just a guess, but Magnetic Tape End Of Media error. In other words, 
you have run off the end of the tape, without Bacula having received an end 
of media signal.


This happens regularly with worn-out DAT media here.
Replace the tape.

Arno


HTH's.

cmr


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No Volume name given.

2005-07-13 Thread Mario Ohnewald
On Wed, 2005-07-13 at 16:12 +0200, Frederic PIERROT wrote:
> Hi,
> 
> At 16:06 13/07/2005, you wrote:
> >i am trying to test my backup volume like the tutorial recommends:
> >
> >btape -c /etc/bacula/bacula-sd.conf /dev/hdc
> >Tape block granularity is 1024 bytes.
> >btape: butil.c:258 Using device: "/dev/hdc" for writing.
> >13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
> >dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No
> >Volume name given.
> >

*label
Automatically selected Storage: File
Enter new Volume name: Test02
Automatically selected Pool: Default
Connecting to Storage daemon File at SpiekLap:9103 ...
Sending label command for Volume "Test02" Slot 0 ...
3910 Unable to open device "DVD" (/dev/sr0): ERR=dvd.c:363
Label command failed for Volume Test02.
Do not forget to mount the drive!!!

*run
A job name must be specified.
The defined Job resources are:
 1: Laptop
 2: BackupCatalog
 3: RestoreFiles
Select Job resource (1-3): 1
Run Backup job
JobName:  Laptop
FileSet:  Full Set
Level:Incremental
Client:   SpiekLap-fd
Storage:  File
Pool: Default
When: 2005-07-13 19:33:25
Priority: 10
OK to run? (yes/mod/no): mod
Parameters to modify:
 1: Level
 2: Storage
 3: Job
 4: FileSet
 5: Client
 6: When
 7: Priority
 8: Pool
Select parameter to modify (1-8): 2
Automatically selected Storage: File
Run Backup job
JobName:  Laptop
FileSet:  Full Set
Level:Incremental
Client:   SpiekLap-fd
Storage:  File
Pool: Default
When: 2005-07-13 19:33:25
Priority: 10
OK to run? (yes/mod/no):


-
Does it automatically use Storage=File because i dont have a working DVD
Storage device?

eject /dev/sr0 works, and i can write to the dvd with k3b.


> >
> >
> >Here my config:
> >
> >grep -v "^#" bacula-sd.conf
> >
> >Storage { # definition of myself
> >   Name = SpiekLap-sd
> >   SDPort = 9103  # Director's port
> >   WorkingDirectory = "/var/bacula/working"
> >   Pid Directory = "/var/run"
> >   Maximum Concurrent Jobs = 20
> >}
> >
> >Director {
> >   Name = SpiekLap-dir
> >   Password = "yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw"
> >}
> >
> >Director {
> >   Name = SpiekLap-mon
> >   Password = "Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+"
> >   Monitor = yes
> >}
> >
> >
> >Device {
> >   Name = "DVD-WRITER"
> >   Media Type = DVD
> >   Archive Device = /dev/hdc
> >   LabelMedia = no;   # i have already tried YES here, too
> >   Random Access = Yes;
> >   AutomaticMount = yes;  # when device opened, read it
> >   RemovableMedia = yes;
> >   AlwaysOpen = no;
> >   MaximumPartSize = 800M;
> >   RequiresMount = yes;
> >   MountPoint = /cdrom;
> >   MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
> >   UnmountCommand = "/bin/umount %m";
> >   SpoolDirectory = /tmp/backup;
> >   WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v"
> >   FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
> >}
> >
> >
> >
> >Messages {
> >   Name = Standard
> >   director = SpiekLap-dir = all
> >}
> >
> >
> >



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No Volume name given.

2005-07-13 Thread Mike Reinehr
Mario,

On Wednesday 13 July 2005 12:39 pm, Mario Ohnewald wrote:
> On Wed, 2005-07-13 at 16:12 +0200, Frederic PIERROT wrote:
> > Hi,
> >
> > At 16:06 13/07/2005, you wrote:
> > >i am trying to test my backup volume like the tutorial recommends:
> > >
> > >btape -c /etc/bacula/bacula-sd.conf /dev/hdc
> > >Tape block granularity is 1024 bytes.
> > >btape: butil.c:258 Using device: "/dev/hdc" for writing.
> > >13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
> > >dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No
> > >Volume name given.
>
> *label
> Automatically selected Storage: File
> Enter new Volume name: Test02
> Automatically selected Pool: Default
> Connecting to Storage daemon File at SpiekLap:9103 ...
> Sending label command for Volume "Test02" Slot 0 ...
> 3910 Unable to open device "DVD" (/dev/sr0): ERR=dvd.c:363
> Label command failed for Volume Test02.
> Do not forget to mount the drive!!!
>
> *run
> A job name must be specified.
> The defined Job resources are:
>  1: Laptop
>  2: BackupCatalog
>  3: RestoreFiles
> Select Job resource (1-3): 1
> Run Backup job
> JobName:  Laptop
> FileSet:  Full Set
> Level:Incremental
> Client:   SpiekLap-fd
> Storage:  File
> Pool: Default
> When: 2005-07-13 19:33:25
> Priority: 10
> OK to run? (yes/mod/no): mod
> Parameters to modify:
>  1: Level
>  2: Storage
>  3: Job
>  4: FileSet
>  5: Client
>  6: When
>  7: Priority
>  8: Pool
> Select parameter to modify (1-8): 2
> Automatically selected Storage: File
> Run Backup job
> JobName:  Laptop
> FileSet:  Full Set
> Level:Incremental
> Client:   SpiekLap-fd
> Storage:  File
> Pool: Default
> When: 2005-07-13 19:33:25
> Priority: 10
> OK to run? (yes/mod/no):
>
>
> -
> Does it automatically use Storage=File because i dont have a working DVD
> Storage device?
>
> eject /dev/sr0 works, and i can write to the dvd with k3b.
>
> > >Here my config:
> > >
> > >grep -v "^#" bacula-sd.conf
> > >
> > >Storage { # definition of myself
> > >   Name = SpiekLap-sd
> > >   SDPort = 9103  # Director's port
> > >   WorkingDirectory = "/var/bacula/working"
> > >   Pid Directory = "/var/run"
> > >   Maximum Concurrent Jobs = 20
> > >}
> > >
> > >Director {
> > >   Name = SpiekLap-dir
> > >   Password = "yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw"
> > >}
> > >
> > >Director {
> > >   Name = SpiekLap-mon
> > >   Password = "Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+"
> > >   Monitor = yes
> > >}
> > >
> > >
> > >Device {
> > >   Name = "DVD-WRITER"
> > >   Media Type = DVD
> > >   Archive Device = /dev/hdc
> > >   LabelMedia = no;   # i have already tried YES here, too
> > >   Random Access = Yes;
> > >   AutomaticMount = yes;  # when device opened, read it
> > >   RemovableMedia = yes;
> > >   AlwaysOpen = no;
> > >   MaximumPartSize = 800M;
> > >   RequiresMount = yes;
> > >   MountPoint = /cdrom;
> > >   MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
> > >   UnmountCommand = "/bin/umount %m";
> > >   SpoolDirectory = /tmp/backup;
> > >   WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v"
> > >   FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
> > >}

I'm just guessing here, but your mount command indicates type iso9660. 
Does 
your DVD already have an iso9660 file system written to it? If not, this 
might be the source of your problem.




HTH's!

cmr
-- 
Debian 'Sarge': Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] multitape and automatic labeling

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 19:30, Alan Brown wrote:
> On Wed, 13 Jul 2005, Kern Sibbald wrote:
> >> There is something on the tape which bacula doesn't like when it scans
> >> the start of the tape. Writing an EOF solves the problem but it means
> >> tapes need massaging and can't simply be unwrapped, labelled and stuck
> >> in magazines.
> >
> > Well, this is a function of the drive and the OS. Bacula does a read of
> > the tape. If you have an old stupid drive an the tape is blank, it runs
> > away.
>
> this doesn't happen.
>
> >  If
> > you have a modern drive and a good OS, it should report some sort of
> > "error", in which case Bacula will assume the tape is not labeled and
> > proceed with labeling and using it.  I don't know what more I can do.
>
> It does, but up till now Bacula has refused to label it. Has this
> behaviour changed recently?

No.

-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with automatic labelling and Label Format

2005-07-13 Thread Morten A. Middelthon

Alan Brown wrote:

On Wed, 13 Jul 2005, Morten A. Middelthon wrote:

I'm having trouble getting bacula's automatic labelling working like I 
want it to. I have created three types of pools, inc, diff and full:



Bear in mind that the maximum supported by most barcode readers is 8 
characters, so it is a bad idea to have tape labels longer than this - 
bacula demands that the barcode match the label.


It may not seem to matter at the moment, but in future it can raise all 
sorts of headaches if you move to a tape drive or changer with barcode 
support in it.


I have no problem limiting the label to 8 chars, as long as bacula 
labels them the way I want to :) I'm writing to a 1.5TB RAID5 disk 
array, so I have no plans of going over to a tape drive solution. Even 
if I did I would use different labels for those.


Still, the problems remains, bacula doesn't append the volume number 
(eg. 1) to the label when I use variable expansions


Thanks for the reply though

--
Morten A. Middelthon
http://flipp.net/
http://NorXJ.com/


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] Problem with automatic labelling and Label Format

2005-07-13 Thread Kern Sibbald
On Wednesday 13 July 2005 21:58, Morten A. Middelthon wrote:
> Alan Brown wrote:
> > On Wed, 13 Jul 2005, Morten A. Middelthon wrote:
> >> I'm having trouble getting bacula's automatic labelling working like I
> >> want it to. I have created three types of pools, inc, diff and full:
> >
> > Bear in mind that the maximum supported by most barcode readers is 8
> > characters, so it is a bad idea to have tape labels longer than this -
> > bacula demands that the barcode match the label.
> >
> > It may not seem to matter at the moment, but in future it can raise all
> > sorts of headaches if you move to a tape drive or changer with barcode
> > support in it.
>
> I have no problem limiting the label to 8 chars, as long as bacula
> labels them the way I want to :) I'm writing to a 1.5TB RAID5 disk
> array, so I have no plans of going over to a tape drive solution. Even
> if I did I would use different labels for those.
>
> Still, the problems remains, bacula doesn't append the volume number
> (eg. 1) to the label when I use variable expansions

Please read the manual. It is very clear on this point. 

Bacula does not append the volume number when using variable expansions. 
Anything else would not be what most people want.


-- 
Best regards,

Kern

  (">
  /\
  V_V


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Lost connection to MySQL server during query

2005-07-13 Thread Rowdy

Jonas Björklund wrote:

Hello,

It seems that I loose connection to the database (localhost).
I only have this problem on the first job, next job runs without problem.
Any ideas?

13-Jul 13:05 -dir: client.2005-07-13_13.05.00 Fatal
error: sql_create.c:91 sql_create.c:91 insert INSERT INTO Job
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES
('client.2005-07-13_13.05.00','client','B','I','C','
2005-07-13 13:05:00',1121252700) failed:
Lost connection to MySQL server during query
13-Jul 13:05 -dir: sql_create.c:91 INSERT INTO Job
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES
('client.2005-07-13_13.05.00','client','B','I','C','
2005-07-13 13:05:00',1121252700)
13-Jul 13:05 -dir: client.2005-07-13_13.05.00 Fatal
error: sql_create.c:93 Create DB Job record INSERT INTO Job
(Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES
('client.2005-07-13_13.05.00','client','B','I','C','
2005-07-13 13:05:00',1121252700) failed. ERR=Lost connection to MySQL 
server during query


Greetings,

I do not /know/ what is causing this, and have not experienced it 
myself, however here are a couple of suggestions (in no particular order):


1. Swap the backups around - do the first one second, and the second one 
first.  That should give some indication whether it is a problem with 
the job that runs first, or a problem with the particular job that you 
happened to run first.


2. Inspect the MySQL logs.

3. Check/repair the MySQL database.

Rowdy


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

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


Re: [Bacula-users] dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No Volume name given.

2005-07-13 Thread Mario Ohnewald
Hello Mike,

On Wed, 2005-07-13 at 13:24 -0500, Mike Reinehr wrote:
> Mario,
> 
> On Wednesday 13 July 2005 12:39 pm, Mario Ohnewald wrote:
> > On Wed, 2005-07-13 at 16:12 +0200, Frederic PIERROT wrote:
> > > Hi,
> > >
> > > At 16:06 13/07/2005, you wrote:
> > > >i am trying to test my backup volume like the tutorial recommends:
> > > >
> > > >btape -c /etc/bacula/bacula-sd.conf /dev/hdc
> > > >Tape block granularity is 1024 bytes.
> > > >btape: butil.c:258 Using device: "/dev/hdc" for writing.
> > > >13-Jul 15:49 btape: Fatal Error at btape.c:330 because:
> > > >dev open failed: Could not open file device "DVD-WRITER" (/dev/hdc). No
> > > >Volume name given.
> >
> > *label
> > Automatically selected Storage: File
> > Enter new Volume name: Test02
> > Automatically selected Pool: Default
> > Connecting to Storage daemon File at SpiekLap:9103 ...
> > Sending label command for Volume "Test02" Slot 0 ...
> > 3910 Unable to open device "DVD" (/dev/sr0): ERR=dvd.c:363
> > Label command failed for Volume Test02.
> > Do not forget to mount the drive!!!
> >
> > *run
> > A job name must be specified.
> > The defined Job resources are:
> >  1: Laptop
> >  2: BackupCatalog
> >  3: RestoreFiles
> > Select Job resource (1-3): 1
> > Run Backup job
> > JobName:  Laptop
> > FileSet:  Full Set
> > Level:Incremental
> > Client:   SpiekLap-fd
> > Storage:  File
> > Pool: Default
> > When: 2005-07-13 19:33:25
> > Priority: 10
> > OK to run? (yes/mod/no): mod
> > Parameters to modify:
> >  1: Level
> >  2: Storage
> >  3: Job
> >  4: FileSet
> >  5: Client
> >  6: When
> >  7: Priority
> >  8: Pool
> > Select parameter to modify (1-8): 2
> > Automatically selected Storage: File
> > Run Backup job
> > JobName:  Laptop
> > FileSet:  Full Set
> > Level:Incremental
> > Client:   SpiekLap-fd
> > Storage:  File
> > Pool: Default
> > When: 2005-07-13 19:33:25
> > Priority: 10
> > OK to run? (yes/mod/no):
> >
> >
> > -
> > Does it automatically use Storage=File because i dont have a working DVD
> > Storage device?
> >
> > eject /dev/sr0 works, and i can write to the dvd with k3b.
> >
> > > >Here my config:
> > > >
> > > >grep -v "^#" bacula-sd.conf
> > > >
> > > >Storage { # definition of myself
> > > >   Name = SpiekLap-sd
> > > >   SDPort = 9103  # Director's port
> > > >   WorkingDirectory = "/var/bacula/working"
> > > >   Pid Directory = "/var/run"
> > > >   Maximum Concurrent Jobs = 20
> > > >}
> > > >
> > > >Director {
> > > >   Name = SpiekLap-dir
> > > >   Password = "yQ7e7PKrz+/HFtH2VWx7yl4PNUWi77RiA5LnhVI4SXtw"
> > > >}
> > > >
> > > >Director {
> > > >   Name = SpiekLap-mon
> > > >   Password = "Owt19GfAFw+vYqfGI8gAmWCBa7ELqmqd+m0y8KG4JKZ+"
> > > >   Monitor = yes
> > > >}
> > > >
> > > >
> > > >Device {
> > > >   Name = "DVD-WRITER"
> > > >   Media Type = DVD
> > > >   Archive Device = /dev/hdc
> > > >   LabelMedia = no;   # i have already tried YES here, too
> > > >   Random Access = Yes;
> > > >   AutomaticMount = yes;  # when device opened, read it
> > > >   RemovableMedia = yes;
> > > >   AlwaysOpen = no;
> > > >   MaximumPartSize = 800M;
> > > >   RequiresMount = yes;
> > > >   MountPoint = /cdrom;
> > > >   MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
> > > >   UnmountCommand = "/bin/umount %m";
> > > >   SpoolDirectory = /tmp/backup;
> > > >   WritePartCommand = "/etc/bacula/dvd-writepart %n %a %v"
> > > >   FreeSpaceCommand = "/etc/bacula/dvd-freespace %a %n"
> > > >}
> 
>   I'm just guessing here, but your mount command indicates type iso9660. 
> Does 
> your DVD already have an iso9660 file system written to it?

No, its a blank DVD RW+

>  If not, this 
> might be the source of your problem.

So should i remove the MountPoint and MountCommand options?

I was already in the example config, so i just thought its correct.


Thanks, Mario



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] detailed migration doc from sqlite to mysql

2005-07-13 Thread Harondel J. Sibble
Looking through the docs, there is a small section on migrating from sqlite 
to mysql. Does anyone have a detailed step by step document on doing this on 
an RPM based distro like CentOS or Mandrake 10.x.  

Currently running 1.36.2.
-- 
Harondel J. Sibble 
Sibble Computer Consulting
Creating solutions for the small business and home computer user.
[EMAIL PROTECTED] (use pgp keyid 0x3AD5C11D) http://www.pdscc.com
(604) 739-3709 (voice/fax)  (604) 686-2253 (pager)




---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users