[Bacula-users] Which side to start an upgrade?

2007-02-28 Thread MaxxAtWork
Hello,

when upgrading a bacula backup environment with many clients
from which side is wiser to start? Clients or director/sd ?
In other words which of these two situations is less likely to be troublesome:
- old client talking with new director/sd
- new client talking with old director/sd

I'm thinking of an environment where at least some of the machines have bacula
installed with e.g. Linux distro packages, so 'installing in an
alternate directory'
is not an easy option to follow, and the upgrade cycle is not
applicable all-at-once
on all the machines involved, otherwise some important backups would be skipped.

Thank you
-- 
Maxx

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Few notes regarding the restricted console commands

2007-02-28 Thread Kern Sibbald
Hello,

Thanks for the feedback.  I'll add these items to the documentation. 
As for the problems of details of show and list, I'm not sure it is worth 
the effort to add finer grain ACL testing, however, I will note in my todo 
list and see if it is possible.  In general for the moment, you will need to 
not enable those commands if you think they will cause a security violation.

If you find any other cases where users can get at information that does not 
belong to the, please let me know so that I can either fix it or document 
it ...

See below for more comments:

On Tuesday 27 February 2007 22:33, Zeratul wrote:
 Hi

 Recently I tested the patch that fix the bug 767 (see bugs.bacula.org). The
 patch works fine -  the restricted console is not able anymore to cancel
 running jobs that not belongs to it.
 With this occasion I tested other commands and I found few things which, in
 my opinion, should be mentioned, maybe for future references:

 - the shortcuts for commands (for example st or sta instead of
 status) can't be used in a restricted console, except the case when the
 shortcuts are literally mentioned in the CommandACL.

Yes, this is correct. Since shortcuts are not always unique you are required 
to add the exact shortcut that you wish the user to be able to use.

 - the command help retuns the full commands list and, for a restricted
 user, 

I'll look into filtering this ...

 typing commands that returns ... is an invalid command can be 
 frustrating because the user have no idea about the allowed commands

Can you explain more in detail what you mean or what you would like it to do?
It might be possible to convert more of those into unauthorized command, but 
isn't it a lot of code for something rather minor?  If it is occurring at the 
main command level, it is easy to fix, however, if it occurs 
in subcommands, it could be very pervasive.

 - the show command returns information related to other jobs than the
 ones configured in the restricted console configuration file

Yes, and it is hard to know how to filter it.  However, I will take a look at 
it, in some cases, it may be obvious such as show catalogs could easily 
apply the CatalogACL ...

 - the query command allows queries against job ids different than the
 ones related to the restricted console. Based on this, I get the volume
 names and job ids for other bacula clients and I tried to restore some
 files. 

I'm not going to be able to do much about the query command or with the SQL 
command.  Both take user input which cannot be easily parsed by Bacula -- 
i.e. I would need to add a full SQL command parser to make it work correctly.

For the query command, a workaround is to give the user his own local copy.
A better solution would be to add the Query Command directive to each of the 
restricted Console resources -- I think this probably should be a feature 
request, but it is something I would accept.

 It's true I wasn't able to restore any files from other jobs, but I 
 was able to browse the files list. One mention here - this is true only
 when the restore command is used and not when the restore tab is used
 in wx-console.

Can you explain why the restore command gives more information that the 
restore tab in wx-console?  It sounds like wx-console has implemented 
something that should be included in the core code ...

Regards,

Kern

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Messages to console(s)

2007-02-28 Thread Kern Sibbald
On Tuesday 27 February 2007 22:39, Zeratul wrote:
 Hi

 Having 2 or more consoles opened to bacula directory, only one console gets
 the messages. There is any way to send the messages to all opened consoles?

No -- that would require some sort of Feature Request, and in fact, I don't 
really know how to do it correctly.

Each console should get the messages or answers to queries and commands that 
it generates (not necessarily including job output).

 Any idea would be appreciated. Thanks.

 Daniel



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot label tape from bconsole

2007-02-28 Thread Alfonso Amato - Sintecnos srl
Really thanks Andrea.. That is a side of Linux I never investigate from 
my side and I guess I'll have a good time digging inside.

Alfonso

Andrea Conti wrote:
 Can you tell me what method you have in mind for changing permissions? A 
 shell line inside /etc/init.d/bacula-sd.conf (I use Fedora) with the 
 chmod previously said or a different command?
 
 I suppose you're using a recent (2) version of fedora, so your system
 should be running udev.
 If that's the case, you just need to tell udev which
 owner/group/permissions you want that device node to be created with.
 
 Create a file named 10-tape.rules in /etc/udev/rules.d with the
 following line in it:
 
 KERNEL==nst0, OWNER=foo, GROUP=bar, MODE=0660
 
 If you don't need to set the owner or group simply leave out the
 corresponding section.
 
 Taking a look at the udev documentation on rule writing might also be a
 good idea, since there is much more you can do with it.
 
 Andrea

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Restore keeps crashing with Block checksum mismatch

2007-02-28 Thread Sven Hendriks
Hello,

my problem seems to be solved. It seems to have something to do with the block 
size. I set both the minimum and the maximum blocksize of the device to 64KB 
and the restore works:

Device {
  Name = TestStorage
  Media Type = File
  Archive Device = /mnt/notfallserver/vollbackup
  LabelMedia = yes; 
  Random Access = Yes;
  AutomaticMount = no; 
  RemovableMedia = no;
  AlwaysOpen = yes;
  RequiresMount = no;
  Minimum Block Size = 65536
  Maximum Block Size = 65536
}

It works with 16KB fixed block size, too. Beforehand I did not set the block 
size.

Greetings,
Sven Hendriks


  On Monday 26 February 2007 09:50, Sven Hendriks wrote:
   Hello,
  
   I'm running Bacula 2.0.2 built from source on the following system:
   XEN 3.0 with Gentoo, Kernel 2.6.16 as Dom0 running bacula-dir and
   bacula-sd. One deamon bacula-fd is also running here for test restores.
   File system is Ext3. Debian, Kernel 2.6.16 as DomU running one file daemon
   for backup. The file system here is XFS. The backups are done from the 
   DomU
   file daemon and are stored via the storage daemon on a samba share with
   NTFS mounted with the cifs option in the Dom0.
  
   Backups are running well, unfortunately the Restores do not. Everytime I
   try to restore a backup sooner or later I get an error message like
  
   Error: block.c:317 Volume data error at 0:2068512761!
   Block checksum mismatch in block=65353 len=64512: calc=3deeeba7
   blk=962bd82e
  
   and later
  
   Error: attribs.c:409 File size of restored file X not correct.
   Original Y, restored Z.
  
   and Bacula stops.
  
   I tried to restore from the samba share to the same samba share into
   another directory via the file daemon on Dom0 and from the samba share to 
   a
   XEN DomU with XFS via the file daemon on DomU. In both cases I get the
   error messages above. The backups are running at night, so it is very
   unlikely that file sizes are changing during backup. I hope my 
   descriptions
   are not too confusing :-) I have no idea what causes this error and I'd be
   grateful for any hint that may help to solve my little problem.
  
   Greetings,
   Sven Hendriks

___
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=02


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir won't start from a script

2007-02-28 Thread Beren

Hi Arno,

I'm using 
bacula-mysql-2.0.2-1.el3.i386.rpmhttp://downloads.sourceforge.net/bacula/bacula-mysql-2.0.2-1.el3.i386.rpm?modtime=1170518065big_mirror=1on
RedHat Advanced Server v3.

Bacula v1.38.1 worked fine.

I tried with #!/bin/bash in the start of my script.

On 27/02/07, Arno Lehmann [EMAIL PROTECTED] wrote:


Hi,

On 2/27/2007 6:07 PM, Beren Gamble wrote:
 Hi Bill,

 I tried the command... no help really :)

snip lots of stuff - debugging why the start script doesn't work
correctly in all cases


Which OS do you use, and where does the Bacula installation come from?
Packages, compiled yourself, whatever... also, has the start script been
modified by you?

Arno

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring Files from bacula

2007-02-28 Thread Buba
Hi, everyone.

Well, I am having a quite different problem that people use to see. (I think)
I am using Fedora Core 4 as a network server. I set up a backup
configuration so, as everybody, I would have less work to do manually.
However, The university where I work, experienced an energy crash. I
don't the reason itself, I had also a configuration problem with
fedora after this problem. While I was trying to fix it, I saw myself
without any other option than rebuild the network server all over
again. This is the time I encountered my biggest problem to restore
file from bacula.
I forgot to save the bacula's catolog, but remember to save the backup
I made with bacula. Actually, I haven't lost any files during the
process, but I was thing about restore a file I deleted from my home
directory from the backup I made.
Well, making a long story short. I asked bacula to look for a recent
backup, but in its catalog it didn't make any backup. So I tried to
add the backup I had into restore's navegation itens... without any
success.
At last, I tried to forge a fake reading of the backup I made by
making another backup and rename my last one to a new one. I don't
need to say that it was an idiot idea. =P
After tried everything I could thing until now, I decided to send an
email to here and see if anyone can help me with this problem.
A Full backup made that I wanna restore, but I don't have any
catalog's information.

Thanks a lot
-- 
Eduardo Trzan

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Which side to start an upgrade?

2007-02-28 Thread John Drescher
On 2/28/07, MaxxAtWork [EMAIL PROTECTED] wrote:
 Hello,

 when upgrading a bacula backup environment with many clients
 from which side is wiser to start? Clients or director/sd ?
 In other words which of these two situations is less likely to be troublesome:
 - old client talking with new director/sd
 - new client talking with old director/sd

I have not had any problems with the first one as I tend only to
update the director and this leaves the clients several versions
behind.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FOSDEM

2007-02-28 Thread Stephan Ebelt
On Tuesday 27 February 2007 19:02:20 Kern Sibbald wrote:
 On Tuesday 27 February 2007 18:18, Eric Bollengier wrote:
  if you want to see kern in action !
 
  http://ftp.belnet.be/mirrors/FOSDEM/2007/FOSDEM2007-Bacula.ogg

 Egads, what a horror!  :-)

 Every time I do a live demo, something goes wrong.  What I forgot was that
 in a certain sense, my whole presentation was a live demo because I had to
 run OpenOffice to display my slides -- it started off very slowly with the
 SuSE update consuming my whole underpowered machine for about 5 minutes :-(

there was nothing wrong. I think you just showed very live and clearly how 
good bacula and OSS in general is. ;-) 

What I mean is: SuSE's ZLM + KDE + OpenOffice + apache (with mod_perl) + 
Firefox + bacula (dir, fd, sd, bconsole) + Konsoles + perhaps some other KDE 
applets and daemons...

all on a 256 MByte/700MHz machine with slow IDE disk. That is fantastic 
IMO. :-)

Stephan

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula returns: The number of files Mismatch!

2007-02-28 Thread Thomas Franz
Hello,

I am running bacula for a lot of month, without any problems.
But yesterday I've got this message:

27-Feb 11:05 dssbkup-sd: Volume A00040 previously written, moving to end of 
data.
27-Feb 11:06 dssbkup-sd: Backup.2007-02-27_11.05.00 Error: I cannot write on 
Volume A00040 because:
The number of files mismatch! Volume=456 Catalog=457
27-Feb 11:06 dssbkup-sd: Marking Volume A00040 in Error in Catalog.
...

OS: FreeBSD 6.1
Bacula: 1.38.9
TAPE : LTO-3  (IBM Ultrium-TD3)
Library: Exabyte

It was the first run after a system restart. ( But this was not the first time 
bacula runs after a restart) .

I did a bls -c bacula-sd.conf -j -V A00040 /dev/nsa3 :

 bls: butil.c:269 Using device: /dev/nsa3 for reading.
27-Feb 20:05 bls: 3301 Issuing autochanger loaded drive 0 command.
27-Feb 20:05 bls: 3302 Autochanger loaded drive 0, result is Slot 3.
27-Feb 20:05 bls: Ready to read from volume A00040 on device 
LTO-3 (/dev/nsa3).
bls: acquire.c:200 jcr-dcr=0x80a8818
Volume Record: File:blk=0:1 SessId=1 SessTime=1172134677 JobId=1 DataLen=163
End Job Session Record: File:blk=58:15321 SessId=1 SessTime=1172134677 
JobId=741
   Date=22-Feb-2007 12:36:13 Level=I Type=B Files=163 Bytes=118,812,601,974 
Errors=0 Status=T
Begin Job Session Record: File:blk=59:1 SessId=2 SessTime=1172134677 JobId=742
   Job=BackupCatalog.2007-02-22_11.10.00 Date=22-Feb-2007 12:36:27 Level=F 
Type=B
End Job Session Record: File:blk=59:167 SessId=2 SessTime=1172134677 JobId=742
   Date=22-Feb-2007 12:36:27 Level=F Type=B Files=1 Bytes=10,742,762 Errors=0 
Status=T
Begin Job Session Record: File:blk=60:1 SessId=1 SessTime=1172158974 JobId=743
   Job=Backup.2007-02-23_11.05.00 Date=23-Feb-2007 11:05:57 Level=I Type=B
End Job Session Record: File:blk=184:15075 SessId=1 SessTime=1172158974 
JobId=743
   Date=23-Feb-2007 13:12:25 Level=I Type=B Files=170 Bytes=124,871,924,365 
Errors=0 Status=T
Begin Job Session Record: File:blk=185:1 SessId=2 SessTime=1172158974 
JobId=744
   Job=BackupCatalog.2007-02-23_11.10.00 Date=23-Feb-2007 13:12:41 Level=F 
Type=B
End Job Session Record: File:blk=185:167 SessId=2 SessTime=1172158974 
JobId=744
   Date=23-Feb-2007 13:12:42 Level=F Type=B Files=1 Bytes=10,758,705 Errors=0 
Status=T
Begin Job Session Record: File:blk=186:1 SessId=3 SessTime=1172158974 
JobId=745
   Job=BackupCatalog.2007-02-24_11.10.00 Date=24-Feb-2007 11:10:12 Level=F 
Type=B
End Job Session Record: File:blk=186:167 SessId=3 SessTime=1172158974 
JobId=745
   Date=24-Feb-2007 11:10:13 Level=F Type=B Files=1 Bytes=10,759,041 Errors=0 
Status=T
Begin Job Session Record: File:blk=187:1 SessId=4 SessTime=1172158974 
JobId=746
   Job=Backup.2007-02-24_15.05.00 Date=24-Feb-2007 15:05:08 Level=I Type=B
End Job Session Record: File:blk=373:4820 SessId=4 SessTime=1172158974 
JobId=746
   Date=24-Feb-2007 18:21:53 Level=I Type=B Files=227 Bytes=186,160,933,600 
Errors=0 Status=T
Begin Job Session Record: File:blk=374:1 SessId=5 SessTime=1172158974 
JobId=747
   Job=BackupCatalog.2007-02-25_11.10.00 Date=25-Feb-2007 11:10:11 Level=F 
Type=B
End Job Session Record: File:blk=374:168 SessId=5 SessTime=1172158974 
JobId=747
   Date=25-Feb-2007 11:10:12 Level=F Type=B Files=1 Bytes=10,781,378 Errors=0 
Status=T
Begin Job Session Record: File:blk=375:1 SessId=6 SessTime=1172158974 
JobId=748
   Job=Backup.2007-02-25_15.05.00 Date=25-Feb-2007 15:05:07 Level=I Type=B
End Job Session Record: File:blk=424:13848 SessId=6 SessTime=1172158974 
JobId=748
   Date=25-Feb-2007 15:55:11 Level=I Type=B Files=103 Bytes=49,853,197,033 
Errors=0 Status=T
Begin Job Session Record: File:blk=425:1 SessId=7 SessTime=1172158974 
JobId=749
   Job=Backup.2007-02-26_11.05.00 Date=26-Feb-2007 11:05:07 Level=I Type=B
End Job Session Record: File:blk=455:12387 SessId=7 SessTime=1172158974 
JobId=749
   Date=26-Feb-2007 11:36:23 Level=I Type=B Files=86 Bytes=30,774,345,961 
Errors=0 Status=T
Begin Job Session Record: File:blk=456:1 SessId=8 SessTime=1172158974 
JobId=750
   Job=BackupCatalog.2007-02-26_11.10.00 Date=26-Feb-2007 11:36:39 Level=F 
Type=B
End Job Session Record: File:blk=456:168 SessId=8 SessTime=1172158974 
JobId=750
   Date=26-Feb-2007 11:36:40 Level=F Type=B Files=1 Bytes=10,798,086 Errors=0 
Status=T
27-Feb 22:41 bls: bls Error: block.c:945 Read error at file:blk 457:0 on 
device LTO-3 (/dev/nsa3). ERR=Operation not permi
tted.
27-Feb 22:41 bls: End of Volume at file 457 on device LTO-3 (/dev/nsa3), 
Volume A00040
27-Feb 22:41 bls: End of all volumes.
--

Job 750 was the last backup at this time ( it was the backup of the Catalog 
itself) . I could restore this file and it seems to be OK.


And  I did this btape-run:
---
Tape block granularity is 1024 bytes.
btape: butil.c:272 Using device: /dev/nsa3 for writing.
28-Feb 09:43 btape: 3301 Issuing autochanger 

Re: [Bacula-users] Restoring Files from bacula

2007-02-28 Thread Michel Meyers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Buba wrote:
 Hi, everyone.

 Well, I am having a quite different problem that people use to see. (I think)
 I am using Fedora Core 4 as a network server. I set up a backup
 configuration so, as everybody, I would have less work to do manually.
 However, The university where I work, experienced an energy crash. I
 don't the reason itself, I had also a configuration problem with
 fedora after this problem. While I was trying to fix it, I saw myself
 without any other option than rebuild the network server all over
 again. This is the time I encountered my biggest problem to restore
 file from bacula.
 I forgot to save the bacula's catolog, but remember to save the backup
 I made with bacula.

Take a look at bscan, it can 'repopulate' the catalog with entries it
finds on the media. (ie it rebuilds your catalog information by scanning
the media and writing information found there into the database)

http://www.bacula.org/rel-manual/Volume_Utility_Tools.html#SECTION00397

Greetings,
Michel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32) - GPGrelay v0.959

iD8DBQFF5Xv12Vs+MkscAyURApNyAJ4hxft+y10/5hqfKkt1DxzgJEzzOwCeKKkz
RUfR4RZuoYEQbYQkUoP+DrE=
=6SBD
-END PGP SIGNATURE-

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] FOSDEM

2007-02-28 Thread Kern Sibbald
On Wednesday 28 February 2007 12:18, Stephan Ebelt wrote:
 On Tuesday 27 February 2007 19:02:20 Kern Sibbald wrote:
  On Tuesday 27 February 2007 18:18, Eric Bollengier wrote:
   if you want to see kern in action !
  
   http://ftp.belnet.be/mirrors/FOSDEM/2007/FOSDEM2007-Bacula.ogg
 
  Egads, what a horror!  :-)
 
  Every time I do a live demo, something goes wrong.  What I forgot was
  that in a certain sense, my whole presentation was a live demo because I
  had to run OpenOffice to display my slides -- it started off very slowly
  with the SuSE update consuming my whole underpowered machine for about 5
  minutes :-(

 there was nothing wrong. I think you just showed very live and clearly how
 good bacula and OSS in general is. ;-)

 What I mean is: SuSE's ZLM + KDE + OpenOffice + apache (with mod_perl) +
 Firefox + bacula (dir, fd, sd, bconsole) + Konsoles + perhaps some other
 KDE applets and daemons...


 all on a 256 MByte/700MHz machine with slow IDE disk. That is fantastic
 IMO. :-)

Yes, thanks.  I had the same thought -- it is amazing that so much can 
actually run very productively on a 256MB machine.  

On the other hand, the same thing happened to me this morning while adding the 
WEP key so my grand-daughter could access her email while on vacation.  The 
difference was that in 10 seconds I had removed zmd and eliminated the 
problem 5 minute startup performance problem -- that's the difference between 
being online in front of 200 people or sitting down at home ... :-)

Kern

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] FileSet excluding files help

2007-02-28 Thread Chris Sarginson
Hi Guys,

I'm trying to get bacula to exclude log files (live and old compressed) 
and the windows page file, but I'm having a little trouble, IE, it's not 
doing as I ask it.  As a result I assume I am asking it incorrectly :-)

bacula-mysql 2.0.1 on Centos 4.3

Here is my file set resource, I have tried emulating the config in the 
manual, in 2 fashions.  If anyone can point me in the correct direction 
it would be much appreciated.

FileSet {
   Name = Full Set
   Include {
 Options {
   signature = MD5
   onefs = no
   fstype = ext2
 }

File = /
   }
   Include {
Options {
wildfile = access.log
wildfile = access.log.*.*.gz
 wildfile = access.log.*.*
wildfile = error.log
Exclude = yes
}
}
   Exclude {
 File = /proc
 File = /tmp
 File = /.journal
 File = /.fsck
   }
}

#Windows File Set
FileSet {
   Name = Windows Full Set
Include {
Options {
signature = MD5
onefs = no
fstype = ntfs
}
File = C:/
File = D:/
}
Include {
Options {
wildfile = pagefile.sys
wildfile = *.log
Exclude = yes
}
}
}

-- 
Kind Regards,

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545
(e) [EMAIL PROTECTED]

The UK's Best Business Host 2007
The UK's Best Hosting Provider 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd,  Abbey House,  32 Booth Street,  Manchester,  M2 4AB
Registered in England. Number 384 5616


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Follow up on the mount problem

2007-02-28 Thread Kern Sibbald
On Friday 23 February 2007 08:26, Michael Brennen wrote:
 Hello again,

 This is a followup of my earlier post this evening.

 One of the problem jobs just started again.  It is looking for the
 volume 'FNI0003' to be in drive 0.  It was mounted in drive 1, but
 would not use it.

 The status of the autochanger is this; FNI0003 is loaded in drive 1.

 Data Transfer Element 0:Empty
 Data Transfer Element 1:Full (Storage Element 4 Loaded):VolumeTag = FNI0003
 Data Transfer Element 2:Empty
 Data Transfer Element 3:Empty
Storage Element 1:Full :VolumeTag=FNI
Storage Element 2:Full :VolumeTag=FNI0001
Storage Element 3:Full :VolumeTag=FNI0002
Storage Element 4:Empty
Storage Element 5:Full :VolumeTag=FNI0004

 The command 'stat sd=Q47' gave this status:

 Autochanger Q47 with devices:
 Drive-0 (/dev/nst0)
 Drive-1 (/dev/nst1)
 Drive-2 (/dev/nst2)
 Drive-3 (/dev/nst3)
 Device Drive-0 (/dev/nst0) is not open.
  Device is BLOCKED waiting for media.
  Drive 0 status unknown.
 Device Drive-1 (/dev/nst1) is mounted with Volume= Pool=FishNet-Daily
  Drive 1 status unknown.
  Total Bytes=14,781,634,560 Blocks=229,129 Bytes/block=64,512
  Positioned at File=23 Block=0
 Device Drive-2 (/dev/nst2) is not open.
  Drive 2 status unknown.
 Device Drive-3 (/dev/nst3) is not open.
  Drive 3 status unknown.

 Note the Volume=; I don't know why that was blank.

 To move the tape I issued an unmount command on drive 1, and the
 result was this:

 3307 Issuing autochanger unload slot 1, drive 1 command.
 3995 Bad autochanger unload slot 1, drive 1: ERR=Child exited with code 1
 Results=Storage Element 1 is Already Full

 Why was the unmount attempted to slot 1?  The tape in the drive came
 from slot 4.  The mounted Volume= seems to indicate that bacula
 clearly thought it had a mounted tape in drive 1, but for some
 reason it appears to have lost which one.

 I manually issued the mtx commands to move the FNI0003 volume to
 drive one, and the blocked job took off and ran.  Now I have a
 blocked drive from the manual unmount of 1, but the mounted volume
 now has the correct name.

 Device Drive-0 (/dev/nst0) is mounted with Volume=FNI0003
 Pool=FishNet-Daily Drive 0 status unknown.
  Total Bytes=14,781,763,584 Blocks=229,131 Bytes/block=64,512
  Positioned at File=23 Block=2
 Device Drive-1 (/dev/nst1) is not open.
  Device is BLOCKED. User unmounted.
  Drive 1 status unknown.

 I really do not know how the drive allocations became so scrambled.
 It just started happening after the cancellation confusion after the
 hung network backup last weekend.  If anyone has insight on where it
 might be confused or how to surgically modify the database to
 un-confuse I am open to trying it.  For the moment I will continue
 to execute the mounts by hand until these volumes are filled and
 bacula goes on to others.  Thanks...

Would you be willing to try a beta version of 2.0.3 to make sure the problem 
does not exist there? -- I am about 99% sure there should be no problem, but 
I sure would like a confirmation.  It passes all my file and tape regression 
tests with no problems.




 -- Michael

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet excluding files help

2007-02-28 Thread Julien
You have to put the Exclude=yes at the _beginning_ because first match wins

Chris Sarginson wrote:
 Hi Guys,

 I'm trying to get bacula to exclude log files (live and old compressed) 
 and the windows page file, but I'm having a little trouble, IE, it's not 
 doing as I ask it.  As a result I assume I am asking it incorrectly :-)

 bacula-mysql 2.0.1 on Centos 4.3

 Here is my file set resource, I have tried emulating the config in the 
 manual, in 2 fashions.  If anyone can point me in the correct direction 
 it would be much appreciated.

 FileSet {
Name = Full Set
Include {
  Options {
signature = MD5
onefs = no
fstype = ext2
  }

 File = /
}
Include {
   Options {
   wildfile = access.log
   wildfile = access.log.*.*.gz
  wildfile = access.log.*.*
   wildfile = error.log
   Exclude = yes
   }
   }
Exclude {
  File = /proc
  File = /tmp
  File = /.journal
  File = /.fsck
}
 }

 #Windows File Set
 FileSet {
Name = Windows Full Set
   Include {
   Options {
   signature = MD5
   onefs = no
   fstype = ntfs
   }
   File = C:/
   File = D:/
   }
   Include {
   Options {
   wildfile = pagefile.sys
   wildfile = *.log
   Exclude = yes
   }
   }
 }

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet excluding files help

2007-02-28 Thread Chris Sarginson
Hi Julien,

I see, so the snippet should be:

Include {
Options {
Exclude = yes
wildfile = access.log
wildfile = access.log.*.*.gz
wildfile = access.log.*.*
wildfile = error.log
}
}

If so, thanks very much for your help.

Chris

Julien wrote:
 You have to put the Exclude=yes at the _beginning_ because first match 
 wins

 Chris Sarginson wrote:
 Hi Guys,

 I'm trying to get bacula to exclude log files (live and old 
 compressed) and the windows page file, but I'm having a little 
 trouble, IE, it's not doing as I ask it.  As a result I assume I am 
 asking it incorrectly :-)

 bacula-mysql 2.0.1 on Centos 4.3

 Here is my file set resource, I have tried emulating the config in 
 the manual, in 2 fashions.  If anyone can point me in the correct 
 direction it would be much appreciated.

 FileSet {
Name = Full Set
Include {
  Options {
signature = MD5
onefs = no
fstype = ext2
  }

 File = /
}
Include {
 Options {
 wildfile = access.log
 wildfile = access.log.*.*.gz
  wildfile = access.log.*.*
 wildfile = error.log
 Exclude = yes
 }
 }
Exclude {
  File = /proc
  File = /tmp
  File = /.journal
  File = /.fsck
}
 }

 #Windows File Set
 FileSet {
Name = Windows Full Set
 Include {
 Options {
 signature = MD5
 onefs = no
 fstype = ntfs
 }
 File = C:/
 File = D:/
 }
 Include {
 Options {
 wildfile = pagefile.sys
 wildfile = *.log
 Exclude = yes
 }
 }
 }

   



-- 
Kind Regards,

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545
(e) [EMAIL PROTECTED]

The UK's Best Business Host 2007
The UK's Best Hosting Provider 2006 and 2005
 
Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net
 
UKFast.Net Ltd,  Abbey House,  32 Booth Street,  Manchester,  M2 4AB
Registered in England. Number 384 5616
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet excluding files help

2007-02-28 Thread Julien
Yes, for example I have the following lines in my bacula-dir.conf :

278 FileSet {
279 Name = rivendell-fs
280
281 Include {
282
283 Options {
284 IgnoreCase = yes
285 Exclude = yes
286 @/etc/bacula/excludes/global
287 }
288
289 Options {
290 compression = GZIP6
291 IgnoreCase = no
292 signature = MD5
293 recurse = yes
294 onefs = yes
295 }
296  
297 @/etc/bacula/includes/global
298 @/etc/bacula/includes/rivendell
299 }
300
301 Exclude {
302 File = core
303 }
304 }

if lines 283-287 were after line 299 it would not work.

Regards,
Julien

Chris Sarginson wrote:
 Hi Julien,

 I see, so the snippet should be:

 Include {
 Options {
 Exclude = yes
 wildfile = access.log
 wildfile = access.log.*.*.gz
 wildfile = access.log.*.*
 wildfile = error.log
 }
 }

 If so, thanks very much for your help.

 Chris

 Julien wrote:
   
 You have to put the Exclude=yes at the _beginning_ because first match 
 wins

 Chris Sarginson wrote:
 
 Hi Guys,

 I'm trying to get bacula to exclude log files (live and old 
 compressed) and the windows page file, but I'm having a little 
 trouble, IE, it's not doing as I ask it.  As a result I assume I am 
 asking it incorrectly :-)

 bacula-mysql 2.0.1 on Centos 4.3

 Here is my file set resource, I have tried emulating the config in 
 the manual, in 2 fashions.  If anyone can point me in the correct 
 direction it would be much appreciated.

 FileSet {
Name = Full Set
Include {
  Options {
signature = MD5
onefs = no
fstype = ext2
  }

 File = /
}
Include {
 Options {
 wildfile = access.log
 wildfile = access.log.*.*.gz
  wildfile = access.log.*.*
 wildfile = error.log
 Exclude = yes
 }
 }
Exclude {
  File = /proc
  File = /tmp
  File = /.journal
  File = /.fsck
}
 }

 #Windows File Set
 FileSet {
Name = Windows Full Set
 Include {
 Options {
 signature = MD5
 onefs = no
 fstype = ntfs
 }
 File = C:/
 File = D:/
 }
 Include {
 Options {
 wildfile = pagefile.sys
 wildfile = *.log
 Exclude = yes
 }
 }
 }

   
   


   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] file size error when restoring multiple jobs

2007-02-28 Thread Jörn Beutner
   Hello,

I get the following error messages when I restore two backup 
jobs simultaneously:

Error: attribs.c:409 File size of restored file /mnt/file1 not 
   correct. Original 340517841, restored 151715840.
Error: attribs.c:409 File size of restored file /mnt/file2 not
   correct. Original 283045352, restored 471781817.

Each backup job contains only one file (job 1 contains /mnt/file1 
and job 2 contains /mnt/file2). Both jobs share the same pool and the 
same file storage device and, that's important, are running  
simultaneously. Consequently the data of both backup jobs are stored 
in the same volume file. I use the bconsole to run the restore job 
and choose the option '3: Enter list of comma separated JobIds to 
select' and enter the jobids of the two backup jobs.

If I restore each backup job separately no errors occur. The errors 
don't occur too, if I use data spooling for the backup. But that's 
not what I want.

I've tested the bacula versions 1.38.11 and 2.0.2 with linux (SLES9, 
SLES10 and debian etch) on x86 and amd64 PCs. The test setup is based 
on the bacula example config files with some modifications for 
running concurrent backup jobs. The errors are allways the same.


I get similar restore errors concerning the file size on my production 
system. I use a Qualstar tape library with two drives (AIT-3) and an 
autochanger. The daily backup consist of several jobs. Both drives 
are used for simultaneous backups but only one job writes to a drive 
at the same time (I've adjusted the parameters 'Maximum Concurrent 
Jobs' and 'Prefer Mounted Volumes' suitably). I have reduced the 
problem to the following setting:

The first backup job contains one file which fills up one tape to 40%. 
The second backup job contains one file too, and it has the size of 
120% of the tape capacity. I run both jobs simultaneously. The first 
job uses the first drive 1 with tape number 1, and the second job 
uses the second drive with the tape number 2. When the second job has 
filled the tape number 2, the autochanger changes the tape number 1 
(which is allready partially filled with the data from job 1) to the 
second drive and the second jobs is finished.

This mixture leads also to the allready mentioned restore problems. 
If I restore both backup jobs simultaneously with bconsole (only one 
drive is used for the restore) the size of the restored file from the 
second job is to small (about the size of the capacity of one tape), 
and the file from the first jobs is to large (about the size of the 
original file plus the missing part of the second job). If I run 
separated restore jobs (one for each backup job) everything is fine.


Is this a bug, or do I need some special settings to avoid the 
discribed problems?


Thanks,
Joern


-- 
Institut für Mathematik
Technische Universität Berlin, Germany
Phone: ++49 30 314 29283; FAX: ++49 30 314 29621


pgpLD0W66KB2S.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula returns: The number of files Mismatch!

2007-02-28 Thread Jason King
I got this error message myself once. I was told you can make the 
Catalog match the Volume. I don't remember how it can be done though. 
Search through the mailling list archives...it should be in there for 
this month.

Thomas Franz wrote:
 Hello,

 I am running bacula for a lot of month, without any problems.
 But yesterday I've got this message:
 
 27-Feb 11:05 dssbkup-sd: Volume A00040 previously written, moving to end of 
 data.
 27-Feb 11:06 dssbkup-sd: Backup.2007-02-27_11.05.00 Error: I cannot write on 
 Volume A00040 because:
 The number of files mismatch! Volume=456 Catalog=457
 27-Feb 11:06 dssbkup-sd: Marking Volume A00040 in Error in Catalog.
 ...

 OS: FreeBSD 6.1
 Bacula: 1.38.9
 TAPE : LTO-3  (IBM Ultrium-TD3)
 Library: Exabyte

 It was the first run after a system restart. ( But this was not the first 
 time 
 bacula runs after a restart) .

 I did a bls -c bacula-sd.conf -j -V A00040 /dev/nsa3 :
 
  bls: butil.c:269 Using device: /dev/nsa3 for reading.
 27-Feb 20:05 bls: 3301 Issuing autochanger loaded drive 0 command.
 27-Feb 20:05 bls: 3302 Autochanger loaded drive 0, result is Slot 3.
 27-Feb 20:05 bls: Ready to read from volume A00040 on device 
 LTO-3 (/dev/nsa3).
 bls: acquire.c:200 jcr-dcr=0x80a8818
 Volume Record: File:blk=0:1 SessId=1 SessTime=1172134677 JobId=1 DataLen=163
 End Job Session Record: File:blk=58:15321 SessId=1 SessTime=1172134677 
 JobId=741
Date=22-Feb-2007 12:36:13 Level=I Type=B Files=163 Bytes=118,812,601,974 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=59:1 SessId=2 SessTime=1172134677 JobId=742
Job=BackupCatalog.2007-02-22_11.10.00 Date=22-Feb-2007 12:36:27 Level=F 
 Type=B
 End Job Session Record: File:blk=59:167 SessId=2 SessTime=1172134677 JobId=742
Date=22-Feb-2007 12:36:27 Level=F Type=B Files=1 Bytes=10,742,762 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=60:1 SessId=1 SessTime=1172158974 JobId=743
Job=Backup.2007-02-23_11.05.00 Date=23-Feb-2007 11:05:57 Level=I Type=B
 End Job Session Record: File:blk=184:15075 SessId=1 SessTime=1172158974 
 JobId=743
Date=23-Feb-2007 13:12:25 Level=I Type=B Files=170 Bytes=124,871,924,365 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=185:1 SessId=2 SessTime=1172158974 
 JobId=744
Job=BackupCatalog.2007-02-23_11.10.00 Date=23-Feb-2007 13:12:41 Level=F 
 Type=B
 End Job Session Record: File:blk=185:167 SessId=2 SessTime=1172158974 
 JobId=744
Date=23-Feb-2007 13:12:42 Level=F Type=B Files=1 Bytes=10,758,705 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=186:1 SessId=3 SessTime=1172158974 
 JobId=745
Job=BackupCatalog.2007-02-24_11.10.00 Date=24-Feb-2007 11:10:12 Level=F 
 Type=B
 End Job Session Record: File:blk=186:167 SessId=3 SessTime=1172158974 
 JobId=745
Date=24-Feb-2007 11:10:13 Level=F Type=B Files=1 Bytes=10,759,041 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=187:1 SessId=4 SessTime=1172158974 
 JobId=746
Job=Backup.2007-02-24_15.05.00 Date=24-Feb-2007 15:05:08 Level=I Type=B
 End Job Session Record: File:blk=373:4820 SessId=4 SessTime=1172158974 
 JobId=746
Date=24-Feb-2007 18:21:53 Level=I Type=B Files=227 Bytes=186,160,933,600 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=374:1 SessId=5 SessTime=1172158974 
 JobId=747
Job=BackupCatalog.2007-02-25_11.10.00 Date=25-Feb-2007 11:10:11 Level=F 
 Type=B
 End Job Session Record: File:blk=374:168 SessId=5 SessTime=1172158974 
 JobId=747
Date=25-Feb-2007 11:10:12 Level=F Type=B Files=1 Bytes=10,781,378 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=375:1 SessId=6 SessTime=1172158974 
 JobId=748
Job=Backup.2007-02-25_15.05.00 Date=25-Feb-2007 15:05:07 Level=I Type=B
 End Job Session Record: File:blk=424:13848 SessId=6 SessTime=1172158974 
 JobId=748
Date=25-Feb-2007 15:55:11 Level=I Type=B Files=103 Bytes=49,853,197,033 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=425:1 SessId=7 SessTime=1172158974 
 JobId=749
Job=Backup.2007-02-26_11.05.00 Date=26-Feb-2007 11:05:07 Level=I Type=B
 End Job Session Record: File:blk=455:12387 SessId=7 SessTime=1172158974 
 JobId=749
Date=26-Feb-2007 11:36:23 Level=I Type=B Files=86 Bytes=30,774,345,961 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=456:1 SessId=8 SessTime=1172158974 
 JobId=750
Job=BackupCatalog.2007-02-26_11.10.00 Date=26-Feb-2007 11:36:39 Level=F 
 Type=B
 End Job Session Record: File:blk=456:168 SessId=8 SessTime=1172158974 
 JobId=750
Date=26-Feb-2007 11:36:40 Level=F Type=B Files=1 Bytes=10,798,086 Errors=0 
 Status=T
 27-Feb 22:41 bls: bls Error: block.c:945 Read error at file:blk 457:0 on 
 device LTO-3 (/dev/nsa3). ERR=Operation not permi
 tted.
 27-Feb 22:41 bls: End of Volume at file 457 on device LTO-3 (/dev/nsa3), 
 Volume A00040
 27-Feb 22:41 bls: End of all volumes.
 --

 Job 

[Bacula-users] Full Backup on WinXP 64-bit System Slow

2007-02-28 Thread Mike Hanby
Howdy,

 

I'm running bacula 2.0.2 dir, sd, fd on a Fedora 6 system using MySQL (on
the same server) backing up to a SATA 500GB hard drive. The bacula-dir.conf
is set to only allow 1 job to run at a time.

 

The full backup on it (100GB's or so compressed down to 49GB) took about 3
hours, which I would consider pretty decent.

 

The server and all clients are connected via Gigabit ethernet and Cat6
wires.

 

The full backup on my Windows XP 64 bit box, dual core AMD, started at 3 AM
this morning and is still running (I'd guess it has approx 100GB's to
backup). It's backed up approx 15 GB's in 6 hours.

 

* status client=winxp64-fd

Running Jobs:

JobId 3 Job winxp64.2007-02-28_03.05.01 is running.

VSS Backup Job started: 28-Feb-07 03:08

Files=47,674 Bytes=15,959,398,901 Bytes/sec=756,764

Files Examined=47,674

Processing file: C:/scripts/perl/enumerate.pl

SDReadSeqNo=5 fd=624

 

I read that as just over 1/2 a MB/s.

 

Now, if I do a tcpdump -i eth0 on my server, I only see bacula-sd activity
in bursts. Here's a sample of the output covering 3 minutes:

 

listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

09:06:17.217834 IP winxp64.qotps  192.168.2.100.bacula-sd: P
2493618154:2493619614(1460) ack 4049850142 win 65388

09:06:17.218992 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 1460 win
65535

09:06:22.218142 arp who-has winxp64 tell 192.168.2.100

09:06:22.218214 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

09:06:23.248976 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
3845934961:3845934966(5) ack 842975595 win 64428

09:06:23.332040 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P 1:9(8)
ack 5 win 64202

09:06:23.451931 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 9
win 64420

09:06:55.607110 IP winxp64.qotps  192.168.2.100.bacula-sd: P
1460:2920(1460) ack 1 win 65388

09:06:55.607357 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 2920 win
65535

09:07:00.606194 arp who-has winxp64 tell 192.168.2.100

09:07:00.606265 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

09:07:04.325571 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P 5:10(5)
ack 9 win 64420

09:07:04.410594 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P 9:17(8)
ack 10 win 64197

09:07:04.575481 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 17
win 64412

09:07:47.402215 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
10:15(5) ack 17 win 64412

09:07:47.486796 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
17:25(8) ack 15 win 64192

09:07:47.667718 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 25
win 64404

09:07:52.485501 arp who-has winxp64 tell 192.168.2.100

09:07:52.485584 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

09:08:12.385659 IP winxp64.qotps  192.168.2.100.bacula-sd: P
2920:4380(1460) ack 1 win 65388

09:08:12.385873 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 4380 win
65535

09:08:13.066907 IP 192.168.2.100.40273  winxp64.bacula-fd: . ack 904760237
win 6432

09:08:13.066998 IP winxp64.bacula-fd  192.168.2.100.40273: . ack 1 win
64514

09:08:13.588652 IP winxp64.bacula-fd  192.168.2.100.40273: . 0:1(1) ack 1
win 64514

09:08:13.588723 IP 192.168.2.100.40273  winxp64.bacula-fd: . ack 1 win 6432

09:08:28.494530 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
15:20(5) ack 25 win 64404

09:08:28.579103 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
25:33(8) ack 20 win 64187

09:08:28.791337 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 33
win 64396

09:08:33.578210 arp who-has winxp64 tell 192.168.2.100

09:08:33.578276 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

09:09:09.571163 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
20:25(5) ack 33 win 64396

09:09:09.653956 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
33:41(8) ack 25 win 64182

09:09:09.805463 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 41
win 64388

09:09:14.652912 arp who-has winxp64 tell 192.168.2.100

09:09:14.652979 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

09:09:54.647776 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
25:30(5) ack 41 win 64388

09:09:54.732949 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
41:49(8) ack 30 win 64177

09:09:54.866375 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 49
win 64380

 

I can't log into the XP system until later tonight to try shutting down
various running processes (Avast Antivirus, DiskKeeper defragger, etc...).

 

Has anyone with XP64bit SP2 experienced a similar scenario?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list

[Bacula-users] FileSet excludes with regexdir/wilddir (was [bacula 2.0.2] ACL's missing after restore)

2007-02-28 Thread Ralf Gross
Hi,

Kern Sibbald schrieb:
 The above *probably* would have written (I am unsure what you really wanted) 
 had you written it as:
 
  FileSet {
Name = VU0EM003 Full
Include {
  File = /
  File = /server
  File = /public
  File = /home
  Options {
aclsupport = yes
signature = MD5
 RegexDir = .*000_KEIN_BACKUP.*
 exclude = yes
   }
 }
  [snip]

I'm facing a problem with an other FileSet.

The following should backup everything in all 000_INS_ARCHIV directories below
/server/projekte. There is at least one directory that matches the
regex/wilddir expression at the moment.

# ls -l /server/projekte/EAT/test
insgesamt 0
dr-xr-s--- 2 ralfgro ve 6 2007-02-27 18:18 000_ARCHIV.2007-02-27
drwxr-s--- 2 ralfgro ve 6 2007-02-27 18:18 000_INS_ARCHIV
drwxr-sr-x 2 rootve 6 2007-02-28 15:24 000_KEIN_BACKUP
drwxrws--- 2 ralfgro ve 6 2007-02-27 18:05 test


FileSet {
  Name = VU0EM003-Archiv
  Include {
Options {
   signature = MD5
   aclsupport = yes
   #RegexDir = .*000_INS_ARCHIV.*
   #wilddir = /server/projekte/EAT/test/000_INS_ARCHIV*
   wilddir = *000_INS_ARCHIV*
}
Options {
   RegexDir = .*
   exclude = yes
}
File = /server/projekte
  }
[snip]


# ./bregex -f /tmp/regex
Enter regex pattern: .*000_INS_ARCHIV.*
1: /server/projekte/EAT/test/000_INS_ARCHIV

# ./bwild -f /tmp/regex
Enter a wild-card: *000_INS_ARCHIV*
1: /server/projekte/EAT/test/000_INS_ARCHIV


*reload
*estimate job=VU0EM003-Archiv listing client=VU0EM003-Archiv  
fileset=VU0EM003-Archiv level=full
Using Catalog ArchiveCatalog
Connecting to Client VU0EM003-Archiv at 10.60.1.252:9102
drwxr-xr-x  11 root root   125 2007-02-18 10:57:58  /server/projekte
2000 OK estimate files=1 bytes=0

A real backup shows the same result.

I'm trying to follow this example:
http://www.bacula.org/rel-manual/FileSet_Resource.html#SECTION00153

FileSet {
  Name = Full Set
  Include {
 Options {
wilddir = /home/a*
wilddir = /home/b*
 }
 Options {
RegexDir = .*
exclude = yes
 }
 File = /home
  }
}



What am I missing in my VU0EM003-Archiv FileSet?

Thanks,
Ralf

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] dedicated storage-servers for different Pools

2007-02-28 Thread Christoph Klünter
Hi,

I would like to have a storage-server for the daily and weekly backups
and another storage server for the monthly backups.
They both use Disks for storage.
The test-backup went fine, but the restore didn't.
I have files on both storage-servers which need to be restored.
But I get an error:

 28-Feb 16:16 backup02-sd: RestoreJob.2007-02-28_16.16.54 Fatal error: Open
 device /var/bacula/ volume Monthly-0005 failed, ERR=dev.c:340 Could not  
 open: /var/bacula//Monthly-0005, ERR=No such file or directory 

This is no wonder, because the Monthly backup is stored on another server.
Is it possible to have backups for one client distributed over two servers and
restore from both server ?

Regards,
   Christoph


-- 
NMMN - New Media Markets  Networks GmbH
Geschäftsführung: Kfm. Michael Schütt
Finanzamt HH-Altona UStID DE 812 699 852  HRB 71102 Hamburg
HypoVereinsbank  -   BLZ 200 300 00  -  Konto-Nr. 156 29 82

http://www.nmmn.com   Tel.: +49 40 284 118 -0
Langbehnstrasse 6  Technische Hotline   -700
22761 Hamburg Fax: -999

Rufen Sie uns kostenlos an: http://www.nmmn.com/call/technik

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Autochanger definition ok?

2007-02-28 Thread Steve Barnes
Hi List

Can someone please take a look at the below bacula-sd  bacula-dir
configuration and tell me if it looks ok (using one external DLT-IV VS80
drive)

Thanks

Steve

=== BACULA-SD ==

Autochanger {
  Name = DLT-PSEUDO-CHANGER
  Device = HP-DLT-VS80-01
  Changer Device = /dev/nsa0
  Changer Command = /usr/local/bin/mtx-changer %o %a %S
}

# HP tape drive configuration
Device {
  Name = HP-DLT-VS80-01
  Description = HP DLT VS80 EXTERNAL
  Media Type = HPDLT-IV
  Archive Device = /dev/nsa0
  RemovableMedia = yes
  AutomaticMount = yes
  AlwaysOpen = yes
  Label Media = yes
  Device Type = tape
  Offline On Unmount = yes
  Hardware End of Medium = no
  BSF at EOM = yes
  Backward Space Record = no
  Fast Forward Space File = no
  TWO EOF = yes
  Autochanger = yes
} 

=== BACULA-DIR ==

Storage {
Name= nasbox-sd
Address = nasbox1
SDPort  = 9103
Password= password
Device  = DLT-PSEUDO-CHANGER
Media Type  = HPDLT-IV
Autochanger = yes
}

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochanger definition ok?

2007-02-28 Thread John Drescher
On 2/28/07, Steve Barnes [EMAIL PROTECTED] wrote:
 Hi List

 Can someone please take a look at the below bacula-sd  bacula-dir
 configuration and tell me if it looks ok (using one external DLT-IV VS80
 drive)

 Thanks

 Steve

 === BACULA-SD ==

 Autochanger {
   Name = DLT-PSEUDO-CHANGER
   Device = HP-DLT-VS80-01
   Changer Device = /dev/nsa0
   Changer Command = /usr/local/bin/mtx-changer %o %a %S
 }


I believe  Changer Device = /dev/nsa0 is wrong. It should be something
like /dev/sg0

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file size error when restoring multiple jobs

2007-02-28 Thread Kern Sibbald
On Wednesday 28 February 2007 15:46, Jörn Beutner wrote:
Hello,

 I get the following error messages when I restore two backup
 jobs simultaneously:

 Error: attribs.c:409 File size of restored file /mnt/file1 not
correct. Original 340517841, restored 151715840.
 Error: attribs.c:409 File size of restored file /mnt/file2 not
correct. Original 283045352, restored 471781817.

 Each backup job contains only one file (job 1 contains /mnt/file1
 and job 2 contains /mnt/file2). Both jobs share the same pool and the
 same file storage device and, that's important, are running
 simultaneously. Consequently the data of both backup jobs are stored
 in the same volume file. I use the bconsole to run the restore job
 and choose the option '3: Enter list of comma separated JobIds to
 select' and enter the jobids of the two backup jobs.

 If I restore each backup job separately no errors occur. The errors
 don't occur too, if I use data spooling for the backup. But that's
 not what I want.

 I've tested the bacula versions 1.38.11 and 2.0.2 with linux (SLES9,
 SLES10 and debian etch) on x86 and amd64 PCs. The test setup is based
 on the bacula example config files with some modifications for
 running concurrent backup jobs. The errors are allways the same.


 I get similar restore errors concerning the file size on my production
 system. I use a Qualstar tape library with two drives (AIT-3) and an
 autochanger. The daily backup consist of several jobs. Both drives
 are used for simultaneous backups but only one job writes to a drive
 at the same time (I've adjusted the parameters 'Maximum Concurrent
 Jobs' and 'Prefer Mounted Volumes' suitably). I have reduced the
 problem to the following setting:

 The first backup job contains one file which fills up one tape to 40%.
 The second backup job contains one file too, and it has the size of
 120% of the tape capacity. I run both jobs simultaneously. The first
 job uses the first drive 1 with tape number 1, and the second job
 uses the second drive with the tape number 2. When the second job has
 filled the tape number 2, the autochanger changes the tape number 1
 (which is allready partially filled with the data from job 1) to the
 second drive and the second jobs is finished.

 This mixture leads also to the allready mentioned restore problems.
 If I restore both backup jobs simultaneously with bconsole (only one
 drive is used for the restore) the size of the restored file from the
 second job is to small (about the size of the capacity of one tape),
 and the file from the first jobs is to large (about the size of the
 original file plus the missing part of the second job). If I run
 separated restore jobs (one for each backup job) everything is fine.


 Is this a bug, or do I need some special settings to avoid the
 discribed problems?

Perhaps this is not well documented, but Bacula is not designed to restore two 
jobs at the same time that were backed up simultaneously.  If you have 
spooling turned on and the whole job is spooled, you can restore two jobs at 
the same time.  However, if the spool does not hold the whole of each job, 
you will have similar problems.

I have never seen any need to do simultaneous restores of different jobs, so 
what you are trying to do is not supported.



 Thanks,
   Joern

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file size error when restoring multiple jobs

2007-02-28 Thread Kern Sibbald
On Wednesday 28 February 2007 15:46, Jörn Beutner wrote:
Hello,

 I get the following error messages when I restore two backup
 jobs simultaneously:

 Error: attribs.c:409 File size of restored file /mnt/file1 not
correct. Original 340517841, restored 151715840.
 Error: attribs.c:409 File size of restored file /mnt/file2 not
correct. Original 283045352, restored 471781817.

 Each backup job contains only one file (job 1 contains /mnt/file1
 and job 2 contains /mnt/file2). Both jobs share the same pool and the
 same file storage device and, that's important, are running
 simultaneously. Consequently the data of both backup jobs are stored
 in the same volume file. I use the bconsole to run the restore job
 and choose the option '3: Enter list of comma separated JobIds to
 select' and enter the jobids of the two backup jobs.

 If I restore each backup job separately no errors occur. The errors
 don't occur too, if I use data spooling for the backup. But that's
 not what I want.

 I've tested the bacula versions 1.38.11 and 2.0.2 with linux (SLES9,
 SLES10 and debian etch) on x86 and amd64 PCs. The test setup is based
 on the bacula example config files with some modifications for
 running concurrent backup jobs. The errors are allways the same.


 I get similar restore errors concerning the file size on my production
 system. I use a Qualstar tape library with two drives (AIT-3) and an
 autochanger. The daily backup consist of several jobs. Both drives
 are used for simultaneous backups but only one job writes to a drive
 at the same time (I've adjusted the parameters 'Maximum Concurrent
 Jobs' and 'Prefer Mounted Volumes' suitably). I have reduced the
 problem to the following setting:

 The first backup job contains one file which fills up one tape to 40%.
 The second backup job contains one file too, and it has the size of
 120% of the tape capacity. I run both jobs simultaneously. The first
 job uses the first drive 1 with tape number 1, and the second job
 uses the second drive with the tape number 2. When the second job has
 filled the tape number 2, the autochanger changes the tape number 1
 (which is allready partially filled with the data from job 1) to the
 second drive and the second jobs is finished.

 This mixture leads also to the allready mentioned restore problems.
 If I restore both backup jobs simultaneously with bconsole (only one
 drive is used for the restore) the size of the restored file from the
 second job is to small (about the size of the capacity of one tape),
 and the file from the first jobs is to large (about the size of the
 original file plus the missing part of the second job). If I run
 separated restore jobs (one for each backup job) everything is fine.


 Is this a bug, or do I need some special settings to avoid the
 discribed problems?

Just so it is clear to everyone, the above problem does not concern 
doing normal restores of multiple jobids from the same job as happens when 
Bacula restores a current system.



 Thanks,
   Joern

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Full Backup on WinXP 64-bit System Slow

2007-02-28 Thread Kern Sibbald
Read the Win32 chapter of the manual. It has a number of possible remedies for 
this problem -- I suspect that you are getting hit by a network buffer that 
is too large for your Win32 ethernet card.

On Wednesday 28 February 2007 16:19, Mike Hanby wrote:
 Howdy,



 I'm running bacula 2.0.2 dir, sd, fd on a Fedora 6 system using MySQL (on
 the same server) backing up to a SATA 500GB hard drive. The bacula-dir.conf
 is set to only allow 1 job to run at a time.



 The full backup on it (100GB's or so compressed down to 49GB) took about 3
 hours, which I would consider pretty decent.



 The server and all clients are connected via Gigabit ethernet and Cat6
 wires.



 The full backup on my Windows XP 64 bit box, dual core AMD, started at 3 AM
 this morning and is still running (I'd guess it has approx 100GB's to
 backup). It's backed up approx 15 GB's in 6 hours.



 * status client=winxp64-fd

 Running Jobs:

 JobId 3 Job winxp64.2007-02-28_03.05.01 is running.

 VSS Backup Job started: 28-Feb-07 03:08

 Files=47,674 Bytes=15,959,398,901 Bytes/sec=756,764

 Files Examined=47,674

 Processing file: C:/scripts/perl/enumerate.pl

 SDReadSeqNo=5 fd=624



 I read that as just over 1/2 a MB/s.



 Now, if I do a tcpdump -i eth0 on my server, I only see bacula-sd activity
 in bursts. Here's a sample of the output covering 3 minutes:



 listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

 09:06:17.217834 IP winxp64.qotps  192.168.2.100.bacula-sd: P
 2493618154:2493619614(1460) ack 4049850142 win 65388

 09:06:17.218992 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 1460 win
 65535

 09:06:22.218142 arp who-has winxp64 tell 192.168.2.100

 09:06:22.218214 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:06:23.248976 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 3845934961:3845934966(5) ack 842975595 win 64428

 09:06:23.332040 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P 1:9(8)
 ack 5 win 64202

 09:06:23.451931 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 9
 win 64420

 09:06:55.607110 IP winxp64.qotps  192.168.2.100.bacula-sd: P
 1460:2920(1460) ack 1 win 65388

 09:06:55.607357 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 2920 win
 65535

 09:07:00.606194 arp who-has winxp64 tell 192.168.2.100

 09:07:00.606265 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:07:04.325571 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 5:10(5) ack 9 win 64420

 09:07:04.410594 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 9:17(8) ack 10 win 64197

 09:07:04.575481 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 17
 win 64412

 09:07:47.402215 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 10:15(5) ack 17 win 64412

 09:07:47.486796 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 17:25(8) ack 15 win 64192

 09:07:47.667718 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 25
 win 64404

 09:07:52.485501 arp who-has winxp64 tell 192.168.2.100

 09:07:52.485584 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:08:12.385659 IP winxp64.qotps  192.168.2.100.bacula-sd: P
 2920:4380(1460) ack 1 win 65388

 09:08:12.385873 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 4380 win
 65535

 09:08:13.066907 IP 192.168.2.100.40273  winxp64.bacula-fd: . ack 904760237
 win 6432

 09:08:13.066998 IP winxp64.bacula-fd  192.168.2.100.40273: . ack 1 win
 64514

 09:08:13.588652 IP winxp64.bacula-fd  192.168.2.100.40273: . 0:1(1) ack 1
 win 64514

 09:08:13.588723 IP 192.168.2.100.40273  winxp64.bacula-fd: . ack 1 win
 6432

 09:08:28.494530 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 15:20(5) ack 25 win 64404

 09:08:28.579103 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 25:33(8) ack 20 win 64187

 09:08:28.791337 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 33
 win 64396

 09:08:33.578210 arp who-has winxp64 tell 192.168.2.100

 09:08:33.578276 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:09:09.571163 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 20:25(5) ack 33 win 64396

 09:09:09.653956 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 33:41(8) ack 25 win 64182

 09:09:09.805463 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 41
 win 64388

 09:09:14.652912 arp who-has winxp64 tell 192.168.2.100

 09:09:14.652979 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:09:54.647776 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 25:30(5) ack 41 win 64388

 09:09:54.732949 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 41:49(8) ack 30 win 64177

 09:09:54.866375 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 49
 win 64380



 I can't log into the XP system until later tonight to try shutting down
 various running processes (Avast Antivirus, DiskKeeper defragger, etc...).



 Has anyone with XP64bit SP2 experienced a similar scenario?

-
Take 

[Bacula-users] Problem with bacula 1.38.11 and Autochanger

2007-02-28 Thread tom.boyda
Hello,

I am having an issue with bacula 1.38.11 on a Solaris 2.9 system with a
Qualstar RLS 8236 LTO-2 autochanger. I have had this setup working for
over a year and a half. There seems to be a problem with bacula getting
confused on which pool a tape belongs to here is a snip of the status
storage:

Device status:
Autochanger Autochanger-0 with devices:
   LTO-0 (/dev/rmt/0cbn)
   LTO-1 (/dev/rmt/1cbn)
Device FileStorage (/tmp) is not open or does not exist.
Device LTO-0 (/dev/rmt/0cbn) is mounted with Volume=Daily01-0004
Pool=Daily01
Slot 1 is loaded in drive 0.
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0
Device LTO-1 (/dev/rmt/1cbn) is mounted with Volume=Daily02-0004
Pool=Daily01
Slot 6 is loaded in drive 1.
Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
Positioned at File=0 Block=0


In Use Volume status:
Daily01-0004 on device LTO-0 (/dev/rmt/0cbn)
Daily02-0004 on device LTO-1 (/dev/rmt/1cbn)


The status storage reports the pool for volume Daily02-0004 as being
Daily01, but a list media shows the volume is the Daily02 pool which is
the correct pool.

From a list media pool=Daily02:
+-+--+---+-+--+-
-+-+--+---+---+-
+
| MediaId | VolumeName   | VolStatus | VolBytes| VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+-+--+---+-+--+-
-+-+--+---+---+-
+
|  34 | Daily02-0001 | Used  | 123,469,545,497 |  143 |
5,184,000 |   1 |   18 | 1 | LTO-2 | 2007-01-13 04:19:14
|
|  36 | Daily02-0002 | Used  | 134,669,297,962 |  154 |
5,184,000 |   1 |7 | 1 | LTO-2 | 2007-02-06 03:18:23
|
|  38 | Daily02-0003 | Used  | 157,600,113,825 |  171 |
5,184,000 |   1 |   20 | 1 | LTO-2 | 2007-02-22 03:26:51
|
|  40 | Daily02-0004 | Append|   9,882,711,009 |   16 |
5,184,000 |   1 |6 | 1 | LTO-2 | 2007-02-28 14:02:35
|
+-+--+---+-+--+-
-+-+--+---+---+-
+
*

I only have one bacula catalog.

Why does bacula think the volume Daily02-0004 is in the Daily01 pool?
Has anyone run into a similar situation?

I believe because of this problem, I needed to unmount and remount the
volumes to get bacula to finish the backup jobs today.

Some information on my configuration. I have 2 Monthly pools, 2 Weekly
pools and 2 Daily pools. For administrative reasons I have 4 clients
being backed up to the *01 pools and 3 clients being backed up to the
*02 pools.

Here is my autochanger and device setup:

#
Autochanger {
  Name = Autochanger-0
  Device = LTO-0
  Device = LTO-1
  Changer Command = /usr/local/bacula/etc/mtx-changer %c %o %S %a %d
  Changer Device = /dev/scsi/changer/c2t0d0
}

Device {
  Name = LTO-0
  Drive Index = 0
  Media Type = LTO-2
  Archive Device = /dev/rmt/0cbn
  AutomaticMount = yes;  # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Autoselect = yes   # Default is yes but not using the both
drives
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  Spool Directory = /local0/BACKUP
  Maximum Spool Size=16777216000
  Maximum Job Spool Size=1048576
}

Device {
  Name = LTO-1
  Drive Index = 1
  Media Type = LTO-2
  Archive Device = /dev/rmt/1cbn
  AutomaticMount = yes;  # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  AutoChanger = yes
  Autoselect = yes   # Default is yes but not using the both
drives
  Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
  Spool Directory = /local3/BACKUP
  Maximum Spool Size=29360128000
  Maximum Job Spool Size=19922944000
}  
 
Please let me know if you need more information.

Thank you,

Tom.

Thomas Boyda [EMAIL PROTECTED]
Consultant Proxicom, Inc.
http://www.proxicom.com
Phone: 276-739-2314

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] HP Library StorageWorks

2007-02-28 Thread Manuel Trujillo
Hi!

First, excuse me my bad english, and second, if it isn't the right list.

I have to buy a HP StorageWorks Library MSL2024, and I cannot find any
reference to Bacula with this hardware.
Anybody know anything about this?

Here it is the link to hardware specifications:
http://h18006.www1.hp.com/products/storageworks/msl2024/index.html?psn=storage

Thank you very much.

-- 
Manuel Trujillo Albarral
Responsable de Sistemas
VLEX NETWORKS S.L.
Telf: 93-272.26.85  ext. 111
Jabber/GoogleTalk [EMAIL PROTECTED]
http://www.vlex.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bextract and Win32 data stream not supported on this Client.

2007-02-28 Thread dmichal
Hello,

I have one bacula archive I need to restore data from. All I want is
just extract whole content of the archive and then manually move files.

 

So I did: bextract -c /etc/bacula/bacula-sd.conf archive /root/restore

And I've got:  bextract Error: Win32 data stream not supported on this
Client.

 

My  question is: How to simply extract any bacula archive to any place
on any machine?

 

Thanks,

David

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bextract and Win32 data stream not supported on this Client.

2007-02-28 Thread dmichal
Hello,

I have one bacula archive I need to restore data from. All I want is
just extract whole content of the archive and then manually move files.

 

So I did: bextract -c /etc/bacula/bacula-sd.conf archive /root/restore

And I've got:  bextract Error: Win32 data stream not supported on this
Client.

 

My  question is: How to simply extract any bacula archive to any place
on any machine?

 

Thanks,

David

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] HP Library StorageWorks

2007-02-28 Thread Jose Molina
El mié, 28-02-2007 a las 17:25 +0100, Manuel Trujillo escribió:
 Hi!

Hi There

 
 First, excuse me my bad english, and second, if it isn't the right list.
 
 I have to buy a HP StorageWorks Library MSL2024, and I cannot find any
 reference to Bacula with this hardware.
 Anybody know anything about this?

If this helps you, we've been using one under FreeBSD and Bacula
1.38.11, and works mostly fine...

lang=es
Más que la librería, deberías asegurarte que el drive sea compatible, ya
que es la parte mas susceptible...
/lang 

Cheers,
-- 
José E. Molina
Técnico de Sistemas
Brújula
T. +34 971 433 909 - F. +34 971 433 910
www.brujula.es
___
En el corazón de su negocio




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Full Backup on WinXP 64-bit System Slow

2007-02-28 Thread Mike Hanby
I read through the Windows Version chapter and didn't find anything, then
did a search for Maximum Network Buffer Size in the manual and found the
portion that you referenced:

On systems where the transfer rates seem abnormally
slow compared to other systems, you might try setting the Maximum
Network Buffer Size to 32,768 in both the File daemon and in the
Storage daemon.

I couldn't find any examples where this is actually used (even Googled for
it), so I have a couple questions:

1) Since I have to add this to the Storage Daemon, does that mean I have to
add this to the File Daemon config files on each machine (even the Linux
ones) or just the Windows system?

2) Is this how it should look:
In bacula-fd.conf
FileDaemon {
  Name = winxp64-fd
  FDport = 9102
  Maximum Network Buffer Size = 32768
  ...
}

In bacula-sd.conf
Storage {
  Name = fedorasys-sd
  SDPort = 9103
  Maximum Network Buffer Size = 32768
  
}

Thanks, Mike

-Original Message-
From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 28, 2007 10:10
To: bacula-users@lists.sourceforge.net
Cc: Mike Hanby
Subject: Re: [Bacula-users] Full Backup on WinXP 64-bit System Slow

Read the Win32 chapter of the manual. It has a number of possible remedies
for 
this problem -- I suspect that you are getting hit by a network buffer that 
is too large for your Win32 ethernet card.

On Wednesday 28 February 2007 16:19, Mike Hanby wrote:
 Howdy,



 I'm running bacula 2.0.2 dir, sd, fd on a Fedora 6 system using MySQL (on
 the same server) backing up to a SATA 500GB hard drive. The
bacula-dir.conf
 is set to only allow 1 job to run at a time.



 The full backup on it (100GB's or so compressed down to 49GB) took about 3
 hours, which I would consider pretty decent.



 The server and all clients are connected via Gigabit ethernet and Cat6
 wires.



 The full backup on my Windows XP 64 bit box, dual core AMD, started at 3
AM
 this morning and is still running (I'd guess it has approx 100GB's to
 backup). It's backed up approx 15 GB's in 6 hours.



 * status client=winxp64-fd

 Running Jobs:

 JobId 3 Job winxp64.2007-02-28_03.05.01 is running.

 VSS Backup Job started: 28-Feb-07 03:08

 Files=47,674 Bytes=15,959,398,901 Bytes/sec=756,764

 Files Examined=47,674

 Processing file: C:/scripts/perl/enumerate.pl

 SDReadSeqNo=5 fd=624



 I read that as just over 1/2 a MB/s.



 Now, if I do a tcpdump -i eth0 on my server, I only see bacula-sd activity
 in bursts. Here's a sample of the output covering 3 minutes:



 listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes

 09:06:17.217834 IP winxp64.qotps  192.168.2.100.bacula-sd: P
 2493618154:2493619614(1460) ack 4049850142 win 65388

 09:06:17.218992 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 1460 win
 65535

 09:06:22.218142 arp who-has winxp64 tell 192.168.2.100

 09:06:22.218214 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:06:23.248976 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 3845934961:3845934966(5) ack 842975595 win 64428

 09:06:23.332040 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
1:9(8)
 ack 5 win 64202

 09:06:23.451931 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack 9
 win 64420

 09:06:55.607110 IP winxp64.qotps  192.168.2.100.bacula-sd: P
 1460:2920(1460) ack 1 win 65388

 09:06:55.607357 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 2920 win
 65535

 09:07:00.606194 arp who-has winxp64 tell 192.168.2.100

 09:07:00.606265 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:07:04.325571 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 5:10(5) ack 9 win 64420

 09:07:04.410594 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 9:17(8) ack 10 win 64197

 09:07:04.575481 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack
17
 win 64412

 09:07:47.402215 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 10:15(5) ack 17 win 64412

 09:07:47.486796 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 17:25(8) ack 15 win 64192

 09:07:47.667718 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: . ack
25
 win 64404

 09:07:52.485501 arp who-has winxp64 tell 192.168.2.100

 09:07:52.485584 arp reply winxp64 is-at 00:17:31:ce:54:67 (oui Unknown)

 09:08:12.385659 IP winxp64.qotps  192.168.2.100.bacula-sd: P
 2920:4380(1460) ack 1 win 65388

 09:08:12.385873 IP 192.168.2.100.bacula-sd  winxp64.qotps: . ack 4380 win
 65535

 09:08:13.066907 IP 192.168.2.100.40273  winxp64.bacula-fd: . ack
904760237
 win 6432

 09:08:13.066998 IP winxp64.bacula-fd  192.168.2.100.40273: . ack 1 win
 64514

 09:08:13.588652 IP winxp64.bacula-fd  192.168.2.100.40273: . 0:1(1) ack 1
 win 64514

 09:08:13.588723 IP 192.168.2.100.40273  winxp64.bacula-fd: . ack 1 win
 6432

 09:08:28.494530 IP winxp64.qip-login  by1msg5276706.phx.gbl.msnp: P
 15:20(5) ack 25 win 64404

 09:08:28.579103 IP by1msg5276706.phx.gbl.msnp  winxp64.qip-login: P
 25:33(8) ack 20 win 64187

 09:08:28.791337 IP 

[Bacula-users] Bacula upgrade from 1.38.9 - 2.0.2

2007-02-28 Thread Zakai Kinan
I am getting the following error after the upgrade:

26-Feb 22:09 bacula-dir:  Fatal error: Version error
for database bacula. Want   
 
ed 9, got 10 
26-Feb 22:09 bacula-dir:  Fatal error: Could not open
database bacula. 
26-Feb 22:09 bacula-dir:  Fatal error: Version error
for database bacula. Want   
 
ed 9, got 10 
26-Feb 22:09 bacula-dir ERROR TERMINATION 
Please correct configuration file:
/etc/bacula/bacula-dir.conf 

This error only occurs after I run the
update_mysql_tables script.  If I restore the old
database schema bacula seems to work.  I don't trust
it because the release notes state that the update
must be run after the upgrade.  I did some research,
but I did not get anything meaningful.  Does anyone
have any ideas?

TIA,

ZK 


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bextract and Win32 data stream not supported on this Client.

2007-02-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would be really surprised if this is not in the FAQ by now, but it
gets asked regularly on this list. Searching the archives could have
yielded a faster answer.

In any case, Win32 streams are not restoreable to Linux hosts unless
they are configured portable. Info about this is in the manual. 2.0.x
removes this limitation.

[EMAIL PROTECTED] wrote:
 Hello,
 
 I have one bacula archive I need to restore data from. All I want is
 just extract whole content of the archive and then manually move files.
 
  
 
 So I did: bextract ?c /etc/bacula/bacula-sd.conf archive /root/restore
 
 And I?ve got:  bextract Error: Win32 data stream not supported on this
 Client.
 
  
 
 My  question is: How to simply extract any bacula archive to any place
 on any machine?


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5buzmb+gadEcsb4RAstgAJ0YmQa4WS2OVAOtgKPOBSVqkNAJAwCgiDEq
yl2Zwy5EDFacy4uxtlD+8wg=
=9LfH
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula upgrade from 1.38.9 - 2.0.2

2007-02-28 Thread John Drescher
On 2/28/07, Zakai Kinan [EMAIL PROTECTED] wrote:
 I am getting the following error after the upgrade:

 26-Feb 22:09 bacula-dir:  Fatal error: Version error
 for database bacula. Want

 ed 9, got 10
 26-Feb 22:09 bacula-dir:  Fatal error: Could not open
 database bacula.
 26-Feb 22:09 bacula-dir:  Fatal error: Version error
 for database bacula. Want

 ed 9, got 10
 26-Feb 22:09 bacula-dir ERROR TERMINATION
 Please correct configuration file:
 /etc/bacula/bacula-dir.conf

 This error only occurs after I run the
 update_mysql_tables script.  If I restore the old
 database schema bacula seems to work.  I don't trust
 it because the release notes state that the update
 must be run after the upgrade.  I did some research,
 but I did not get anything meaningful.  Does anyone
 have any ideas?

It looks like the old version of bacula-dir still is installed and
this is running instead of the new.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Few notes regarding the restricted console commands

2007-02-28 Thread Zeratul
On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote
...

  - the command help retuns the full commands list and, for a restricted
  user,
 I'll look into filtering this ...
 
  typing commands that returns ... is an invalid command can be
  frustrating because the user have no idea about the allowed commands

 Can you explain more in detail what you mean or what you would like 
 it to do? It might be possible to convert more of those into 
 unauthorized command, but isn't it a lot of code for something 
 rather minor?  If it is occurring at the main command level, it is 
 easy to fix, however, if it occurs in subcommands, it could be 
 very pervasive.

I didn't meant to sound like 2 different issues. You already answered above
for this. It was just an argument why a restricted user can be confused by the
full list of commands, when most of the commands are not available. The not
allowed commands will return an error like xx is an invalid command and
the user has no information about what is allowed and what is not. Having just
the allowed command list will eliminate any confusion here. And I'm talking,
of course, about the main command level. 
 
...
 
 
  It's true I wasn't able to restore any files from other jobs, but I 
  was able to browse the files list. One mention here - this is true only
  when the restore command is used and not when the restore tab is used
  in wx-console.
 
 Can you explain why the restore command gives more information that 
 the restore tab in wx-console?  It sounds like wx-console has 
 implemented something that should be included in the core code ...
 

When using the restore tab in a restricted console, all the information from
the combo boxes are the right information (everything specified in the
restricted console configuration). 
When using the restore command, you can chose, for example, Enter list of
comma separated JobsIds to select. Based on the information retrived with
query command, you can specify a job id that not belongs to the restricted
console. You'll be able to see the files from the backup, but, as I said, it
will fail at the final step of the restore. 
Sure, I can disable the restore command for the rstricted console and keep
only the restore tab feature from wx-console, running this way only the
predefined restore jobs.

Regards,

Daniel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bextract and Win32 data stream not supported on this Client.

2007-02-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please always copy the list, as this is community support, not one-on-one.

What became of the full backup anyway?

This one I don't know the answer to... I personally didn't know the
Win32 version did not ship with bextract. Perhaps someone on the list
has a solution?

=R

[EMAIL PROTECTED] wrote:
 Hi,
 Thanks for your reply. I've search archive and found just this item
 related to my problem:
 http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/2815
 
 So it seems there is no way to restore my data, even I have a backup. :(
 
 My archive is coming from volume created by incremental backup, but I
 don't have full backup for it. So there is no possibility to use restore
 command from bconsole.
 
 And I can't restore the data to linux host and there is no bextract for
 Windows. By some docs I can't restore it just because of permissions,
 which I don't care about at this time.
 
 So is there any tool which will allow me restore my files without
 permissions?
 
 Thanks,
 David
 
 
 -Original Message-
 From: Ryan Novosielski [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 28, 2007 5:28 PM
 To: David Michal
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] bextract and Win32 data stream not
 supported on this Client.

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I would be really surprised if this is not in the FAQ by now, but it
 gets asked regularly on this list. Searching the archives could have
 yielded a faster answer.

 In any case, Win32 streams are not restoreable to Linux hosts unless
 they are configured portable. Info about this is in the manual. 2.0.x
 removes this limitation.

 


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5c/Emb+gadEcsb4RAjt1AJ4qQ944sXBBWRkL8mBa2/Df/4Q/vwCgqx+4
1vS2pb4BlktOw8y6geYUwq0=
=YQyC
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Messages to console(s)

2007-02-28 Thread Zeratul
On Wed, 28 Feb 2007 09:07:09 +0100, Kern Sibbald wrote
...
 
 No -- that would require some sort of Feature Request, and in fact,
  I don't really know how to do it correctly.
 
 Each console should get the messages or answers to queries and 
 commands that it generates (not necessarily including job output).

I have some arguments in favor of having each console with its own job output,
but I admit that are more interesting things to fix or add to bacula. 
However, what about a console session timeout? 

Regards,

Daniel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochanger definition ok?

2007-02-28 Thread Tim Schoellhammer
Hi

Sorry John i answert first to you but not to the list :)

when it is a freebsd then you must use the pass device.

camcontrol devlist
will show you the scsi devices on the machin.

on freebsd the /dev/passX is the right one.

Tim

Steve Barnes schrieb:
 Hi List

 Can someone please take a look at the below bacula-sd  bacula-dir
 configuration and tell me if it looks ok (using one external DLT-IV VS80
 drive)

 Thanks

 Steve

 === BACULA-SD ==

 Autochanger {
   Name = DLT-PSEUDO-CHANGER
   Device = HP-DLT-VS80-01
   Changer Device = /dev/nsa0
   Changer Command = /usr/local/bin/mtx-changer %o %a %S
 }

 # HP tape drive configuration
 Device {
   Name = HP-DLT-VS80-01
   Description = HP DLT VS80 EXTERNAL
   Media Type = HPDLT-IV
   Archive Device = /dev/nsa0
   RemovableMedia = yes
   AutomaticMount = yes
   AlwaysOpen = yes
   Label Media = yes
   Device Type = tape
   Offline On Unmount = yes
   Hardware End of Medium = no
   BSF at EOM = yes
   Backward Space Record = no
   Fast Forward Space File = no
   TWO EOF = yes
   Autochanger = yes
 } 

 === BACULA-DIR ==

 Storage {
   Name= nasbox-sd
   Address = nasbox1
   SDPort  = 9103
   Password= password
   Device  = DLT-PSEUDO-CHANGER
   Media Type  = HPDLT-IV
   Autochanger = yes
   }

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Few notes regarding the restricted console commands

2007-02-28 Thread Kern Sibbald
On Wednesday 28 February 2007 19:48, Zeratul wrote:
 On Wed, 28 Feb 2007 09:05:16 +0100, Kern Sibbald wrote
 ...

   - the command help retuns the full commands list and, for a
   restricted user,
 
  I'll look into filtering this ...
 
   typing commands that returns ... is an invalid command can be
   frustrating because the user have no idea about the allowed commands
 
  Can you explain more in detail what you mean or what you would like
  it to do? It might be possible to convert more of those into
  unauthorized command, but isn't it a lot of code for something
  rather minor?  If it is occurring at the main command level, it is
  easy to fix, however, if it occurs in subcommands, it could be
  very pervasive.

 I didn't meant to sound like 2 different issues. You already answered above
 for this. It was just an argument why a restricted user can be confused by
 the full list of commands, when most of the commands are not available. The
 not allowed commands will return an error like xx is an invalid
 command and the user has no information about what is allowed and what is
 not. Having just the allowed command list will eliminate any confusion
 here. And I'm talking, of course, about the main command level.

I've thought about this a bit and providing a correct help list is a good 
idea, but it is more of a feature than a bug fix and is not so easy to do, so 
it will need to wait for a future version.


 ...

   It's true I wasn't able to restore any files from other jobs, but I
   was able to browse the files list. One mention here - this is true
   only when the restore command is used and not when the restore tab
   is used in wx-console.
 
  Can you explain why the restore command gives more information that
  the restore tab in wx-console?  It sounds like wx-console has
  implemented something that should be included in the core code ...

 When using the restore tab in a restricted console, all the information
 from the combo boxes are the right information (everything specified in the
 restricted console configuration).
 When using the restore command, you can chose, for example, Enter list
 of comma separated JobsIds to select. Based on the information retrived
 with query command, you can specify a job id that not belongs to the
 restricted console. You'll be able to see the files from the backup, but,
 as I said, it will fail at the final step of the restore.
 Sure, I can disable the restore command for the rstricted console and keep
 only the restore tab feature from wx-console, running this way only the
 predefined restore jobs.

This is a bug.  The jobid list should be filtered, and I see the code does 
check the JobIds against the permitted Job names and complain if it is not 
allowed.  However, it simply continues rather than removing the unauthorized 
jobid.  I've attached a corrected version of 
bacula-source/src/dird/ua_restore.c, which should fix the problem of 
entering JobIds that are not authorized.  I would appreciate feedback whether 
or not it resoves that particular problem.

Best regards,

Kern

 Regards,

 Daniel

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
/*
 *
 *   Bacula Director -- User Agent Database restore Command
 *  Creates a bootstrap file for restoring files and
 *  starts the restore job.
 *
 *  Tree handling routines split into ua_tree.c July MMIII.
 *  BSR (bootstrap record) handling routines split into
 *bsr.c July MMIII
 *
 * Kern Sibbald, July MMII
 *
 *   Version $Id: ua_restore.c 3844 2006-12-23 16:33:53Z kerns $
 */
/*
   Bacula® - The Network Backup Solution

   Copyright (C) 2002-2006 Free Software Foundation Europe e.V.

   The main author of Bacula is Kern Sibbald, with contributions from
   many others, a complete list can be found in the file AUTHORS.
   This program is Free Software; you can redistribute it and/or
   modify it under the terms of version two of the GNU General Public
   License as published by the Free Software Foundation plus additions
   that are listed in the file LICENSE.

   This program is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
   General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02110-1301, USA.

Re: [Bacula-users] bextract and Win32 data stream not suppo rted on this Client.

2007-02-28 Thread Kern Sibbald
On Wednesday 28 February 2007 19:53, Ryan Novosielski wrote:
 Please always copy the list, as this is community support, not one-on-one.

 What became of the full backup anyway?

 This one I don't know the answer to... I personally didn't know the
 Win32 version did not ship with bextract. Perhaps someone on the list
 has a solution?

Neither bextract nor any of the other tools were shipped with pre-2.0.x 
Bacula's because the code needed to read tapes was not ported to Win32 and 
the whole mess ran under cygwin.

If I am not mistaken, all these tools now work on 2.0.x thanks to Robert 
Nelson's work.


 =R

 [EMAIL PROTECTED] wrote:
  Hi,
  Thanks for your reply. I've search archive and found just this item
  related to my problem:
  http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/2815
 
  So it seems there is no way to restore my data, even I have a backup. :(
 
  My archive is coming from volume created by incremental backup, but I
  don't have full backup for it. So there is no possibility to use restore
  command from bconsole.

The above is not correct, the bconsole restore can restore any job/file from 
any backup providing the info is in the catalog, and if it is not, the 
restore chapter tells you how to do a restore without the catalog.  Using the 
catalog and brestore, there are many ways to restore virtually anything, but 
the easiest is to specify the jobid to be restored.

 
  And I can't restore the data to linux host and there is no bextract for
  Windows. By some docs I can't restore it just because of permissions,
  which I don't care about at this time.
 
  So is there any tool which will allow me restore my files without
  permissions?
 
  Thanks,
  David
 
  -Original Message-
  From: Ryan Novosielski [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, February 28, 2007 5:28 PM
  To: David Michal
  Cc: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] bextract and Win32 data stream not
  supported on this Client.
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  I would be really surprised if this is not in the FAQ by now, but it
  gets asked regularly on this list. Searching the archives could have
  yielded a faster answer.
 
  In any case, Win32 streams are not restoreable to Linux hosts unless
  they are configured portable. Info about this is in the manual. 2.0.x
  removes this limitation.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] dedicated storage-servers for different Pools

2007-02-28 Thread Arno Lehmann
Hi,

On 2/28/2007 4:38 PM, Christoph Klünter wrote:
 Hi,
 
 I would like to have a storage-server for the daily and weekly backups
 and another storage server for the monthly backups.
 They both use Disks for storage.
 The test-backup went fine, but the restore didn't.
 I have files on both storage-servers which need to be restored.
 But I get an error:
 
 
28-Feb 16:16 backup02-sd: RestoreJob.2007-02-28_16.16.54 Fatal error: Open
device /var/bacula/ volume Monthly-0005 failed, ERR=dev.c:340 Could not  
open: /var/bacula//Monthly-0005, ERR=No such file or directory 
 
 
 This is no wonder, because the Monthly backup is stored on another server.
 Is it possible to have backups for one client distributed over two servers and
 restore from both server ?

There's some information missing in your problem report - mainly, the 
Bacula version and the definitions of the storage devices involved.

Anyway, my answer is yes, it is possible, but it requires manual 
intervention in the restore phase, and you should really use diferent 
media types for different storage devices.

Arno


 Regards,
Christoph
 
 

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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autochanger definition ok?

2007-02-28 Thread Martin Simmons
 On Wed, 28 Feb 2007 18:37:39 +0300, Steve Barnes said:
 
 Hi List
 
 Can someone please take a look at the below bacula-sd  bacula-dir
 configuration and tell me if it looks ok (using one external DLT-IV VS80
 drive)
 
 Thanks
 
 Steve
 
 === BACULA-SD ==
 
 Autochanger {
   Name = DLT-PSEUDO-CHANGER
   Device = HP-DLT-VS80-01
   Changer Device = /dev/nsa0
   Changer Command = /usr/local/bin/mtx-changer %o %a %S
 }
 
 # HP tape drive configuration
 Device {
   Name = HP-DLT-VS80-01
   Description = HP DLT VS80 EXTERNAL
   Media Type = HPDLT-IV
   Archive Device = /dev/nsa0
   RemovableMedia = yes
   AutomaticMount = yes
   AlwaysOpen = yes
   Label Media = yes
   Device Type = tape
   Offline On Unmount = yes
   Hardware End of Medium = no
   BSF at EOM = yes
   Backward Space Record = no
   Fast Forward Space File = no
   TWO EOF = yes
   Autochanger = yes
 } 

I can't comment on the Autochanger part of it, but have you tried the
alternate config with TWO EOF = no?  That is more efficient if it passes the
btape tests.

__Martin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FileSet excludes with regexdir/wilddir (was [bacula 2.0.2] ACL's missing after restore)

2007-02-28 Thread Martin Simmons
 On Wed, 28 Feb 2007 16:26:10 +0100, Ralf Gross said:
 
 I'm facing a problem with an other FileSet.
 
 The following should backup everything in all 000_INS_ARCHIV directories below
 /server/projekte. There is at least one directory that matches the
 regex/wilddir expression at the moment.
 
 # ls -l /server/projekte/EAT/test
 insgesamt 0
 dr-xr-s--- 2 ralfgro ve 6 2007-02-27 18:18 000_ARCHIV.2007-02-27
 drwxr-s--- 2 ralfgro ve 6 2007-02-27 18:18 000_INS_ARCHIV
 drwxr-sr-x 2 rootve 6 2007-02-28 15:24 000_KEIN_BACKUP
 drwxrws--- 2 ralfgro ve 6 2007-02-27 18:05 test
 
 
 FileSet {
   Name = VU0EM003-Archiv
   Include {
 Options {
signature = MD5
aclsupport = yes
#RegexDir = .*000_INS_ARCHIV.*
#wilddir = /server/projekte/EAT/test/000_INS_ARCHIV*
wilddir = *000_INS_ARCHIV*
 }
 Options {
RegexDir = .*
exclude = yes
 }
 File = /server/projekte
   }
 [snip]
 
 
 # ./bregex -f /tmp/regex
 Enter regex pattern: .*000_INS_ARCHIV.*
 1: /server/projekte/EAT/test/000_INS_ARCHIV
 
 # ./bwild -f /tmp/regex
 Enter a wild-card: *000_INS_ARCHIV*
 1: /server/projekte/EAT/test/000_INS_ARCHIV
 
 
 *reload
 *estimate job=VU0EM003-Archiv listing client=VU0EM003-Archiv  
 fileset=VU0EM003-Archiv level=full
 Using Catalog ArchiveCatalog
 Connecting to Client VU0EM003-Archiv at 10.60.1.252:9102
 drwxr-xr-x  11 root root   125 2007-02-18 10:57:58  
 /server/projekte
 2000 OK estimate files=1 bytes=0
 ...
 What am I missing in my VU0EM003-Archiv FileSet?

The problem is that the Options clauses for directories control two things:
whether to back up of that directory itself and whether to look inside for
things to back up.  Your second options clause stops it looking at any
directory in /server/projekte :-(

I think it is impossible to do what you want with the Options resources.  You
have to use a File clause that finds the archive directories each time, e.g.

File = \\|find /server/projekte -type d -name '*000_INS_ARCHIV*'

__Martin

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with bacula 1.38.11 and Autochanger

2007-02-28 Thread Arno Lehmann
Hi,

On 2/28/2007 5:12 PM, [EMAIL PROTECTED] wrote:
 Hello,
 
 I am having an issue with bacula 1.38.11 on a Solaris 2.9 system with a
 Qualstar RLS 8236 LTO-2 autochanger. I have had this setup working for
 over a year and a half. There seems to be a problem with bacula getting
 confused on which pool a tape belongs to here is a snip of the status
 storage:
 
 Device status:
 Autochanger Autochanger-0 with devices:
LTO-0 (/dev/rmt/0cbn)
LTO-1 (/dev/rmt/1cbn)
 Device FileStorage (/tmp) is not open or does not exist.
 Device LTO-0 (/dev/rmt/0cbn) is mounted with Volume=Daily01-0004
 Pool=Daily01
 Slot 1 is loaded in drive 0.
 Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
 Positioned at File=0 Block=0
 Device LTO-1 (/dev/rmt/1cbn) is mounted with Volume=Daily02-0004
 Pool=Daily01
 Slot 6 is loaded in drive 1.
 Total Bytes Read=64,512 Blocks Read=1 Bytes/block=64,512
 Positioned at File=0 Block=0
 
 
 In Use Volume status:
 Daily01-0004 on device LTO-0 (/dev/rmt/0cbn)
 Daily02-0004 on device LTO-1 (/dev/rmt/1cbn)
 
 
 The status storage reports the pool for volume Daily02-0004 as being
 Daily01, but a list media shows the volume is the Daily02 pool which is
 the correct pool.
 
From a list media pool=Daily02:
 +-+--+---+-+--+-
 -+-+--+---+---+-
 +
 | MediaId | VolumeName   | VolStatus | VolBytes| VolFiles |
 VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
 |
 +-+--+---+-+--+-
 -+-+--+---+---+-
 +
 |  34 | Daily02-0001 | Used  | 123,469,545,497 |  143 |
 5,184,000 |   1 |   18 | 1 | LTO-2 | 2007-01-13 04:19:14
 |
 |  36 | Daily02-0002 | Used  | 134,669,297,962 |  154 |
 5,184,000 |   1 |7 | 1 | LTO-2 | 2007-02-06 03:18:23
 |
 |  38 | Daily02-0003 | Used  | 157,600,113,825 |  171 |
 5,184,000 |   1 |   20 | 1 | LTO-2 | 2007-02-22 03:26:51
 |
 |  40 | Daily02-0004 | Append|   9,882,711,009 |   16 |
 5,184,000 |   1 |6 | 1 | LTO-2 | 2007-02-28 14:02:35
 |
 +-+--+---+-+--+-
 -+-+--+---+---+-
 +
 *
 
 I only have one bacula catalog.
 
 Why does bacula think the volume Daily02-0004 is in the Daily01 pool?

Looks like a bug to me.

 Has anyone run into a similar situation?

Not me, but I understand there are some improvements in the autochanger 
handling, especially for devices with more than one drive, in the 2.0 code.

 I believe because of this problem, I needed to unmount and remount the
 volumes to get bacula to finish the backup jobs today.

That sounds quite reasonable.

...
 Here is my autochanger and device setup:
... which looks perfectly ok to me...

...


 Please let me know if you need more information.

I see two possible ways to continue:
- Try to make the problem reproducible. That might mean to spend lots of 
time, perhaps without success. Then report this as a bug at 
bugs.bacula.org - the information you gave seems quite clear to me. 
Though I can't tell for sure, I could imagine Kern fixing the problem 
even after he's mainly working at version 2 now (probably as a back-port 
of a patch for the current version).
- Upgrade to version 2. Even if this doesn't necessarily fix this 
particular issue (and keep in mind I did not check at bugs.bacula.org if 
something like your bug has been reported yet :-) the chances that it 
will be fixed once you reported it at bugs.bacula.org are a little 
better, I think.

I assume that this probem doesn't hit you very often, right? In that 
case, I'd recommend to simply continue using 1.38.11 and preparing the 
step to version 2 (which is not a really difficult one).

When you can reproduce the problem, report it at bugs.bacula.org.

Move to Bacula 2.0 when it suits you, and see if this problem persists. 
If it does, you should report it again as soon as possible to get this 
fixed.

 Thank you,

Hope this helps,

Arno

 Tom.
 
 Thomas Boyda [EMAIL PROTECTED]
 Consultant Proxicom, Inc.
 http://www.proxicom.com
 Phone: 276-739-2314
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  

Re: [Bacula-users] Bacula returns: The number of files Mismatch!

2007-02-28 Thread Martin Simmons
 On Wed, 28 Feb 2007 13:41:25 +0100, Thomas Franz said:
 
 Hello,
 
 I am running bacula for a lot of month, without any problems.
 But yesterday I've got this message:
 
 27-Feb 11:05 dssbkup-sd: Volume A00040 previously written, moving to end of 
 data.
 27-Feb 11:06 dssbkup-sd: Backup.2007-02-27_11.05.00 Error: I cannot write on 
 Volume A00040 because:
 The number of files mismatch! Volume=456 Catalog=457
 27-Feb 11:06 dssbkup-sd: Marking Volume A00040 in Error in Catalog.
 ...
 
 OS: FreeBSD 6.1
 Bacula: 1.38.9
 TAPE : LTO-3  (IBM Ultrium-TD3)
 Library: Exabyte
 
 It was the first run after a system restart. ( But this was not the first 
 time 
 bacula runs after a restart) .
 
 I did a bls -c bacula-sd.conf -j -V A00040 /dev/nsa3 :
 
  bls: butil.c:269 Using device: /dev/nsa3 for reading.
 27-Feb 20:05 bls: 3301 Issuing autochanger loaded drive 0 command.
 27-Feb 20:05 bls: 3302 Autochanger loaded drive 0, result is Slot 3.
 27-Feb 20:05 bls: Ready to read from volume A00040 on device 
 LTO-3 (/dev/nsa3).
 bls: acquire.c:200 jcr-dcr=0x80a8818
 Volume Record: File:blk=0:1 SessId=1 SessTime=1172134677 JobId=1 DataLen=163
 End Job Session Record: File:blk=58:15321 SessId=1 SessTime=1172134677 
 JobId=741
Date=22-Feb-2007 12:36:13 Level=I Type=B Files=163 Bytes=118,812,601,974 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=59:1 SessId=2 SessTime=1172134677 JobId=742
Job=BackupCatalog.2007-02-22_11.10.00 Date=22-Feb-2007 12:36:27 Level=F 
 Type=B
 End Job Session Record: File:blk=59:167 SessId=2 SessTime=1172134677 JobId=742
Date=22-Feb-2007 12:36:27 Level=F Type=B Files=1 Bytes=10,742,762 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=60:1 SessId=1 SessTime=1172158974 JobId=743
Job=Backup.2007-02-23_11.05.00 Date=23-Feb-2007 11:05:57 Level=I Type=B
 End Job Session Record: File:blk=184:15075 SessId=1 SessTime=1172158974 
 JobId=743
Date=23-Feb-2007 13:12:25 Level=I Type=B Files=170 Bytes=124,871,924,365 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=185:1 SessId=2 SessTime=1172158974 
 JobId=744
Job=BackupCatalog.2007-02-23_11.10.00 Date=23-Feb-2007 13:12:41 Level=F 
 Type=B
 End Job Session Record: File:blk=185:167 SessId=2 SessTime=1172158974 
 JobId=744
Date=23-Feb-2007 13:12:42 Level=F Type=B Files=1 Bytes=10,758,705 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=186:1 SessId=3 SessTime=1172158974 
 JobId=745
Job=BackupCatalog.2007-02-24_11.10.00 Date=24-Feb-2007 11:10:12 Level=F 
 Type=B
 End Job Session Record: File:blk=186:167 SessId=3 SessTime=1172158974 
 JobId=745
Date=24-Feb-2007 11:10:13 Level=F Type=B Files=1 Bytes=10,759,041 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=187:1 SessId=4 SessTime=1172158974 
 JobId=746
Job=Backup.2007-02-24_15.05.00 Date=24-Feb-2007 15:05:08 Level=I Type=B
 End Job Session Record: File:blk=373:4820 SessId=4 SessTime=1172158974 
 JobId=746
Date=24-Feb-2007 18:21:53 Level=I Type=B Files=227 Bytes=186,160,933,600 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=374:1 SessId=5 SessTime=1172158974 
 JobId=747
Job=BackupCatalog.2007-02-25_11.10.00 Date=25-Feb-2007 11:10:11 Level=F 
 Type=B
 End Job Session Record: File:blk=374:168 SessId=5 SessTime=1172158974 
 JobId=747
Date=25-Feb-2007 11:10:12 Level=F Type=B Files=1 Bytes=10,781,378 Errors=0 
 Status=T
 Begin Job Session Record: File:blk=375:1 SessId=6 SessTime=1172158974 
 JobId=748
Job=Backup.2007-02-25_15.05.00 Date=25-Feb-2007 15:05:07 Level=I Type=B
 End Job Session Record: File:blk=424:13848 SessId=6 SessTime=1172158974 
 JobId=748
Date=25-Feb-2007 15:55:11 Level=I Type=B Files=103 Bytes=49,853,197,033 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=425:1 SessId=7 SessTime=1172158974 
 JobId=749
Job=Backup.2007-02-26_11.05.00 Date=26-Feb-2007 11:05:07 Level=I Type=B
 End Job Session Record: File:blk=455:12387 SessId=7 SessTime=1172158974 
 JobId=749
Date=26-Feb-2007 11:36:23 Level=I Type=B Files=86 Bytes=30,774,345,961 
 Errors=0 Status=T
 Begin Job Session Record: File:blk=456:1 SessId=8 SessTime=1172158974 
 JobId=750
Job=BackupCatalog.2007-02-26_11.10.00 Date=26-Feb-2007 11:36:39 Level=F 
 Type=B
 End Job Session Record: File:blk=456:168 SessId=8 SessTime=1172158974 
 JobId=750
Date=26-Feb-2007 11:36:40 Level=F Type=B Files=1 Bytes=10,798,086 Errors=0 
 Status=T
 27-Feb 22:41 bls: bls Error: block.c:945 Read error at file:blk 457:0 on 
 device LTO-3 (/dev/nsa3). ERR=Operation not permi
 tted.
 27-Feb 22:41 bls: End of Volume at file 457 on device LTO-3 (/dev/nsa3), 
 Volume A00040
 27-Feb 22:41 bls: End of all volumes.
 --
 
 Job 750 was the last backup at this time ( it was the backup of the Catalog 
 itself) . I could restore this file and it seems to be OK.

Since you got a read error at the end, it looks 

Re: [Bacula-users] Messages to console(s)

2007-02-28 Thread Arno Lehmann
Hi,

On 2/28/2007 8:07 PM, Zeratul wrote:
 On Wed, 28 Feb 2007 09:07:09 +0100, Kern Sibbald wrote
 ...
 
No -- that would require some sort of Feature Request, and in fact,
 I don't really know how to do it correctly.

Each console should get the messages or answers to queries and 
commands that it generates (not necessarily including job output).

There is output that is not directly related to any console, like what 
jobs generate that were scheduled, and not started manually.

Currently, that output goes to the first console that connected.

 
 I have some arguments in favor of having each console with its own job output,
 but I admit that are more interesting things to fix or add to bacula. 
 However, what about a console session timeout? 

Not a good idea - at least for me :-)

There are situations when I want to keep the console open to see the 
output, even if I don't want to work interactively for a long time. 
Especially when working remotely, keeping the console open is much more 
comfortable than having to log in again at a later time - sometimes I 
have a slow network connection, and to check the console log file can be 
much more annoying than only scrolling backwards in the terminal I have 
open.

A configuration setting for the timeout time would be fine :-)
Hmm, perhaps in the console resource in the DIR conf?

Arno

 Regards,
 
 Daniel
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] differential and incremental backup requires another full backup.

2007-02-28 Thread Martin Simmons
 On Tue, 20 Feb 2007 15:55:57 -0500, Naufal Zamir said:
 
 Thanks for your reply, I just modified the conf file, and will start the
 backup tommorow. I have one more question though. I initially had seperate
 daily pools e.g. Daily-tues to Daily-Fri. All the three system daily backups
 went to one pool each day. In the configuration you just told, if I am
 having one job for each system then I cannot account for all the different
 daily pools because one job can only take one Incremental pool in its
 definition. However for the testing purpose I have just created one daily
 pool for each system i.e. tracfire-daily, tracweb-daily and tracsun-daily,
 and see if I can manage the backup with all 5 dailies of one week going to
 one tape. But if I have to stick with my previous scheme, how will I cater
 for the problem?

Yes, you can do that.  Instead of putting Incremental Backup Pool etc in the
Job definition, you can put IncrementalPool etc in the Schedule Job-overrides.

The only problem with these Schedule overrides is that they do not apply to
jobs run using the bconsole run command (you have to use the mod option to set
the pool).

__Martin


 
 
 thanks and Regards
 
 On 2/20/07, Martin Simmons [EMAIL PROTECTED] wrote:
 
   On Tue, 20 Feb 2007 14:16:50 -0500, Naufal Zamir said:
  
   Martin,
  
   thanks for your reply. I am still not sure about the exact problem.
  Please
   correect me if I am wrong on following:
  
 As the example states, it looks like that there has to be one schedule
  (
   as compared to 3 seperate I have) which will spepcify the level of the
   backup i.e. full, differential and incremental and the timings.  So I
  should
   have one schedule which will do all the scheduling rather than having
  three.
 
  Correct.
 
 
   For the job definitions, from your comments and the example my
  understanding
   is that I will have only three jobs for my three systems instead of
  having
   seperate full, differential and incremental jobs with different schedule
  for
   each system. Each job resource will have the backup pools defined with
  that
   single schedule directive name I had defined in schedule section.
 
  Correct.  When this is working, you will need a fourth job for the catalog
  backup, which is usually run after all the other jobs.
 
 
   As a result the system will take a full backup on the full backup pool,
  and
   the differential backup will reference the same full backup for the
   differntial backup instead of reverting to its own full backup and
  similalry
   the daily backup will reference the same full backup instead of
  reverting to
   its own full backup.
 
  Correct (though the daily incremental backup will also reference the
  differential backup).
 
  __Martin
 
  
   thank you so much for all your help.
  
   Regards
  
   From your comments my understanding is that
  
   On 2/20/07, Martin Simmons [EMAIL PROTECTED] wrote:
   
 On Mon, 19 Feb 2007 14:46:07 -0500, Naufal Zamir said:

 Hi Martin,

 thanks for your reply. i really appreciate it. I don;t think the job
 retentions should be a problem, however I did not get the level
  options.
I
 tried using the same name for the jobs, but check conf gave me an
  error
 saying that no two jobs can have the same name, though the backup
  level
was
 different.I am however attaching the conf file for your review. I'll
  be
 gratefull if you can pin point the mistake, cos this seems to be the
last
 hurdle in my implementation!
   
Please always CC the list in replies.
   
Sorry, I wasn't clear about the job definitions.  You need 1 job
definition
for each set of files and client that you want to back up, e.g. named
something like Tracfire, Tracweb and Tracsun.  The job
  definition
can
use the Full Backup Pool, Incremental Backup Pool and Differential
  Backup
Pool
options to specify the pools for each level.
   
See http://www.bacula.org/rel-manual/Automated_Disk_Backup.html for an
example.
   
__Martin
   
   
   
   

 On 2/19/07, Martin Simmons [EMAIL PROTECTED] wrote:
 
   On Mon, 19 Feb 2007 11:02:35 -0500, Naufal Zamir said:
  
   I am running bacula 1.38.5.
  
   I want to know if the incremental and differential backups can
  tale
a
  fuill
   backup from a different pool as their reference point.
 
  Yes.
 
 
   Currently, I am using a full backup pool for the full backups,
  and
since
  it
   takes pretty long for all the system's full backup I do it on
  the
  weekend.
   After the weekend when bacula is supposed to do an incremental
  or a
   differential, it does not find any backup for that particular
  job
and
   reverts to full backup. what I want to do is that differential
  and
   incremental should not revert to full backup and take the full
backup
  from
   other pool as their 

[Bacula-users] Upgrade autochanger configuration?

2007-02-28 Thread Ivan Adzhubey
Hi,

I am considering upgrade to version 2.0.2 from 1.36.1 we are using now. Could 
someone please confirm that the documentation regarding autochanger support 
is current and correct in the on-line User's Manual? I am asking because the 
configuration described under Autochanger Resource section:

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

differs from what we have in the working one at the moment. Autochanger device 
is Qaulstar RLS-4445 with one AIT tape drive installed. Bacula (1.36.1) has 
been set up several years ago by my predecessor. He has commented out the 
configuration examples for Autochanger resource that were included with the 
sample config files and replaced them by different config. I guess that:

a) the configuration documented in User's Manual was supported since at least 
version 1.36.1 and was not changed or updated since then

b) this configuration did not work for some reason with the version 1.36.1 and 
hence needed to be amended.

The difference is that according to User's Manual, one should first describe 
all tape drives in the changer as separate Devices (adding Autochanger = yes 
directive to each Device resource) and then define Autochanger resource, 
listing all tape drives under Device directive in it. The configuration we 
use does not define an Autochanger resource at all but instead have a single 
Device defined with Autochanger = yes directive and all other 
changer-relevant directives set inside of it (bacula-sd.conf):

Device {
  Name = Splicer
  Media Type = SDX700-C
  Archive Device = /dev/nst0
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
  Changer Device = /dev/sg1
  Autochanger = yes
  Drive Index = 0
  Spool Directory = /mnt/bacula/spool
}

and also in the bacula-dir.conf:

# Definition of Autochanger device
Storage {
  Name = AIT3-Changer
  Address = domain.name.org
  Device = Splicer
  Password = 
  Autochanger = yes
  Media Type = SDX700-C
}

This configuration works, but I am not sure if it will still work with version 
2.0.2.

Any advice would be greatly appreciated.

Thanks,
Ivan





The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Upgrade autochanger configuration?

2007-02-28 Thread Arno Lehmann
Hi,

On 3/1/2007 12:56 AM, Ivan Adzhubey wrote:
 Hi,
 
 I am considering upgrade to version 2.0.2 from 1.36.1 we are using now. Could 
 someone please confirm that the documentation regarding autochanger support 
 is current and correct in the on-line User's Manual?

As far as I can see, it is.

 I am asking because the 
 configuration described under Autochanger Resource section:
 
 http://www.bacula.org/rel-manual/Autochanger_Resource.html
 
 differs from what we have in the working one at the moment. Autochanger 
 device 
 is Qaulstar RLS-4445 with one AIT tape drive installed. Bacula (1.36.1) has 
 been set up several years ago by my predecessor.
...
 The difference is that according to User's Manual, one should first describe 
 all tape drives in the changer as separate Devices (adding Autochanger = yes 
 directive to each Device resource) and then define Autochanger resource, 
 listing all tape drives under Device directive in it. The configuration we 
 use does not define an Autochanger resource at all but instead have a single 
 Device defined with Autochanger = yes directive and all other 
 changer-relevant directives set inside of it (bacula-sd.conf):

That is one of the major changes between 1.36 and 1.38 versions.

 Device {
   Name = Splicer
   Media Type = SDX700-C
   Archive Device = /dev/nst0
   AutomaticMount = yes;
   AlwaysOpen = yes;
   RemovableMedia = yes;
   RandomAccess = no;
   Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
   Changer Device = /dev/sg1
   Autochanger = yes
   Drive Index = 0
   Spool Directory = /mnt/bacula/spool
 }
 
 and also in the bacula-dir.conf:
 
 # Definition of Autochanger device
 Storage {
   Name = AIT3-Changer
   Address = domain.name.org
   Device = Splicer
   Password = 
   Autochanger = yes
   Media Type = SDX700-C
 }

The above is a pretty standard autochanger configuration for pre-1.38, I 
think.

 This configuration works, but I am not sure if it will still work with 
 version 
 2.0.2.

It will not work correctly.

 Any advice would be greatly appreciated.

Change that using the scheme you found in the current manual - 
autochanger resource plus device setup. You already have all the 
information you need in the configuration, you've only got to move parts 
around.

By the way - this has not happened to make life harder for the users, 
but to support autochangers with more than one tape drive.

Arno

 Thanks,
 Ivan
 
 
 
 
 
 The information transmitted in this electronic communication is intended only 
 for the person or entity to whom it is addressed and may contain confidential 
 and/or privileged material. Any review, retransmission, dissemination or 
 other use of or taking of any action in reliance upon this information by 
 persons or entities other than the intended recipient is prohibited. If you 
 received this information in error, please contact the Compliance HelpLine at 
 800-856-1983 and properly dispose of this information.
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Labelling a Volume (Tape) which already has an existing Label but is not in the Catalog?

2007-02-28 Thread Paul England
Hi there,

I'm having trouble labeling a previously used tape which is no longer in
the bacula catalog.

3920 Cannot label Volume because it is already labeled: Archive-2
Label command failed for Volume Monthly-3.
Do not forget to mount the drive!!!

I also already have another volume in the catalog named Archive-2 so
does this mean adding it to the catalog is out of the question?

Any ideas?

Thank you

Paul England
Auckland, NZ

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Labelling a Volume (Tape) which already has an existing Label but is not in the Catalog?

2007-02-28 Thread Brian Debelius
Hi,

I don't know if there is a way to do it from the console or not.  I know 
there is a relabel command, but I have not tried that yet.

I forcefully clear the tape with mt.

mt -f Tape0 rewind
mt -f Tape0 weof

and then label it in the console with the label command.

brian-

Paul England wrote:
 Hi there,

 I'm having trouble labeling a previously used tape which is no longer in
 the bacula catalog.

 3920 Cannot label Volume because it is already labeled: Archive-2
 Label command failed for Volume Monthly-3.
 Do not forget to mount the drive!!!

 I also already have another volume in the catalog named Archive-2 so
 does this mean adding it to the catalog is out of the question?

 Any ideas?

 Thank you

 Paul England
 Auckland, NZ

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Labelling a Volume (Tape) which already has an existing Label but is not in the Catalog?

2007-02-28 Thread Paul England
Hi Brian, 

Thanks for your quick response,

I have found another way to do it.. it really does concern me doing it
manually, if bacula decides to change the tape in the auto changer
before I issue the weof command I could potentially lose data :S

Here is the method I am using:

host:/#bacula
*unmount
*quit
host:/#mtx -f /dev/sg0 load 5 0
host:/#mt -f /dev/nst0 rewind
host:/#mt -f /dev/nst0 weof

Does anyone see a problem with this method?

Cheers



On Wed, 2007-02-28 at 20:24 -0500, Brian Debelius wrote:
 Hi,
 
 I don't know if there is a way to do it from the console or not.  I know 
 there is a relabel command, but I have not tried that yet.
 
 I forcefully clear the tape with mt.
 
 mt -f Tape0 rewind
 mt -f Tape0 weof
 
 and then label it in the console with the label command.
 
 brian-
 
 Paul England wrote:
  Hi there,
 
  I'm having trouble labeling a previously used tape which is no longer in
  the bacula catalog.
 
  3920 Cannot label Volume because it is already labeled: Archive-2
  Label command failed for Volume Monthly-3.
  Do not forget to mount the drive!!!
 
  I also already have another volume in the catalog named Archive-2 so
  does this mean adding it to the catalog is out of the question?
 
  Any ideas?
 
  Thank you
 
  Paul England
  Auckland, NZ
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Messages to console(s)

2007-02-28 Thread Zeratul
On Wed, 28 Feb 2007 22:06:20 +0100, Arno Lehmann wrote
...
 
 A configuration setting for the timeout time would be fine :-)
 Hmm, perhaps in the console resource in the DIR conf?

Someone (Kern, if I remember right) told in a previous thread that the 
restricted consoles are actually jobs. There is any way to control these
jobs in bacula directory? 

Daniel

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bweb job status log

2007-02-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

I'm using the most recent version of bacula-gui's bweb. I've gotten
everything working so far, but the one thing that concerns me is that
jobs that have run don't show the log. Therefore, you can click on a job
that ran recently that shows 1 error, but when you show that job, the
log area is empty.

Is this the expected behavior (I honestly don't know where bweb would
get the log information if it did not spawn the job itself), or can I
easily repair this somehow?

Thanks for the great product!
- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5jO8mb+gadEcsb4RAltCAKCPdWxNAraU9q1iRCOmjjvreBDuFgCfVqsU
H1JjzaaD77YaJoyYazaKJY8=
=Fkvf
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Which side to start an upgrade?

2007-02-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

MaxxAtWork wrote:
 Hello,
 
 when upgrading a bacula backup environment with many clients
 from which side is wiser to start? Clients or director/sd ?
 In other words which of these two situations is less likely to be troublesome:
 - old client talking with new director/sd
 - new client talking with old director/sd
 
 I'm thinking of an environment where at least some of the machines have bacula
 installed with e.g. Linux distro packages, so 'installing in an
 alternate directory'
 is not an easy option to follow, and the upgrade cycle is not
 applicable all-at-once
 on all the machines involved, otherwise some important backups would be 
 skipped.
 
 Thank you

I upgraded the machines one by one, starting with the director when I
went from 1.38.11 to 2.0.2. The more distro packages you can use, the
faster this process will go. I was able to get it all done in one
workday, so my backups were not affected, but my understanding is that a
2.0.x director will back up a 1.38.x client just fine. I wouldn't
recommend the other way 'round, really.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5jSMmb+gadEcsb4RAheZAJoCzS5iU6xa+8QiF+TgxhnwrJdwEgCeLJgo
T6SmjKbwk6+o7RPmsos/lAI=
=ZHAd
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Please help! I just typed `purge files` instead of `prune files` by accident.

2007-02-28 Thread Paul England
Hi there,

I just did something very silly...

*purge

This command is can be DANGEROUS!!!

It purges (deletes) all Files from a Job,
JobId, Client or Volume; or it purges (deletes)
all Jobs from a Client or Volume without regard
for retention periods. Normally you should use the
PRUNE command, which respects retention periods.
You have the following choices:
 1: files
 2: jobs
 3: volume
Choose item to purge (1-3): 0
Please enter a number between 1 and 3
Choose item to purge (1-3): 1
Automatically selected Client: pandora-fd
Begin purging files for Client pandora-fd

I've been working on bacula all day, I can't believe what I have just
done.. did I just remove all the files from my database?!

I take it I need to restore my database is this correct?

Wont the database be out of date?

Any help would be GREATLY appreciated

(I am running an SQLite database)

Paul England
Auckland, NZ

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help! I just typed `purge files` instead of `prune files` by accident.

2007-02-28 Thread Brian Debelius
I believe you just removed all the files from the database related to 
the client pandora-fd. 

Paul England wrote:
 Hi there,

 I just did something very silly...

 *purge

 This command is can be DANGEROUS!!!

 It purges (deletes) all Files from a Job,
 JobId, Client or Volume; or it purges (deletes)
 all Jobs from a Client or Volume without regard
 for retention periods. Normally you should use the
 PRUNE command, which respects retention periods.
 You have the following choices:
  1: files
  2: jobs
  3: volume
 Choose item to purge (1-3): 0
 Please enter a number between 1 and 3
 Choose item to purge (1-3): 1
 Automatically selected Client: pandora-fd
 Begin purging files for Client pandora-fd

 I've been working on bacula all day, I can't believe what I have just
 done.. did I just remove all the files from my database?!

 I take it I need to restore my database is this correct?

 Wont the database be out of date?

 Any help would be GREATLY appreciated

 (I am running an SQLite database)

 Paul England
 Auckland, NZ

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Please help! I just typed `purge files` instead of `prune files` by accident.

2007-02-28 Thread Paul England
I only have one client.. which has around a terabyte of data backed up..
but everything is okay..

It just sat there for ages.. then I remembered that SQLite3 is a
journal-ed database..

I copied the bacula.db file,

killed the bacula-director

moved the journal file

started the bacula-director

It's as if nothing ever happened =)

Cheers

On Wed, 2007-02-28 at 21:31 -0500, Brian Debelius wrote:
 I believe you just removed all the files from the database related to 
 the client pandora-fd. 
 
 Paul England wrote:
  Hi there,
 
  I just did something very silly...
 
  *purge
 
  This command is can be DANGEROUS!!!
 
  It purges (deletes) all Files from a Job,
  JobId, Client or Volume; or it purges (deletes)
  all Jobs from a Client or Volume without regard
  for retention periods. Normally you should use the
  PRUNE command, which respects retention periods.
  You have the following choices:
   1: files
   2: jobs
   3: volume
  Choose item to purge (1-3): 0
  Please enter a number between 1 and 3
  Choose item to purge (1-3): 1
  Automatically selected Client: pandora-fd
  Begin purging files for Client pandora-fd
 
  I've been working on bacula all day, I can't believe what I have just
  done.. did I just remove all the files from my database?!
 
  I take it I need to restore my database is this correct?
 
  Wont the database be out of date?
 
  Any help would be GREATLY appreciated
 
  (I am running an SQLite database)
 
  Paul England
  Auckland, NZ
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share your
  opinions on IT  business topics through brief surveys-and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] wx-console over SSH tunnel?

2007-02-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Apparently my organization blocks port 9101 inbound. I can get around
this doing SSH tunneling (which works for web traffic to firewalled
machines):

ssh [EMAIL PROTECTED] -L 9101:localhost:9101

...and then attempting a connection with wx-console to my machine on
port 9101. This fails with an authorization error. I'm running 2.0.2,
but I suspect it doesn't make much difference. Should I expect this to
work, or will the director be upset that the connection is being passed
through a tunnel?

Thanks.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5kBxmb+gadEcsb4RAn9+AKDHtAzeHkEpj6Bg2UmunkggkKI/1ACg2XXF
0gwCsMNddEeec2LfyEi9zhA=
=YL44
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tape drive mount problems

2007-02-28 Thread Michael Brennen
On Mon, 26 Feb 2007, Kern Sibbald wrote:

 On Sunday 25 February 2007 09:42, Michael Brennen wrote:
 Hello again,

 The long weekend backups started running Friday night.  This is a 4
 drive 60 slot autochanger.  The bacula version is archive-dir
 Version: 2.1.4 (21 February 2007) to get the encryption patch.

 Consistent with what I posted a couple of days ago the tape drives
 are still a bit confused, and I've had to manually unmount and mount
 tapes to accomodate the needs of a few jobs.

 I now have a job that is waiting for a particular mount on drive 0,
 but thd drive is unmountable.  I unmounted a volume FNI0005 in drive
 0, used by a different job, and unmounted volume FNI0006 in drive 3
 in order to mount FNI0006 on drive 0, which is what the waiting job
 wanted.  That process left drive 0 in the following state, taken
 with debug 200:

 ===
 Device Drive-0 (/dev/nst0) is not open.
  Device is BLOCKED. User unmounted during wait for media/mount.
  Drive 0 status unknown.
 Configured device capabilities:
 EOF BSR BSF FSR FSF EOM REM !RACCESS AUTOMOUNT !LABEL !ANONVOLS ALWAYSOPEN
 Device state:
 !OPENED TAPE !LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT
 !MOUNTED num_writers=1 block=5
 ===

 If I read this correctly, the lack of a bang in front of TAPE
 indicates that bacula thinks there is a tape in the drive.  There is
 not; a raw mtx status query shows drive 0 empty.  Trying to unmount
 FNI0005 left the drive in this state, and it is now impossible to
 mount another drive, as a mount command results in trying to unmount
 a non-existent tape into an already full slot 1, which of course
 fails.

 When I try to mount FNI0006 on drive 0, this is the result:

 ===
 forked processes:

 /bin/sh /path/to/bacula/mtx-changer /dev/sg3 unload 1 /dev/nst0 0
\_ mt -f /dev/nst0 offline
... eventual timeout...
 3995 Bad autochanger unload slot 1, drive 0: ERR=Child exited with
 code 1
 Results=/dev/nst0: No medium found
 Storage Element 1 is Already Full

 3901 open device failed: ERR=dev.c:424 Unable to open device
 Drive-0 (/dev/nst0): ERR=No medium found
 ===

 Every time I try to mount a tape to the drive it tries to unload a
 non existent tape and will go no further.  I've tried releasing the
 drive, unmounting it, etc. and nothing has succeeded so far.  I've
 had no results googling for a resolution either; this drive status
 does not come up much in searches.

 The autochanger and drive 0 config are below; the other drives are
 identical with appropriate name changes.  This configuration has
 been working for weeks, and it just began showing problems.  The
 pools just now began recycling volumes, and it seems to be the low
 numbered recycled tapes that are problematic.  I do not know if that
 has anything to do with this or not.

 Autochanger {
Name = Q47
Device = Drive-0, Drive-1, Drive-2, Drive-3
Changer Command = /path/to/bacula/mtx-changer %c %o %S %a %d
Changer Device = /dev/sg3
 }

 Device {
Name = Drive-0
Drive Index = 0
Media Type = DLT-7000
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
LabelMedia = no
# Enable the Alert command only if you have the mtx package loaded
Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat'
SpoolDirectory = /some/dir
 }

 If anyone has any insight on how to clear this up, or how it got in
 this state, I would appreciate it.  For now I will muddle through
 the long backups and manually rerun the failed/blocked jobs after I
 can restart things to get it to an unblocked state.  Thanks...

 The first thing to do is to get back on a stable Bacula.  I have not tested
 the trunk with a tape drive for well over a month, and yet there have been
 some *major* modifications to the device handling.

 If you don't know how to get onto Branch-2.0, then I recommend going back to
 the released 2.0.2.  (Sorry I don't have the proper command just in front of
 me). Hopefully that will clear up all your problems.  If you need the fix for
 the encryption problem, download the updated restore.c file from the bug.
 By the end of next week, I hope to have version 2.0.3 ready for release ...

I went back to 2.0.2 source with the filed restore.c, and all is 
working well now.  I did not know the difference between the branch 
and trunk; this is my first exposure to an svn tree.  That's what I 
get for working with things I don't fully understand. :)

-- Michael

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash

Re: [Bacula-users] Tape drive mount problems resolved (svn source bug, I think)

2007-02-28 Thread Michael Brennen
On Mon, 26 Feb 2007, Kern Sibbald wrote:

 On Monday 26 February 2007 03:17, Michael Brennen wrote:
 I have a resolution to the mount problems of which I wrote last
 night, in which bacula attempts to unload a phantom tape from an
 empty drive before loading the needed tape.  I went back to the
 latest released source, 2.0.2, and all is working again.

 The changer is a 4 drive, 60 slot unit that has been working well
 for months.  Essentially the problem is that the latest svn source
 tries to unload a non-existent tape from a drive before it tries to
 load the real tape from the changer.  2.0.2 works correctly.  The
 following errors were in working/log after the failed operations on
 current svn source.  Drive 0 was empty when these were attempted.

 =
 25-Feb 19:06 archive-dir: Using Volume FNI0002 from 'Scratch' pool.
 25-Feb 19:06 archive-sd: 3307 Issuing autochanger unload slot 1, drive 0
 command. 25-Feb 19:08 archive-sd: 3995 Bad autochanger unload slot 1,
 drive 0: ERR=Child exited with code 1
 Results=/dev/nst0: No medium found
 Storage Element 1 is Already Full

 25-Feb 19:08 archive-sd: 3307 Issuing autochanger unload slot 1, drive 0
 command.

 25-Feb 19:10 archive-sd: 3995 Bad autochanger unload slot 1, drive 0:
 ERR=Child exited with code 1
 Results=/dev/nst0: No medium found
 Storage Element 1 is Already Full
 =

 Reviewing the technotes file, I wonder if this wasn't broken when
 the virtual autochanger changes were made a few days ago.

 Yes, quite likely.

 Thanks for doing some nice debugging for me. :-)

 I'm very sorry that you got hit with these problems and that I was offline at
 FOSDEM while they were happening :-(

No problem; at least some good came out of it. :)  Thanks for the 
responses.

-- Michael

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Labelling a Volume (Tape) which already has an existing Label but is not in the Catalog?

2007-02-28 Thread John Drescher
On 2/28/07, Paul England [EMAIL PROTECTED] wrote:
 Hi Brian,

 Thanks for your quick response,

 I have found another way to do it.. it really does concern me doing it
 manually, if bacula decides to change the tape in the auto changer
 before I issue the weof command I could potentially lose data :S

If you are worried about that and their are no current jobs running
stop the storage daemon before you do that and then start it after.

 Here is the method I am using:

 host:/#bacula
 *unmount
 *quit
 host:/#mtx -f /dev/sg0 load 5 0
 host:/#mt -f /dev/nst0 rewind
 host:/#mt -f /dev/nst0 weof

 Does anyone see a problem with this method?

Well if it fits your system than ok. I mean this is basically what
Brian said but you added a mtx command to load the tape that is in the
5th slot of your changer to the first drive. I question that but it
may be what you wanted to do.  Since you gave no details of your os
version or changer that is as much as I can help you with.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] wx-console over SSH tunnel?

2007-02-28 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Had an epiphany right after: the error I got was coming from sshd,
saying this was not allowed (I hadn't seen it when I wrote the message),
just the auth error from Bacula. sshd needed AllowTcpForwarding = yes --
no problems after that.

Hopefully this will hep someone down the road. :)

Ryan Novosielski wrote:
 Apparently my organization blocks port 9101 inbound. I can get around
 this doing SSH tunneling (which works for web traffic to firewalled
 machines):
 
 ssh [EMAIL PROTECTED] -L 9101:localhost:9101
 
 ...and then attempting a connection with wx-console to my machine on
 port 9101. This fails with an authorization error. I'm running 2.0.2,
 but I suspect it doesn't make much difference. Should I expect this to
 work, or will the director be upset that the connection is being passed
 through a tunnel?
 
 Thanks.


- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF5kJ4mb+gadEcsb4RAlffAJ9g70vzvv9JxtAuGMD8+tHz6ZQmbQCcD8kE
alYLGzZ1WEthO7HVZyR+gLA=
=MY/N
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer III
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Labelling a Volume (Tape) which already has an existing Label but is not in the Catalog?

2007-02-28 Thread Paul England

On Wed, 2007-02-28 at 22:00 -0500, John Drescher wrote:
 On 2/28/07, Paul England [EMAIL PROTECTED] wrote:
  Hi Brian,
 
  Thanks for your quick response,
 
  I have found another way to do it.. it really does concern me doing it
  manually, if bacula decides to change the tape in the auto changer
  before I issue the weof command I could potentially lose data :S
 
 If you are worried about that and their are no current jobs running
 stop the storage daemon before you do that and then start it after.

ahh I see, that's a great idea

 
  Here is the method I am using:
 
  host:/#bacula
  *unmount
  *quit
  host:/#mtx -f /dev/sg0 load 5 0
  host:/#mt -f /dev/nst0 rewind
  host:/#mt -f /dev/nst0 weof
 
  Does anyone see a problem with this method?
 
 Well if it fits your system than ok. I mean this is basically what
 Brian said but you added a mtx command to load the tape that is in the
 5th slot of your changer to the first drive. I question that but it
 may be what you wanted to do.  Since you gave no details of your os
 version or changer that is as much as I can help you with.
 

okay cool, you assumed correctly, there's an autochanger

 John

Thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Upgrade autochanger configuration?

2007-02-28 Thread Ivan Adzhubey
Thanks a lot, Arno. Your reply saved me a day of scanning through the 
documentation! Things looked a bit confusing because apparently, the guy who 
installed Bacula first tried version 1.38.x and then settled down on 1.36.1 
for whatever reasons he had. That left a bit of a mess in config files.

BTW, is there a place to submit user tested Bacula-compatible hardware setups? 
The one included with the documentation (well, both of them) look outdated 
and unmaintained for years. It is rather short also, which IMHO is misleading 
and can discourage potential Bacula users. It is my understanding that in 
reality Bacula will happily work with almost any autochanger/tape drive 
hardware except probably most exotic models.

Regards,
Ivan

On Wednesday 28 February 2007 07:20:19 pm Arno Lehmann wrote:
 Hi,

 On 3/1/2007 12:56 AM, Ivan Adzhubey wrote:
  Hi,
 
  I am considering upgrade to version 2.0.2 from 1.36.1 we are using now.
  Could someone please confirm that the documentation regarding autochanger
  support is current and correct in the on-line User's Manual?

 As far as I can see, it is.

  The difference is that according to User's Manual, one should first
  describe all tape drives in the changer as separate Devices (adding
  Autochanger = yes directive to each Device resource) and then define
  Autochanger resource, listing all tape drives under Device directive in
  it. The configuration we use does not define an Autochanger resource at
  all but instead have a single Device defined with Autochanger = yes
  directive and all other
  changer-relevant directives set inside of it (bacula-sd.conf):

 That is one of the major changes between 1.36 and 1.38 versions.

  Device {
Name = Splicer
Media Type = SDX700-C
Archive Device = /dev/nst0
AutomaticMount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Changer Command = /etc/bacula/mtx-changer %c %o %S %a %d
Changer Device = /dev/sg1
Autochanger = yes
Drive Index = 0
Spool Directory = /mnt/bacula/spool
  }
 
  and also in the bacula-dir.conf:
 
  # Definition of Autochanger device
  Storage {
Name = AIT3-Changer
Address = domain.name.org
Device = Splicer
Password = 
Autochanger = yes
Media Type = SDX700-C
  }

 The above is a pretty standard autochanger configuration for pre-1.38, I
 think.

  This configuration works, but I am not sure if it will still work with
  version 2.0.2.

 It will not work correctly.

  Any advice would be greatly appreciated.

 Change that using the scheme you found in the current manual -
 autochanger resource plus device setup. You already have all the
 information you need in the configuration, you've only got to move parts
 around.

 By the way - this has not happened to make life harder for the users,
 but to support autochangers with more than one tape drive.

 Arno

--Ivan Adzhubey

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula upgrade from 1.38.9 - 2.0.2

2007-02-28 Thread Zakai Kinan
This is not the problem I am afraid.  Thanks for the
tip.


ZK


--- John Drescher [EMAIL PROTECTED] wrote:

 On 2/28/07, Zakai Kinan [EMAIL PROTECTED]
 wrote:
  I am getting the following error after the
 upgrade:
 
  26-Feb 22:09 bacula-dir:  Fatal error: Version
 error
  for database bacula. Want
 
  ed 9, got 10
  26-Feb 22:09 bacula-dir:  Fatal error: Could not
 open
  database bacula.
  26-Feb 22:09 bacula-dir:  Fatal error: Version
 error
  for database bacula. Want
 
  ed 9, got 10
  26-Feb 22:09 bacula-dir ERROR TERMINATION
  Please correct configuration file:
  /etc/bacula/bacula-dir.conf
 
  This error only occurs after I run the
  update_mysql_tables script.  If I restore the old
  database schema bacula seems to work.  I don't
 trust
  it because the release notes state that the update
  must be run after the upgrade.  I did some
 research,
  but I did not get anything meaningful.  Does
 anyone
  have any ideas?
 
 It looks like the old version of bacula-dir still is
 installed and
 this is running instead of the new.
 
 John
 

-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get
 the chance to share your
 opinions on IT  business topics through brief
 surveys-and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/bacula-users
 



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] The number of files mismatch! but next job is fine ?

2007-02-28 Thread Adam Cécile
Hello,

I have a strange issue with my daily backups.
The two first jobs fails, because tape 'Daily-004' seems to be crap,
however all next jobs are fine.
Here is the logs :

28-fév 21:01 srv-mpp-lrs-sd: Job 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 waiting to reserve a 
device.

28-fév 21:00 srv-mpp-lrs-dir: Start Backup JobId 2159, 
Job=Backup-srv-mpp-lrs.2007-02-28_21.00.00
28-fév 21:00 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 0 command.
28-fév 21:00 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 0, result: 
nothing loaded.
28-fév 21:00 srv-mpp-lrs-sd: 3304 Issuing autochanger load slot 15, drive 0 
command.
28-fév 21:00 srv-mpp-lrs-sd: 3305 Autochanger load slot 15, drive 0, status 
is OK.
28-fév 21:01 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 0 command.
28-fév 21:01 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 0, result is Slot 
15.
28-fév 21:01 srv-mpp-lrs-sd: Volume Daily-0004 previously written, moving to 
end of data.
28-fév 21:02 srv-mpp-lrs-sd: Ready to append to end of Volume Daily-0004 at 
file=188.
28-fév 21:02 srv-mpp-lrs-dir: Bacula 1.38.11 (28Jun06): 28-fév-2007 21:02:34
= Backup OK

28-fév 21:05 srv-mpp-lrs-sd: Job 
Backup-srv-mpp-lrs-MySQL-inventory.2007-02-28_21.00.01 waiting to reserve a 
device.

28-fév 21:00 srv-mpp-lrs-dir: Start Backup JobId 2161, 
Job=Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02
28-fév 21:00 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 1 command.
28-fév 21:01 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 1, result: 
nothing loaded.
28-fév 21:01 srv-mpp-lrs-sd: Job 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 waiting to reserve a 
device.
28-fév 21:02 srv-mpp-lrs-sd: 3307 Issuing autochanger unload slot 15, drive 
0 command.
28-fév 21:04 srv-mpp-lrs-sd: 3304 Issuing autochanger load slot 15, drive 1 
command.
28-fév 21:05 srv-mpp-lrs-sd: 3305 Autochanger load slot 15, drive 1, status 
is OK.
28-fév 21:05 srv-mpp-lrs-sd: 3301 Issuing autochanger loaded drive 1 command.
28-fév 21:05 srv-mpp-lrs-sd: 3302 Autochanger loaded drive 1, result is Slot 
15.
28-fév 21:05 srv-mpp-lrs-sd: Volume Daily-0004 previously written, moving to 
end of data.
28-fév 21:06 srv-mpp-lrs-sd: 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Error: I cannot write on 
Volume Daily-0004 because:
The number of files mismatch! Volume=189 Catalog=188
28-fév 21:06 srv-mpp-lrs-sd: Marking Volume Daily-0004 in Error in Catalog.
28-fév 21:06 srv-mpp-lrs-dir: 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: Volume 
Files at 189 being set to 188 for Volume Daily-0004. This is incorrect.
28-fév 21:06 srv-mpp-lrs-sd: 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: Error 
getting Volume info: 1992 Update Media error. VolFiles=188, CatFiles=189
28-fév 21:06 srv-mpp-lrs-sd: 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: Job 2161 
canceled.
28-fév 21:06 srv-mpp-datas-fd: 
Backup-srv-mpp-datas-Echange_MEDIA.2007-02-28_21.00.02 Fatal error: 
../../filed/job.c:1751 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data
= Backup Error

Maximum Concurrent HJobs are set to two for both director and storage. It seems 
the first jobs (Backup-srv-mpp-datas-Echange_MEDIA)
 starts but doesn't see there is already another jobs running 
(Backup-srv-mpp-lrs).

Looking for some pointers...

Thanks in advance,

Best regards, Adam Cécile.

-- 

Adam CECILELinbox / FreeALter Soft
152 rue de Grigy   tél: +33 3 87 50 87 95
Technopôle Metz 2000   fax: +33 3 87 75 19 26   
57070 METZ - Francehttp://www.linbox.com


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users