[Bacula-users] Issue with conncurrent jobs

2007-11-30 Thread Blake Dunlap
I seem to be having some scheduling quirks on my director right now. It doesn't 
seem to be correctly queuing new jobs to the store as they drop off. I am 
currently waiting on the last running job on the store to finish to see if it 
even correctly adds more jobs once that does drop.

Example:

Running Jobs:
 JobId Level   Name   Status
==
  5574 FullWeeklyOffsite-filemonster.2007-11-30_19.05.00 has terminated
  5580 FullWeeklyOffsite-bnawsvmsx04.bna01.isdn.net.2007-11-30_19.05.06 has 
terminated
  5587 FullWeeklyOffsite-nrepwsvfs01.bna01.isdn.net.2007-11-30_19.05.13 is 
running
  5588 FullWeeklyOffsite-bnaw2ksql01.bna01.isdn.net.2007-11-30_19.05.14 is 
waiting on max Storage jobs
  5589 FullWeeklyOffsite-rex2.2007-11-30_19.05.15 is waiting on max Storage 
jobs
  5590 FullWeeklyOffsite-web05.2007-11-30_19.05.16 is waiting on max 
Storage jobs

Running Jobs:
 JobId Level   Name   Status
==
  5587 FullWeeklyOffsite-nrepwsvfs01.bna01.isdn.net.2007-11-30_19.05.13 is 
running
  5588 FullWeeklyOffsite-bnaw2ksql01.bna01.isdn.net.2007-11-30_19.05.14 is 
waiting on max Storage jobs
  5589 FullWeeklyOffsite-rex2.2007-11-30_19.05.15 is waiting on max Storage 
jobs
  5590 FullWeeklyOffsite-web05.2007-11-30_19.05.16 is waiting on max 
Storage jobs
  5591 FullWeeklyOffsite-bnaw2ksql02.2007-11-30_19.05.17 is waiting on max 
Storage jobs
  5592 FullWeeklyOffsite-nashlog01.2007-11-30_19.05.18 is waiting on max 
Storage jobs


But the director correctly sees that there should be 5 concurrent allowed by 
the store, and when it first starts backups, it does indeed start 5, and has 
worked fine in the past. Perhaps something on my end, or a bug introduced 
somewhere around the last two minor releases (I'm running 2.2.6)?

*show storage
Storage: name=nrepbak-sd address=172.30.0.1 SDport=9103 MaxJobs=5
  DeviceName=Autochanger MediaType=LTO2 StorageId=2


-Blake


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2.2.6 clients on 2.2.5 server?

2007-11-30 Thread Shon Stephens
Michael,
 I am running a 2.2.5 server and using the 2.2.6 Win-32 fd. I am able to
do estimates, backups, and restores without issue.

-Shon

On Nov 30, 2007 9:56 AM, Michael Galloway <[EMAIL PROTECTED]> wrote:

> i have version 2.2.5 server up and running, any reason to not use 2.2.6clients
> with 2.2.5 server?
>
> -- michael
>
> -
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] 2.2.6 clients on 2.2.5 server?

2007-11-30 Thread Michael Short
You should be fine, I'm still running my 2.0.3 clients perfectly with
my 2.2.5 director/storage.

-Michael

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Varying job start times to accommodate laptop users

2007-11-30 Thread David Legg
If I've got users who quite rightly don't leave their machines on all 
night what's the best way to configure Bacula to vary the start times 
according to when it sees a machine pop up on the network?

I'm guessing that I should use something like the following 
bacula-dir.conf settings: -

Director {

  ...

  FD Connect Timeout = 14400# Keep trying File Daemons for up to 4 hours

  ...

}

Job {

  ...

  Max Start Delay = 14400# Cancel job if it hasn't started after 4 hours

  Rerun Failed Levels = yes

  ...

}



I'm not sure whether I need to specify the 'FD Connect Timeout' though.  
If I leave it out and someone turns on their laptop within the four hour 
period specified in 'Max Start Delay' will Bacula have given up trying 
to contact the laptop's file daemon?

- David.

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 client cannot connect to storage daemon

2007-11-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

First telnet to the server on the port you want (ie. telnet host 9101)
to see what it does. Connection refused is usually that the daemon is
not running, and a timeout is usually a firewall. There are of course
exceptions to this rule as it is up to the admin.

Jason A. Kates wrote:
> On your Ubuntu server I would suggest turning off iptables to see if
> that fixes the issue.   If turning off iptables is the fix you just need
> to update iptables to open up port 9103 and port 9101.
>   -Jason
> 
> 
> On Fri, 2007-11-30 at 12:42 -0800, edavison wrote:
>> I have bacula server (version 2.2.5) install on Ubuntu server 7.1.  I have
>> the win32 client (version 2.2.5) installed on Windows 2000 Server.
>>
>> bconsole on the linux box can connect to the client just fine and I can
>> estimate the job and it lists the proper files.
>>
>> When I try to run a backup I get the following error:
>>
>> Warning: ../../lib/bsock.c:123 Could not connect to Storage daemon on
>> amanda:9103. ERR=The operation completed successfully.
>> Retrying ...
>> Fatal error: Socket error on Storage command: ERR=Connection reset by peer
>>
>> It then lists a summary of th ejob ending with:
>>
>> Non-fatal FS errors: 0
>> SD errors:  0
>> FD termination status:
>> SD termination status:  Waiting on FD
>> Termination:*** Backup Error ***
>>
>> Any thoughts on getting this win32 client to work?
>>
>> Update:
>>
>> I ran this again with the -d100 trace flag on the bacula-fd.exe execution
>> and produced the following trace file.
>> http://www.nabble.com/file/p14036457/bacula-fd.trace bacula-fd.trace 


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

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

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Forward Progress

2007-11-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shon Stephens wrote:
> After a holiday hiatus and some soul-searching (aka curling up w/ the
> Bacula manual) I was able to make some significant progress
> 
>  I couldn't figure out what caused the initial missing catalog data.
> Since I had recently upgraded and wasn't capturing good backups, I
> dropped my tables and recreated them.
> This seemed to do the trick and the UNIX backups were off and running
> smooth and catalog data seems correct as well.

Often a good solution, regardless, provided you don't have anything you
need in there. You can end up in a situation where there are parameters
set on your media that are in the catalog that do not coincide with
production as a result of messing around with them in the testing phase.

>  I took some advice and put my systemstate.bat file in a path with
> no spaces. So c:\bacula works, but not c:\program files\bacula. I was
> attempting to keep everything under one directory, but I couldn't get
> the ClientRunBeforeJob script to run in a path with spaces and the
> bacula-fd for Windows couldn't seem to correclty locate its config files
> if I installed it anywhere but the default location. Good news is that
> this is now working and my Windows host backups are writing to disk.

This is not necessary, just makes life easier. For me, life being easy
is less important than organization, so I am just careful with my
escaping. Sometimes you can need quite the number of escapes to make
Windows \'s work properly.

>  I can't say that working with tapes has gotten any easier, but
> after enough trial and mostly error I have figured out how to reassign
> tapes to a pool and change their status, etc.. When I load tapes into
> the autochanger and issue "label slots=1-12 pool=Scratch barcodes" it
> does the business. However Bacula can't keep track of the status of last
> tape it labels. Says its not in the changer and says its not loaded in
> the drive. When I issue "release" in bconsole, it tells me nothing is
> mounted and there is nothing to release. Running "update slots" shows
> that the tape hasn't been returned to its changer slot either. So I drop
> out of bconsole and use mtx directly to unload and but the tape back in
> its slot. Not that big a pain, and its now part of the procedure.

This sounds unnecessary to me. I don't have an autochanger, so I can't
necessarily comment. You're saying that it doesn't realize there's a
tape in the changer that actually IS in the changer?

> Another weird issue with the changer is that when swapping tapes to a
> new series I first have to run an "mtx status" command before Bacula can
> see all my slots. Before that it only sees 11, not the full 12. Again,
> its now part of the procedure.

How did you end up with this package? I know there were some
bacula-specific patches to mtx and I wonder if maybe you don't have them.

> So over the holiday over 20 different backups ran successfully and
> relatively quickly. I'm still a little fuzzy on how data spooling helps
> speed up jobs or helps run concurrent jobs. I have one job that takes 12
> hours and it seems to spend 7 of that despooling. I have to read this
> part of the manual again for better comprehension.

Not spooling means you'll have interleaving of data. On tapes, this is
very bad since the speed is best while streaming. On disk it's not so
hot either, though, as most disk operations act a lot like tape in
Bacula, I believe (though perhaps less so than they used to). It also,
theoretically, compresses the window of time where the machine is
actually pestering the FD. This used to be very helpful when Bacula
allowed the RunAfter script to run after the initial spooling, as you
could bring back a downed service right away (if you could spool faster
than you could despool, this meant less downtime). This is no longer the
case, AFAIK, however.

> Thanks for everyone's understanding and continued advice. I think it
> really helped me overcome an initial hump. I still have some things I'm
> figuring out and need to run some test restores and verify. Does anyone
> run an automated verify after their backups?

I've seen it talked about -- I personally do not, but take
shot-in-the-dark test restores once in awhile. I've never had a failure.

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

iD8DBQFHUG55mb+gadEcsb4RAojhAJ97Vp4GOsF//hoNL3mcq5uQ7ugsdwCcDgFu
5I0E+XkmfSxiTqY/dCoqXWY=
=DDbY
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Progra

Re: [Bacula-users] Experiences compiling bat on Solaris 10 x86

2007-11-30 Thread Aaron Wilson




I had an email conversation once with the Blastwave bacula maintainer.
He had no problems building bat for Solaris, but he was basically
unable to do so until someone did a pkg for qt4.


Ryan Novosielski wrote:

  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shon Stephens wrote:
  
  
Busy day. I really like the screenshots of bat on the wiki and though
I'm more a cli person, its a requirement of the project to have some
kind of gui for at least reporting. I'd like to give bat a try and
wanted to find out if anyone had recently compiled it for Solaris 10 x86
and particularly those who are using the Blastwave packages and bat.

  
  
The Blastwave packages I'm using for SPARC don't seem to include bat.
They are version 2.2.5.

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

iD8DBQFHUHFimb+gadEcsb4RAs37AKCAj4OK5RY184WytR8TbZgdq8vuIACbBa3J
WfXircG8kqu35VW87cYe1GI=
=9apE
-END PGP SIGNATURE-
  
  

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
  

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




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 client cannot connect to storage daemon

2007-11-30 Thread Jason A. Kates
Edavison is getting "Connection reset by peer" errors which should be
looked at as a firewall (iptables with linux) issue.

-Jason

On Fri, 2007-11-30 at 16:07 -0500, Ryan Novosielski wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> First telnet to the server on the port you want (ie. telnet host 9101)
> to see what it does. Connection refused is usually that the daemon is
> not running, and a timeout is usually a firewall. There are of course
> exceptions to this rule as it is up to the admin.
> 
> Jason A. Kates wrote:
> > On your Ubuntu server I would suggest turning off iptables to see if
> > that fixes the issue.   If turning off iptables is the fix you just need
> > to update iptables to open up port 9103 and port 9101.
> > -Jason
> > 
> > 
> > On Fri, 2007-11-30 at 12:42 -0800, edavison wrote:
> >> I have bacula server (version 2.2.5) install on Ubuntu server 7.1.  I have
> >> the win32 client (version 2.2.5) installed on Windows 2000 Server.
> >>
> >> bconsole on the linux box can connect to the client just fine and I can
> >> estimate the job and it lists the proper files.
> >>
> >> When I try to run a backup I get the following error:
> >>
> >> Warning: ../../lib/bsock.c:123 Could not connect to Storage daemon on
> >> amanda:9103. ERR=The operation completed successfully.
> >> Retrying ...
> >> Fatal error: Socket error on Storage command: ERR=Connection reset by peer
> >>
> >> It then lists a summary of th ejob ending with:
> >>
> >> Non-fatal FS errors: 0
> >> SD errors:  0
> >> FD termination status:
> >> SD termination status:  Waiting on FD
> >> Termination:*** Backup Error ***
> >>
> >> Any thoughts on getting this win32 client to work?
> >>
> >> Update:
> >>
> >> I ran this again with the -d100 trace flag on the bacula-fd.exe execution
> >> and produced the following trace file.
> >> http://www.nabble.com/file/p14036457/bacula-fd.trace bacula-fd.trace 
> 
> 
> - --
>   _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFHUHt4mb+gadEcsb4RAutPAJ9bwZsRkF1w7UGODp+Cbpk31sRlLwCeK6es
> SmjcyRYwU904uJoW1tINlyI=
> =dRMp
> -END PGP SIGNATURE-
-- 

Jason A. Kates ([EMAIL PROTECTED]) 
Fax:208-975-1514
Phone:  212-400-1670 x2




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Win32 client cannot connect to storage daemon

2007-11-30 Thread Jason A. Kates
On your Ubuntu server I would suggest turning off iptables to see if
that fixes the issue.   If turning off iptables is the fix you just need
to update iptables to open up port 9103 and port 9101.
-Jason


On Fri, 2007-11-30 at 12:42 -0800, edavison wrote:
> I have bacula server (version 2.2.5) install on Ubuntu server 7.1.  I have
> the win32 client (version 2.2.5) installed on Windows 2000 Server.
> 
> bconsole on the linux box can connect to the client just fine and I can
> estimate the job and it lists the proper files.
> 
> When I try to run a backup I get the following error:
> 
> Warning: ../../lib/bsock.c:123 Could not connect to Storage daemon on
> amanda:9103. ERR=The operation completed successfully.
> Retrying ...
> Fatal error: Socket error on Storage command: ERR=Connection reset by peer
> 
> It then lists a summary of th ejob ending with:
> 
> Non-fatal FS errors: 0
> SD errors:  0
> FD termination status:
> SD termination status:  Waiting on FD
> Termination:*** Backup Error ***
> 
> Any thoughts on getting this win32 client to work?
> 
> Update:
> 
> I ran this again with the -d100 trace flag on the bacula-fd.exe execution
> and produced the following trace file.
> http://www.nabble.com/file/p14036457/bacula-fd.trace bacula-fd.trace 
-- 

Jason A. Kates ([EMAIL PROTECTED]) 
Fax:208-975-1514
Phone:  212-400-1670 x2




-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Win32 client cannot connect to storage daemon

2007-11-30 Thread edavison

I have bacula server (version 2.2.5) install on Ubuntu server 7.1.  I have
the win32 client (version 2.2.5) installed on Windows 2000 Server.

bconsole on the linux box can connect to the client just fine and I can
estimate the job and it lists the proper files.

When I try to run a backup I get the following error:

Warning: ../../lib/bsock.c:123 Could not connect to Storage daemon on
amanda:9103. ERR=The operation completed successfully.
Retrying ...
Fatal error: Socket error on Storage command: ERR=Connection reset by peer

It then lists a summary of th ejob ending with:

Non-fatal FS errors: 0
SD errors:  0
FD termination status:
SD termination status:  Waiting on FD
Termination:*** Backup Error ***

Any thoughts on getting this win32 client to work?

Update:

I ran this again with the -d100 trace flag on the bacula-fd.exe execution
and produced the following trace file.
http://www.nabble.com/file/p14036457/bacula-fd.trace bacula-fd.trace 
-- 
View this message in context: 
http://www.nabble.com/Win32-client-cannot-connect-to-storage-daemon-tf4900363.html#a14036457
Sent from the Bacula - Users mailing list archive at Nabble.com.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Windows XP client: dir/file names with spec. chars (unicode?)

2007-11-30 Thread Sebastian
Thanks for the hint, you are totally right: I am logging in via putty.
In the putty-options --> window --> translation --> UTF-8 and there are
no more problems with umlauts.

Sebastian


Arno Lehmann wrote:
> Hello,
>
> 30.11.2007 19:56,, Sebastian wrote::
>   
>> Hi,
>>
>> if I want to backup e.g. "C:\Dokumente und
>> Einstellungen\--user--\Startmenü", I have to write
>> File = "C:/Dokumente und Einstellungen/--user--/Startmenü" to my
>> FileSet-resource.
>>
>> works fine for me, it is probably an charset issue, and afaik it is not
>> documented in the manual.
>> 
>
> Well, that is nothing Bacula-specific, in fact.
>
> It's a character coding mismatch.
>
> The configuration file is interpreted as UTF-8 iirc (or rather, the 
> bytes in the file names are interpreted by windows to be UTF-8, and 
> you display with ISO-Latin1 most probably.
>
> I see this quite often, in most cases when I work on a linux system 
> using a UTF-8 character coding scheme (e.g. LC_CTYPE=en_US.UTF-8) and 
> the terminal (putty here, most often) is assuming latin1 character 
> encoding.
>
> When editing the configuration with vi in a putty terminal window, I 
> just need to activate the proper translation, and voilà, I see all the 
> Umlauts and accebted characters as they are interpreted by windows.
>
> You could try something similar...
>
> Arno
>
>   
>> greets,
>> Sebastian
>> 
>> Bacula-Dir: 2.2.5 on Debian sid
>> Bacula-Client: 2.2.6 on WindowsXP SP2
>>
>>
>> Arno Lehmann wrote:
>> 
>>> Hi,
>>>
>>> 29.11.2007 08:54,, Vladimirs Vecgailis wrote::
>>>   
>>>   
 Hi,

 i'm experiencing the same problem except not with hungarian but
 with german "Umlauts" - ö / ä / ü.

 I even found a similar question/problem like mine (and now - like
 yours :-) ):

 http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg21470.html



 Backups works fine, but i get warnings in the LOG and the email. 
 Although the files/dirs with special char's are backup'ed. So i
 ignore these errors for now...

 If there would be any other solution i would be glad to hear about
 it.
 
 
>>> I can not confirm this. See here:
>>> Microsoft Windows [Version 6.0.6000]
>>> Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
>>>
>>> C:\Users\Arno>cd \tmp\bacula-restores\C\testbackups\Värßeichnµs
>>>
>>> C:\tmp\bacula-restores\C\testbackups\Värßeichnµs>dir
>>>   Volume in Laufwerk C: hat keine Bezeichnung.
>>>   Volumeseriennummer: 3AFC-56F4
>>>
>>>   Verzeichnis von C:\tmp\bacula-restores\C\testbackups\Värßeichnµs
>>>
>>> 29.11.2007  14:16  .
>>> 29.11.2007  14:16  ..
>>> 29.11.2007  11:25 0 Dätäì.txt
>>> 1 Datei(en),  0 Bytes
>>> 2 Verzeichnis(se), 14.232.092.672 Bytes frei
>>>
>>> C:\tmp\bacula-restores\C\testbackups\Värßeichnµs>
>>>
>>> This was backed up from and restored to the same client, MS Vista 
>>> business.
>>>
>>> This is the jobs file list:
>>>
>>> Choose a query (1-16): 12
>>> Enter JobId: 1168
>>> +-+-+
>>> | Path| Name 
>>>|
>>> +-+-+
>>> | C:/testbackups/ | 
>>>|
>>> | C:/testbackups/ | ADS.txt 
>>>|
>>> | C:/testbackups/ | Arno 
>>> Lehmann.contact|
>>> | C:/testbackups/ | Ein Name mit 
>>> Ümlätön.txt |
>>> | C:/testbackups/Documents/   | 
>>>|
>>> | C:/testbackups/Documents/   | sfscon-2.odp 
>>>|
>>> | C:/testbackups/Documents/   | sfscon.pdf 
>>>|
>>> | C:/testbackups/Värßeichnµs/  | 
>>> |
>>> | C:/testbackups/Värßeichnµs/  | Dätäì.txt 
>>>  |
>>> | C:/testbackups/Värßeichnµs/G€lôgenêß Gáld/ | 
>>>   |
>>> +-+-+
>>>
>>> And there are no warnings in the job output or the mail:
>>>
>>> 29-Nov 12:30 VM-dir JobId 1168: Start Backup JobId 1168, 
>>> Job=Host.2007-11-29_12.30.16
>>> 29-Nov 12:30 VM-dir JobId 1168: Using Device "FileStorage"
>>> 29-Nov 12:30 VM-sd JobId 1168: Volume "Full-0036" previously written, 
>>> moving to end of data.
>>> 29-Nov 12:30 VM-sd JobId 1168: Ready to append to end of Volume 
>>> "Full-0036" size=52083
>>> 29-Nov 12:30 Host-fd: Generate VSS snapshots. Driver="VSS Vista", 
>>> Drive(s)="C"
>>> 29-Nov 12:30 VM-sd JobId 1168: Job write elapsed time = 00:00:36, 
>>> Transfer rate = 7.099 K bytes/second
>>> 29-Nov 12:30 VM-dir JobId 1168: Bacula VM

Re: [Bacula-users] Experiences compiling bat on Solaris 10 x86

2007-11-30 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shon Stephens wrote:
> Busy day. I really like the screenshots of bat on the wiki and though
> I'm more a cli person, its a requirement of the project to have some
> kind of gui for at least reporting. I'd like to give bat a try and
> wanted to find out if anyone had recently compiled it for Solaris 10 x86
> and particularly those who are using the Blastwave packages and bat.

The Blastwave packages I'm using for SPARC don't seem to include bat.
They are version 2.2.5.

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

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

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Windows XP client: dir/file names with spec. chars (unicode?)

2007-11-30 Thread Arno Lehmann
Hello,

30.11.2007 19:56,, Sebastian wrote::
> Hi,
> 
> if I want to backup e.g. "C:\Dokumente und
> Einstellungen\--user--\Startmenü", I have to write
> File = "C:/Dokumente und Einstellungen/--user--/Startmenü" to my
> FileSet-resource.
> 
> works fine for me, it is probably an charset issue, and afaik it is not
> documented in the manual.

Well, that is nothing Bacula-specific, in fact.

It's a character coding mismatch.

The configuration file is interpreted as UTF-8 iirc (or rather, the 
bytes in the file names are interpreted by windows to be UTF-8, and 
you display with ISO-Latin1 most probably.

I see this quite often, in most cases when I work on a linux system 
using a UTF-8 character coding scheme (e.g. LC_CTYPE=en_US.UTF-8) and 
the terminal (putty here, most often) is assuming latin1 character 
encoding.

When editing the configuration with vi in a putty terminal window, I 
just need to activate the proper translation, and voilà, I see all the 
Umlauts and accebted characters as they are interpreted by windows.

You could try something similar...

Arno

> greets,
> Sebastian
> 
> Bacula-Dir: 2.2.5 on Debian sid
> Bacula-Client: 2.2.6 on WindowsXP SP2
> 
> 
> Arno Lehmann wrote:
>> Hi,
>>
>> 29.11.2007 08:54,, Vladimirs Vecgailis wrote::
>>   
>>> Hi,
>>>
>>> i'm experiencing the same problem except not with hungarian but
>>> with german "Umlauts" - ö / ä / ü.
>>>
>>> I even found a similar question/problem like mine (and now - like
>>> yours :-) ):
>>>
>>> http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg21470.html
>>>
>>>
>>>
>>> Backups works fine, but i get warnings in the LOG and the email. 
>>> Although the files/dirs with special char's are backup'ed. So i
>>> ignore these errors for now...
>>>
>>> If there would be any other solution i would be glad to hear about
>>> it.
>>> 
>> I can not confirm this. See here:
>> Microsoft Windows [Version 6.0.6000]
>> Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
>>
>> C:\Users\Arno>cd \tmp\bacula-restores\C\testbackups\Värßeichnµs
>>
>> C:\tmp\bacula-restores\C\testbackups\Värßeichnµs>dir
>>   Volume in Laufwerk C: hat keine Bezeichnung.
>>   Volumeseriennummer: 3AFC-56F4
>>
>>   Verzeichnis von C:\tmp\bacula-restores\C\testbackups\Värßeichnµs
>>
>> 29.11.2007  14:16  .
>> 29.11.2007  14:16  ..
>> 29.11.2007  11:25 0 Dätäì.txt
>> 1 Datei(en),  0 Bytes
>> 2 Verzeichnis(se), 14.232.092.672 Bytes frei
>>
>> C:\tmp\bacula-restores\C\testbackups\Värßeichnµs>
>>
>> This was backed up from and restored to the same client, MS Vista 
>> business.
>>
>> This is the jobs file list:
>>
>> Choose a query (1-16): 12
>> Enter JobId: 1168
>> +-+-+
>> | Path| Name 
>>|
>> +-+-+
>> | C:/testbackups/ | 
>>|
>> | C:/testbackups/ | ADS.txt 
>>|
>> | C:/testbackups/ | Arno 
>> Lehmann.contact|
>> | C:/testbackups/ | Ein Name mit 
>> Ümlätön.txt |
>> | C:/testbackups/Documents/   | 
>>|
>> | C:/testbackups/Documents/   | sfscon-2.odp 
>>|
>> | C:/testbackups/Documents/   | sfscon.pdf 
>>|
>> | C:/testbackups/Värßeichnµs/  | 
>> |
>> | C:/testbackups/Värßeichnµs/  | Dätäì.txt 
>>  |
>> | C:/testbackups/Värßeichnµs/G€lôgenêß Gáld/ | 
>>   |
>> +-+-+
>>
>> And there are no warnings in the job output or the mail:
>>
>> 29-Nov 12:30 VM-dir JobId 1168: Start Backup JobId 1168, 
>> Job=Host.2007-11-29_12.30.16
>> 29-Nov 12:30 VM-dir JobId 1168: Using Device "FileStorage"
>> 29-Nov 12:30 VM-sd JobId 1168: Volume "Full-0036" previously written, 
>> moving to end of data.
>> 29-Nov 12:30 VM-sd JobId 1168: Ready to append to end of Volume 
>> "Full-0036" size=52083
>> 29-Nov 12:30 Host-fd: Generate VSS snapshots. Driver="VSS Vista", 
>> Drive(s)="C"
>> 29-Nov 12:30 VM-sd JobId 1168: Job write elapsed time = 00:00:36, 
>> Transfer rate = 7.099 K bytes/second
>> 29-Nov 12:30 VM-dir JobId 1168: Bacula VM-dir 2.2.6 (10Nov07): 
>> 29-Nov-2007 12:30:45
>>Build OS:   i686-suse-linux-gnu suse 10.3
>>JobId:  1168
>>Job:Host.2007-11-29_12.30.16
>>Backup Level:   Full
>>Client: "Host-fd" 2.1.22 (26Jun07) 
>> Linux,Cross-compile,Win32
>>FileSet:"HostFS" 2007-11-13 22:15:00
>>Pool: 

Re: [Bacula-users] trouble with marking a job finished

2007-11-30 Thread Ken Dail

On Nov 29, 2007, at 7:26 AM, John Drescher wrote:

> On Nov 29, 2007 9:20 AM, Ken Dail <[EMAIL PROTECTED]> wrote:
>> I'm having trouble with a particular backup.
>>
>> I have about 20 clients backing up to one director, and they all work
>> great except in one particular case.
>>
>> Full backups of a particular client "courtsweb" seem to sometimes  
>> fail
>> to be marked as finished at the director the after job error report
>> contains something like:
>> 25-Nov 01:08 courtsweb-fd: Generate VSS snapshots. Driver="VSS Win
>> 2003", Drive(s)="C"
>> 25-Nov 02:34 backup3-sd: Job write elapsed time = 01:28:12, Transfer
>> rate = 1.956 M bytes/second
>> 25-Nov 03:06 backup3-dir: courtsweb.2007-11-25_01.05.01 Fatal error:
>> Network error with FD during Backup: ERR=Connection reset by peer
>> 25-Nov 03:06 backup3-dir: courtsweb.2007-11-25_01.05.01 Fatal error:
>> No Job status returned from FD.
> This is the problem. It says that the FD on courtsweb has dropped the
> connection for some reason. Bacula will not continue after a dropped
> connection so this is fatal.

There are two things that strike me as weird about this.
1. The connection is reset 32 mins after the the SD is done writing  
the job. What is going on during this time that the connection is idle?

2. If the connection  is breaking, why does the client record the job  
as "OK"?

Thanks!
(please CC me on replies)

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Windows XP client: dir/file names with spec. chars (unicode?)

2007-11-30 Thread Sebastian
Hi,

if I want to backup e.g. "C:\Dokumente und
Einstellungen\--user--\Startmenü", I have to write
File = "C:/Dokumente und Einstellungen/--user--/Startmenü" to my
FileSet-resource.

works fine for me, it is probably an charset issue, and afaik it is not
documented in the manual.
greets,
Sebastian

Bacula-Dir: 2.2.5 on Debian sid
Bacula-Client: 2.2.6 on WindowsXP SP2


Arno Lehmann wrote:
> Hi,
>
> 29.11.2007 08:54,, Vladimirs Vecgailis wrote::
>   
>> Hi,
>>
>> i'm experiencing the same problem except not with hungarian but
>> with german "Umlauts" - ö / ä / ü.
>>
>> I even found a similar question/problem like mine (and now - like
>> yours :-) ):
>>
>> http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg21470.html
>>
>>
>>
>> Backups works fine, but i get warnings in the LOG and the email. 
>> Although the files/dirs with special char's are backup'ed. So i
>> ignore these errors for now...
>>
>> If there would be any other solution i would be glad to hear about
>> it.
>> 
>
> I can not confirm this. See here:
> Microsoft Windows [Version 6.0.6000]
> Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.
>
> C:\Users\Arno>cd \tmp\bacula-restores\C\testbackups\Värßeichnµs
>
> C:\tmp\bacula-restores\C\testbackups\Värßeichnµs>dir
>   Volume in Laufwerk C: hat keine Bezeichnung.
>   Volumeseriennummer: 3AFC-56F4
>
>   Verzeichnis von C:\tmp\bacula-restores\C\testbackups\Värßeichnµs
>
> 29.11.2007  14:16  .
> 29.11.2007  14:16  ..
> 29.11.2007  11:25 0 Dätäì.txt
> 1 Datei(en),  0 Bytes
> 2 Verzeichnis(se), 14.232.092.672 Bytes frei
>
> C:\tmp\bacula-restores\C\testbackups\Värßeichnµs>
>
> This was backed up from and restored to the same client, MS Vista 
> business.
>
> This is the jobs file list:
>
> Choose a query (1-16): 12
> Enter JobId: 1168
> +-+-+
> | Path| Name 
>|
> +-+-+
> | C:/testbackups/ | 
>|
> | C:/testbackups/ | ADS.txt 
>|
> | C:/testbackups/ | Arno 
> Lehmann.contact|
> | C:/testbackups/ | Ein Name mit 
> Ümlätön.txt |
> | C:/testbackups/Documents/   | 
>|
> | C:/testbackups/Documents/   | sfscon-2.odp 
>|
> | C:/testbackups/Documents/   | sfscon.pdf 
>|
> | C:/testbackups/Värßeichnµs/  | 
> |
> | C:/testbackups/Värßeichnµs/  | Dätäì.txt 
>  |
> | C:/testbackups/Värßeichnµs/G€lôgenêß Gáld/ | 
>   |
> +-+-+
>
> And there are no warnings in the job output or the mail:
>
> 29-Nov 12:30 VM-dir JobId 1168: Start Backup JobId 1168, 
> Job=Host.2007-11-29_12.30.16
> 29-Nov 12:30 VM-dir JobId 1168: Using Device "FileStorage"
> 29-Nov 12:30 VM-sd JobId 1168: Volume "Full-0036" previously written, 
> moving to end of data.
> 29-Nov 12:30 VM-sd JobId 1168: Ready to append to end of Volume 
> "Full-0036" size=52083
> 29-Nov 12:30 Host-fd: Generate VSS snapshots. Driver="VSS Vista", 
> Drive(s)="C"
> 29-Nov 12:30 VM-sd JobId 1168: Job write elapsed time = 00:00:36, 
> Transfer rate = 7.099 K bytes/second
> 29-Nov 12:30 VM-dir JobId 1168: Bacula VM-dir 2.2.6 (10Nov07): 
> 29-Nov-2007 12:30:45
>Build OS:   i686-suse-linux-gnu suse 10.3
>JobId:  1168
>Job:Host.2007-11-29_12.30.16
>Backup Level:   Full
>Client: "Host-fd" 2.1.22 (26Jun07) 
> Linux,Cross-compile,Win32
>FileSet:"HostFS" 2007-11-13 22:15:00
>Pool:   "Full" (From Job FullPool override)
>Storage:"File" (From Pool resource)
>Scheduled time: 29-Nov-2007 12:30:00
>Start time: 29-Nov-2007 12:30:09
>End time:   29-Nov-2007 12:30:45
>Elapsed time:   36 secs
>Priority:   10
>FD Files Written:   10
>SD Files Written:   10
>FD Bytes Written:   254,191 (254.1 KB)
>SD Bytes Written:   255,574 (255.5 KB)
>Rate:   7.1 KB/s
>Software Compression:   None
>VSS:yes
>Encryption: no
>Volume name(s): Full-0036
>Volume Session Id:  15
>Volume Session Time:1196332141
>Last Volume Bytes:  308,463 (308.4 KB)
>Non-fatal FD errors:0
>SD Errors:  0
>FD termination status:  OK
>SD termination status:  OK
>Terminatio

Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread Win Htin
Again, thanks so much for the input folks. This gives me full confidence to
face the auditors and say "Bacula maybe free but is on a par with the
proprietary enterprise backup solutions".

Cheers,

Win

On Nov 30, 2007 12:38 PM, John Drescher <[EMAIL PROTECTED]> wrote:

> > I just want to stress a point that John mentioned - the catalog data for
> a
> > given volume is never absolutely *required* to recover data from a
> volume.  It
> > is just a huge convenience factor.   When the worst case scenario
> happens,
> > though, and all you have to rebuild your infrastructure is a box full of
> tapes
> > and a corporate credit card, Bacula will let you get all of your data
> back
> > with a combination of bls, bextract, and bscan.  It may be slower, but
> it'll work.
> >
> Good point and this is a very good feature of bacula being that with
> these tools you should be able to extract data from earlier versions
> of bacula without the need of a database or to install the whole
> bacula package. This is one big reason why the tape format has
> remained constant for a long time (since bacula 1.27).
>
> John
>



-- 
Win Htin
email : [EMAIL PROTECTED]
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread John Drescher
> I just want to stress a point that John mentioned - the catalog data for a
> given volume is never absolutely *required* to recover data from a volume.  It
> is just a huge convenience factor.   When the worst case scenario happens,
> though, and all you have to rebuild your infrastructure is a box full of tapes
> and a corporate credit card, Bacula will let you get all of your data back
> with a combination of bls, bextract, and bscan.  It may be slower, but it'll 
> work.
>
Good point and this is a very good feature of bacula being that with
these tools you should be able to extract data from earlier versions
of bacula without the need of a database or to install the whole
bacula package. This is one big reason why the tape format has
remained constant for a long time (since bacula 1.27).

John

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread Flak Magnet
On Friday 30 November 2007 11:27:46 am Win Htin wrote:

> My understanding is, if I NEVER re-cycle an off-site tape, by using the
> "bscan" command, I should be able to restore data from a given volume (from
> off-site) even after "Volume Retention" period had expired. e.g. 3 years
> down the road ( ignoring the integrity of the tape, that being a different
> issue).

That is correct.  If you never re-cycle a tape the data stays on it even it if 
isn't in the catalog and you should be able to "re-read" a tape into the 
catalog for restores with bscan.  

There are "precautions" you need to take though to keep the data about the 
volume entered by bscan isn't immediately pruned from the catalog again once 
you execute a command that would trigger a bacula pruning run.

You've probably alread read 'em but here's the relevant sections from the 
docs:

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

-- 
--
Flak Magnet (Tim)
www.flakmagnet.com

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Maximum Volume Size exceeded Error

2007-11-30 Thread Flak Magnet
I don't use disk-based backups, but I have read a couple of times how 
file-based volumes aren't truncated or over-written when new data is written 
to them.

As I don't use disk-based backups, I can't get into specifics, but I believe 
that if you:

2.  Create a labeling schema that will create a NEW volume for each job 
(perhaps something that will include a date, like "Wednesday5_30Nov07" you'd 
get volumes more in line with the sizes you're expecting.

3. Write a RunBefore script for each day's job that will delete any old 
volumes, free-ing up space on your disk(s) for the new backup you're running.

I think File-based volumes require that kind of file-management interaction.  
I'm sure folks who work with them more will chime in with 
details/corrections.

--Tim

On Thursday 29 November 2007 5:47:20 pm David Gardner wrote:
> John,
>
> As a matter of fact, I did (which is a different issue.) When I started the
> back up, I had 50GB left on the volume. The typical backup consumes only 25
> GB The size of the Wednesday5 volume. When I issued "list volumes" within
> bconsole, Wednesday volume was at 77GB and of course the "media" was fully
> consumed. So, the Wednesday5 volume should have been overwritten instead of
> tripling it's size (no, 50GB of new data was not created yesterday.)
>
> For the record, this happens several times per week and I have to manually
> delete old volumes.
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> David Gardner
> email: djgardner(at)yahoo.com
> Yahoo! IM: djgardner
> AIM: dgardner09
> "Everything is a learning experience, even a mistake."

-- 
--
Flak Magnet (Tim)
www.flakmagnet.com

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread Frank Sweetser
Win Htin wrote:
> Hi folks,
> 
> For all my backup volumes I have set the following:
> 
>  File Retention:60 days
>  Job Retention:6 months
> Volume Retention:   365 days
> 
> I have read and re-read the file restore section many times but would
> like to have an independent confirmation.
> 
> My understanding is, if I NEVER re-cycle an off-site tape, by using the
> "bscan" command, I should be able to restore data from a given volume
> (from off-site) even after "Volume Retention" period had expired. e.g. 3
> years down the road ( ignoring the integrity of the tape, that being a
> different issue).

I just want to stress a point that John mentioned - the catalog data for a
given volume is never absolutely *required* to recover data from a volume.  It
is just a huge convenience factor.   When the worst case scenario happens,
though, and all you have to rebuild your infrastructure is a box full of tapes
and a corporate credit card, Bacula will let you get all of your data back
with a combination of bls, bextract, and bscan.  It may be slower, but it'll 
work.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread John Drescher
> Thanks for the input John. That will make me sleep easy this weekend :-)
>
> Another question though. If I ever have to do the "bscan" command, will it
> overwrite the current information inside the database tables? What will be
> the best approach?
>
Although I have only used bscan once in 4.5 years that I have been
using bacula, I believe bscan will add just the missing parts and you
can get it to only use the volumes you want instead of destroying the
current catalog and replacing it with what you scan. With that said
the manual recommends doing a catalog backup before using bscan.

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

John

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread Win Htin
Thanks for the input John. That will make me sleep easy this weekend :-)

Another question though. If I ever have to do the "bscan" command, will it
overwrite the current information inside the database tables? What will be
the best approach?

Thanks.

Win


On Nov 30, 2007 11:36 AM, John Drescher <[EMAIL PROTECTED]> wrote:

> On Nov 30, 2007 11:27 AM, Win Htin <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > For all my backup volumes I have set the following:
> >
> >  File Retention:60 days
> >  Job Retention:6 months
> > Volume Retention:   365 days
> >
> > I have read and re-read the file restore section many times but would
> like
> > to have an independent confirmation.
> >
> > My understanding is, if I NEVER re-cycle an off-site tape, by using the
> > "bscan" command, I should be able to restore data from a given volume
> (from
> > off-site) even after "Volume Retention" period had expired. e.g. 3 years
> > down the road ( ignoring the integrity of the tape, that being a
> different
> > issue).
> >
> > Your input is much appreciated and if the above scheme is not a good
> idea,
> > please let me know an alternative option.
> >
> Yes. bscan will restore the missing parts of the database and then you
> can use the normal restore commands to restore the files you want.
>
> John
>



-- 
Win Htin
email : [EMAIL PROTECTED]
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread John Drescher
On Nov 30, 2007 11:27 AM, Win Htin <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> For all my backup volumes I have set the following:
>
>  File Retention:60 days
>  Job Retention:6 months
> Volume Retention:   365 days
>
> I have read and re-read the file restore section many times but would like
> to have an independent confirmation.
>
> My understanding is, if I NEVER re-cycle an off-site tape, by using the
> "bscan" command, I should be able to restore data from a given volume (from
> off-site) even after "Volume Retention" period had expired. e.g. 3 years
> down the road ( ignoring the integrity of the tape, that being a different
> issue).
>
> Your input is much appreciated and if the above scheme is not a good idea,
> please let me know an alternative option.
>
Yes. bscan will restore the missing parts of the database and then you
can use the normal restore commands to restore the files you want.

John

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Data restore from tape: Last minute confirmation before going production

2007-11-30 Thread Win Htin
Hi folks,

For all my backup volumes I have set the following:

 File Retention:60 days
 Job Retention:6 months
Volume Retention:   365 days

I have read and re-read the file restore section many times but would like
to have an independent confirmation.

My understanding is, if I NEVER re-cycle an off-site tape, by using the
"bscan" command, I should be able to restore data from a given volume (from
off-site) even after "Volume Retention" period had expired. e.g. 3 years
down the road ( ignoring the integrity of the tape, that being a different
issue).

Your input is much appreciated and if the above scheme is not a good idea,
please let me know an alternative option.

Thanks in advance.

Win
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] auto labeling with python

2007-11-30 Thread Jason Joines
 I'm using Bacula 2.2.5 and have tried auto labeling with 
LabelFormat but haven't had much luck.  I don't know python but since 
LabelFormat is deprecated I thought I'd go ahead and give it a try.  My 
goal is to get volume names ( and the corresponding file name on disk, 
I'm backing up to disk ) to be formatted like jobname-date-"two digit 
number of volumes for this job".  I've also set the max volume size to 5 
GB.  So if I had a job named sivadaily run at 0300 and backup 9 GB I 
would like the resulting two volumes to be sivadaily-20071130fr0300-01 
and sivadaily-20071130fr0300-02.

 I started with the sample director startup script and the 
documentation at 
http://www.bacula.org/dev-manual/Python_Scripting.html#SECTION00356.
 
I defined "jobname = job.JobName" and modified job.VolumeName in 
NewVolume() to be 'job.VolumeName="%s-%d" % (jobname, numvol)'.  Then I 
ran a test job, cas-testdaily, and got volume autolabeled as 'Labeled 
new Volume "jobname-44"'.
 So I guess definition of jobname didn't work.  Also, I'm assuming 
the %s and %d are for string variable and integer variable although a 
bit of googling and python manual reading hasn't verified that.

 Any suggestions for how to accomplish what I'm after and 
recommendations for learning the python basics demonstrated in the 
sample script?


Jason Joines
=


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job hangs at end of run - Fatal error: job.c

2007-11-30 Thread Damian Brasher
Martin Simmons wrote:

>
> I would do it by running gdb and then issuing the attach command with the pid
> of the bacula-dir/sd/fd that was started by service.
>
>   
I'll let the system run as I have set out in previous post, last night's 
run was without error...

prev 
post---
Have attached /sbin/bacual-dir /sbin/bacula-fd and /sbin/bacula-sd to 
gdb, run the commands and will now wait until the error condition 
repeats. Will post the output to [(gdb)info file] and [(gdb)thread apply 
all bt] as soon as I have the error condition as well as the dir/fd and 
sd status.
prev 
post---

See what errors I can glean when the job fails, then if that does not 
help I can re-compile with debug switches and attach to gdb.

Damian

-- 
Damian Brasher
Systems Admin/Prog
OMII-UK ECS
Southampton University


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] 2.2.6 clients on 2.2.5 server?

2007-11-30 Thread Michael Galloway
i have version 2.2.5 server up and running, any reason to not use 2.2.6 clients
with 2.2.5 server?

-- michael

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula, Tape and Spool

2007-11-30 Thread John Drescher
On Nov 30, 2007 8:41 AM, Flavio Junior <[EMAIL PROTECTED]> wrote:
> I did it..
> All process that would use /dev/st0 or /dev/nst0 is stopped...
>
> fuser /dev/st0 and fuser /dev/nst0 returns nothing..
>
>
> [EMAIL PROTECTED] ~]# lsof | grep st0
> [EMAIL PROTECTED] ~]# fuser /dev/st0
> [EMAIL PROTECTED] ~]# fuser /dev/nst0
> [EMAIL PROTECTED] ~]#
>
I am sorry. I have no idea what is happening then.

John

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Bacula, Tape and Spool

2007-11-30 Thread John Drescher
On Nov 30, 2007 8:35 AM, Flavio Junior <[EMAIL PROTECTED]> wrote:
> Hi folks...
>
> I was trying to perform that recommended tests, but i'm getting an
> error, follow:
>
> translating:
> dd: escrevendo `/dev/nst0': Dispositivo ou recurso está ocupado
> ==
> dd: writing to '/dev/nst0': Device or resource is busy
>
> [EMAIL PROTECTED] ~]# date; time dd if=/dev/sdb of=/dev/nst0 bs=1M count=128; 
> date
> Sex Nov 30 11:31:17 BRDT 2007
> dd: escrevendo `/dev/nst0': Dispositivo ou recurso está ocupado
> 1+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 3,23681 seconds, 0,0 kB/s
> Command exited with non-zero status 1
> 0.00user 0.01system 0:03.24elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+552minor)pagefaults 0swaps
> Sex Nov 30 11:31:20 BRDT 2007
> [EMAIL PROTECTED] ~]# mt -f /dev/st0 rewind
> [EMAIL PROTECTED] ~]# date; time dd if=/dev/sdb of=/dev/st0 bs=1M count=128; 
> date
> Sex Nov 30 11:31:51 BRDT 2007
> dd: escrevendo `/dev/st0': Dispositivo ou recurso está ocupado
> 1+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 11,15 seconds, 0,0 kB/s
> Command exited with non-zero status 1
> 0.00user 0.01system 0:11.15elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+553minor)pagefaults 0swaps
> Sex Nov 30 11:32:02 BRDT 2007
> [EMAIL PROTECTED] ~]# date; time dd if=/dev/zero of=/dev/nst0 bs=1M 
> count=128; date
> Sex Nov 30 11:33:25 BRDT 2007
> dd: escrevendo `/dev/nst0': Dispositivo ou recurso está ocupado
> 1+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 3,21277 seconds, 0,0 kB/s
> Command exited with non-zero status 1
> 0.00user 0.00system 0:03.22elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
> 0inputs+0outputs (0major+297minor)pagefaults 0swaps
> Sex Nov 30 11:33:28 BRDT 2007
>
>
> Any idea ?
>
>
Temporarily stop the bacula-sd or issue an umount from bconsole on the
tape drive if some bacula volume is mounted.

John



-- 
John M. Drescher

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Job hangs at end of run - Fatal error: job.c

2007-11-30 Thread Martin Simmons
> On Thu, 29 Nov 2007 22:41:54 +, Damian Brasher said:
> 
> Martin Simmons wrote:
> > Is it still transfering any data or does it just stop dead?  If the data
> > transfer rate you see is the average then it could be the latter.
> >   
> Looks like no data is transferred after the last file, however the rate
> slowly reduces over
> the span of a few hours.
> > If it stops dead then you need to find out what it is waiting for.  It might
> > be an external resource or some kind of deadlock bug.
> >
> > What do status director, status storage and storage client report?
> >   
> Will let you know tomorrow...
> > Also, you could attach gdb to each daemon and run the gdb command
> >   
> Can you explain in a little more detail how I use gdb in this case, I
> use RHEL5 so
> run the services as #service bacula-dir/sd/fd restart etc, can I simply
> revert to the manual method...

I would do it by running gdb and then issuing the attach command with the pid
of the bacula-dir/sd/fd that was started by service.


> > thread apply all bt
> >
> > to try to find out what all the threads are doing.
> >   
> Is this part of the gdb command?

No, gdb has a command line interface (c.f. bconsole).

__Martin

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Run Script for Restore Job

2007-11-30 Thread Michael Jürgens
Hi,

how can I start a script after or before a restore job.
It seems that bacula completely ignores the RunScript directive in the
job definition.

regards,

Michael


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] All the problems with Bacula

2007-11-30 Thread Rich
On 2007.11.29. 23:53, John Stoffel wrote:
>> "mark" == mark bergman <[EMAIL PROTECTED]> writes:
> 
> mark> => I've got a plan to sit down and sketch out more consistent and clear
> mark> => set of commands for manipulating bacula from the command line.  
> Anyone
> mark> => else like the 'bcli' name?  
> mark> => 
> 
> mark> No! No! This will only exacerbate the problem (if one defines
> mark> the problem as "multiple tools/methods, with varying
> mark> documentation and different levels of support for each
> mark> tool"). 
> 
> My goal is to *replace* bconsole with a better tool, which does all
> that bconsole does but in a more consistent manner.  And which offers
> cleaner interface to the underlying bacula commands and processes.

isn't it possible to extend and improve bconsole instead of a complete 
rewrite ?

> If you look at the source code to bconsole, the parser is very very
> simplistic and doesn't have any notion of command completion, or even
> the ability to give help at each level.

i have wanted better cli (maybe using readline or what is it everybody 
else is using) for, like YEARS :)

...
> Why do we have N different commands (cancel, disable, enable, run,
> show, wait?) for handling jobs?  It's a pain to figure out/remember
> which one to use.  I think it should be broken down more like:
> 
>   job  

good idea. this reminds me somewhat about lvm umbrella program that was 
introduced with lvm2 or so.

> instead.  It shrinks down the help screen, it makes it obvious that
> all job related commands are grouped together, etc.  
...
-- 
  Rich

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users