Rif: Re: [Bacula-users] Anyone knows about backing up Notes Domino databases (*.nsf) with bacula?

2006-02-28 Thread Ferdinando Pasqualetti

I use logical volume to backup Lotus
Notes environment.
A RunBeforeClient script stops Domino,
generate a snapshot of the volume in which there are the databases, mount
it under a different mount point and restart Domino. It takes no more than
3/4 minutes.
The FileSet obviously include the snapshot
filesystem, not the running one.
A RunAfterClient script destroys the
snapshot at the backup end, after some hours.

If you need details ask me, I will send
them.

--
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143








Gregory Brauer <[EMAIL PROTECTED]>

Inviato da: [EMAIL PROTECTED]
25/02/2006 03.19




Per
bacula-users@lists.sourceforge.net


CC



Oggetto
Re: [Bacula-users] Anyone knows about
backing up Notes Domino databases (*.nsf) with bacula?








Jo wrote:
> Christoff Buch schreef:
>>
>> Hi all,
>>
>> what I need to know is:
>>
>> Can they be backed up with bacula while opened?
> What we do is to stop the Notes service at 1am. Then zip all the nsf

> files and then restart the Notes service. Then Bacula comes by and
backs 
> up the zipped files, while skipping the active nsf files.

Another, potentially faster, strategy is to use rsync to duplicate the
files to another location while Notes is stopped and then back up
from the duplicated area (meaning you are free to restart Notes).
rsync only copies changed data, so the time period that Notes is stopped
should be fairly short.  Note, however, that this will double your
disk
usage.

Greg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Rif: **Possibile SPAM**Re: Rif: Re: [Bacula-users] Anyone knows about backing up Notes Domino databases (*.nsf) with bacula?

2006-02-28 Thread Ferdinando Pasqualetti

OK, if this can help.
O.S. is RedHat 4.2 AS
This is the Volume Group and Volume
definition:
lvm> vgdisplay
  --- Volume group ---
  VG Name      
        VG
  System ID
  Format      
         lvm2
  Metadata Areas    
   1
  Metadata Sequence No  101
  VG Access      
      read/write
  VG Status      
      resizable
  MAX LV      
         0
  Cur LV      
         1
  Open LV      
        1
  Max PV      
         0
  Cur PV      
         1
  Act PV      
         1
  VG Size      
        809,52 GB
  PE Size      
        16,00 MB
  Total PE      
       51809
  Alloc PE / Size    
  43750 / 683,59 GB
  Free  PE / Size  
    8059 / 125,92 GB
  VG UUID      
        2OSxPl-Y80V-4tDy-3CPq-ndFK-sPDq-7sPOwj

lvm> lvdisplay VG
  --- Logical volume ---
  LV Name      
         /dev/VG/LV_uno
  VG Name      
         VG
  LV UUID      
         VqG5RZ-mK3r-fyDv-DtM4-RWN3-ESro-uuDay5
  LV Write Access    
   read/write
  LV Status      
       available
  # open      
          1
  LV Size      
         683,59 GB
  Current LE    
        43750
  Segments      
        1
  Allocation    
        inherit
  Read ahead sectors  
  0
  Block device    
      253:0

This is the job definition:
Job {
  Name = domino2-job
  Write Bootstrap = "/var/bacula/domino2.bsr"
  Fileset = domino2-fileset
  Client = domino2
  Type = Backup
  Level = Full
  Schedule = domino2-schedule
  Storage = domino2-storage
  Messages = Standard
  Client Run Before Job = "/root/domsnap"
  Client Run After Job = "/root/domksnap"
  Pool = domino2-pool
  Priority = 10

This is domsnap script:
#!/bin/sh

echo "Shutting down domino
 `date`"
/etc/init.d/notes stop
modprobe dm-snapshot
sleep 3
lvcreate --size 50G --snapshot --name
uno_snap /dev/VG/LV_uno
sleep 3
echo "Restarting domino  `date`"
/etc/init.d/notes start
mount -o ro /dev/VG/uno_snap /uno_snap
exit 0

This is domksnap script:
#!/bin/sh
echo "Destroying /uno snapshot"
umount /uno_snap
lvremove -f /dev/VG/uno_snap
exit 0

Hope it is usefuf to someone.


--
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143








Robert Einsle <[EMAIL PROTECTED]>

28/02/2006 09.23




Per
Ferdinando Pasqualetti <[EMAIL PROTECTED]>


CC
bacula-users@lists.sourceforge.net


Oggetto
**Possibile SPAM**Re: Rif: Re: [Bacula-users]
Anyone knows about backing up Notes Domino databases (*.nsf) with bacula?








Hy Ferdinando,

i'm Interested on this Scripts, i've the same Problem.

Thanks

\Robert

Ferdinando Pasqualetti schrieb:

>
> I use logical volume to backup Lotus Notes environment.
> A RunBeforeClient script stops Domino, generate a snapshot of the

> volume in which there are the databases, mount it under a different

> mount point and restart Domino. It takes no more than 3/4 minutes.
> The FileSet obviously include the snapshot filesystem, not the running

> one.
> A RunAfterClient script destroys the snapshot at the backup end, after

> some hours.
>
> If you need details ask me, I will send them.
>
> --
> Ferdinando Pasqualetti
> G.T.Dati srl
> Tel. 0557310862 - 3356172731 - Fax 055720143
>
>
>
>
>
> *Gregory Brauer <[EMAIL PROTECTED]>*
> Inviato da: [EMAIL PROTECTED]
>
> 25/02/2006 03.19
>
>                  
> Per
>                  bacula-users@lists.sourceforge.net
> CC
>                  
> Oggetto
>                  Re:
[Bacula-users] Anyone knows about backing up Notes Domino 
> databases (*.nsf) with bacula?
>
>
>
>                  
>
>
>
>
>
> Jo wrote:
> > Christoff Buch schreef:
> >>
> >> Hi all,
> >>
> >> what I need to know is:
> >>
> >> Can they be backed up with bacula while opened?
> > What we do is to stop the Notes service at 1am. Then zip all
the nsf
> > files and then restart the Notes service. Then Bacula comes by
and 
> backs
> > up the zipped files, while skipping the active nsf files.
>
> Another, potentially faster, strategy is to use rsync to duplicate
the
> files to another location while Notes is stopped and then back up
> from the duplicated area (meaning you are free to restart Notes).
> rsync only copies changed data, so the time period that Notes is stopped
> should be fairly short.  Note, however, that this will double
your disk
> usage.
>
> Greg
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting

> language
> that extends applications into web and mobile media. Attend the live

> webcast
> and join the prime developer group breaking into this new coding 
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> --- This SF.Net

> email is sponsored b

Re: [Bacula-users] Simultaneous jobs on LTO drive results in End of Volume error

2006-02-28 Thread Kern Sibbald
On Monday 27 February 2006 22:03, Ian Levesque wrote:
> Hi Kern, et al,
>
> > I've noticed a pattern in my backups when two jobs are
> > simultaneously
> > writing to the same tape. When the tape ends, Bacula doesn't
> > respond
> > gracefully. This is only a problem when two jobs are running on
> > the
> > tape, not when a single job is running.
> 
>  Are you spooling to disk or writing directly to tape?
> >>>
> >>> I'm writing directly to tape. Do you suppose that this may be
> >>> remedied by
> >>> spooling? My initial tests with spooling showed a performance hit
> >>
> >> It's clear you've tickled a bug and I hope you've filed it on
> >> bugs.bacula.org.
> >
> > I think it is more likely that the user did not properly test with
> > btape test.
>
> Yeah, it might appear that way :)
> But I did perform the btape tests, and everything checked out OK.
>
> > I cannot completely exclude a bug, but I find it unlikely. I'd like
> > clear
> > evidence of a bug, which I don't have, before spending any time on the
> > problem.
>
> Maybe it's not a bug in bacula. This is why I haven't filed one yet.
> Perhaps it's a problem with my setup. I'm just looking for ideas, and
> I find it curious that one-at-a-time jobs work as expected, while
> simultaneous jobs will produce these errors more often than not.

I think the single/multiple job problem is just a coincidence. In fact, the 
output that I saw seemed to me to be non-fatal. That is, unless disabled via 
the conf Bacula tries to backup and re-read the last block successfully 
written.  Many tape drives do not support backing up and re-reading, though 
most modern drives do.  In your case, it appears that there is no logical end 
of tape marker on the tape (a tape defect or a drive LEOF detection defect) 
and so Bacula wrote to the end of the tape. This is not a very good thing, 
but not necessarily fatal.  With most OS drivers, if you write to the very 
end of the tape, it is likely that the driver will get a bit confused about 
positioning, or will simply refuse to let you reposition the tape until you 
rewind or close the drive (rather logical).  This is what I suspect happened 
to you.  My best guess is a tape defect. If it happens with more than one 
tape, either you have a bad batch of tapes, or you have a defective drive or 
the logical end of tape reader head is dirty.

 On the other hand, I cannot 100% exclude the possibility that some lower 
level Bacula subroutine releases the device lock thus allowing some race 
condition with other threads (jobs).  I'll take a look at the code with that 
in mind in the near future -- this week I'm tied up with family visitors so 
don't have much time.

Unfortunately, testing such a problem is not easy as it takes a long time to 
write most tapes (especially LTOs).


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Trouble restoring files created through a fifo

2006-02-28 Thread Kern Sibbald
Hello,

Attached, please find a patch that can be applied to Bacula 1.38.5 that will 
fix the bug that prevents restores of read/write fifos from working. I've 
tested it here and it seems to work fine.  This patch does not implement the 
new proposal I have made, but simply makes the old original code work 
correctly.  The instructions for how to apply the patch are at the top of the 
file.

Best regards, Kern

On Monday 27 February 2006 14:31, Marcel Gsteiger wrote:
> thank you for your response. Meanwhile I tried several things (e.g.
> restoring the database dumpfile to a windows workstation), but I can't
> prevent the FD from trying to create the fifo and then fail with permission
> conflicts. Sorry but I'm still unable to work it out despite the fact that
> you certainly had it made to function some time ago.
>
> The trouble is that the "Client Run Before Job" script cannot start the
> FIFO reader since the FIFOs doesn't yet exist at that time. But when I
> create the FIFOs in that script, the FD will subsequently fail while trying
> to create them itself.
>
> One way would be to have the FD start a client side script after creating
> each FIFO, perhaps via something like a "Client Run After File Create"
> script that takes the file name as a parameter. Alternatively, I could
> imagine to have an additional "Replace" option during restore named "fifo"
> (in addition to "always", "ifnewer","ifolder", "never") that expects a FIFO
> with the name of the file being restored to exist already. The FD should
> then leave the other file attributes and date unchecked and write to the
> FIFO.
>
> I would much appreciate if you could help me to make this work. I'm
> convinced that I'm not the only one looking for a efficient way to back up
> and restore databases, and I believe there is just a small piece missing.
> Bacula is already a wonderful piece of software, this would make it even
> more usable.
>
> Regards
> -Marcel
>
> >>> Kern Sibbald <[EMAIL PROTECTED]> 22.02.2006 >>>
>
> On Wednesday 22 February 2006 17:18, Marcel Gsteiger wrote:
> > Hi all
> >
> > Did anybody succeed to restore a file that was backed up through a fifo?
> > I'm unable to get this done. The normal restore job gives an error
> > message. I then created a second restore job that re-creates the fifos,
> > then tries to restore to the original location. When I set the
> > "overwrite" option to never, the system behaves as if it would restore.
> > On my pipe, I have a separate task that takes the data and copies it into
> > a file.
> >
> > SD and FD seem to walk through all the data, but at the end the restore
> > terminates with a "warning file count mismatch" error and tells me 0
> > files have been restored.
>
> As the message says, this is not an error, but a warning.  Bacula doesn't
> really understand FIFOs.
>
> The question here is not the warning, but did Bacula actually deliver the
> contents of the saved file to your program?  If so, it worked.  If not,
> there is some problem, which does not suprise me because I don't have a
> regression script for testing FIFOs, and to the best of my knowledge no one
> is using this (other than you and perhaps one other person) ...
>
> > Any ideas? I think the problem is that, in this case, the FD should leave
> > my FIFOs prepared via "client run before job" alone. There must be some
> > way to perform this, otherwise backing up through FIFOs would be useless.
>
> It *did* work when I implemented it many years ago.
>
> > Any help would much be appreciated.
> > Regards
> > --Marcel
> > However, the job always terminates with
> >
> >
> >
> >
> > ---
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files for problems?  Stop!  Download the new AJAX search engine that
> > makes searching your log files as easy as surfing the  web.  DOWNLOAD
> > SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd__
> >__ ___ Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
This patch corrects a bug in read/write fifos that caused the restore
to such a FIFO to fail.  Apply it to Bacula version 1.38.5 source with:

  cd 
  patch -p0 <1.38.5-fifo.patch
  make
  make install
  ...


Index: src/findlib/create_file.c
===
RCS file: /cvsroot/bacula/bacula/src/findlib/create_file.c,v
retrieving revision 1.46
diff -u -u -r1.46 create_file.c
--- src/findlib/create_file.c	15 Aug 2005 07:25:11 -	1.46
+++ src/findlib/create_file.c	28 Feb 2006 09:35:20 -
@@ -117,7 +117,7 @@
*  we may blow away a FIFO that is being used to read the
*  restore data, or we may blow away a partition definition.
*/
-  if (exists && attr->type != FT_RAW) {
+  if (exists && attr->type != FT_RAW && attr->type != FT_FIFO) {
  /* Get rid of old copy */
  

Re: [Bacula-users] Re: [Bacula-devel] Patch : adding options on wait command (bconsole)

2006-02-28 Thread Kern Sibbald
On Tuesday 28 February 2006 09:45, BOLLENGIER Eric wrote:
> Le Monday 27 February 2006 20:55, Ryan Novosielski a écrit :
> > That would be my first reaction too -- jobuid is the uid that the job
> > will run as. While there currently isn't this capability that I'm aware
> > of, and I guess it's questionable whether it would ever be needed (ie.
> > if you'd WANT the fd to somehow read files as an unprivileged user if it
> > were possible), I think uid is a term that probably should not be used
> > outside of unix uid.
>
> I my mind, uid and jobuid are not the same thing but
> we can also call it jobuuid ?
>
> (uuid stands  for a Universal Unique IDentifier)

Thanks for the suggestion, but I am happy with jobuid, and have modified all 
the exiting code that previously used "job" to use jobuid. Since there is no 
notion of job within Unix/Linux, I don't see any problem of confusion, and if 
there is so be it.  If we have to avoid every three letter abbreviation that 
exists, we will have lots of conflicts.  :-)




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Clone a job only on certain circumstance

2006-02-28 Thread Baptiste Malguy
Hello,

Anyone willing to advise me for my specific issue please ? For the
moment, I hold on blocked by this problem, unfortunately, and I would
appreciate so much some help.

Thanks guys.

Baptiste Malguy a écrit :
> Hello,
> 
> I have a question related to cloning jobs.
> 
> I've just re-read my mail before pushing the "Send" button, and ... a
> little long I'm afraid.
> 
> I want to write my full backups on two different storages (disk + DLT4).
> 
> To achieve this goal, I use the Run attribute of the Job resource,
> providing the same job name: that's job cloning.
> 
> The job is normally an incremental one, that becomes a full one once a
> month thanks to the corresponding schedule.
> 
> Only the monthly full backups have to go on the tapes. Not the
> incremental ones neither the potential full ones that may occur because
> FileSet resource has been modified.
> 
> And that's the point: how to avoid these random full backups to go on
> the tape, that is, how to prevent the original job (writing to disk) to
> clone itself (to write on tape).
> 
> I thought about using Run Before Job attribute, to prevent the cloned
> job to work returning a non-zero value, but I don't know what to provide
> to the run command to let it know to return 0 or non-zero.
> 
> The command needs:
>  - "I'm a clone" or "I'm writing to tapes"
>  - and "I'm a full backup"
>  - and "current date" (because of random full backups)
> 
> I can't provide to the command, as long as I know, "I'm a clone" neither
> "I'm writing to tapes".
> 
> Here are some pieces of the setup:
> 
> 
> Job {
>   Name = server-test
>   Write Bootstrap = /var/lib/bacula/server-test.bsr
>   JobDefs = default
>   FileSet = server-test
>   Client = server-fd
>   Run = "server-test-etc level=\"%l\" since=\"%s\" pool=cart-month
> storage=dlt-storage"
>   Type = Backup
>   Storage = file-storage
>   Messages = standard
>   Priority = 10
>   Pool = file-full
> }
> 
> Schedule {
>   Name = weekly-cycle
>   Run = Full Pool=file-full 1st sat at 1:05
>   Run = Differential Pool=file-diff 2nd-5th sat at 1:05
>   Run = Incremental Pool=file-inc sun-fri at 1:05
> }
> 
> JobDefs {
>   Name = default
>   Type = Backup
>   Level = Incremental
>   FileSet = full
>   Schedule = weekly-cycle
>   Storage = file-storage
>   Messages = standard
>   Priority = 10
>   Pool = default
> }
> 
> I've added this to see what I obtain:
> 
>   RunBeforeJob = "/etc/bacula/scripts/cloned-inc-not-on-tape \"%c\"
> \"%d\" \"%i\" \"%e\" \"%j\" \"%l\" \"%n\" \"%t\" \"%v\""
> 
> And the command line is something like:
> 
> $1="server-fd"
> $2=""
> $3="634"
> $4="Unknown term code"
> $5="server-test-etc.2006-02-22_11.30.31"
> $6="Full"
> $7="Backup"
> $8="Backup"
> $9=""
> 
>>From this point, hoping I've been clear enought (not sure), does anyone
> has an idea ?
> 
> Bye the way, I use Bacula 1.38.3. I'm looking forward for the project
> item #2 "Implement Migration that moves Jobs from one Pool to
> another".
> 
> Thank you and keep on improving this great software !
> 


-- 
Baptiste MALGUY - IT Engineer   SOLSOFT
PGP Fingerprint: 2A90 B6D1 855F 1584 FE68  94AC CCD6 36D0 3DC7 DCB8
www.solsoft.com - phone: +33 1 47 15 04 00 - fax: +33 1 47 15 55 09
 How secure networks are managed.



signature.asc
Description: OpenPGP digital signature


[Bacula-users] Re: Newbie; backup stops before complete

2006-02-28 Thread Richard Kokis
Yes, ran test and all came back, passed.









---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: Rif: Re: [Bacula-users] Anyone knows about backing up Notes Domino databases (*.nsf) with bacula?

2006-02-28 Thread Robert Einsle

Hy Ferdinando,

i'm Interested on this Scripts, i've the same Problem.

Thanks

\Robert

Ferdinando Pasqualetti schrieb:



I use logical volume to backup Lotus Notes environment.
A RunBeforeClient script stops Domino, generate a snapshot of the 
volume in which there are the databases, mount it under a different 
mount point and restart Domino. It takes no more than 3/4 minutes.
The FileSet obviously include the snapshot filesystem, not the running 
one.
A RunAfterClient script destroys the snapshot at the backup end, after 
some hours.


If you need details ask me, I will send them.

--
Ferdinando Pasqualetti
G.T.Dati srl
Tel. 0557310862 - 3356172731 - Fax 055720143





*Gregory Brauer <[EMAIL PROTECTED]>*
Inviato da: [EMAIL PROTECTED]

25/02/2006 03.19


Per
bacula-users@lists.sourceforge.net
CC

Oggetto
	Re: [Bacula-users] Anyone knows about backing up Notes Domino 
databases (*.nsf) with bacula?










Jo wrote:
> Christoff Buch schreef:
>>
>> Hi all,
>>
>> what I need to know is:
>>
>> Can they be backed up with bacula while opened?
> What we do is to stop the Notes service at 1am. Then zip all the nsf
> files and then restart the Notes service. Then Bacula comes by and 
backs

> up the zipped files, while skipping the active nsf files.

Another, potentially faster, strategy is to use rsync to duplicate the
files to another location while Notes is stopped and then back up
from the duplicated area (meaning you are free to restart Notes).
rsync only copies changed data, so the time period that Notes is stopped
should be fairly short.  Note, however, that this will double your disk
usage.

Greg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--- This SF.Net 
email is sponsored by xPML, a groundbreaking scripting language that 
extends applications into web and mobile media. Attend the live 
webcast and join the prime developer group breaking into this new 
coding territory! 
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 
___ Bacula-users mailing 
list Bacula-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/bacula-users 





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread kernel[consulting] info
I have a problem restoring files from the wx-console running on WinXP.
I was told to use bacula version 1.38.5, but i am unable to find the
binary win32 release of 1.38.5. Can anyone please be so kind to point me
in the right direction?

Your help is greatly appreciated.

Sebastian Hültenschmidt





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] RE: [Bacula-devel] Patch : adding options on wait command (bconsole)

2006-02-28 Thread David Boyes
 
> > We can call it "jobuid" ?
> 
> Yes. That is really nice. It is exactly what I was looking 
> for.  Thanks.

How about "jobseq" or "jobserial"? My first reaction to "jobuid" is "the
uid that this job runs under".



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Re: Newbie; backup stops before complete

2006-02-28 Thread Richard Kokis
RIchard Kokis  richmondmonroegroup.com> writes:

Yes, I ran the btape test and it passed, write and seek.

Richard




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Re: [Bacula-devel] Patch : adding options on wait command (bconsole)

2006-02-28 Thread David Boyes
 
> I my mind, uid and jobuid are not the same thing but we can 
> also call it jobuuid ?
> (uuid stands  for a Universal Unique IDentifier)

That would work. 


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Re: [Bacula-devel] Patch : adding options on wait command (bconsole)

2006-02-28 Thread BOLLENGIER Eric
Le Monday 27 February 2006 20:55, Ryan Novosielski a écrit :
> That would be my first reaction too -- jobuid is the uid that the job
> will run as. While there currently isn't this capability that I'm aware
> of, and I guess it's questionable whether it would ever be needed (ie.
> if you'd WANT the fd to somehow read files as an unprivileged user if it
> were possible), I think uid is a term that probably should not be used
> outside of unix uid.
>

I my mind, uid and jobuid are not the same thing but
we can also call it jobuuid ?

(uuid stands  for a Universal Unique IDentifier)


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Announcing Bacuview-1.2, a Bacula monitoring web application

2006-02-28 Thread John Kodis
I've just released version 1.2 of the Bacuview web application to
its home on RubyForge, , where you can
go for screen shots and to read the NEWS, ChangeLog, and INSTALL files.

In addition to the usual minor bug fixes, this release...

- Adds media expiration time and retention period columns to the
  media view.

- Automates the client to host name mapping needed to check client
  status by reading these mappings from Bacula config files at
  server startup time.

- Made the web pages more standards-compliant, and avoids setting
  cookies so as to not upset the powers that be.

Currently planned for the next release...

- MySQL support.

I'd be happy to answer any questions that you have, and to hear of any
suggestions that you have for this project.  I hope that you find it
useful.

-- John Kodis.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Dan Langille
On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:

> I have a problem restoring files from the wx-console running on WinXP.
> I was told to use bacula version 1.38.5, but i am unable to find the
> binary win32 release of 1.38.5. Can anyone please be so kind to point me
> in the right direction?

It does not exist AFAIK. You'll be OK with the Windows 1.38.4 
version.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Listing filenames of backed up files

2006-02-28 Thread Geir Asle Borgen
On Thu, 2006-02-23 at 17:51 -0800, Karl Hakimian wrote:
> On Thu, Feb 23, 2006 at 10:58:03AM +0100, Geir Asle Borgen wrote:
> > On Wed, 2006-02-22 at 06:54 -0800, Karl Hakimian wrote:
> > > On Wed, Feb 22, 2006 at 02:58:11PM +0100, Geir Asle Borgen wrote:
> > > > OK, but I'm no SQL guru ... I'm capable to get in to query-mode (using
> > > > bconsole) ... But any hint om SQL queryes for MySQL is welcome :)
> > > 
> > > Not sure why you would need to do this directly in sql, but the query in
> > > postgres looks like:
> > No need for SQL ... but I can't find the proper way to do this in
> > bconsol ... or any oter tool ... testing the wxconsole-hint from
> > Arno ... and that made me understand that I can use query in bconsol and
> > get the info I need :D Thanks Arno!
> 
> In bconsole, just issue the command
> 
> list files jobid=###
> 
> where ### is the job number you want to look at. I would avoid using
> sql even through bconsole.
> 
> > Now I only have to tind a way to put this info to a file ... I read some
> > where that bconsole can be run whit options as a normale *nix
> > command ... looking ... have to read ... no prob :)
> 
> echo list files jobid=### | bconsole -s
> 
> should run command in bconsole.
> 
I attach a shell script that does this for me ... If some one got the
same problem :) Thanks folks!
-- 
Phone Work: +47 69212321 / 2321  Phone Priv: +47 69809853 (o_  <><
+47 99521685 / 3137   //\
ICQ: 48948625   MSN: [EMAIL PROTECTED]   V_/_ i n u x
Registered Linux User # 171776 (http://counter.li.org)


getting_backedup_files.sh
Description: application/shellscript


signature.asc
Description: This is a digitally signed message part


[Bacula-users] Upgrade from 1.36.3 to the latest version

2006-02-28 Thread Arunav Mandal
We are running Bacula 1.36.3 in both director and storage daemon and on 
clients as well. We are now planning to upgrade the director and storage 
daemon do I have to upgrade the client as well or just the director and 
storage daemon will work? Is there any easy way to upgrade a lot of client 
machines at the same time? Client machines include both windows and linux.

Thanks in advance,

-- 
Arunav Mandal


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread kernel[consulting] info
Dan Langille schrieb:

>On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:
>
>  
>
>>I have a problem restoring files from the wx-console running on WinXP.
>>I was told to use bacula version 1.38.5, but i am unable to find the
>>binary win32 release of 1.38.5. Can anyone please be so kind to point me
>>in the right direction?
>>
>>
>
>It does not exist AFAIK. You'll be OK with the Windows 1.38.4 
>version.
>
>  
>
I definitely need Win32-FD 1.38.5: here is what kern told me:

Yes, I understand that it is a Win32 FD incompatibility. It is *very*
unlikely it is a bug as a lot of people are successfully using the FD.

Please use Bacula 1.38.5 and the 1.38.5 Windows FD, which is available
from Source Forge so there is no need to build it.

If you have a problem when you are running *all* components on 1.38.5,
I'll be glad to look at it, otherwise it is not worth the effort as there
were bugs in previous versions of the Win32 FD, and the Win32 FD must use
the same version as the Director because of the way we fixed the bugs. It
isn't necessary to understand the details for this.

If you are building the Win32 FD yourself, sorry, but you are more or less
on your own, because we cannot possibly support users building on Win32. It
is too complicated and prone to errors.

please take  a look at 

http://bugs.bacula.org/bug_view_advanced_page.php?bug_id=552

too.

Thanks for consindering,

Sebastian Hültenschmidt









---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Kern Sibbald
On Tuesday 28 February 2006 13:24, Dan Langille wrote:
> On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:
> > I have a problem restoring files from the wx-console running on WinXP.
> > I was told to use bacula version 1.38.5, but i am unable to find the
> > binary win32 release of 1.38.5. Can anyone please be so kind to point me
> > in the right direction?
>
> It does not exist AFAIK. You'll be OK with the Windows 1.38.4
> version.

Yes, except that there is an embarrassing little problem here. He is reporting 
a bug against Win32 1.38.4, which I cannot produce, and, being confused with 
some changes we made to 1.38.3, I told him to upgrade to 1.38.5, which 
doesn't exist. :-(


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Dan Langille
On 28 Feb 2006 at 14:13, Kern Sibbald wrote:

> On Tuesday 28 February 2006 13:24, Dan Langille wrote:
> > On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:
> > > I have a problem restoring files from the wx-console running on WinXP.
> > > I was told to use bacula version 1.38.5, but i am unable to find the
> > > binary win32 release of 1.38.5. Can anyone please be so kind to point me
> > > in the right direction?
> >
> > It does not exist AFAIK. You'll be OK with the Windows 1.38.4
> > version.
> 
> Yes, except that there is an embarrassing little problem here. He is 
> reporting 
> a bug against Win32 1.38.4, which I cannot produce, and, being confused with 
> some changes we made to 1.38.3, I told him to upgrade to 1.38.5, which 
> doesn't exist. :-(

Sooo, umm... what should he do?

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file count mismatch by restore

2006-02-28 Thread Florian Kieling
Arno Lehmann schrieb:
> Hello,
>
> On 2/27/2006 8:51 AM, Florian Kieling wrote:
>> Florian Kieling schrieb:
>>
>>> Hi Folks,
>>> in this morning i starting an restore for one of my Clients.
>>> But i get this message:
>>>
>>> 24-Feb 09:55 covilinux-dir: Start Restore Job
>>> RestoreFiles_COVILinux.2006-02-24_09.55.18
>>> 24-Feb 09:55 covilinux-sd: Ready to read from volume
>>> "wsp-server.de_0001" on device "FileStorage - WSP-SERVER.DE"
>>> (/srv/backup/wsp-server.de).
>>> 24-Feb 09:57 covilinux-dir: Bacula 1.38.3 (04Jan06): 24-Feb-2006
>>> 09:57:39
>>>  JobId:  79
>>>  Job:RestoreFiles_COVILinux.2006-02-24_09.55.18
>>>  Client: covilinux-fd
>>>  Start time: 24-Feb-2006 09:55:20
>>>  End time:   24-Feb-2006 09:57:39
>>>  Files Expected: 1
>>>  Files Restored: 0
>>>  Bytes Restored: 0
>>>  Rate:   0.0 KB/s
>>>  FD Errors:  0
>>>  FD termination status:  OK
>>>  SD termination status:  OK
>>>  Termination:Restore OK -- warning file count mismatch
>>>
>>> 24-Feb 09:57 covilinux-dir: Begin pruning Jobs.
>>> 24-Feb 09:57 covilinux-dir: No Jobs found to prune.
>>> 24-Feb 09:57 covilinux-dir: Begin pruning Files.
>>> 24-Feb 09:57 covilinux-dir: No Files found to prune.
>>> 24-Feb 09:57 covilinux-dir: End auto prune.
>>>
>>> Why is thois mismatch? What can i do?
>
> You'd have to provide some more information... is this a regular file,
> a file from a windows machine and you restore to a unix machine, how
> did you select the file, and the jobs to recover, etc. Perhaps you
> could also send the console output from starting the restore so it's
> easy to see all the settings.
>
> Also, if you can recreate the problem a debug log of the FD might be
> interesting.
This file is a regular file from a linux machine and i want restore it
to a linux machine. I selected it with restore -> 6 -> date/time ->
client -> mark

This are the settings for the restore job:
JobName:Restore COVILinux
Bootstrap: 
/var/bacula/working/covilinux-dir.restore.*Console*.2006-02-28_14.29.18.bsr
Where:  /srv/restore
Replace:always
FileSet:Webserver
Client: covilinux-fd
Storage:File - WSP-SERVER.DE
When:   2006-02-28 14:34:05
Catalog:MyCatalog
Priority:   10

This messages I've got on the debug output:
covilinux-dir: fd_cmds.c:100 >filed: JobId=111
Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324
Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD
covilinux-fd: job.c:189 filed: storage address=localhost
port=9103 ssl=0

covilinux-fd: job.c:189  ssl=0
covilinux-fd: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
covilinux-fd: cram-md5.c:114 sending resp to challenge:
g4+kf4RSqTVQOA+kg4/UqB
covilinux-sd: cram-md5.c:68 Authenticate OK g4+kf4RSqTVQOA+kg4/UqB
covilinux-fd: cram-md5.c:52 send: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
covilinux-sd: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
covilinux-sd: cram-md5.c:114 sending resp to challenge:
ij+hc++obkMPkj/SJhUlMA
covilinux-fd: cram-md5.c:68 Authenticate OK ij+hc++obkMPkj/SJhUlMA
covilinux-sd: job.c:173 Running job Restore_COVILinux.2006-02-28_14.35.22
covilinux-fd: job.c:189 dird: CatReq
Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
VolName=wsp-server.de_0001 write=0
covilinux-dir: catreq.c:105 catreq CatReq
Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
VolName=wsp-server.de_0001 write=0
covilinux-dir: catreq.c:140 CatReq GetVolInfo Vol=wsp-server.de_0001
covilinux-dir: catreq.c:84 Vol Info for
Restore_COVILinux.2006-02-28_14.35.22: 1000 OK
VolName=wsp-server.de_0001 VolJobs=11 VolFiles=1 VolBlocks=71575
VolBytes=4617062506 VolMounts=11 VolErrors=0 VolWrites=71576
MaxVolBytes=4617089800 VolCapacityBytes=0 VolStatus=Full Slot=0
MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0
EndFile=1 EndBlock=322095425 VolParts=0 LabelType=0
covilinux-sd: askdir.c:165 http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread kernel[consulting] info
Kern Sibbald schrieb:

>On Tuesday 28 February 2006 13:24, Dan Langille wrote:
>  
>
>>On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:
>>
>>
>>>I have a problem restoring files from the wx-console running on WinXP.
>>>I was told to use bacula version 1.38.5, but i am unable to find the
>>>binary win32 release of 1.38.5. Can anyone please be so kind to point me
>>>in the right direction?
>>>  
>>>
>>It does not exist AFAIK. You'll be OK with the Windows 1.38.4
>>version.
>>
>>
>
>Yes, except that there is an embarrassing little problem here. He is reporting 
>a bug against Win32 1.38.4, which I cannot produce, and, being confused with 
>some changes we made to 1.38.3, I told him to upgrade to 1.38.5, which 
>doesn't exist. :-(
>
>  
>
Maybe i can send you my bacula database.
Perhaps you will be able to reprocude the error?

I would be glad to help in any way.

Sebastian Hültenschmidt



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Arno Lehmann

Hello,

On 2/27/2006 3:13 PM, kernel[consulting] info wrote:

I have a problem restoring files from the wx-console running on WinXP.
I was told to use bacula version 1.38.5, but i am unable to find the
binary win32 release of 1.38.5. Can anyone please be so kind to point me
in the right direction?


Unfortunately not.

I don't think there's a released version of winbacula 1.38.5.

But from my experience, using the wx-console from 1.38.4 together with a 
DIR 1.38.6-beta2 works. I don't use the graphical restore, though, and I 
 usually only restore regular files to the latform they were backed up 
from.


So, unless you're having trouble with things like long paths under 
windows, cross-system restores, ACL restores, or FIFOs etc. I'd suggest 
to give us more details...


Arno


Your help is greatly appreciated.

Sebastian Hültenschmidt





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Simultaneous jobs on LTO drive results in End of Volume error

2006-02-28 Thread Ian Levesque

Hello Kern,

On Feb 28, 2006, at 3:19 AM, Kern Sibbald wrote:


In fact, the output that I saw seemed to me to be non-fatal


What do you suppose worst-case scenario is here -- that roughly 64512  
bytes may be lost at the end of the tapes?




  My best guess is a tape defect. If it happens with more than one
tape, either you have a bad batch of tapes, or you have a defective  
drive or

the logical end of tape reader head is dirty.


Bad tapes might be the problem, as this not only happens with more  
than one tape, but it happens with more than one drive. One other  
thing I just noticed after you pointed it out is that '-1' is  
returned every time I reach the end of the tape, though quite often  
bacula reports success so I hadn't noticed...


26-Feb 11:13 sbgrid-sd: End of Volume "32L1" at 148:7121 on  
device "LTO-1" (/dev/nst1). Write of 64512 bytes got -1.

26-Feb 11:13 sbgrid-sd: Re-read of last block succeeded.


 On the other hand, I cannot 100% exclude the possibility that some  
lower
level Bacula subroutine releases the device lock thus allowing some  
race
condition with other threads (jobs).  I'll take a look at the code  
with that
in mind in the near future -- this week I'm tied up with family  
visitors so

don't have much time.


No worries! Let me take this opportunity to properly thank you for  
all the work you've done on this project. I'm planning on putting  
together a writeup (once I get the backups working without a hitch)  
to document the successful transition we made from a commercial  
application, etc.



Unfortunately, testing such a problem is not easy as it takes a  
long time to

write most tapes (especially LTOs).


Yep :) But I've got a few jobs coming this weekend that will go  
through some volumes, if you'd like me to test anything out.


Cheers,
Ian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Symbolic links

2006-02-28 Thread Ryan Novosielski

Kern, or others:

Is there a method, anymore, for following symbolic links? It does not 
appear to be in the documentation. As I often symlink the current 
version of software into place, this is important to me. I didn't really 
get an answer last time I asked. I guess the next step is to read the 
source code. ;)


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




Phil Stracchino wrote:

Ryan Novosielski wrote:
  

Does anyone know where? I looked before asking this question, mainly at
the FileSet definition, and turned up nothing other than info on hard
links. There is no similar information for soft/symbolic links, and no
mention of it in the index.



OK, looking at what I have locally, it appears I'm thinking of the
nofollow=yes|no directive.  However, the local copy I have is old, and
it's unclear to me whether this is actually implemented at this time.

  




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help me.................

2006-02-28 Thread vipul shukla
hi helmut

   Thanks for replay me, 

 This problem is solved but now new problem has arise
when i start ./bconsole at that time it will run fine
but after some time (2 minute)it get hang, when i give
command
---
*status
Status available for:
 1: Director
 2: Storage
 3: Client
 4: All
Select daemon type for status (1-4): 3
The defined Client resources are:
 1: Server-fd
 2: cumin-fd
 3: cardomom-fd
 4: ads-fd
Select Client (File daemon) resource (1-4): 4
Connecting to Client ads-fd at 10.10.200.96:9102
Failed to connect to Client ads-fd.
---
after that i have to again restart daemons with
command ./bacula restart. then again it will work fine
but after some time it get hang.

 i have found that i have mysql database but inside
that there is no any databases like bacula and mysql.
so is it necessary that these 2 database should be
exist in mysql database. can i manually create
databases (bacula and mysql) throuch script.
--
./create_bacula_database
./create_mysql_database
-
 once i trayed to run this script manually i give
error like

[EMAIL PROTECTED] bacula]# ./create_mysql_database
ERROR 1045 (28000): Access denied for user
'root'@'localhost' (using password: NO)
Creation of bacula database failed.

 I am in big truble so plz help me.

Regards
vipul




--- Helmut Raubenheimer <[EMAIL PROTECTED]>
wrote:

> Hi,
> 
> afaik this happens when the database exists but does
> not contain any tables.
> If your using mysql:
> connect to the database with the command line client
> mysql
> use bacula;
> show tables;
> 
> Regards
> 
> Helmut
> 
> vipul shukla schrieb:
> > When I try to start bacula I get the following
> output:
> > 
> > Starting the Bacula Storage daemon
> > Starting the Bacula File daemon
> > Starting the Bacula Director daemon
> > 21-Jun 18:20 bacula-dir:  Fatal error: Version
> error
> > for database
> > "bacula". Wanted 8, got 0
> > 21-Jun 18:20 bacula-dir:  Fatal error: Could not
> open
> > database "bacula".
> > 21-Jun 18:20 bacula-dir:  Fatal error: Version
> error
> > for database
> > "bacula". Wanted 8, got 0
> > 21-Jun 18:20 bacula-dir ERROR TERMINATION
> > Please correct configuration file:
> > /usr/local/etc/bacula-dir.conf 
> > 
> > 
> > 
> >
>
__
> 
> > Yahoo! India Matrimony: Find your partner now. Go
> to http://yahoo.shaadi.com
> > 
> > 
> >
>
---
> > This SF.Net email is sponsored by xPML, a
> groundbreaking scripting language
> > that extends applications into web and mobile
> media. Attend the live webcast
> > and join the prime developer group breaking into
> this new coding territory!
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> 




__ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help me.................

2006-02-28 Thread Arno Lehmann

Hello,

On 2/28/2006 3:47 PM, vipul shukla wrote:
...

 i have found that i have mysql database but inside
that there is no any databases like bacula and mysql.
so is it necessary that these 2 database should be
exist in mysql database. can i manually create
databases (bacula and mysql) throuch script.
--
./create_bacula_database
./create_mysql_database
-
 once i trayed to run this script manually i give
error like

[EMAIL PROTECTED] bacula]# ./create_mysql_database
ERROR 1045 (28000): Access denied for user
'root'@'localhost' (using password: NO)
Creation of bacula database failed.

 I am in big truble so plz help me.


I guess that your mysql setup is broken, but it might only be a database 
permission issue. You should verify that MySQL is installed correctly, 
and then use the password for your MySQL root user.


Arno


Regards
vipul




--- Helmut Raubenheimer <[EMAIL PROTECTED]>
wrote:



Hi,

afaik this happens when the database exists but does
not contain any tables.
If your using mysql:
connect to the database with the command line client
mysql
use bacula;
show tables;

Regards

Helmut

vipul shukla schrieb:


When I try to start bacula I get the following


output:


Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
21-Jun 18:20 bacula-dir:  Fatal error: Version


error


for database
"bacula". Wanted 8, got 0
21-Jun 18:20 bacula-dir:  Fatal error: Could not


open


database "bacula".
21-Jun 18:20 bacula-dir:  Fatal error: Version


error


for database
"bacula". Wanted 8, got 0
21-Jun 18:20 bacula-dir ERROR TERMINATION
Please correct configuration file:
/usr/local/etc/bacula-dir.conf 








__


Yahoo! India Matrimony: Find your partner now. Go


to http://yahoo.shaadi.com





---


This SF.Net email is sponsored by xPML, a


groundbreaking scripting language


that extends applications into web and mobile


media. Attend the live webcast


and join the prime developer group breaking into


this new coding territory!


http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net




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





__ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Change pool name

2006-02-28 Thread Arno Lehmann

Hello,

On 2/27/2006 9:53 PM, Ryan Novosielski wrote:
I labeled my pools originally by hostname. Well, it's no longer possible 
to do that as now there are many machines that need to be written to 
these tapes. For clarity's sake, I'd like to change the pool name. Any 
recommendations as to how I should do that? Should I create new pools 
and put the tapes in them on write? Do I use relabel for something like 
this or something else?


To change the pool a volume is assigned to you only need the update command.

Create the necessary pools in the DIR configuration, restart (or use 
'reload' with a certain risk) and you can use the newly created pool.


Appreciate the help -- didn't see it in the manual, but if I missed it, 
a pointer to the manual would be fine too.


Should be in there, but I'm too lazy to look that up now :-)

Arno

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Simultaneous jobs on LTO drive results in End of Volume error

2006-02-28 Thread Kern Sibbald
On Tuesday 28 February 2006 15:32, Ian Levesque wrote:
> Hello Kern,
>
> On Feb 28, 2006, at 3:19 AM, Kern Sibbald wrote:
> > In fact, the output that I saw seemed to me to be non-fatal
>
> What do you suppose worst-case scenario is here -- that roughly 64512
> bytes may be lost at the end of the tapes?

That should be the worst case. Much more likely, nothing is lost. However, if 
there is a Bacula bug, the probability of data corruption/loss goes up.  The 
comments you make below, make me think that there may be a problem ...

>
> >   My best guess is a tape defect. If it happens with more than one
> > tape, either you have a bad batch of tapes, or you have a defective
> > drive or
> > the logical end of tape reader head is dirty.
>
> Bad tapes might be the problem, as this not only happens with more
> than one tape, but it happens with more than one drive. One other
> thing I just noticed after you pointed it out is that '-1' is
> returned every time I reach the end of the tape, though quite often
> bacula reports success so I hadn't noticed...
>
> 26-Feb 11:13 sbgrid-sd: End of Volume "32L1" at 148:7121 on
> device "LTO-1" (/dev/nst1). Write of 64512 bytes got -1.
> 26-Feb 11:13 sbgrid-sd: Re-read of last block succeeded.
>
> >  On the other hand, I cannot 100% exclude the possibility that some
> > lower
> > level Bacula subroutine releases the device lock thus allowing some
> > race
> > condition with other threads (jobs).  I'll take a look at the code
> > with that
> > in mind in the near future -- this week I'm tied up with family
> > visitors so
> > don't have much time.
>
> No worries! Let me take this opportunity to properly thank you for
> all the work you've done on this project. I'm planning on putting
> together a writeup (once I get the backups working without a hitch)
> to document the successful transition we made from a commercial
> application, etc.
>
> > Unfortunately, testing such a problem is not easy as it takes a
> > long time to
> > write most tapes (especially LTOs).
>
> Yep :) But I've got a few jobs coming this weekend that will go
> through some volumes, if you'd like me to test anything out.
>
> Cheers,
> Ian
>
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Upgrade from 1.36.3 to the latest version

2006-02-28 Thread Arno Lehmann

Hello,

On 2/28/2006 2:14 PM, Arunav Mandal wrote:
We are running Bacula 1.36.3 in both director and storage daemon and on 
clients as well. We are now planning to upgrade the director and storage 
daemon do I have to upgrade the client as well or just the director and 
storage daemon will work?


No, you'll have to upgrade all machines involved.

Is there any easy way to upgrade a lot of client 
machines at the same time?


None that I know of. The simple solution might be to prepare packages 
tailored to your needs and install them as you do in your organization. 
The windows package is, as far as I know, created using an open source 
installation program, so t shold be possible to adapt it to your needs 
(paths mainly, I think).


Creating .rpms or .debs for linux should also be possible, but that's 
nothing I know much about.


Arno


Client machines include both windows and linux.

Thanks in advance,



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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Kern Sibbald
On Tuesday 28 February 2006 14:38, Dan Langille wrote:
> On 28 Feb 2006 at 14:13, Kern Sibbald wrote:
> > On Tuesday 28 February 2006 13:24, Dan Langille wrote:
> > > On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:
> > > > I have a problem restoring files from the wx-console running on
> > > > WinXP. I was told to use bacula version 1.38.5, but i am unable to
> > > > find the binary win32 release of 1.38.5. Can anyone please be so kind
> > > > to point me in the right direction?
> > >
> > > It does not exist AFAIK. You'll be OK with the Windows 1.38.4
> > > version.
> >
> > Yes, except that there is an embarrassing little problem here. He is
> > reporting a bug against Win32 1.38.4, which I cannot produce, and, being
> > confused with some changes we made to 1.38.3, I told him to upgrade to
> > 1.38.5, which doesn't exist. :-(
>
> Sooo, umm... what should he do?

Find someone other than me to help him or wait until after 20 Mar, since I am 
unable to run the Win32 console until I get back home.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help me.................

2006-02-28 Thread Helmut Raubenheimer

Hi Vipul,


 This problem is solved but now new problem has arise
.
command ./bacula restart. then again it will work fine
but after some time it get hang.

Does this happen with every client or just with the one in your example?


 i have found that i have mysql database but inside
that there is no any databases like bacula and mysql.

At least a mysql database has to be in your installation.
mysql stores user and database information in database called mysql.
Could you connect to your database with the mysql root-user ( mysql -u 
root -p) and execute:

show databases;


so is it necessary that these 2 database should be
exist in mysql database. can i manually create
databases (bacula and mysql) throuch script.
--
./create_bacula_database
./create_mysql_database
-
 once i trayed to run this script manually i give
error like

[EMAIL PROTECTED] bacula]# ./create_mysql_database
ERROR 1045 (28000): Access denied for user
'root'@'localhost' (using password: NO)
Creation of bacula database failed.
every argument you pass to the script is passed to the mysql client 
binary eg:

./create_bacula_database -p
this will ask you the password for the mysql-root account.

But if your are able to start bacula there must be a database running, 
you are able to connect to the director, so it is running.


Strange situation.
You have not done any backup yet? If so you should maybe start from 
scratch and follow the installation-instructions in the documentation 
step by step.




Regards

helmut



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Help me.................

2006-02-28 Thread drescher0110-bacula
>  This problem is solved but now new problem has arise
> when i start ./bconsole at that time it will run fine
> but after some time (2 minute)it get hang, when i give
> command
> ---
> *status
> Status available for:
>  1: Director
>  2: Storage
>  3: Client
>  4: All
> Select daemon type for status (1-4): 3
> The defined Client resources are:
>  1: Server-fd
>  2: cumin-fd
>  3: cardomom-fd
>  4: ads-fd
> Select Client (File daemon) resource (1-4): 4
> Connecting to Client ads-fd at 10.10.200.96:9102
> Failed to connect to Client ads-fd.

This means the client on ads-fd is either not running, the passwords (in your 
conf
files) are not the same, or the network can't commnuicate.

> ---
> after that i have to again restart daemons with
> command ./bacula restart. then again it will work fine
> but after some time it get hang.
> 
>  i have found that i have mysql database but inside
> that there is no any databases like bacula and mysql.
> so is it necessary that these 2 database should be
> exist in mysql database. can i manually create
> databases (bacula and mysql) throuch script.
> --
> ./create_bacula_database
> ./create_mysql_database
> -
>  once i trayed to run this script manually i give
> error like
> 
> [EMAIL PROTECTED] bacula]# ./create_mysql_database
> ERROR 1045 (28000): Access denied for user
> 'root'@'localhost' (using password: NO)
> Creation of bacula database failed.
> 
Do you have a root password set for mysql? If so you have to pass a -p to these
scripts for them to prompt you for the password.

I am a little confused by your situation, because if you have no bacula 
database the
director will not start at all (at least for me) and if you have no director 
than
bconsole will fail to connect. 


John


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Clone a job only on certain circumstance

2006-02-28 Thread Arno Lehmann

Hi,

On 2/27/2006 2:32 PM, Baptiste Malguy wrote:

Hello,

Anyone willing to advise me for my specific issue please ? For the
moment, I hold on blocked by this problem, unfortunately, and I would
appreciate so much some help.

Thanks guys.

Baptiste Malguy a écrit :


Hello,

I have a question related to cloning jobs.

I've just re-read my mail before pushing the "Send" button, and ... a
little long I'm afraid.

I want to write my full backups on two different storages (disk + DLT4).

To achieve this goal, I use the Run attribute of the Job resource,
providing the same job name: that's job cloning.

The job is normally an incremental one, that becomes a full one once a
month thanks to the corresponding schedule.

Only the monthly full backups have to go on the tapes. Not the
incremental ones neither the potential full ones that may occur because
FileSet resource has been modified.

And that's the point: how to avoid these random full backups to go on
the tape, that is, how to prevent the original job (writing to disk) to
clone itself (to write on tape).


I've never actually used the python interface, but it might be possible 
to do this using python events.



I thought about using Run Before Job attribute, to prevent the cloned
job to work returning a non-zero value, but I don't know what to provide
to the run command to let it know to return 0 or non-zero.

The command needs:
- "I'm a clone" or "I'm writing to tapes"


No idea if this is possible, but you mght look for a running job, 
started a short time ago, with the same name in the catalog. The 
destination should be easier to find.



- and "I'm a full backup"


Thats already possible with the objects Bacula provides to its events, I 
think.



- and "current date" (because of random full backups)


Rather simple in python :-) although having access to the schedules 
might be the more thorough solution.



I can't provide to the command, as long as I know, "I'm a clone" neither
"I'm writing to tapes".


This might not be much help, but perhaps a starting point for you.

Arno


Here are some pieces of the setup:


Job {
 Name = server-test
 Write Bootstrap = /var/lib/bacula/server-test.bsr
 JobDefs = default
 FileSet = server-test
 Client = server-fd
 Run = "server-test-etc level=\"%l\" since=\"%s\" pool=cart-month
storage=dlt-storage"
 Type = Backup
 Storage = file-storage
 Messages = standard
 Priority = 10
 Pool = file-full
}

Schedule {
 Name = weekly-cycle
 Run = Full Pool=file-full 1st sat at 1:05
 Run = Differential Pool=file-diff 2nd-5th sat at 1:05
 Run = Incremental Pool=file-inc sun-fri at 1:05
}

JobDefs {
 Name = default
 Type = Backup
 Level = Incremental
 FileSet = full
 Schedule = weekly-cycle
 Storage = file-storage
 Messages = standard
 Priority = 10
 Pool = default
}

I've added this to see what I obtain:

 RunBeforeJob = "/etc/bacula/scripts/cloned-inc-not-on-tape \"%c\"
\"%d\" \"%i\" \"%e\" \"%j\" \"%l\" \"%n\" \"%t\" \"%v\""

And the command line is something like:

$1="server-fd"
$2=""
$3="634"
$4="Unknown term code"
$5="server-test-etc.2006-02-22_11.30.31"
$6="Full"
$7="Backup"
$8="Backup"
$9=""


From this point, hoping I've been clear enought (not sure), does anyone

has an idea ?

Bye the way, I use Bacula 1.38.3. I'm looking forward for the project
item #2 "Implement Migration that moves Jobs from one Pool to
another".

Thank you and keep on improving this great software !







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



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Kern Sibbald
On Tuesday 28 February 2006 14:59, kernel[consulting] info wrote:
> Kern Sibbald schrieb:
> >On Tuesday 28 February 2006 13:24, Dan Langille wrote:
> >>On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:
> >>>I have a problem restoring files from the wx-console running on WinXP.
> >>>I was told to use bacula version 1.38.5, but i am unable to find the
> >>>binary win32 release of 1.38.5. Can anyone please be so kind to point me
> >>>in the right direction?
> >>
> >>It does not exist AFAIK. You'll be OK with the Windows 1.38.4
> >>version.
> >
> >Yes, except that there is an embarrassing little problem here. He is
> > reporting a bug against Win32 1.38.4, which I cannot produce, and, being
> > confused with some changes we made to 1.38.3, I told him to upgrade to
> > 1.38.5, which doesn't exist. :-(
>
> Maybe i can send you my bacula database.
> Perhaps you will be able to reprocude the error?
>
> I would be glad to help in any way.

The easiest way to work around the problem at the moment is either to use 
bconsole from you Win32 machine, or use any console from any Linux machine.



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread kernel[consulting] info
Kern Sibbald schrieb:

>On Tuesday 28 February 2006 14:59, kernel[consulting] info wrote:
>  
>
>>Kern Sibbald schrieb:
>>
>>
>>>On Tuesday 28 February 2006 13:24, Dan Langille wrote:
>>>  
>>>
On 27 Feb 2006 at 15:13, kernel[consulting] info wrote:


>I have a problem restoring files from the wx-console running on WinXP.
>I was told to use bacula version 1.38.5, but i am unable to find the
>binary win32 release of 1.38.5. Can anyone please be so kind to point me
>in the right direction?
>  
>
It does not exist AFAIK. You'll be OK with the Windows 1.38.4
version.


>>>Yes, except that there is an embarrassing little problem here. He is
>>>reporting a bug against Win32 1.38.4, which I cannot produce, and, being
>>>confused with some changes we made to 1.38.3, I told him to upgrade to
>>>1.38.5, which doesn't exist. :-(
>>>  
>>>
>>Maybe i can send you my bacula database.
>>Perhaps you will be able to reprocude the error?
>>
>>I would be glad to help in any way.
>>
>>
>
>The easiest way to work around the problem at the moment is either to use 
>bconsole from you Win32 machine, or use any console from any Linux machine.
>
>
>
>---
>This SF.Net email is sponsored by xPML, a groundbreaking scripting language
>that extends applications into web and mobile media. Attend the live webcast
>and join the prime developer group breaking into this new coding territory!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>___
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>  
>
Hello kern,

i tried. Too bad, the filenames are not shown correctly even in the
bconsole running windows. The  umlauts are missing.
Only the characters, the filenames are there.

I use :

cat /etc/sysconfig/i18n
LANG="[EMAIL PROTECTED]"
COUNTRY="de"
LANGUAGE="de"
CHARSET="iso8859-15"
XMODIFIERS=""

on my server running: Debian GNU/Linux 3.1 with 2.6.4-1-686

i hope this is useful,

Thanks all and especially kern for considering my case.

Sebastian Hültenschmidt








---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file count mismatch by restore

2006-02-28 Thread Arno Lehmann

Hello,

On 2/28/2006 2:45 PM, Florian Kieling wrote:

Arno Lehmann schrieb:

...

Also, if you can recreate the problem a debug log of the FD might be
interesting.


This file is a regular file from a linux machine and i want restore it
to a linux machine. I selected it with restore -> 6 -> date/time ->
client -> mark

This are the settings for the restore job:
JobName:Restore COVILinux
Bootstrap: 
/var/bacula/working/covilinux-dir.restore.*Console*.2006-02-28_14.29.18.bsr

Where:  /srv/restore
Replace:always
FileSet:Webserver
Client: covilinux-fd
Storage:File - WSP-SERVER.DE
When:   2006-02-28 14:34:05
Catalog:MyCatalog
Priority:   10

This messages I've got on the debug output:
covilinux-dir: fd_cmds.c:100 >filed: JobId=111
Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324
Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD
covilinux-fd: job.c:189 filed: storage address=localhost
port=9103 ssl=0

covilinux-fd: job.c:189  ssl=0
covilinux-fd: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
covilinux-fd: cram-md5.c:114 sending resp to challenge:
g4+kf4RSqTVQOA+kg4/UqB
covilinux-sd: cram-md5.c:68 Authenticate OK g4+kf4RSqTVQOA+kg4/UqB
covilinux-fd: cram-md5.c:52 send: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
covilinux-sd: cram-md5.c:97 cram-get: auth cram-md5
<[EMAIL PROTECTED]> ssl=0
covilinux-sd: cram-md5.c:114 sending resp to challenge:
ij+hc++obkMPkj/SJhUlMA
covilinux-fd: cram-md5.c:68 Authenticate OK ij+hc++obkMPkj/SJhUlMA
covilinux-sd: job.c:173 Running job Restore_COVILinux.2006-02-28_14.35.22
covilinux-fd: job.c:189 

This looks reasonable to me.


covilinux-sd: read.c:46 Start read data.
covilinux-sd: askdir.c:211 >dird: CatReq
Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
VolName=wsp-server.de_0001 write=0
covilinux-dir: catreq.c:105 catreq CatReq
Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
VolName=wsp-server.de_0001 write=0
covilinux-dir: catreq.c:140 CatReq GetVolInfo Vol=wsp-server.de_0001
covilinux-dir: catreq.c:84 Vol Info for
Restore_COVILinux.2006-02-28_14.35.22: 1000 OK
VolName=wsp-server.de_0001 VolJobs=11 VolFiles=1 VolBlocks=71575
VolBytes=4617062506 VolMounts=11 VolErrors=0 VolWrites=71576
MaxVolBytes=4617089800 VolCapacityBytes=0 VolStatus=Full Slot=0
MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0
EndFile=1 EndBlock=322095425 VolParts=0 LabelType=0
covilinux-sd: askdir.c:165 

Hmm. Funny that it refers to dvd.c - this is astonishing to me.


covilinux-sd: acquire.c:430 release_device device is disk
covilinux-sd: dev.c:621 rewind res=0 fd=8 "FileStorage - WSP-SERVER.DE"
(/srv/backup/wsp-server.de)
covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0
covilinux-sd: dvd.c:561 Using sys lseek


lots of seeks here, but nothing was actually read as far as I can tell.


covilinux-sd: dev.c:1685 really close_dev "FileStorage - WSP-SERVER.DE"
(/srv/backup/wsp-server.de)
covilinux-sd: dvd.c:93 Enter unmount_dev
covilinux-sd: read.c:83 Done reading.
covilinux-fd: restore.c:426 End Do Restore. Files=0 Bytes=0
covilinux-fd: job.c:208 Quit command loop. Canceled=0
covilinux-fd: job.c:289 Calling term_find_files
covilinux-fd: job.c:292 Done with term_find_files
covilinux-fd: job.c:294 Done with free_jcr
covilinux-dir: backup.c:271 FDStatus=T
covilinux-dir: restore.c:204 In restore_cleanup
covilinux-dir: restore.c:294 Leaving restore_cleanup
covilinux-dir: ua_prune.c:382 select sql=SELECT count(*) FROM DelCandidates
covilinux-dir: ua_prune.c:243 select sql=SELECT JobId from Job WHERE
JobTDate<1138541725 AND ClientId=1 AND PurgedFiles=0
covilinux-dir: job.c:349  End Job stat=T ==


Interesting.

I'll see if I find the time to run a restore from a disk volume and 
compare the output. What I saw above makes this a case for Kern :-)


Arno


Florian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/li

[Bacula-users] Changing the Files.Lstat to something readable format

2006-02-28 Thread James Ray
I'm after changing the Files.Lstat field in the bacula database into
something that is more humanly readable. Does any one have any ideas how
to do this from with in SQL itself (using mysql here) or from within a
perl script that I can pass the values to by hand if needed...

Thanks very much for any help you can give.
-- 
James Ray.  <[EMAIL PROTECTED]>
Computing Services
Queen Mary, University of London


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] LabelFormat is deprecated?

2006-02-28 Thread Georg Lutz
On 2006-02-26, Felix Schwarz wrote:
> 
> I just noticed that the directive LabelFormat is deprecated in 1.38 -
> at least according to the manual:
> "Please note that this directive is deprecated and is replaced in
> version 1.37 and greater with a Python script for creating volume
> names."

Does this mean that I have to write a python script in order to
automatically label new monthly archive tapes like Month-001, Month-002,
... ?

-- 
Georg


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Reschedule on error issue

2006-02-28 Thread Enrique de la Torre Gordaliza

Hello, 

Im trying to backup some PCs with "Reschedule on error" configuration. I dont 
now if they are on or off at night so I use this configuration: 


Rerun Failed Levels = yes
Reschedule on Error = yes
Reschedule Interval = 30
Reschedule Times = 1
Run Before Job = "nc -w5 -z HOST 9102" # Error codes: 0 can connect, 
and 1 not.

Interval and Times are "test values" just to test the configuration. So I stop 
one file daemon and run the job from director. It fails quickly, and after 30 
seconds try again and fails. All is ok, but if I do a "status dir" at 
bconsole


Running Jobs:
 JobId Level   Name   Status
==
   201 Increme  Pc-Silvia-Win.2006-02-28_19.02.58 has a fatal error


how can I clean this message? I tried starting the file daemon again and 
running a job and it didn't disappear. No cancel or delete works.  At system 
log I could see:

===
28-feb 18:37 neptuno-dir: Pc-Silvia-Win.2006-02-28_18.37.57 Fatal error: 
RunBeforeJob error: ERR=Child exited with code 1

28-feb 18:37 neptuno-dir: *Console*.2006-02-28_18.24.00 Fatal error: 
bnet.c:859 Unable to connect to File daemon on XXX.XXX.XXX.XXX:.
===

I understand first message (the last rerun attempt), but what's the meaning of 
the second one? If job is canceled after error code 1, who and why is trying 
to connect the file daemon?

If I do bacula stop and bacula start, the message disappears.

Any suggestions? 

Thanks in advance,

Enrique

-- 
Enrique de la Torre Gordaliza   
Departamento de Arquitectura de Computadores y Automática
Facultad de CC. Físicas, UCM
Av. Complutense s/n C.P:28040 

email: [EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file count mismatch by restore

2006-02-28 Thread kernel[consulting] info
Arno Lehmann schrieb:

> Hello,
>
> On 2/28/2006 2:45 PM, Florian Kieling wrote:
>
>> Arno Lehmann schrieb:
>
> ...
>
>>> Also, if you can recreate the problem a debug log of the FD might be
>>> interesting.
>>
>>
>> This file is a regular file from a linux machine and i want restore it
>> to a linux machine. I selected it with restore -> 6 -> date/time ->
>> client -> mark
>>
>> This are the settings for the restore job:
>> JobName:Restore COVILinux
>> Bootstrap:
>> /var/bacula/working/covilinux-dir.restore.*Console*.2006-02-28_14.29.18.bsr
>>
>> Where:  /srv/restore
>> Replace:always
>> FileSet:Webserver
>> Client: covilinux-fd
>> Storage:File - WSP-SERVER.DE
>> When:   2006-02-28 14:34:05
>> Catalog:MyCatalog
>> Priority:   10
>>
>> This messages I've got on the debug output:
>> covilinux-dir: fd_cmds.c:100 >filed: JobId=111
>> Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324
>> Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD
>> covilinux-fd: job.c:189 > Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324
>> Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD
>> covilinux-fd: job.c:205 Executing JobId= command.
>> covilinux-dir: restore.c:131 dird>filed: storage address=localhost
>> port=9103 ssl=0
>>
>> covilinux-fd: job.c:189 > covilinux-fd: job.c:205 Executing storage  command.
>> covilinux-fd: job.c:1120 StorageCmd: storage address=localhost port=9103
>> ssl=0
>> covilinux-fd: bnet.c:781 Current host[ipv4:127.0.0.1:9103] All
>> host[ipv4:127.0.0.1:9103]
>> covilinux-fd: bnet.c:1128 who=Storage daemon host=localhost port=9103
>> covilinux-sd: bnet.c:1128 who=client host=127.0.0.1 port=36643
>> covilinux-sd: cram-md5.c:52 send: auth cram-md5
>> <[EMAIL PROTECTED]> ssl=0
>> covilinux-fd: cram-md5.c:97 cram-get: auth cram-md5
>> <[EMAIL PROTECTED]> ssl=0
>> covilinux-fd: cram-md5.c:114 sending resp to challenge:
>> g4+kf4RSqTVQOA+kg4/UqB
>> covilinux-sd: cram-md5.c:68 Authenticate OK g4+kf4RSqTVQOA+kg4/UqB
>> covilinux-fd: cram-md5.c:52 send: auth cram-md5
>> <[EMAIL PROTECTED]> ssl=0
>> covilinux-sd: cram-md5.c:97 cram-get: auth cram-md5
>> <[EMAIL PROTECTED]> ssl=0
>> covilinux-sd: cram-md5.c:114 sending resp to challenge:
>> ij+hc++obkMPkj/SJhUlMA
>> covilinux-fd: cram-md5.c:68 Authenticate OK ij+hc++obkMPkj/SJhUlMA
>> covilinux-sd: job.c:173 Running job
>> Restore_COVILinux.2006-02-28_14.35.22
>> covilinux-fd: job.c:189 > covilinux-fd: job.c:205 Executing bootstrap command.
>> covilinux-fd: job.c:189 > where=/srv/restore
>> covilinux-fd: job.c:205 Executing restore command.
>> covilinux-sd: fd_cmds.c:296 read_open_session got: JobId=111 Vol=1
>> VolSessId=1141133324 VolSessT=0
>> covilinux-sd: fd_cmds.c:299   StartF=0 EndF=0 StartB=0 EndB=0
>> Next: 0x0
>> Root bsr: 0x80afc00
>> VolumeName  : wsp-server.de_0001
>> SessId  : 2
>> SessTime: 915166135
>> VolFile : 0-0
>> VolBlock: 2847977145-2882494880
>> FileIndex   : 49
>> count   : 1
>> found   : 0
>> done: no
>> positioning : 1
>> fast_reject : 1
>
>
> This looks reasonable to me.
>
>> covilinux-sd: read.c:46 Start read data.
>> covilinux-sd: askdir.c:211 >dird: CatReq
>> Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
>> VolName=wsp-server.de_0001 write=0
>> covilinux-dir: catreq.c:105 catreq CatReq
>> Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
>> VolName=wsp-server.de_0001 write=0
>> covilinux-dir: catreq.c:140 CatReq GetVolInfo Vol=wsp-server.de_0001
>> covilinux-dir: catreq.c:84 Vol Info for
>> Restore_COVILinux.2006-02-28_14.35.22: 1000 OK
>> VolName=wsp-server.de_0001 VolJobs=11 VolFiles=1 VolBlocks=71575
>> VolBytes=4617062506 VolMounts=11 VolErrors=0 VolWrites=71576
>> MaxVolBytes=4617089800 VolCapacityBytes=0 VolStatus=Full Slot=0
>> MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0
>> EndFile=1 EndBlock=322095425 VolParts=0 LabelType=0
>> covilinux-sd: askdir.c:165 > VolJobs=11 VolFiles=1 VolBlocks=71575 VolBytes=4617062506 VolMounts=11
>> VolErrors=0 VolWrites=71576 MaxVolBytes=4617089800 VolCapacityBytes=0
>> VolStatus=Full Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0
>> VolReadTime=0 VolWriteTime=0 EndFile=1 EndBlock=322095425 VolParts=0
>> LabelType=0
>> covilinux-sd: acquire.c:186 bstored: open vol=wsp-server.de_0001
>> covilinux-sd: dev.c:277 open dev: tape=0 dev_name="FileStorage -
>> WSP-SERVER.DE" (/srv/backup/wsp-server.de) vol=wsp-server.de_0001
>> mode=OPEN_READ_ONLY
>> covilinux-sd: dev.c:286 call open_file_device mode=OPEN_READ_ONLY
>> covilinux-sd: dev.c:415 Enter: open_file_dev: disk dev=
>> mode=OPEN_READ_ONLY
>> covilinux-sd: dev.c:431 open dev: disk
>> dev=/srv/backup/wsp-server.de/wsp-server.de_0001 mode=OPEN_READ_ONLY
>> covilinux-sd: dev.c:433 openmode=3 OPEN_READ_ONLY
>> covilinux-sd: dev.c:438 mode=OPEN_READ_ONLY
>> open(/srv/backup/wsp-server.de/wsp-server.de_0001, 0x0, 0640)
>> covilinux-sd: dvd.c:559 Enter lseek_dev fd=8 part=0 nparts=0
>> covilinux-sd: dvd.c:561 

Re: [Bacula-users] LabelFormat is deprecated?

2006-02-28 Thread Arno Lehmann

Hello,

On 2/28/2006 8:01 PM, Georg Lutz wrote:

On 2006-02-26, Felix Schwarz wrote:


I just noticed that the directive LabelFormat is deprecated in 1.38 -
at least according to the manual:
"Please note that this directive is deprecated and is replaced in
version 1.37 and greater with a Python script for creating volume
names."



Does this mean that I have to write a python script in order to
automatically label new monthly archive tapes like Month-001, Month-002,
... ?


You can read more about this topic when you use a list archive and read 
the messages from Kern (and me) concerning this topic. All were sent 
during a short timespan.


Arno

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Arno Lehmann

Hello,

On 2/28/2006 7:04 PM, kernel[consulting] info wrote:



Hello kern,

i tried. Too bad, the filenames are not shown correctly even in the
bconsole running windows. The  umlauts are missing.
Only the characters, the filenames are there.

I use :

cat /etc/sysconfig/i18n
LANG="[EMAIL PROTECTED]"
COUNTRY="de"
LANGUAGE="de"
CHARSET="iso8859-15"
XMODIFIERS=""


I have the following situation:
DIR / SD 1.38.6-beta2, FD 1.38.4 Windows, MySQL catalog database without 
any special character coding settings.


From the windows wx-console, I can see äöüß correctly, and mark them.

From a linux bconsole running in a terminal with similar settings to 
yours (i.e. de_DE, iso8859-15) I see the file names with the usual funny 
two-character-sequences for the unicode characters, like 
A-with-tilde+hmm-was-that-the-uniform-currency-symbol? instead of an 
a-umlaut. I can mark that single file by copy-and-pasting the displayed 
file name, though.


What I don't see are removed characters.

I assume this is a problem with your console settings; in case of 
bconsole, using a UTF-8 terminal might help. Don't know how you do that 
on debian, on a recent SuSE it's simply setting LC_CTYPE to de_DE.UTF-8 
and, more important, modifying the terminal settings. If you use putty, 
system menu / change settings / Window->Translation / Received data... 
character set: is where you change this.


Windows wx-console should always display the right characters for 
windows file sets, I think, because as far as I know there is no 
character code mangling done in any Bacula program. (For that reason, 
the name fields in the catalog are all BLOBs.)


If you still can't access the file, try looking into the catalog 
database for what is stored there - pasting that stuff into a selection 
should work, in case the data is not mangled... but that again brings 
you to the point of the right terminal settings :-(


Arno


on my server running: Debian GNU/Linux 3.1 with 2.6.4-1-686

i hope this is useful,

Thanks all and especially kern for considering my case.

Sebastian Hültenschmidt








---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



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



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-dir segmentation faults

2006-02-28 Thread Reggie Dugard
I'm having a problem with bacula-dir periodically dying with signal 11
(Segmentation Fault).  When it happens, it seems to correlate with a
volume becoming filled, but it doesn't happen every time a volume
becomes full.  I'm running bacula-mysql version 1.38.5 and I googled and
found someone having a similar problem with an earlier version, but Kern
replied to him saying 'This is "well-known" and *should* be fixed in the
first beta release of 1.38.4'.

Is anyone else still having this problem in 1.38.5?  Does anyone have a
fix/workaround?  Can I provide any further info to help track down the
problem further?

I'm running on Redhat Enterprise Linux (SMP) version 2.6.9-22.0.1.ELsmp

Any help would be *greatly* appreciated; right now I can't seem to get a
complete backup without this happening.


Here are the log entries for the job that was running the last time it
happened:

28-Feb 08:49 hare-dir: Start Backup JobId 1501, Job=koala.2006-02-27_22.05.15
28-Feb 08:49 hare-sd: Spooling data ...
28-Feb 08:49 koala-fd: Generate VSS snapshots. Driver="VSS WinXP", Drive(s)="C"
28-Feb 08:49 koala-fd: VSS Writer: "MSDEWriter", State: 1 (VSS_WS_STABLE)
28-Feb 08:49 koala-fd: VSS Writer: "WMI Writer", State: 1 (VSS_WS_STABLE)
28-Feb 08:49 koala-fd: VSS Writer: "Microsoft Writer (Bootable State)", State: 
1 (VSS_WS_STABLE)
28-Feb 08:49 koala-fd: VSS Writer: "Microsoft Writer (Service State)", State: 1 
(VSS_WS_STABLE)
28-Feb 08:56 hare-sd: Committing spooled data to Volume "BacDiff028". 
Despooling 609,717,588 bytes ...
28-Feb 08:56 hare-sd: End of Volume "BacDiff028" at 41:1040 on device "Dell" 
(/dev/nst1). Write of 64512 bytes got -1.
28-Feb 08:57 hare-sd: Re-read of last block succeeded.
28-Feb 08:57 hare-sd: End of medium on Volume "BacDiff028" Bytes=36,450,978,436 
Blocks=565,030 at 28-Feb-2006 08:57.
28-Feb 08:58 hare-dir: Fatal Error because: Bacula interrupted by signal 11: 
Segmentation violation

I was running the director with -d99 and here's the tail end of that
output:

hare-dir: job.c:349  End Job stat=T ==
hare-dir: cram-md5.c:114 sending resp to challenge: wz/Nu7NB06VcqnUOa++hyD
hare-dir: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0
hare-dir: cram-md5.c:68 Authenticate OK y9/zA6JEl/8ipF+ZNDF5QB
hare-dir: fd_cmds.c:79 Opened connection with File daemon
hare-dir: cram-md5.c:114 sending resp to challenge: Jn/i/9+qJVpv9mVkq6+hFB
hare-dir: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0
hare-dir: cram-md5.c:68 Authenticate OK i9/yXDRQLQ+3L4sRFSJksA
hare-dir: ua_prune.c:243 select sql=SELECT JobId from Job WHERE 
JobTDate<1138552351 AND ClientId=14 AND PurgedFiles=0
hare-dir: ua_prune.c:273 Delete JobId=921
hare-dir: ua_prune.c:283 Del sql=UPDATE Job Set PurgedFiles=1 WHERE JobId=921
hare-dir: ua_prune.c:273 Delete JobId=944
hare-dir: ua_prune.c:283 Del sql=UPDATE Job Set PurgedFiles=1 WHERE JobId=944
hare-dir: job.c:349  End Job stat=T ==
hare-dir: cram-md5.c:114 sending resp to challenge: X4+L3C+LK+IUzAkxo2//RD
hare-dir: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0
hare-dir: cram-md5.c:68 Authenticate OK y3EzA64Jw++XwV4Ll6/BXD
hare-dir: fd_cmds.c:79 Opened connection with File daemon
hare-dir: cram-md5.c:114 sending resp to challenge: tX/s+lwnNDpfR4/ov8/jaD
hare-dir: cram-md5.c:52 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0
hare-dir: cram-md5.c:68 Authenticate OK R9+WtS/CS6FUgFNemn+tmD
hare-dir: ua_prune.c:243 select sql=SELECT JobId from Job WHERE 
JobTDate<1138553372 AND ClientId=16 AND PurgedFiles=0
hare-dir: job.c:349  End Job stat=T ==
Kaboom! bacula-dir, hare-dir got signal 11. Attempting traceback.
Kaboom! exepath=/usr/sbin/
Calling: /usr/sbin/btraceback /usr/sbin/bacula-dir 24855
Traceback complete, attempting cleanup ...


Thanks,
-- 
Reggie Dugard <[EMAIL PROTECTED]>
Merfin, LLC




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Reschedule on error issue

2006-02-28 Thread Enrique de la Torre Gordaliza

If I just change job definition by:


Rerun Failed Levels = yes
#   Reschedule on Error = yes
#   Reschedule Interval = 30
#   Reschedule Times = 1
Run Before Job = "nc -w5 -z pc-silvia 9102"

It fails on RunBeforeJob and no message is displayed on status dir, just the 
error on "Terminated Jobs", not the entry on Running jobs (no reschedule is 
done). At the log file, I can only see RunBeforeJob error, but not the 
"connection failed to FileDaemon" one.

> Hello,
>
> Im trying to backup some PCs with "Reschedule on error" configuration. I
> dont now if they are on or off at night so I use this configuration:
>
>
> Rerun Failed Levels = yes
> Reschedule on Error = yes
> Reschedule Interval = 30
> Reschedule Times = 1
> Run Before Job = "nc -w5 -z HOST 9102" # Error codes: 0 can
> connect, and 1 not.
>
> Interval and Times are "test values" just to test the configuration. So I
> stop one file daemon and run the job from director. It fails quickly, and
> after 30 seconds try again and fails. All is ok, but if I do a "status dir"
> at bconsole
>
>
> Running Jobs:
>  JobId Level   Name   Status
> ==
>201 Increme  Pc-Silvia-Win.2006-02-28_19.02.58 has a fatal error
> 
>
> how can I clean this message? I tried starting the file daemon again and
> running a job and it didn't disappear. No cancel or delete works.  At
> system log I could see:
>
> ===
> 28-feb 18:37 neptuno-dir: Pc-Silvia-Win.2006-02-28_18.37.57 Fatal error:
> RunBeforeJob error: ERR=Child exited with code 1
>
> 28-feb 18:37 neptuno-dir: *Console*.2006-02-28_18.24.00 Fatal error:
> bnet.c:859 Unable to connect to File daemon on XXX.XXX.XXX.XXX:.
> ===
>
> I understand first message (the last rerun attempt), but what's the meaning
> of the second one? If job is canceled after error code 1, who and why is
> trying to connect the file daemon?
>
> If I do bacula stop and bacula start, the message disappears.
>
> Any suggestions?
>
>   Thanks in advance,
>
>   Enrique

-- 
Enrique de la Torre Gordaliza   
Departamento de Arquitectura de Computadores y Automática
Facultad de CC. Físicas, UCM
Av. Complutense s/n C.P:28040 

email: [EMAIL PROTECTED]
tlfn: 913944389


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Taking a break

2006-02-28 Thread Phil Stracchino
Hi folks,
I'm going to have to set myself no-mail for a while on the user and
devel lists.  I've just got enough going on with medical issues etc.
right now that I simply don't have the mental bandwidth to spare to keep
up with bacula traffic.

I will be continuing to monitor the announce list, and hope to be back
active again later.  I will continue to be reachable in irc.freenode.net
and via private email.


-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing the Files.Lstat to something readable format

2006-02-28 Thread Martin Simmons
> On Tue, 28 Feb 2006 18:37:37 +, James Ray <[EMAIL PROTECTED]> said:
> 
> I'm after changing the Files.Lstat field in the bacula database into
> something that is more humanly readable. Does any one have any ideas how
> to do this from with in SQL itself (using mysql here) or from within a
> perl script that I can pass the values to by hand if needed...

The function decode_stat() from src/findlib/attribs.c does the decoding and
can probably be translated into perl (though in the past there has been some
talk about the base64 implementation being non-standard, so you might need to
hand-code that part too).

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir segmentation faults

2006-02-28 Thread Martin Simmons
> On Tue, 28 Feb 2006 11:54:10 -0800, Reggie Dugard <[EMAIL PROTECTED]> 
> said:
> 
> I'm having a problem with bacula-dir periodically dying with signal 11
> (Segmentation Fault).  When it happens, it seems to correlate with a
> volume becoming filled, but it doesn't happen every time a volume
> becomes full.  I'm running bacula-mysql version 1.38.5 and I googled and
> found someone having a similar problem with an earlier version, but Kern
> replied to him saying 'This is "well-known" and *should* be fixed in the
> first beta release of 1.38.4'.
> 
> Is anyone else still having this problem in 1.38.5?  Does anyone have a
> fix/workaround?  Can I provide any further info to help track down the
> problem further?

I suggesting running it under gdb as in "Manually Running Bacula Under The
Debugger" in the manual and posting the output from

x/16i $pc-20
info reg
thread apply all bt

when it crashes.

__Martin


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] list job= and related broader question

2006-02-28 Thread Christopher Mills
I searched the archive for an answer to this question. I found it asked 
but never answered:


The bconsole command 'list jobs' gives me a list of runs from all jobs. 
I want to narrow it to all job runs from a particular job. The bconsole 
doc under "list" seems to imply that would be done with:


  list job=My-Job

This doesn't work (I am running mysql under Gentoo Linux). I tried every 
combination that I could think of-- quotes, tics, etc. to no avail. 
'list jobs' works fine but is just painfully cluttered. I even guessed at:


  list jobs job=My-Job

and all the combinations of quotes, tics etc. (jobid= works fine too) 
Alas, my suspicion is this query just doesn't function. Since I believe 
that this is a very fundemental query, and since out of the corner of my 
eye while searching the archives for an answer I seem to have noticed 
questions about formulating sql queries against the Bacula database 
tables, I have a broader question in regard to what I should expect in 
diving into Bacula:


Should I expect that the Bacula development community is focusing on the 
more critical areas of this highly complex and powerful  opensource 
project? Should I bite the bullet, and bone up on my sql skills on the 
assumption that these relatively benign (but from a practical 
perspective of a Bacula implimentation, important) queries may not be 
fully debugged and tested as of yet? Should I assume that I will "become 
one" with the product more quickly if I just accept this, and learn to 
write my own queries as needed?


I am really hoping the answer is "no." But I can understand if it is 
"yes," as I certainly haven't been the one contributing to this 
monumental project :) (Although, if it is "yes" I will confess to being 
a little disappointed as I was hoping query writing would only come up 
in future fine-tuning of my implimentation).


If this is the case, then I am just wondering where I should start. I 
haven't really tried to delve into the source although I have taken a 
peek at "query.sql." What is not clear to me is where all the queries 
forming the 'list' commands are hiding. Do I need to get my hands on 
some source to get started on examples of useful queries? Should the 
task be to simply tack new queries onto query.sql as I need them?


Or am I getting paranoid, all documented queries work great, and I am 
just being clueless, having missed the obvious (which wouldn't be the 
first time)? :)


Thanks in advance for any help and advice.


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] file count mismatch by restore

2006-02-28 Thread Florian Kieling
kernel[consulting] info schrieb:
> Arno Lehmann schrieb:
>
>   
>> Hello,
>>
>> On 2/28/2006 2:45 PM, Florian Kieling wrote:
>>
>> 
>>> Arno Lehmann schrieb:
>>>   
>> ...
>>
>> 
 Also, if you can recreate the problem a debug log of the FD might be
 interesting.
 
>>> This file is a regular file from a linux machine and i want restore it
>>> to a linux machine. I selected it with restore -> 6 -> date/time ->
>>> client -> mark
>>>
>>> This are the settings for the restore job:
>>> JobName:Restore COVILinux
>>> Bootstrap:
>>> /var/bacula/working/covilinux-dir.restore.*Console*.2006-02-28_14.29.18.bsr
>>>
>>> Where:  /srv/restore
>>> Replace:always
>>> FileSet:Webserver
>>> Client: covilinux-fd
>>> Storage:File - WSP-SERVER.DE
>>> When:   2006-02-28 14:34:05
>>> Catalog:MyCatalog
>>> Priority:   10
>>>
>>> This messages I've got on the debug output:
>>> covilinux-dir: fd_cmds.c:100 >filed: JobId=111
>>> Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324
>>> Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD
>>> covilinux-fd: job.c:189 >> Job=Restore_COVILinux.2006-02-28_14.35.22 SDid=1 SDtime=1141133324
>>> Authorization=NNOC-NBFM-NNPC-GBAM-AIGH-PHDO-OLHP-KJLD
>>> covilinux-fd: job.c:205 Executing JobId= command.
>>> covilinux-dir: restore.c:131 dird>filed: storage address=localhost
>>> port=9103 ssl=0
>>>
>>> covilinux-fd: job.c:189 >> covilinux-fd: job.c:205 Executing storage  command.
>>> covilinux-fd: job.c:1120 StorageCmd: storage address=localhost port=9103
>>> ssl=0
>>> covilinux-fd: bnet.c:781 Current host[ipv4:127.0.0.1:9103] All
>>> host[ipv4:127.0.0.1:9103]
>>> covilinux-fd: bnet.c:1128 who=Storage daemon host=localhost port=9103
>>> covilinux-sd: bnet.c:1128 who=client host=127.0.0.1 port=36643
>>> covilinux-sd: cram-md5.c:52 send: auth cram-md5
>>> <[EMAIL PROTECTED]> ssl=0
>>> covilinux-fd: cram-md5.c:97 cram-get: auth cram-md5
>>> <[EMAIL PROTECTED]> ssl=0
>>> covilinux-fd: cram-md5.c:114 sending resp to challenge:
>>> g4+kf4RSqTVQOA+kg4/UqB
>>> covilinux-sd: cram-md5.c:68 Authenticate OK g4+kf4RSqTVQOA+kg4/UqB
>>> covilinux-fd: cram-md5.c:52 send: auth cram-md5
>>> <[EMAIL PROTECTED]> ssl=0
>>> covilinux-sd: cram-md5.c:97 cram-get: auth cram-md5
>>> <[EMAIL PROTECTED]> ssl=0
>>> covilinux-sd: cram-md5.c:114 sending resp to challenge:
>>> ij+hc++obkMPkj/SJhUlMA
>>> covilinux-fd: cram-md5.c:68 Authenticate OK ij+hc++obkMPkj/SJhUlMA
>>> covilinux-sd: job.c:173 Running job
>>> Restore_COVILinux.2006-02-28_14.35.22
>>> covilinux-fd: job.c:189 >> covilinux-fd: job.c:205 Executing bootstrap command.
>>> covilinux-fd: job.c:189 >> where=/srv/restore
>>> covilinux-fd: job.c:205 Executing restore command.
>>> covilinux-sd: fd_cmds.c:296 read_open_session got: JobId=111 Vol=1
>>> VolSessId=1141133324 VolSessT=0
>>> covilinux-sd: fd_cmds.c:299   StartF=0 EndF=0 StartB=0 EndB=0
>>> Next: 0x0
>>> Root bsr: 0x80afc00
>>> VolumeName  : wsp-server.de_0001
>>> SessId  : 2
>>> SessTime: 915166135
>>> VolFile : 0-0
>>> VolBlock: 2847977145-2882494880
>>> FileIndex   : 49
>>> count   : 1
>>> found   : 0
>>> done: no
>>> positioning : 1
>>> fast_reject : 1
>>>   
>> This looks reasonable to me.
>>
>> 
>>> covilinux-sd: read.c:46 Start read data.
>>> covilinux-sd: askdir.c:211 >dird: CatReq
>>> Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
>>> VolName=wsp-server.de_0001 write=0
>>> covilinux-dir: catreq.c:105 catreq CatReq
>>> Job=Restore_COVILinux.2006-02-28_14.35.22 GetVolInfo
>>> VolName=wsp-server.de_0001 write=0
>>> covilinux-dir: catreq.c:140 CatReq GetVolInfo Vol=wsp-server.de_0001
>>> covilinux-dir: catreq.c:84 Vol Info for
>>> Restore_COVILinux.2006-02-28_14.35.22: 1000 OK
>>> VolName=wsp-server.de_0001 VolJobs=11 VolFiles=1 VolBlocks=71575
>>> VolBytes=4617062506 VolMounts=11 VolErrors=0 VolWrites=71576
>>> MaxVolBytes=4617089800 VolCapacityBytes=0 VolStatus=Full Slot=0
>>> MaxVolJobs=0 MaxVolFiles=0 InChanger=0 VolReadTime=0 VolWriteTime=0
>>> EndFile=1 EndBlock=322095425 VolParts=0 LabelType=0
>>> covilinux-sd: askdir.c:165 >> VolJobs=11 VolFiles=1 VolBlocks=71575 VolBytes=4617062506 VolMounts=11
>>> VolErrors=0 VolWrites=71576 MaxVolBytes=4617089800 VolCapacityBytes=0
>>> VolStatus=Full Slot=0 MaxVolJobs=0 MaxVolFiles=0 InChanger=0
>>> VolReadTime=0 VolWriteTime=0 EndFile=1 EndBlock=322095425 VolParts=0
>>> LabelType=0
>>> covilinux-sd: acquire.c:186 bstored: open vol=wsp-server.de_0001
>>> covilinux-sd: dev.c:277 open dev: tape=0 dev_name="FileStorage -
>>> WSP-SERVER.DE" (/srv/backup/wsp-server.de) vol=wsp-server.de_0001
>>> mode=OPEN_READ_ONLY
>>> covilinux-sd: dev.c:286 call open_file_device mode=OPEN_READ_ONLY
>>> covilinux-sd: dev.c:415 Enter: open_file_dev: disk dev=
>>> mode=OPEN_READ_ONLY
>>> covilinux-sd: dev.c:431 open dev: disk
>>> dev=/srv/backup/wsp-server.de/wsp-server.de_0001 mode=OPEN_READ_ONLY
>>> covilinux-sd: dev.c:433 openmode=3 OPEN_READ_ONL

Re: [Bacula-users] Win32 Version 1.38.5

2006-02-28 Thread Landon Fuller

Arno Lehmann wrote:

Hello,

On 2/27/2006 3:13 PM, kernel[consulting] info wrote:


I have a problem restoring files from the wx-console running on WinXP.
I was told to use bacula version 1.38.5, but i am unable to find the
binary win32 release of 1.38.5. Can anyone please be so kind to point me
in the right direction?



Unfortunately not.

I don't think there's a released version of winbacula 1.38.5.


Who is generally handles the Win32 Bacula builds?

Cheers,
-landonf


signature.asc
Description: OpenPGP digital signature