Re: [Bacula-users] Why did bacula mark a volume as used (voluseduration)?

2007-04-10 Thread Ralf Gross
Arno Lehmann schrieb:
> >> [snip]
> >> Job #1:
> >>
> >> 08-Apr 00:05 VU0EM005: BeforeJob: run command "/usr/bin/ssh [snip]"
> >> 08-Apr 00:07 VU0EM005: Start Backup JobId 121, 
> >> Job=SMTCZB0003.2007-04-08_00.05.00
> >> 08-Apr 00:08 VU0EM005: 3307 Issuing autochanger "unload slot 4, drive 0" 
> >> command.
> >> 08-Apr 00:09 VU0EM005: 3304 Issuing autochanger "load slot 5, drive 0" 
> >> command.
> >> 08-Apr 00:10 VU0EM005: 3305 Autochanger "load slot 5, drive 0", status is 
> >> OK.
> >> 08-Apr 00:10 VU0EM005: 3301 Issuing autochanger "loaded? drive 0" command.
> >> 08-Apr 00:10 VU0EM005: 3302 Autochanger "loaded? drive 0", result is Slot 
> >> 5.
> >> 08-Apr 00:10 VU0EM005: Recycled volume "06D124L3" on device "LTO3" 
> >> (/dev/nst0), all previous data lost.
> >>
> >> That's fine, I expected volume 06D124L3 to be overwritten at this time.
> >>
> >> 08-Apr 00:10 VU0EM005: Max configured use duration exceeded. Marking 
> >> Volume "06D124L3" as Used.
> >>
> >> But I don't know what happend at this point. Why does bacula mark volume
> >> 06D124L3 as used right after the job started. The configured duration time
> >> is 4 days, I checked this.
> >>
> >> 08-Apr 00:10 VU0EM005: Spooling data ...
> >> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
> >> /var/lib/nfs/rpc_pipefs
> >> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
> >> /dev
> >> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
> >> /sys
> >> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
> >> /boot
> >> 08-Apr 00:12 VU0EM005: Job write elapsed time = 00:02:23, Transfer rate = 
> >> 6.766 M bytes/second
> >> 08-Apr 00:12 VU0EM005: Committing spooled data to Volume "06D124L3". 
> >> Despooling 968,636,754 bytes ...
> >> 08-Apr 00:12 VU0EM005: Despooling elapsed time = 00:00:07, Transfer rate = 
> >> 138.3 M bytes/second
> >> 08-Apr 00:12 VU0EM005: Sending spooled attrs to the Director. Despooling 
> >> 1,543,784 bytes ...
> >> 08-Apr 00:12 VU0EM005: AfterJob: run command "/usr/bin/ssh [snip]"
> > [snip]
> > 
> > Nobody?
> 
> Looks like that...

Hey, you're not nobody ;)
 
> > I'm a bit lost,
> 
> So am I. I checked your probelm description, and I don't see anything 
> obvious. I didn't expect anything simple, to be fair :-)

Thanks.
 
> The one thing I would do in your situation is - observe things. If this 
> repeats, I would try to get catalog data whenever a job starts, perhaps 
> even a dump of the Media table or something... just so you have some 
> data to look at. After the error has occured, it's likely Bacula 
> modified the catalog entries.

Well, I've a backup of the bacula database from last weeks full backup
(2007-04-01).

This shows the same value for voluseduration, 345600 (4 days).

COPY media (mediaid, volumename, slot, poolid, mediatype, mediatypeid,
labeltype, firstwritten, lastwritten, labeldate, voljobs, volfiles,
volblocks, volmounts, volbytes, volparts, volerrors, volwrites,
volcapacitybytes, volstatus, enabled, recycle, volretention,
voluseduration, maxvoljobs, maxvolfiles, maxvolbytes, inchanger,
storageid, deviceid, mediaaddressing, volreadtime, volwritetime,
endfile, endblock, locationid, recyclecount, initialwrite,
scratchpoolid, recyclepoolid, "comment") FROM stdin;

5   06D124L35   5   LTO30   0
2007-02-24 23:45:04 2007-02-25 11:04:06 2007-02-24 23:45:04
3   16  230427  1   14865371136 0   0   230428
0   Recycle 1   1   2678400 345600  0   0   0
1   2   0   0
0   0   15  20140   0   \N  0   0
\N


Because recycling and marking of the volume happend after the job
started (at the same minute 00:10), I've no idea if it would make
sense to dump the db in a run before skript before every backup.

 
> > my old bacula install worked as expected with
> > a similar config, so I don't think that I configured bacula-dir wrong.
> > This new install worked for the last 3 months, other volumes were
> > recycled and reused as expected.
> > 
> > What could lead to a volume that is recycled and then marked as used
> > just a couple of seconds afterwards? I double checked, the volume use
> > duration of this volume is set to 4 days.
> 
> Ok, double-checking is always valuable :-) I found the message "Max 
> configured..." only once in the source, so it's safe to assume the 
> message is not used out of context.

Ok.
 
> A look at the source dosn't reveal anything extraordinary, at east to 
> me. Unless you asume that the catalog data and the current system time 
> might be messed up... is your system time correct, does your catalog 
> know about the time zone, and whatever esle might be important?

I'm using an ntp server, so date and time is ok. The syslog doesn't
show anything unusual at the time it happend.

bacula=> select current_timestamp;
  now
  ---
 

Re: [Bacula-users] Feature Request: Layered Jobdefs

2007-04-10 Thread Steen
Tirsdag 10 april 2007 23:14 skrev Kern Sibbald:
> Although, I am really pleased at seeing lots of people using Bacula, and
> interest in improving it, we seem to be getting a lot of Feature Requests.
> In fact, given our currently very limited programming resources, I feel we
> have way too many feature requests.
>
> The last time we voted, there were 40, which seems to me to be way too
> many. In the end, it makes it hard to vote, and many of the requests, IMO
> are unlikely to ever be implemented because they are desired only by one or
> two people, and they for many reasons (lack of skills, lack of time, ...)
> cannot contribute the patch.
The logic I see sugested here is that if a request is only supported by very 
few people, it is only realized if they can provide a patch - fair enough
>
> The last thing in the world I want to do is to "censure" any feature
> request, unless I think it is impossible to implement (then all you need to
> do is provide a algorithm).
Fine
> Nor do I want to discourage ideas or feature 
> requests, but in an effort to keep the projects list to a reasonable
> number, I propose the following new procedure for getting a feature request
> accepted into the projects file:
>
> 1. I think the feature request is really required or has some special
> merit.
>
> 2. There are at least six responses that vote for including the feature
> request.
>
> 3. The feature request is accompanied by a patch (it is always better to
> check whether the feature is likely to be accepted before spending any
> great time on patches).
This seems to mean that all three requirements should be fulfilled in order to 
accept a feature request - which contradicts the initial remarks and the 
consequense seems to be that only developer type of people can request 
something, since they are the ones that can provide patches.

So you must mean that only one of the three requirements must be fulfilled in 
order to accept a patch - right?

in that case it seems to me a good practical way to balance things.
>
> The above is actually how it is documented on the web site, but maybe not
> very clearly).
>
> If anyone has any problems with this new way of trying to deal with the
> large number of requests, please speak up now.
>
> On Tuesday 10 April 2007 21:29, Darien Hager wrote:
> > Item 1:   Allow Jobdefs to inherit from other Jobdefs
> >Origin: Darien Hager <[EMAIL PROTECTED]>
> >Date:   Date submitted (e.g. 28 October 2005)
> >Status: Initial Request
> >
> >What:   Allow JobDefs to inherit/modify settings from other JobDefs
> >
> >Why:Makes setting up jobs much easier for situations with many
> > clients doing similar work
> >
> >Notes:
> >
> > Example: User has several JobDefs which all need Messages=standard,
> > Type=Backup, and settings for "Rerun Failed Levels" and "Max * Time".
> > This feature would allow those "common" properties to be within a
> > single JobDef which each child JobDefs inherits from, before the
> > final Job definitions sets further specifics such as Client.
> >
> > Currently the documentation leaves open the possibility that this can
> > be done, but tests with Bacula 2.0.1 suggest that JobDefs entries
> > cannot themselves have a JobDefs property.
> >
> > Technical caveat: Should probably include rudimentary checks against
> > a cyclic relationship, such as a limit to the number of allowed layers.
> >
> > See also: "Job Groups or hierarchy" Feb 6 2007
> >
> >
> >
> > --
> > --Darien A. Hager
> > [EMAIL PROTECTED]
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Regards

Steen

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


Re: [Bacula-users] [Bacula-devel] Feature Request: Layered Jobdefs

2007-04-10 Thread Kern Sibbald
On Tuesday 10 April 2007 23:26, Arno Lehmann wrote:
> Hi,
> 
> On 4/10/2007 11:14 PM, Kern Sibbald wrote:
> > Although, I am really pleased at seeing lots of people using Bacula, and 
> > interest in improving it, we seem to be getting a lot of Feature Requests. 
> > In fact, given our currently very limited programming resources, I feel we 
> > have way too many feature requests. 
> 
> Unfortunately, I agree. I would prefer to find more developers :-)
> 
> ...
> > but in an effort to keep the projects list to a reasonable number, I 
propose 
> > the following new procedure for getting a feature request accepted into 
the 
> > projects file:
> > 
> > 1. I think the feature request is really required or has some special 
merit.
> 
> Not that I would want to limit your influence on the Bacula project - I 
> think that the achievements clearly show us what your work is worth - 
> but that sentence should be changed, I think:
> 
> A capable developer thinks the feature is really required or has some 
> special merit and is dedicated to work on it. (This moves this phrease 
> close to item 3, which is ok, IMO.)

Yes, of course, you are right. I guess, for me this was so implicit that I 
forgot to mention it explicitly :-).  

In fact, this is how more and more features are being implemented -- a 
developer takes an interest in it and starts working on it and either 
produces a patch or has direct SVN write access ...

> 
> > 2. There are at least six responses that vote for including the feature 
> > request.
> 
> If noone objects, I'll present the existing feature requests to the list 
> to see if they get their votes.
> 
> > 3. The feature request is accompanied by a patch (it is always better to 
check 
> > whether the feature is likely to be accepted before spending any great 
time on 
> > patches).
> > 
> > The above is actually how it is documented on the web site, but maybe not 
very 
> > clearly).  
> 
> But most of the time it doesn't work...
> 
> > If anyone has any problems with this new way of trying to deal with the 
large 
> > number of requests, please speak up now.
> 
> No serious objections. In fact, after I counted the votes I thought we 
> had too many feature requests open, too.
> 
> Arno
> 
> -- 
> IT-Service Lehmann[EMAIL PROTECTED]
> Arno Lehmann  http://www.its-lehmann.de
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
> 

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


Re: [Bacula-users] bacula-fd on Linux giving intermittent errors

2007-04-10 Thread Arno Lehmann
Hi,

On 4/9/2007 10:23 PM, Michael Proto wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Sorry I'm so late in replying back to this thread, I've had a number of
> long-running full backups running on my Bacula 2.0.3 server that I
> didn't want to touch until completed.

I know the feeling...

> Now that they are done I have some
> time to continue investigating this issue.
> 
> Arno Lehmann wrote:
>> Hi,
>>
>> On 4/3/2007 12:04 AM, Michael Proto wrote:
> ...
>> I built and packaged all the Bacula Linux clients myself (so they all
>> pull from the same set of config files for quick installation), and I
>> used the following compile-time flags when building them:
>>
>> --with-openssl --enable-client-only --enable-static-fd --enable-smartalloc
>>
>> I'm using the static-bacula-fd binary (instead of the bacula-fd binary)
>>
>>> Have you checked that the binary is really completely static? Lat time I 
>>> tried I could not create a static binary of the FD, the one I could come 
>>> up with was created under a really old linux/gcc/glibc combination, and 
>>> lacked ACL support.
>>> If your binary pulls in shared objects, version differences there might 
>>> be related to the problem.
>>> Of course, trying the heartbeat interval setting will be the most useful 
>>> first step. I'm can't prove that, but I have the impression that Bacula 
>>> reacts more sensitive to network problems recently. Might be because 
>>> it's more efficient, and so leaves the TCP connections idling longer, or 
>>> something...
> 
> Regarding static client binaries, when building the client with the
> "--enable-client-only --enable-static-fd" flags, 2 binaries were
> produced, bacula-fd and static-bacula-fd. Running file and ldd on the
> static binary do seem to indicate that it is compiled statically:
> 
> [EMAIL PROTECTED] ~]# file /sbin/static-bacula-fd
> /sbin/static-bacula-fd: ELF 32-bit LSB executable, Intel 80386, version
> 1 (SYSV), for GNU/Linux 2.2.0, statically linked, stripped

This looks good. Better than what I experienced.

> [EMAIL PROTECTED] ~]# ldd /sbin/static-bacula-fd
> not a dynamic executable
> 
> Even stranger, this error also occurs intermittently on the bacula-fd
> program running on my Bacula server, which was not compiled staticly.

Ok, so I think we can rule out a version mismatch between OS/kernel, 
system libraries, and user libraries.

> 
> On the network/heartbeat issue:
> The strange thing is, when I initiate a backup job against an affected
> client, it fails immediately, before sending much of anything to the SD
> with the "Fatal error: Socket error on Storage command: ERR=No data
> available" error. Could that really be related to heartbeat?

It does not sound like that.

> In any case, I've added the following to the bacula-sd.conf:
> 
>   Heartbeat Interval = 60
> 
> And I'll try adding the same interval to a few affected clients today
> and see if that helps.

Watch out when you are prompted for tape changes - I experienced some 
problems (not yet reported as a bug, but soon - hopefully).

> I'll also see if I can get a valid tcpdump of the client and server
> communications to see exactly what sorts of packets are being sent when
> this failure occurs.

Yep, that's I'd try, too, although this is tricky... you run tcpdump for 
days, produce tons of output, and no error occurs... and then, when the 
error occors, it's on another machine, your tcpdump crashed because the 
file system for the log ws full, or some i killed it because he 
thought it was a forgotten process :-)

If you get a usable dump, you've still got to read and understand it, 
which can be new challenge...

> Somewhat difficult, as the failure is intermittent
> at best but its happening on enough hosts that I might be able to get
> some valid data.

Good luck!

>> for maximum portability. They were built on a Debian Sarge host and then
>> packaged into appropriate distribution packages.
>>
>> On one of the often-affected hosts I now have the client started with
>> the following flags (out of /etc/inittab):
>>
>> /sbin/static-bacula-fd -fvc -d100 /etc/bacula/bacula-fd.conf
> /tmp/bacula-fd.out
>> When the client fails, I see the modification timestamp update on the
>> resultant /tmp/bacula-fd.out file, but its currently empty. Do I need to
>> redirect stderr to this file instead of stdout?
>>
>>> It wouldn't do any harm redirecting *both* :-)
>> Anyone have any ideas what might be causing these errors or how I can go
>> about debugging this unusual (and while not critical, still very
>> annoying) problem?
>>
>>> Check your system logs... I found some cases where Baculas components 
>>> were killed because the used more memory than was healthy... the DIR 
>>> mainly, but I have seen cases where I suspect the SD... no details 
>>> available, unfortunately.
>>> Arno
> 
> I haven't seen anything in the standard system logs on the client or
> server when the failure occurs, but I'll try the stderr redirect on 

Re: [Bacula-users] [Bacula-devel] Feature Request: Layered Jobdefs

2007-04-10 Thread Arno Lehmann
Hi,

On 4/10/2007 11:14 PM, Kern Sibbald wrote:
> Although, I am really pleased at seeing lots of people using Bacula, and 
> interest in improving it, we seem to be getting a lot of Feature Requests. 
> In fact, given our currently very limited programming resources, I feel we 
> have way too many feature requests. 

Unfortunately, I agree. I would prefer to find more developers :-)

...
> but in an effort to keep the projects list to a reasonable number, I propose 
> the following new procedure for getting a feature request accepted into the 
> projects file:
> 
> 1. I think the feature request is really required or has some special merit.

Not that I would want to limit your influence on the Bacula project - I 
think that the achievements clearly show us what your work is worth - 
but that sentence should be changed, I think:

A capable developer thinks the feature is really required or has some 
special merit and is dedicated to work on it. (This moves this phrease 
close to item 3, which is ok, IMO.)

> 2. There are at least six responses that vote for including the feature 
> request.

If noone objects, I'll present the existing feature requests to the list 
to see if they get their votes.

> 3. The feature request is accompanied by a patch (it is always better to 
> check 
> whether the feature is likely to be accepted before spending any great time 
> on 
> patches).
> 
> The above is actually how it is documented on the web site, but maybe not 
> very 
> clearly).  

But most of the time it doesn't work...

> If anyone has any problems with this new way of trying to deal with the large 
> number of requests, please speak up now.

No serious objections. In fact, after I counted the votes I thought we 
had too many feature requests open, too.

Arno

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

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


Re: [Bacula-users] Feature Request: Layered Jobdefs

2007-04-10 Thread Kern Sibbald
Although, I am really pleased at seeing lots of people using Bacula, and 
interest in improving it, we seem to be getting a lot of Feature Requests. 
In fact, given our currently very limited programming resources, I feel we 
have way too many feature requests. 

The last time we voted, there were 40, which seems to me to be way too many.  
In the end, it makes it hard to vote, and many of the requests, IMO are 
unlikely to ever be implemented because they are desired only by one or two 
people, and they for many reasons (lack of skills, lack of time, ...) cannot 
contribute the patch.

The last thing in the world I want to do is to "censure" any feature request, 
unless I think it is impossible to implement (then all you need to do is 
provide a algorithm).  Nor do I want to discourage ideas or feature requests, 
but in an effort to keep the projects list to a reasonable number, I propose 
the following new procedure for getting a feature request accepted into the 
projects file:

1. I think the feature request is really required or has some special merit.

2. There are at least six responses that vote for including the feature 
request.

3. The feature request is accompanied by a patch (it is always better to check 
whether the feature is likely to be accepted before spending any great time on 
patches).

The above is actually how it is documented on the web site, but maybe not very 
clearly).  

If anyone has any problems with this new way of trying to deal with the large 
number of requests, please speak up now.



On Tuesday 10 April 2007 21:29, Darien Hager wrote:
> Item 1:   Allow Jobdefs to inherit from other Jobdefs
>Origin: Darien Hager <[EMAIL PROTECTED]>
>Date:   Date submitted (e.g. 28 October 2005)
>Status: Initial Request
> 
>What:   Allow JobDefs to inherit/modify settings from other JobDefs
> 
>Why:Makes setting up jobs much easier for situations with many  
> clients doing similar work
> 
>Notes:
> 
> Example: User has several JobDefs which all need Messages=standard,  
> Type=Backup, and settings for "Rerun Failed Levels" and "Max * Time".  
> This feature would allow those "common" properties to be within a  
> single JobDef which each child JobDefs inherits from, before the  
> final Job definitions sets further specifics such as Client.
> 
> Currently the documentation leaves open the possibility that this can  
> be done, but tests with Bacula 2.0.1 suggest that JobDefs entries  
> cannot themselves have a JobDefs property.
> 
> Technical caveat: Should probably include rudimentary checks against  
> a cyclic relationship, such as a limit to the number of allowed layers.
> 
> See also: "Job Groups or hierarchy" Feb 6 2007
> 
> 
> 
> --
> --Darien A. Hager
> [EMAIL PROTECTED]
> 
> 
> 
> 

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


Re: [Bacula-users] Why did bacula mark a volume as used (voluseduration)?

2007-04-10 Thread Arno Lehmann
Hi,

On 4/10/2007 8:58 PM, Ralf Gross wrote:
> Me wrote:
>> [snip]
>> Job #1:
>>
>> 08-Apr 00:05 VU0EM005: BeforeJob: run command "/usr/bin/ssh [snip]"
>> 08-Apr 00:07 VU0EM005: Start Backup JobId 121, 
>> Job=SMTCZB0003.2007-04-08_00.05.00
>> 08-Apr 00:08 VU0EM005: 3307 Issuing autochanger "unload slot 4, drive 0" 
>> command.
>> 08-Apr 00:09 VU0EM005: 3304 Issuing autochanger "load slot 5, drive 0" 
>> command.
>> 08-Apr 00:10 VU0EM005: 3305 Autochanger "load slot 5, drive 0", status is OK.
>> 08-Apr 00:10 VU0EM005: 3301 Issuing autochanger "loaded? drive 0" command.
>> 08-Apr 00:10 VU0EM005: 3302 Autochanger "loaded? drive 0", result is Slot 5.
>> 08-Apr 00:10 VU0EM005: Recycled volume "06D124L3" on device "LTO3" 
>> (/dev/nst0), all previous data lost.
>>
>> That's fine, I expected volume 06D124L3 to be overwritten at this time.
>>
>> 08-Apr 00:10 VU0EM005: Max configured use duration exceeded. Marking Volume 
>> "06D124L3" as Used.
>>
>> But I don't know what happend at this point. Why does bacula mark volume
>> 06D124L3 as used right after the job started. The configured duration time
>> is 4 days, I checked this.
>>
>> 08-Apr 00:10 VU0EM005: Spooling data ...
>> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
>> /var/lib/nfs/rpc_pipefs
>> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /dev
>> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /sys
>> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /boot
>> 08-Apr 00:12 VU0EM005: Job write elapsed time = 00:02:23, Transfer rate = 
>> 6.766 M bytes/second
>> 08-Apr 00:12 VU0EM005: Committing spooled data to Volume "06D124L3". 
>> Despooling 968,636,754 bytes ...
>> 08-Apr 00:12 VU0EM005: Despooling elapsed time = 00:00:07, Transfer rate = 
>> 138.3 M bytes/second
>> 08-Apr 00:12 VU0EM005: Sending spooled attrs to the Director. Despooling 
>> 1,543,784 bytes ...
>> 08-Apr 00:12 VU0EM005: AfterJob: run command "/usr/bin/ssh [snip]"
> [snip]
> 
> Nobody?

Looks like that...

> I'm a bit lost,

So am I. I checked your probelm description, and I don't see anything 
obvious. I didn't expect anything simple, to be fair :-)

The one thing I would do in your situation is - observe things. If this 
repeats, I would try to get catalog data whenever a job starts, perhaps 
even a dump of the Media table or something... just so you have some 
data to look at. After the error has occured, it's likely Bacula 
modified the catalog entries.

> my old bacula install worked as expected with
> a similar config, so I don't think that I configured bacula-dir wrong.
> This new install worked for the last 3 months, other volumes were
> recycled and reused as expected.
> 
> What could lead to a volume that is recycled and then marked as used
> just a couple of seconds afterwards? I double checked, the volume use
> duration of this volume is set to 4 days.

Ok, double-checking is always valuable :-) I found the message "Max 
configured..." only once in the source, so it's safe to assume the 
message is not used out of context.

A look at the source dosn't reveal anything extraordinary, at east to 
me. Unless you asume that the catalog data and the current system time 
might be messed up... is your system time correct, does your catalog 
know about the time zone, and whatever esle might be important?

Arno


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

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

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


[Bacula-users] Feature Request: Per-Client priorities

2007-04-10 Thread Darien Hager

Item 1:   Allow per-client job priority ordering
  Origin: Darien Hager <[EMAIL PROTECTED]>
  Date:   Date submitted (e.g. 28 October 2005)
  Status: Initial Request

  What:

Allow an optional per-client priority setting which is applied AFTER  
the current priority scheduling algorithm.


Applies only within the group of waiting jobs (ergo with the same  
global priority) that are also associated with the same Client. The  
higher priority (lower priority number) job will always be run first.  
Applying it only after the global priorities should make  
implementation easier.


  Why:Like the current global priority, allows ordering of jobs  
to be preserved for clients.  Unlike the current system, allows other  
clients to proceed independently of one another so that a single  
client will not hold up others.


  Notes:

Example:

Two clients (1 and 2), with two jobs per client, referred to as job  
types A and B. Under the current system, you can set A's at priority  
10 and B's at priority 11, and have A scheduled to run 10 minutes  
before B. This completes the given requirement that A should always  
precede B on either client, perhaps because they have a run-script  
dependency or significant relative importance.


Let's call the client/job combinations 1A, 1B, 2A, 2B, and assume  
that due to differences between the clients, the times taken for each  
job vary, perhaps one client has more of one kind of files than the  
other does, etc. Job times required:


1A: 30 minutes
1B: 10 Minutes
2A: 10 minutes
2B: 30 minutes

Under the current system, all clients will be done in 60 minutes,  
since all A jobs are one block, and all B jobs are a separate block,  
and each block must take as long as it's longest job.


With per-client priorities (and all four jobs under the same global  
priority level) all clients complete within half the time at 30  
minutes, due to removing unnecessary idle time.



--
--Darien A. Hager
[EMAIL PROTECTED]



 
-

Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your

opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? 
page=join.php&p=sourceforge&CID=DEVDEV__ 
_

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


Re: [Bacula-users] [Hint] corrupt ext3 filesystem forces giant job (_no_ problem)

2007-04-10 Thread Arno Lehmann
Hi,

On 4/10/2007 3:16 PM, Robert Wirth wrote:
> Hi!
> 
> FYIO: (Still) running bacula 1.38.11, I've found an interesting effect
> last night.
...
> The cause is simple:  there was an error in the ext3 filesystem.  There
> was an inode claimed to be some TB big.   fsck recognized that when I 
> search for the cause.  But bacula-fd can't, obviously. ...

The FD would need more artificial intelligence for that - wa wait for 
your patch ;-)

  > Fortunately, the virtual mega-file consisted of only few different bytes
> (or of one byte only).  Thus, the hardware compression of my tape drive 
> filled that 1.2 TB in short tape space.

Don't tell that, otherwise Sony will soon claim 1000:1 data compression 
in their spec sheets...

Arno

> Best,
> 
>   Robert
> 
> --
> ++ Deutsches Forschungszentrum fuer Kuenstliche Intelligenz ++
  
German Research Centre for artificial intelligence

> --
> Dipl.Inf. Robert Wirth,Stuhlsatzenhausweg 3,66123 Saarbruecken
> @office: +49-681-302-5078 oder -5572 ++ @fax: +49-681-302-5020
> mailto:[EMAIL PROTECTED]  http://www.dfki.de/~wirth
> --
> Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
> - Firmensitz Trippstadter Strasse 122, D-67663 Kaiserslautern
> 
> Geschaeftsfuehrung:
> - Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
> - Dr. Walter Olthoff
> 
> Vorsitzender des Aufsichtsrats:
> - Prof. Dr. h.c. Hans A. Aukes
> 
> Amtsgericht Kaiserslautern, HRB 2313
> --
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

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

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


[Bacula-users] Feature Request: Layered Jobdefs

2007-04-10 Thread Darien Hager

Item 1:   Allow Jobdefs to inherit from other Jobdefs
  Origin: Darien Hager <[EMAIL PROTECTED]>
  Date:   Date submitted (e.g. 28 October 2005)
  Status: Initial Request

  What:   Allow JobDefs to inherit/modify settings from other JobDefs

  Why:Makes setting up jobs much easier for situations with many  
clients doing similar work


  Notes:

Example: User has several JobDefs which all need Messages=standard,  
Type=Backup, and settings for "Rerun Failed Levels" and "Max * Time".  
This feature would allow those "common" properties to be within a  
single JobDef which each child JobDefs inherits from, before the  
final Job definitions sets further specifics such as Client.


Currently the documentation leaves open the possibility that this can  
be done, but tests with Bacula 2.0.1 suggest that JobDefs entries  
cannot themselves have a JobDefs property.


Technical caveat: Should probably include rudimentary checks against  
a cyclic relationship, such as a limit to the number of allowed layers.


See also: "Job Groups or hierarchy" Feb 6 2007



--
--Darien A. Hager
[EMAIL PROTECTED]



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


Re: [Bacula-users] Why did bacula mark a volume as used (voluseduration)?

2007-04-10 Thread Ralf Gross
Me wrote:
>[snip]
> Job #1:
> 
> 08-Apr 00:05 VU0EM005: BeforeJob: run command "/usr/bin/ssh [snip]"
> 08-Apr 00:07 VU0EM005: Start Backup JobId 121, 
> Job=SMTCZB0003.2007-04-08_00.05.00
> 08-Apr 00:08 VU0EM005: 3307 Issuing autochanger "unload slot 4, drive 0" 
> command.
> 08-Apr 00:09 VU0EM005: 3304 Issuing autochanger "load slot 5, drive 0" 
> command.
> 08-Apr 00:10 VU0EM005: 3305 Autochanger "load slot 5, drive 0", status is OK.
> 08-Apr 00:10 VU0EM005: 3301 Issuing autochanger "loaded? drive 0" command.
> 08-Apr 00:10 VU0EM005: 3302 Autochanger "loaded? drive 0", result is Slot 5.
> 08-Apr 00:10 VU0EM005: Recycled volume "06D124L3" on device "LTO3" 
> (/dev/nst0), all previous data lost.
> 
> That's fine, I expected volume 06D124L3 to be overwritten at this time.
> 
> 08-Apr 00:10 VU0EM005: Max configured use duration exceeded. Marking Volume 
> "06D124L3" as Used.
> 
> But I don't know what happend at this point. Why does bacula mark volume
> 06D124L3 as used right after the job started. The configured duration time
> is 4 days, I checked this.
> 
> 08-Apr 00:10 VU0EM005: Spooling data ...
> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
> /var/lib/nfs/rpc_pipefs
> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /dev
> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /sys
> SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /boot
> 08-Apr 00:12 VU0EM005: Job write elapsed time = 00:02:23, Transfer rate = 
> 6.766 M bytes/second
> 08-Apr 00:12 VU0EM005: Committing spooled data to Volume "06D124L3". 
> Despooling 968,636,754 bytes ...
> 08-Apr 00:12 VU0EM005: Despooling elapsed time = 00:00:07, Transfer rate = 
> 138.3 M bytes/second
> 08-Apr 00:12 VU0EM005: Sending spooled attrs to the Director. Despooling 
> 1,543,784 bytes ...
> 08-Apr 00:12 VU0EM005: AfterJob: run command "/usr/bin/ssh [snip]"
[snip]

Nobody? I'm a bit lost, my old bacula install worked as expected with
a similar config, so I don't think that I configured bacula-dir wrong.
This new install worked for the last 3 months, other volumes were
recycled and reused as expected.

What could lead to a volume that is recycled and then marked as used
just a couple of seconds afterwards? I double checked, the volume use
duration of this volume is set to 4 days.

Ralf

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


Re: [Bacula-users] Wanted: Install with NO dir, just FD and SD.

2007-04-10 Thread Thomas Glatthor
Hi,

i had the same problem on a solaris-machine which should act as a sd and also 
have a fd installed.
i tried the same: --enable-client-only --build-sd  none works

the solution was --enable-client-only to build the fd and then

cd ./src/stored
make 

make ends with an error because something was required but make don't know how 
to compile the required things,
the error-message points to some other directory (./src/cats ? i don't remember)

"cd ../cats" and "make"

return to "cd ../stored" and "make" build the sd.

cp ./bacula-sd /sbin/

thats was all.



regards

thomas


Flak Magnet schrieb:
> MainServer's current config:
> Solaris 8, Bacula 2.0.2 w/ SD FD and DIR, MySQL, Quantum SL3
> 
> New Server's intended config:
> Solaris 8, Bacula 2.0.2 w/ SD FD no DIR, Qualstar TLS4210
> 
> I'm expanding my organization's use of Bacula.  A newly confuggered
> server (using old, repurposed hardware) is going into a different
> facility that's connected to our LAN than my "main" bacula installation.
>  It has a tape drive attached, so it needs the SD, it's going to be
> backing up it's own data, so it needs the FD.  But I'm going to direct
> it using the director on my main server, so I don't need the DIR nor a
> database for the DIR to use.
> 
> Using the "--enable-client-only" option on the configure script doesn't
> work, because it only builds the FD.
> 
> So what do I do?
> 
> I have tried combinations of
> "--enable-client-only" and "--enable-build-stored" along with
> "--disable-build-dird"
> 
> I'm hoping to avoid having to install mysql on the new installation.
> 
> Am I missing something somewhere?  Seems like this ought to be pretty
> straightforward.
> 
> Thanks in advance,
> 
> --Tim

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

-- 
IC3S Information, Computer und Solartechnik AG
Baekerbarg 6, 22889 Tangstedt, Germany

Telefon+49.4109.555.121
Telefax+49.4109.555.57
E-Mail [EMAIL PROTECTED]
Webhttp://www.ic3s.de/

Vorstand: Jan Behrmann (Vorsitzender), Stefan Fehlauer
Aufsichtsrat: Sven Niklasson (Vorsitzender)
Dresdner Bank (200 800 00), Kto. 0123 9582 00
Commerzbank (200 400 00), Kto. 8540 288
Amtsgericht Kiel HRB 7590
UST.IdNr. DE184532766

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


[Bacula-users] auth error

2007-04-10 Thread RYAN M. vAN GINNEKEN

Ok folks i am at my wits end here have been struggling with this for a couple 
of days now it used to work but i made a few minor changes to the conf files 
and now bacula is broken. 

Is there any known bugs with this version of bacula would upgrading fix my 
problem. I basically copied my conf files from another server i cannot for the 
life of me see anything wrong with them. 

Please help It must be a minor typo or something but i cannot for the life of 
me see it. HELP 

Here is the relevant bits of my bacula-sd.conf 

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

# 
# List Directors who are permitted to contact Storage daemon 
# 
Director { 
Name = hendrick-dir 
Password = "c0mputerking-st0rage" 
# Password = "c0mputerking-m0nit0r" 
} 

# 
# Restricted Director, used by tray-monitor to get the 
# status of the storage daemon 
# 
Director { 
Name = hendrick-mon 
Password = "c0mputerking-m0nit0r" 
Monitor = yes 
} 

# 
# Devices supported by this Storage daemon 
# To connect, the Director's bacula-dir.conf must have the 
# same Name and MediaType. 
# 

Device { 
Name = FileStorage 
Media Type = File 
Archive Device = /space/bacula 
LabelMedia = yes; # lets Bacula label unlabeled media 
Random Access = Yes; 
AutomaticMount = yes; # when device opened, read it 
RemovableMedia = no; 
AlwaysOpen = no; 
} 

here are the good bits of my bacula-dir.conf 
--- 
as you can see i have tried several address none seem to work 

Storage { 
Name = hendrick-sd 
# Address = 127.0.0.1 # N.B. Use a fully qualified name here 
# Address = 192.168.0.24 # be very careful here 
# Address = 209.115.169.135 
Address = webmail.hendrick.ca 
SDPort = 9103 
Password = "c0mputerking-st0rage" 
Device = FileStorage 
Media Type = File 
} 

I always get this when trying to connect 

Connecting to Storage daemon hendrick-sd at webmail.hendrick.ca:9103 

Failed to connect to Storage daemon hendrick-sd. 
 
You have messages. 
*au on 
09- Apr 20 :58 hendrick-dir: *Console*.2007-04-09_20.58.17 Fatal error: 
authenticate.c:92 Unable to authenticate with Storage daemon. Possible causes: 
Passwords or names not the same or 
Maximum Concurrent Jobs exceeded on the SD or 
SD networking messed up (restart daemon). 
Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for 
help. 

I can ping the host, and everything is local so iptables should not be a 
problem 

webmail:/etc/bacula# ping webmail.hendrick.ca 
PING webmail.hendrick.ca (209.115.169.132): 56 data bytes 
64 bytes from 209.115.169.132: icmp_seq=0 ttl=64 time=0.0 ms 

ps here are the version #'s it is old but it is what i get when i do an apt-get 
install bacula. This box is Debian something i did not set it up or know alot 
about debian but this all a uname -a gives me 

webmail:/etc/bacula# uname -a 
Linux webmail 2.6.20 #3 SMP Fri Mar 30 16:15:10 MST 2007 i686 GNU/Linux 

Bacula 
*version 
hendrick-dir Version: 1.36.2 ( 28 February 2005 ) 

ps i get the comparable errors when it try to stat fd too.. 

*au on 
09- Apr 21 :05 hendrick-dir: *Console*.2007-04-09_21.04.29 Fatal error: Unable 
to authenticate with File daemon. Possible causes: 
Passwords or names not the same or 
Maximum Concurrent Jobs exceeded on the FD or 
FD networking messed up (restart daemon). 
Please see http://www.bacula.org/html-manual/faq.html#AuthorizationErrors for 
help. 


-- 
Computer King & CaN Mail - Sales Service Hosting Backup 

http://www.computerking.ca http://www.canmail.org 

NEW!!! Custom Service Packages 
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages 


-- 
Computer King & CaN Mail - Sales Service Hosting Backup 

http://www.computerking.ca http://www.canmail.org 

NEW!!! Custom Service Packages 
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages 

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


Re: [Bacula-users] notify by job

2007-04-10 Thread Jonas Björklund
Hello,

On Tue, 10 Apr 2007, [EMAIL PROTECTED] wrote:

 > I have one box backing up for two different schools. I would like to send
 > the admin of each school a notification, and status info when jobs
 > specific to them are completed. I looked through the faq, and have done
 > some experimenting, but have not found a clear answer.

Use a different message resource on each job.

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


[Bacula-users] notify by job

2007-04-10 Thread admin
I have one box backing up for two different schools. I would like to send
the admin of each school a notification, and status info when jobs
specific to them are completed. I looked through the faq, and have done
some experimenting, but have not found a clear answer.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


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


[Bacula-users] Wanted: Install with NO dir, just FD and SD.

2007-04-10 Thread Flak Magnet
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

MainServer's current config:
Solaris 8, Bacula 2.0.2 w/ SD FD and DIR, MySQL, Quantum SL3

New Server's intended config:
Solaris 8, Bacula 2.0.2 w/ SD FD no DIR, Qualstar TLS4210

I'm expanding my organization's use of Bacula.  A newly confuggered
server (using old, repurposed hardware) is going into a different
facility that's connected to our LAN than my "main" bacula installation.
 It has a tape drive attached, so it needs the SD, it's going to be
backing up it's own data, so it needs the FD.  But I'm going to direct
it using the director on my main server, so I don't need the DIR nor a
database for the DIR to use.

Using the "--enable-client-only" option on the configure script doesn't
work, because it only builds the FD.

So what do I do?

I have tried combinations of
"--enable-client-only" and "--enable-build-stored" along with
"--disable-build-dird"

I'm hoping to avoid having to install mysql on the new installation.

Am I missing something somewhere?  Seems like this ought to be pretty
straightforward.

Thanks in advance,

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

iD8DBQFGG79/uJ1sGp/87UwRAorGAJ9MtsiFFHeEWIDQzY1Rcq/vrgTuxgCfeZEt
G+vL1QwDZH/1rJTvZA9KqkY=
=ccbK
-END PGP SIGNATURE-

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


Re: [Bacula-users] bweb "database size" field is "???"

2007-04-10 Thread Eric Bollengier
Hi,

> i already hit some to the apparently more common errors -
> ( no ttf font set, no joblog-into-database setting ) and fixed these;
> now i'm left with one i really don't know where to fix. at the bweb
> status page there
> is a field called database size, which unfortunately only shows three
> question marks
> instead of a value.
> does this field normaly work?

This field is working with the latest svn (or debian) version of bweb with
mysql 5 and postgresql.

> also, out of curiosity, will the job file lists be supported with a
> mysql database in the
> near future? Otherwise I'd probably switch over to PostgreSQL, as this
> is a far to nice feature to miss it.

This is not in bweb at this time, this list can be very very long... this
is not easy to display.

>
> And last, is someone working on bweb documentation / translation so far?

We have a french and a spanish translation, to get a german version, just copy
the default tpl files to a "german" directory and translate them :)

Thanks

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


[Bacula-users] define a variable in a conf file

2007-04-10 Thread Brian Debelius
Can I?  How?

I am really getting tired of handling strings like "C:\Documents and 
Settings\All Users\Bacula\whatever" in windows.  Is that a way to set a 
variable in a conf file like path="C:\Documents and Settings\All 
Users\Bacula\whatever"

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Maciej Piechotka
I know - but it's a little too late know. I hope I nearly solved the problem.

Thank you very much.

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Kern Sibbald
On Tuesday 10 April 2007 16:29, Joseph S. Rizzari wrote:
> Maciej Piechotka wrote:
> > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> >> On Tuesday 10 April 2007, Maciej Piechotka wrote:
> >>> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
>  On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> >> On Tuesday 10 April 2007, Maciej Piechotka wrote:
> >>> On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
>  On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > On Monday 09 April 2007, Maciej Piechotka wrote:
> >> I backup C:\Document & Settings by bacula. After some time I
>  format
> >> Windows partition by accident. I reinstall Windows and I've
> >> tried
>  to
> >> recover buckup.
> >> 1. It produce a lot of errors "warning: Permission of xyz was
> >> not
> >> changed because file do not exist" or something like that.
> >> What's
> >> wrong? Everything except this is OK.
> >> 2. Few profiles restored are partially ok - everything in it
> >> seems
>  ok
> >> but windows creates new profile (in form USERNAME.HOSTNAME).
>  What's
> >> going on?
> >>
> >> Regards
> > About 2.
> >
> > If Windows detects user's folder that is not created by Windows
>  itself
> >> (e.g.
> > some ID is wrong somewhere), it creates another folder in
> > form "username.domain" or smth. If you want your user's folder
> >> to be
>  in
> >> form
> > of "username", I suggest you rename the restored folder into
> >> smth
> > like "username.bak", let Windows create appropriate folder and
> >> then
>  copy
> >> all
> > the restored files-folders into the new folder.
> >
> > Silver
> >
> 
> Not sure if this will help the situation, but when I back up Windows 
> systems using Bacula I also backup the system state by using the `client 
> run before job' command in bacula-dir.conf.
> 
> Mine is formatted as follows in bacula-dir.conf:
> 
> Client Run Before Job =
> "\"c:/Program Files/bacula/bin/systemstate.bat\""
> 
> All in one line of course.  On the client machine I have a bat file 
> which says:
> 
> start /wait ntbackup backup systemstate /F c:\systemstate.bkf
> exit 0
> 
> When I do a complete restore, I log in as Administrator and then use 
> ntbackup to restore the system state as it was.  Afterwards I can log in 
> using the user account (no USERNAME.DOMAIN folders are created) and it 
> was exactly as it was before.  I never have to mess with any permissions 
> at all.  Hope that helps.

This procedure or at least something very close is described in the Rescue 
chapter of the manual.  The Win32 chapter of the manual also mentions it.

> 
>  Thanks - it works.However the desktop background do not work, but
> >> it's
>  not a big problem.
>  I wish I come back to unix-based system as soon as possible...
> 
>  Thank you
> 
> >>> Sorry - the interface settings are completly forgotten after each
>  logout. .
> >> Well, I guess you still have to overlook the restored folder's access
> >> permissions - change the owner of the folder and apply it recursively
> >> etc.
> > Yes - of course - but Windows not connected to domain have not such
> > possibility (according to microsoft.com)> I'll try to phone to MS
> > Support but I'd be most grateful if you find something.
> >
> > Regards
>  What do you mean? If you check for folder's security, you can 
add/remove
> >> local
>  users there for every kind of access permissions. I'm just checking
> >> Windows
>  2000 and there's option: Security -> Advanced -> Owner -> Replace owner 
on
>  subcontainers and objects. I would try playing with it :)
> 
>  Silver
> 
> >>> In XP only if it's attached to domain. I found dos command - but the
> >>> result is still the same.
> >> Have you disabled "simple file sharing" from folder options? Also, I hope
> >> you're not using FAT32 ;)
> >>
> > 
> > Thanks. However to few files even super users have no access...
> > The UID's changed after reinstallation of Windows and few users who do
> > not exist have full controll over them.
> > 
> >> PS. why don't you reply to the list also?
> >>
> > 
> > I click on Reply instead of Reply to all
> > 
> > -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share 
your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > htt

Re: [Bacula-users] Building bacula on OpenBSD

2007-04-10 Thread Kern Sibbald
On Tuesday 10 April 2007 15:52, Brian A. Seklecki wrote:
> It looks like some significant improvements have been made to st(4):
> 
> http://www.openbsd.org/plus41.html
> 
> "Make the st(4) SCSI Tape midlayer return values when receiving a
> MTIOCGET ioctl, allows things like Bacula to work much"

Nice.

> 
> http://www.openbsd.org/cgi-bin/cvsweb/src/sys/scsi/st.c
> 
> Thank you for all who contributed to that.  Should we return attention
> to getting a comprehensive Bacula port committed?

Normally, there should be nothing to do other than build Bacula on OpenBSD. 
Now that MTIOCGET has mt_blkno and mt_fileno defined there should be no major 
obstacles. 

Then try running btape.

> 
> ~BAS
> 
> On Fri, 2006-12-22 at 19:09 +0100, Kern Sibbald wrote:
> > On Sunday 17 December 2006 18:45, Kenneth Westerback wrote:
> > > Thanks for bringing this discussion to my attention Russell. If someone
> > > can point me at the standard or other justification a 'Unix' system
> > > requiring mt_blkno and mt_fileno in the mtget structure I'd be more than
> > > happy to put them back. I would be even happier if someone could direct
> > > me to a discussion on what the mandated or recommended action is for
> > > these fields when the OS cannot supply any meaningful information. I
> > > note that HPUX seems to always put -1 in them.
> > 
> > Well, the best justification for a Unix standard would be Posix, but 
> > unfortunately Posix (at least my somewhat old Posix book) does not talk 
about 
> > tape operations.
> > 
> > However, FreeBSD, Linux, and Solaris all support MTIOCGET with the 
mt_fileno 
> > and mt_blkno fields in the packet.  On some OS the values returned may not 
be 
> > valid, or may not be valid under certain circumstances (e.g. backspace 
record 
> > or backspace file or space to end of medium).  Bacula's tape driver 
> > references both mt_fileno and mt_blkno and thus if they do not exist, the 
> > Storage daemon (tape driver part will not compile).  However, the user can 
> > configure his Bacula driver (in bacula-sd.conf) to essentially not do or 
> > ignore the values returned from MTIOCGET.  Doing so makes tape operations 
> > painfully slow because Bacula must simulate what the kernel SCSI driver 
can 
> > do much more efficiently.
> > 
> > Setting mt_fileno and mt_blkno to -1 indicates to any tape I/O aware 
program 
> > such as Bacula that the value is unknown to the SCSI driver, and the 
program 
> > must take appropriate action ...  as a consequence, I would see no great 
harm 
> > in defining those fields and always returning -1 in them.  Doing so, would 
> > probably also permit additional Open Source to compile and run on OpenBSD 
> > without specific OpenBSD #ifdefing.  
> > 
> > Whatever the case may be, the Bacula tape driver already has a lot of 
> > #ifdefing in it to adapt to different systems, so I wouldn't be very 
inclined 
> > to #ifdef it so that it does not reference mt_fileno and mt_blkno unless 
> > there were several systems that needed such a change.
> > 
> > > 
> > >  Ken
> > > 
> > > Kenneth R Westerback
> > > Technology Architect, Corporate Resources
> > > 
> > > St. Michael's Hospital
> > > 30 Bond Street
> > > Toronto, Ontario
> > > M5B 1W8
> > > 
> > > Office: 416-864-5981
> > > 
> > > e-Mail: [EMAIL PROTECTED] 
> > > www.stmichaelshospital.com 
> > > 
> > > This message may contain privileged and confidential information and is
> > > intended solely for the use of the intended recipient. If you are
> > > neither the intended recipient nor the employee or agent responsible for
> > > delivering this communication to the intended recipient, you are hereby
> > > notified that any disclosure, copying or distribution of, or the taking
> > > of any action in reliance on the contents of this communication is
> > > strictly prohibited. If you have received this communication in error,
> > > please notify us immediately by e-Mail at [EMAIL PROTECTED]
> > > or telephone at 416-864-5981. Thank you.
> > > >>> "Russell Sutherland" <[EMAIL PROTECTED]> 12/16/06 9:38 AM >>>
> > > Here's a note that I received from Ken Westerback, some weeks ago
> > > and his take on why these two variables were removed
> > > from the include file:
> > > 
> > > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/mtio.h
> > > 
> > > It would appear I removed them since they are not implemented, as of
> > > r1.7. I think leaving them in but unimplemented is just misleading.
> > > Software  that does not function in the absence of this information will
> > > be more readily identified if it can't compile. :-).
> > > 
> > > I guess you can add them back to get the compile working, or patch
> > > bacula to not touch them. If you have some strong reasons for adding
> > > them back to the standard system I'm willing to listen.
> > > 
> > >  Ken
> > > 
> > > 
> > > Kenneth R Westerback
> > > Technology Architect, Corporate Resources
> > > 
> > > St. Michael's Hospital
> > > 30 Bond Street
> > > Toronto, Ontar

Re: [Bacula-users] Should tapes drives on windows work?

2007-04-10 Thread Gordon McLellan
Rex,

If your tape drive lives on the same machine as the director, you can
use the "RunsOnClient=No" directive to make the script run on the
director, which will then run it against the tape drive.

That was the problem I had trying to run scripts which accessed the
tape drive, for some reason, the client won't run scripts that access
the tape drive.  My script is for scheduled ejection and injection of
tapes.  Added the runson bit and now it works like a charm.

Gordon


On 3/28/07, Rex Wheeler <[EMAIL PROTECTED]> wrote:
> I am using a stand alone drive and not a changer. Is there a directive
> that I can use to cause bacula to execute a script prior to the mount?
>
> I see that there is a "Mount Command" directive, but it does not seem to
> be called for my jobs. I am not sure if it will get called for Tape
> devices.
>
> I tried the following:
>
> Device {
>   Name = DLT-7000
>   Media Type = DLT
>   Device Type = Tape
>   Archive Device = Tape0
>   AutomaticMount = yes
>   AlwaysOpen = yes
>   RemovableMedia = yes
>   RandomAccess = no
>   Mount Command = "init_dlt %a"
> }
>
> My init_dlt.cmd file is in the same directory as the mtx-changer.cmd
> file and contains:
>
> @echo off
> SET MT="C:\Program Files\Bacula\bin\mt.exe"
> %MT% -f %1 setblk 0
> %MT% -f %1 compression 1
>
> When I run a job, my init_dlt script does not get called. My script
> works if I just run it (I can tell because when I run it, the
> compression indicator lights up on the tape drive.) Any suggestions?
>
> Thanks,
>
> Rex
>
> > -Original Message-
> > From: Brian Debelius [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, March 27, 2007 9:49 AM
> > To: Rex Wheeler
> > Cc: bacula-users@lists.sourceforge.net
> > Subject: Re: [Bacula-users] Should tapes drives on windows work?
> >
> >  From an earlier post this week...
> >
> > Great!
> >
> > Now you have to modify the mtx-changer.cmd script.  This will make
> sure
> > that the drives are set corectly across reboots.
> >
> > :cmdLoad
> >CALL :debug "Doing mtx -f %ctl% load %slot% %drive%"
> >%MTX% -f %ctl% load %slot% %drive%
> >SET rtn=%ERRORLEVEL%
> >IF ERRORLEVEL 1 GOTO :cmdExit
> >CALL :wait_for_drive %device%
> >REM Force block size to 0 for variable   #add this
> >%MT% -f %device% setblk 0#add this
> >GOTO :cmdExit
> >
> >
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>

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


[Bacula-users] Can't connect to director (Windows)

2007-04-10 Thread Facundo Casco
Hello, I'm trying to use Bacula on Windows 2000 but after install I
can't connect to the director.
Can somebody help me out with this?
Tnx.

Facundo
begin:vcard
fn:Facundo Casco
n:Casco;Facundo
org:AMV Multiviajes Argentina S.R.L.
adr:Piso 1 Oficina 'C';;San Martin 955;Buenos Aires;CF;C1004AAS;Argentina
email;internet:[EMAIL PROTECTED]
tel;work:+54 11 5031-3060 / 3061
tel;fax:+54 11 4312-0285
url:http://www.multiviajesar.com.ar
version:2.1
end:vcard

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


Re: [Bacula-users] Should tapes drives on windows work?

2007-04-10 Thread Jeff Dickens
So what was the last word on this ?  I'm just digging in to the same 
issues, with a standalone scsi dlt drive on a windows sd.


Rex Wheeler wrote:

Thanks for the suggestion, but I already tried that. Btape does
successfully open the tape drive (it won't if bacula-sd is running.)

  

-Original Message-
From: Robert Nelson [mailto:[EMAIL PROTECTED]
Sent: Monday, March 26, 2007 9:05 PM
To: Rex Wheeler; bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] Should tapes drives on windows work?

Make sure the storage daemon isn't running when you run btape.

net stop bacula-sd

Once you are finished you can start the storage daemon with

Net start bacula-sd




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


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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Joseph S. Rizzari
Maciej Piechotka wrote:
> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
>> On Tuesday 10 April 2007, Maciej Piechotka wrote:
>>> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
 On Tuesday 10 April 2007, Maciej Piechotka wrote:
> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
>> On Tuesday 10 April 2007, Maciej Piechotka wrote:
>>> On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
 On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> On Monday 09 April 2007, Maciej Piechotka wrote:
>> I backup C:\Document & Settings by bacula. After some time I
 format
>> Windows partition by accident. I reinstall Windows and I've
>> tried
 to
>> recover buckup.
>> 1. It produce a lot of errors "warning: Permission of xyz was
>> not
>> changed because file do not exist" or something like that.
>> What's
>> wrong? Everything except this is OK.
>> 2. Few profiles restored are partially ok - everything in it
>> seems
 ok
>> but windows creates new profile (in form USERNAME.HOSTNAME).
 What's
>> going on?
>>
>> Regards
> About 2.
>
> If Windows detects user's folder that is not created by Windows
 itself
>> (e.g.
> some ID is wrong somewhere), it creates another folder in
> form "username.domain" or smth. If you want your user's folder
>> to be
 in
>> form
> of "username", I suggest you rename the restored folder into
>> smth
> like "username.bak", let Windows create appropriate folder and
>> then
 copy
>> all
> the restored files-folders into the new folder.
>
> Silver
>

Not sure if this will help the situation, but when I back up Windows 
systems using Bacula I also backup the system state by using the `client 
run before job' command in bacula-dir.conf.

Mine is formatted as follows in bacula-dir.conf:

Client Run Before Job =
"\"c:/Program Files/bacula/bin/systemstate.bat\""

All in one line of course.  On the client machine I have a bat file 
which says:

start /wait ntbackup backup systemstate /F c:\systemstate.bkf
exit 0

When I do a complete restore, I log in as Administrator and then use 
ntbackup to restore the system state as it was.  Afterwards I can log in 
using the user account (no USERNAME.DOMAIN folders are created) and it 
was exactly as it was before.  I never have to mess with any permissions 
at all.  Hope that helps.

 Thanks - it works.However the desktop background do not work, but
>> it's
 not a big problem.
 I wish I come back to unix-based system as soon as possible...

 Thank you

>>> Sorry - the interface settings are completly forgotten after each
 logout. .
>> Well, I guess you still have to overlook the restored folder's access
>> permissions - change the owner of the folder and apply it recursively
>> etc.
> Yes - of course - but Windows not connected to domain have not such
> possibility (according to microsoft.com)> I'll try to phone to MS
> Support but I'd be most grateful if you find something.
>
> Regards
 What do you mean? If you check for folder's security, you can add/remove
>> local
 users there for every kind of access permissions. I'm just checking
>> Windows
 2000 and there's option: Security -> Advanced -> Owner -> Replace owner on
 subcontainers and objects. I would try playing with it :)

 Silver

>>> In XP only if it's attached to domain. I found dos command - but the
>>> result is still the same.
>> Have you disabled "simple file sharing" from folder options? Also, I hope
>> you're not using FAT32 ;)
>>
> 
> Thanks. However to few files even super users have no access...
> The UID's changed after reinstallation of Windows and few users who do
> not exist have full controll over them.
> 
>> PS. why don't you reply to the list also?
>>
> 
> I click on Reply instead of Reply to all
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


-- 
Joseph S. Rizzari
Lincoln Laboratory
Massachusetts Institute of Technology
244 Wood Street
Lexington, MA 02420-9108
Phone +1.781.981.4277

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

Re: [Bacula-users] Building bacula on OpenBSD

2007-04-10 Thread Brian A. Seklecki
It looks like some significant improvements have been made to st(4):

http://www.openbsd.org/plus41.html

"Make the st(4) SCSI Tape midlayer return values when receiving a
MTIOCGET ioctl, allows things like Bacula to work much"

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/scsi/st.c

Thank you for all who contributed to that.  Should we return attention
to getting a comprehensive Bacula port committed?

~BAS

On Fri, 2006-12-22 at 19:09 +0100, Kern Sibbald wrote:
> On Sunday 17 December 2006 18:45, Kenneth Westerback wrote:
> > Thanks for bringing this discussion to my attention Russell. If someone
> > can point me at the standard or other justification a 'Unix' system
> > requiring mt_blkno and mt_fileno in the mtget structure I'd be more than
> > happy to put them back. I would be even happier if someone could direct
> > me to a discussion on what the mandated or recommended action is for
> > these fields when the OS cannot supply any meaningful information. I
> > note that HPUX seems to always put -1 in them.
> 
> Well, the best justification for a Unix standard would be Posix, but 
> unfortunately Posix (at least my somewhat old Posix book) does not talk about 
> tape operations.
> 
> However, FreeBSD, Linux, and Solaris all support MTIOCGET with the mt_fileno 
> and mt_blkno fields in the packet.  On some OS the values returned may not be 
> valid, or may not be valid under certain circumstances (e.g. backspace record 
> or backspace file or space to end of medium).  Bacula's tape driver 
> references both mt_fileno and mt_blkno and thus if they do not exist, the 
> Storage daemon (tape driver part will not compile).  However, the user can 
> configure his Bacula driver (in bacula-sd.conf) to essentially not do or 
> ignore the values returned from MTIOCGET.  Doing so makes tape operations 
> painfully slow because Bacula must simulate what the kernel SCSI driver can 
> do much more efficiently.
> 
> Setting mt_fileno and mt_blkno to -1 indicates to any tape I/O aware program 
> such as Bacula that the value is unknown to the SCSI driver, and the program 
> must take appropriate action ...  as a consequence, I would see no great harm 
> in defining those fields and always returning -1 in them.  Doing so, would 
> probably also permit additional Open Source to compile and run on OpenBSD 
> without specific OpenBSD #ifdefing.  
> 
> Whatever the case may be, the Bacula tape driver already has a lot of 
> #ifdefing in it to adapt to different systems, so I wouldn't be very inclined 
> to #ifdef it so that it does not reference mt_fileno and mt_blkno unless 
> there were several systems that needed such a change.
> 
> > 
> >  Ken
> > 
> > Kenneth R Westerback
> > Technology Architect, Corporate Resources
> > 
> > St. Michael's Hospital
> > 30 Bond Street
> > Toronto, Ontario
> > M5B 1W8
> > 
> > Office: 416-864-5981
> > 
> > e-Mail: [EMAIL PROTECTED] 
> > www.stmichaelshospital.com 
> > 
> > This message may contain privileged and confidential information and is
> > intended solely for the use of the intended recipient. If you are
> > neither the intended recipient nor the employee or agent responsible for
> > delivering this communication to the intended recipient, you are hereby
> > notified that any disclosure, copying or distribution of, or the taking
> > of any action in reliance on the contents of this communication is
> > strictly prohibited. If you have received this communication in error,
> > please notify us immediately by e-Mail at [EMAIL PROTECTED]
> > or telephone at 416-864-5981. Thank you.
> > >>> "Russell Sutherland" <[EMAIL PROTECTED]> 12/16/06 9:38 AM >>>
> > Here's a note that I received from Ken Westerback, some weeks ago
> > and his take on why these two variables were removed
> > from the include file:
> > 
> > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/sys/mtio.h
> > 
> > It would appear I removed them since they are not implemented, as of
> > r1.7. I think leaving them in but unimplemented is just misleading.
> > Software  that does not function in the absence of this information will
> > be more readily identified if it can't compile. :-).
> > 
> > I guess you can add them back to get the compile working, or patch
> > bacula to not touch them. If you have some strong reasons for adding
> > them back to the standard system I'm willing to listen.
> > 
> >  Ken
> > 
> > 
> > Kenneth R Westerback
> > Technology Architect, Corporate Resources
> > 
> > St. Michael's Hospital
> > 30 Bond Street
> > Toronto, Ontario
> > M5B 1W8
> > 
> > Office: 416-864-5981
> > 
> > e-Mail: [EMAIL PROTECTED]
> > www.stmichaelshospital.com
> > 
> > On 13/12/06, Kern Sibbald <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > Since this is directed to me, and assuming I wrote the double >>'ed
> > sections
> > > below (which sound a lot like me but so much is snipped that I cannot
> > be
> > > sure), I can assure you that, my intention, if I am the guity party
> > was not
> > > to insult any per

[Bacula-users] [Hint] corrupt ext3 filesystem forces giant job (_no_ problem)

2007-04-10 Thread Robert Wirth
Hi!

FYIO: (Still) running bacula 1.38.11, I've found an interesting effect
last night.  On a system with 35 GB disk space, running SuSE Linux 10.1,
Bacula tried to save a some-TB job.  The backup was canceled after 1.2 TB 
were written to the SD due to the MaxRunTime directive.  I don't know if 
it had terminated else as long as tape medias were available... 

The cause is simple:  there was an error in the ext3 filesystem.  There
was an inode claimed to be some TB big.   fsck recognized that when I 
search for the cause.  But bacula-fd can't, obviously.  Before correction
with fsck, the effect was reproducible, i.e. the next backup job would
have run in the same way.

Fortunately, the virtual mega-file consisted of only few different bytes
(or of one byte only).  Thus, the hardware compression of my tape drive 
filled that 1.2 TB in short tape space.

Best,

Robert

--
++ Deutsches Forschungszentrum fuer Kuenstliche Intelligenz ++
--
Dipl.Inf. Robert Wirth,Stuhlsatzenhausweg 3,66123 Saarbruecken
@office: +49-681-302-5078 oder -5572 ++ @fax: +49-681-302-5020
mailto:[EMAIL PROTECTED]  http://www.dfki.de/~wirth
--
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
- Firmensitz Trippstadter Strasse 122, D-67663 Kaiserslautern

Geschaeftsfuehrung:
- Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender)
- Dr. Walter Olthoff

Vorsitzender des Aufsichtsrats:
- Prof. Dr. h.c. Hans A. Aukes

Amtsgericht Kaiserslautern, HRB 2313
--



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


Re: [Bacula-users] Controlling concurrent jobs

2007-04-10 Thread Kern Sibbald
On Tuesday 10 April 2007 14:42, Josh Fisher wrote:
> 
> Kern Sibbald wrote:
> > On Monday 09 April 2007 21:22, Josh Fisher wrote:
> >   
> >> Kern Sibbald wrote:
> >> 
> >>> On Monday 09 April 2007 16:20, Josh Fisher wrote:
> >>>   
> >>>   
>  There's no reason they cannot use the same pool. They just cannot write 
>  to the same volume concurrently. With a tape device, that would be a 
>  problem because there can only be one volume in the tape drive. 
>  
>  
> >>> True.
> >>>
> >>>   
> >>>   
>  However  
>  with a disk device, a volume is a file, so there can be numerous 
volumes 
>  being written concurrently. 
>  
>  
> >>> This is not true within Bacula. For each Device (tape, DVD, disk, 
> >>>   
> > FIFO, ...) 
> >   
> >>> Bacula has a single file descriptor thus only one Volume can be open for 
> >>>   
> > each 
> >   
> >>> Device, whether tape or disk.  Multiple jobs can be simultanously 
writing 
> >>>   
> > to 
> >   
> >>> that Volume.  However, since a Volume can be in only one Pool, and since 
> >>>   
> > you 
> >   
> >>> can only write to one Volume per Device, you can only be simultaneously 
> >>> writing to one Pool per Device.
> >>>
> >>> To simultaneously write to more than one Pool, you need multiple 
Devices.
> >>>
> >>>   
> >>>   
> >> Yes. I guess I didn't phrase that very carefully. I believe Kyle has two 
> >> pools, "local_pool" and "remote_pool", and each pool  is using a 
> >> different Storage resource by specifying Storage= in the Pool resource 
> >> definition. I assume the Storage resources are pointing to two different 
> >> SD devices. 
> >> 
> >
> > OK.
> >
> >   
> >> In that case, specifying Maximum Volume Jobs = 1 in both of  
> >> the pools should prevent the possibility of interleaving. 
> >> 
> >
> > That's not the best way to resolve the problem, and is likely to fail 
because 
> > of subtle timing problems if you are running two jobs simultaneously.
> >
> > To prevent interleaving of blocks, either restrict the number of 
simultaneous 
> > jobs for that Device using any number of methods such as priorities, Max 
> > simultaneous jobs for the Storage,... , or use Spooling.
> >   
> 
> OK. I had thought that with Max Volume Jobs = 1 there could only be one 
> job writing to a volume, since a device can have only one volume 
> mounted, and that any other jobs would have to wait on the device 
> because they would require a different volume. 

Max Volume Jobs is not designed as a concurrency control, so is unlikely to 
function as such, and as I mentioned will for that reason likely have race 
problems.

> So Maximum Concurrent  
> Jobs = 1 in the Storage resource will always prevent interleave?.  

I believe that is what I implied above.  Try it and see :-) 

> 
> >   
> >> A volume from  
> >> local_pool can be written concurrently with a volume from remote_pool, 
> >> but only one job at a time can write to a local_pool volume and only one 
> >> job at a time can write to a remote_pool volume.
> >>
> >> 
>  One way is to use Maximum Volume Jobs = 1 in  
>  the Pool resource definition. This will cause a new volume (ie. file) 
to 
>  be used for each job that is run.
> 
>  Kyle Tucker wrote:
>  
>  
> > Hi,
> > I have a new Bacula 2.0.2 setup and I am backing up to 
> > disk.  I have remote clients that are very slow to backup and 
> > often prevent my more important local clients from being backed 
> > up due to concurrency being set to 1 as I don't want to get into 
> > the issues with interleaving as it's suggested to avoid in the 
> > warning section on concurrent jobs.
> > I already have things so my remote clients are in separate
> > pools and I understand I can set these pools into separate Device
> > resources and Bacula will allow 2 concurrent jobs to run. Is there
> > a way that I can limit the 2 concurrent jobs to not run within the
> > same pool, causing the interleaving blocks issue? I looked at using
> > priorities, but that didn't look like it would control what I am 
> > trying to do here. Thanks.
> >
> >   
> >   
> >   
> 
 -
>  Take Surveys. Earn Cash. Influence the Future of IT
>  Join SourceForge.net's Techsay panel and you'll get the chance to share 
>  
> > your
> >   
>  opinions on IT & business topics through brief surveys-and earn cash
>  
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>  ___
>  Bacula-users mailing list
>  Bacula-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
>  
>  
> 
>>> ---

Re: [Bacula-users] Controlling concurrent jobs

2007-04-10 Thread Josh Fisher

Kern Sibbald wrote:
> On Monday 09 April 2007 21:22, Josh Fisher wrote:
>   
>> Kern Sibbald wrote:
>> 
>>> On Monday 09 April 2007 16:20, Josh Fisher wrote:
>>>   
>>>   
 There's no reason they cannot use the same pool. They just cannot write 
 to the same volume concurrently. With a tape device, that would be a 
 problem because there can only be one volume in the tape drive. 
 
 
>>> True.
>>>
>>>   
>>>   
 However  
 with a disk device, a volume is a file, so there can be numerous volumes 
 being written concurrently. 
 
 
>>> This is not true within Bacula. For each Device (tape, DVD, disk, 
>>>   
> FIFO, ...) 
>   
>>> Bacula has a single file descriptor thus only one Volume can be open for 
>>>   
> each 
>   
>>> Device, whether tape or disk.  Multiple jobs can be simultanously writing 
>>>   
> to 
>   
>>> that Volume.  However, since a Volume can be in only one Pool, and since 
>>>   
> you 
>   
>>> can only write to one Volume per Device, you can only be simultaneously 
>>> writing to one Pool per Device.
>>>
>>> To simultaneously write to more than one Pool, you need multiple Devices.
>>>
>>>   
>>>   
>> Yes. I guess I didn't phrase that very carefully. I believe Kyle has two 
>> pools, "local_pool" and "remote_pool", and each pool  is using a 
>> different Storage resource by specifying Storage= in the Pool resource 
>> definition. I assume the Storage resources are pointing to two different 
>> SD devices. 
>> 
>
> OK.
>
>   
>> In that case, specifying Maximum Volume Jobs = 1 in both of  
>> the pools should prevent the possibility of interleaving. 
>> 
>
> That's not the best way to resolve the problem, and is likely to fail because 
> of subtle timing problems if you are running two jobs simultaneously.
>
> To prevent interleaving of blocks, either restrict the number of simultaneous 
> jobs for that Device using any number of methods such as priorities, Max 
> simultaneous jobs for the Storage,... , or use Spooling.
>   

OK. I had thought that with Max Volume Jobs = 1 there could only be one 
job writing to a volume, since a device can have only one volume 
mounted, and that any other jobs would have to wait on the device 
because they would require a different volume. So Maximum Concurrent 
Jobs = 1 in the Storage resource will always prevent interleave?

>   
>> A volume from  
>> local_pool can be written concurrently with a volume from remote_pool, 
>> but only one job at a time can write to a local_pool volume and only one 
>> job at a time can write to a remote_pool volume.
>>
>> 
 One way is to use Maximum Volume Jobs = 1 in  
 the Pool resource definition. This will cause a new volume (ie. file) to 
 be used for each job that is run.

 Kyle Tucker wrote:
 
 
> Hi,
>   I have a new Bacula 2.0.2 setup and I am backing up to 
> disk.  I have remote clients that are very slow to backup and 
> often prevent my more important local clients from being backed 
> up due to concurrency being set to 1 as I don't want to get into 
> the issues with interleaving as it's suggested to avoid in the 
> warning section on concurrent jobs.
>   I already have things so my remote clients are in separate
> pools and I understand I can set these pools into separate Device
> resources and Bacula will allow 2 concurrent jobs to run. Is there
> a way that I can limit the 2 concurrent jobs to not run within the
> same pool, causing the interleaving blocks issue? I looked at using
> priorities, but that didn't look like it would control what I am 
> trying to do here. Thanks.
>
>   
>   
>   
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share 
 
> your
>   
 opinions on IT & business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

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

Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Maciej Piechotka
> Thanks. However to few files even super users have no access...
> The UID's changed after reinstallation of Windows and few users who do
> not exist have full controll over them.
>

Even in such case it didn't help.Even for owner all setting is
forgotten. Is it possible to recover data withoou setting permissions?

Regards

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Maciej Piechotka
On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > > > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > > > On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > > > > > On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
> > > > > > > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > > > > > > On Monday 09 April 2007, Maciej Piechotka wrote:
> > > > > > > > > I backup C:\Document & Settings by bacula. After some time I
> > > format
> > > > > > > > > Windows partition by accident. I reinstall Windows and I've
> tried
> > > to
> > > > > > > > > recover buckup.
> > > > > > > > > 1. It produce a lot of errors "warning: Permission of xyz was
> not
> > > > > > > > > changed because file do not exist" or something like that.
> What's
> > > > > > > > > wrong? Everything except this is OK.
> > > > > > > > > 2. Few profiles restored are partially ok - everything in it
> seems
> > > ok
> > > > > > > > > but windows creates new profile (in form USERNAME.HOSTNAME).
> > > What's
> > > > > > > > > going on?
> > > > > > > > >
> > > > > > > > > Regards
> > > > > > > >
> > > > > > > > About 2.
> > > > > > > >
> > > > > > > > If Windows detects user's folder that is not created by Windows
> > > itself
> > > > > (e.g.
> > > > > > > > some ID is wrong somewhere), it creates another folder in
> > > > > > > > form "username.domain" or smth. If you want your user's folder
> to be
> > > in
> > > > > form
> > > > > > > > of "username", I suggest you rename the restored folder into
> smth
> > > > > > > > like "username.bak", let Windows create appropriate folder and
> then
> > > copy
> > > > > all
> > > > > > > > the restored files-folders into the new folder.
> > > > > > > >
> > > > > > > > Silver
> > > > > > > >
> > > > > > >
> > > > > > > Thanks - it works.However the desktop background do not work, but
> it's
> > > > > > > not a big problem.
> > > > > > > I wish I come back to unix-based system as soon as possible...
> > > > > > >
> > > > > > > Thank you
> > > > > > >
> > > > > >
> > > > > > Sorry - the interface settings are completly forgotten after each
> > > logout. .
> > > > >
> > > > > Well, I guess you still have to overlook the restored folder's access
> > > > > permissions - change the owner of the folder and apply it recursively
> etc.
> > > > >
> > > >
> > > > Yes - of course - but Windows not connected to domain have not such
> > > > possibility (according to microsoft.com)> I'll try to phone to MS
> > > > Support but I'd be most grateful if you find something.
> > > >
> > > > Regards
> > >
> > > What do you mean? If you check for folder's security, you can add/remove
> local
> > > users there for every kind of access permissions. I'm just checking
> Windows
> > > 2000 and there's option: Security -> Advanced -> Owner -> Replace owner on
> > > subcontainers and objects. I would try playing with it :)
> > >
> > > Silver
> > >
> >
> > In XP only if it's attached to domain. I found dos command - but the
> > result is still the same.
>
> Have you disabled "simple file sharing" from folder options? Also, I hope
> you're not using FAT32 ;)
>

Thanks. However to few files even super users have no access...
The UID's changed after reinstallation of Windows and few users who do
not exist have full controll over them.

> PS. why don't you reply to the list also?
>

I click on Reply instead of Reply to all

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


Re: [Bacula-users] Restore relabel tape

2007-04-10 Thread Kern Sibbald
On Tuesday 10 April 2007 12:35, Olivier Exbrayat wrote:
> Hello,
> 
> How restore from a tape relabeled with the command relabel ?
> 
> When i use the following command bscan :
> bscan -V 'NewName' -v -s -m -c bacula-sd.conf /dev/nst0
> 
> I have this message : 
> bscan: bscan.c:406 Volume is prelabeled. This tape cannot be scanned.
> 
> Thank you for your help.

In relabeling the tape, you destroyed the data on the beginning of the tape.

You might try adding the -p option on the bscan line, but I doubt that will 
help.

If you understand tape formats very well, and research the Bacula archives, 
you *might* be able to recover some data from the tape, but it is not an easy 
process.

Good luck


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


[Bacula-users] Restore relabel tape

2007-04-10 Thread Olivier Exbrayat
Hello,

How restore from a tape relabeled with the command relabel ?

When i use the following command bscan :
bscan -V 'NewName' -v -s -m -c bacula-sd.conf /dev/nst0

I have this message : 
bscan: bscan.c:406 Volume is prelabeled. This tape cannot be scanned.

Thank you for your help.

Olivier

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Silver Salonen
On Tuesday 10 April 2007, Maciej Piechotka wrote:
> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > > On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > > > > On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
> > > > > > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > > > > > On Monday 09 April 2007, Maciej Piechotka wrote:
> > > > > > > > I backup C:\Document & Settings by bacula. After some time I
> > format
> > > > > > > > Windows partition by accident. I reinstall Windows and I've 
tried
> > to
> > > > > > > > recover buckup.
> > > > > > > > 1. It produce a lot of errors "warning: Permission of xyz was 
not
> > > > > > > > changed because file do not exist" or something like that. 
What's
> > > > > > > > wrong? Everything except this is OK.
> > > > > > > > 2. Few profiles restored are partially ok - everything in it 
seems
> > ok
> > > > > > > > but windows creates new profile (in form USERNAME.HOSTNAME).
> > What's
> > > > > > > > going on?
> > > > > > > >
> > > > > > > > Regards
> > > > > > >
> > > > > > > About 2.
> > > > > > >
> > > > > > > If Windows detects user's folder that is not created by Windows
> > itself
> > > > (e.g.
> > > > > > > some ID is wrong somewhere), it creates another folder in
> > > > > > > form "username.domain" or smth. If you want your user's folder 
to be
> > in
> > > > form
> > > > > > > of "username", I suggest you rename the restored folder into 
smth
> > > > > > > like "username.bak", let Windows create appropriate folder and 
then
> > copy
> > > > all
> > > > > > > the restored files-folders into the new folder.
> > > > > > >
> > > > > > > Silver
> > > > > > >
> > > > > >
> > > > > > Thanks - it works.However the desktop background do not work, but 
it's
> > > > > > not a big problem.
> > > > > > I wish I come back to unix-based system as soon as possible...
> > > > > >
> > > > > > Thank you
> > > > > >
> > > > >
> > > > > Sorry - the interface settings are completly forgotten after each
> > logout. .
> > > >
> > > > Well, I guess you still have to overlook the restored folder's access
> > > > permissions - change the owner of the folder and apply it recursively 
etc.
> > > >
> > >
> > > Yes - of course - but Windows not connected to domain have not such
> > > possibility (according to microsoft.com)> I'll try to phone to MS
> > > Support but I'd be most grateful if you find something.
> > >
> > > Regards
> >
> > What do you mean? If you check for folder's security, you can add/remove 
local
> > users there for every kind of access permissions. I'm just checking 
Windows
> > 2000 and there's option: Security -> Advanced -> Owner -> Replace owner on
> > subcontainers and objects. I would try playing with it :)
> >
> > Silver
> >
> 
> In XP only if it's attached to domain. I found dos command - but the
> result is still the same.

Have you disabled "simple file sharing" from folder options? Also, I hope 
you're not using FAT32 ;)

PS. why don't you reply to the list also?

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Silver Salonen
On Tuesday 10 April 2007, Maciej Piechotka wrote:
> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > On Tuesday 10 April 2007, Maciej Piechotka wrote:
> > > On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
> > > > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > > > On Monday 09 April 2007, Maciej Piechotka wrote:
> > > > > > I backup C:\Document & Settings by bacula. After some time I 
format
> > > > > > Windows partition by accident. I reinstall Windows and I've tried 
to
> > > > > > recover buckup.
> > > > > > 1. It produce a lot of errors "warning: Permission of xyz was not
> > > > > > changed because file do not exist" or something like that. What's
> > > > > > wrong? Everything except this is OK.
> > > > > > 2. Few profiles restored are partially ok - everything in it seems 
ok
> > > > > > but windows creates new profile (in form USERNAME.HOSTNAME). 
What's
> > > > > > going on?
> > > > > >
> > > > > > Regards
> > > > >
> > > > > About 2.
> > > > >
> > > > > If Windows detects user's folder that is not created by Windows 
itself
> > (e.g.
> > > > > some ID is wrong somewhere), it creates another folder in
> > > > > form "username.domain" or smth. If you want your user's folder to be 
in
> > form
> > > > > of "username", I suggest you rename the restored folder into smth
> > > > > like "username.bak", let Windows create appropriate folder and then 
copy
> > all
> > > > > the restored files-folders into the new folder.
> > > > >
> > > > > Silver
> > > > >
> > > >
> > > > Thanks - it works.However the desktop background do not work, but it's
> > > > not a big problem.
> > > > I wish I come back to unix-based system as soon as possible...
> > > >
> > > > Thank you
> > > >
> > >
> > > Sorry - the interface settings are completly forgotten after each 
logout. .
> >
> > Well, I guess you still have to overlook the restored folder's access
> > permissions - change the owner of the folder and apply it recursively etc.
> >
> 
> Yes - of course - but Windows not connected to domain have not such
> possibility (according to microsoft.com)> I'll try to phone to MS
> Support but I'd be most grateful if you find something.
> 
> Regards

What do you mean? If you check for folder's security, you can add/remove local 
users there for every kind of access permissions. I'm just checking Windows 
2000 and there's option: Security -> Advanced -> Owner -> Replace owner on 
subcontainers and objects. I would try playing with it :)

Silver

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Silver Salonen
On Tuesday 10 April 2007, Maciej Piechotka wrote:
> On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
> > On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > > On Monday 09 April 2007, Maciej Piechotka wrote:
> > > > I backup C:\Document & Settings by bacula. After some time I format
> > > > Windows partition by accident. I reinstall Windows and I've tried to
> > > > recover buckup.
> > > > 1. It produce a lot of errors "warning: Permission of xyz was not
> > > > changed because file do not exist" or something like that. What's
> > > > wrong? Everything except this is OK.
> > > > 2. Few profiles restored are partially ok - everything in it seems ok
> > > > but windows creates new profile (in form USERNAME.HOSTNAME). What's
> > > > going on?
> > > >
> > > > Regards
> > >
> > > About 2.
> > >
> > > If Windows detects user's folder that is not created by Windows itself 
(e.g.
> > > some ID is wrong somewhere), it creates another folder in
> > > form "username.domain" or smth. If you want your user's folder to be in 
form
> > > of "username", I suggest you rename the restored folder into smth
> > > like "username.bak", let Windows create appropriate folder and then copy 
all
> > > the restored files-folders into the new folder.
> > >
> > > Silver
> > >
> >
> > Thanks - it works.However the desktop background do not work, but it's
> > not a big problem.
> > I wish I come back to unix-based system as soon as possible...
> >
> > Thank you
> >
> 
> Sorry - the interface settings are completly forgotten after each logout. .

Well, I guess you still have to overlook the restored folder's access 
permissions - change the owner of the folder and apply it recursively etc.

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Maciej Piechotka
On 4/10/07, Maciej Piechotka <[EMAIL PROTECTED]> wrote:
> On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> > On Monday 09 April 2007, Maciej Piechotka wrote:
> > > I backup C:\Document & Settings by bacula. After some time I format
> > > Windows partition by accident. I reinstall Windows and I've tried to
> > > recover buckup.
> > > 1. It produce a lot of errors "warning: Permission of xyz was not
> > > changed because file do not exist" or something like that. What's
> > > wrong? Everything except this is OK.
> > > 2. Few profiles restored are partially ok - everything in it seems ok
> > > but windows creates new profile (in form USERNAME.HOSTNAME). What's
> > > going on?
> > >
> > > Regards
> >
> > About 2.
> >
> > If Windows detects user's folder that is not created by Windows itself (e.g.
> > some ID is wrong somewhere), it creates another folder in
> > form "username.domain" or smth. If you want your user's folder to be in form
> > of "username", I suggest you rename the restored folder into smth
> > like "username.bak", let Windows create appropriate folder and then copy all
> > the restored files-folders into the new folder.
> >
> > Silver
> >
>
> Thanks - it works.However the desktop background do not work, but it's
> not a big problem.
> I wish I come back to unix-based system as soon as possible...
>
> Thank you
>

Sorry - the interface settings are completly forgotten after each logout. .

Regards

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


Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Maciej Piechotka
On 4/10/07, Silver Salonen <[EMAIL PROTECTED]> wrote:
> On Monday 09 April 2007, Maciej Piechotka wrote:
> > I backup C:\Document & Settings by bacula. After some time I format
> > Windows partition by accident. I reinstall Windows and I've tried to
> > recover buckup.
> > 1. It produce a lot of errors "warning: Permission of xyz was not
> > changed because file do not exist" or something like that. What's
> > wrong? Everything except this is OK.
> > 2. Few profiles restored are partially ok - everything in it seems ok
> > but windows creates new profile (in form USERNAME.HOSTNAME). What's
> > going on?
> >
> > Regards
>
> About 2.
>
> If Windows detects user's folder that is not created by Windows itself (e.g.
> some ID is wrong somewhere), it creates another folder in
> form "username.domain" or smth. If you want your user's folder to be in form
> of "username", I suggest you rename the restored folder into smth
> like "username.bak", let Windows create appropriate folder and then copy all
> the restored files-folders into the new folder.
>
> Silver
>

Thanks - it works.However the desktop background do not work, but it's
not a big problem.
I wish I come back to unix-based system as soon as possible...

Thank you

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


Re: [Bacula-users] Controlling concurrent jobs

2007-04-10 Thread Stephen Carr
Dear Josh

I am running concurrent backups to a Firewire attached 1 TB disc with he 
Max Concurrent Jobs set to 5 ( in my situation it seems the optimal value ).

The Incremental jobs stay on the disc for 6 weeks but the Full backups 
are migrated to tape.

I also have the problem with slow clients - usually they are running a 
long simulation program when they are being backed up.

I have not had a problem with the interleaved blocks - when the data is 
migrated to tape the Job interleaving is "removed". OK it can take some 
time to write the Full backups to tape.

I am using 2.0.3 since rease and the 1 TB disc for 2 weeks.

Regards
Stephen Carr

Kern Sibbald wrote:
> On Monday 09 April 2007 21:22, Josh Fisher wrote:
>> Kern Sibbald wrote:
>>> On Monday 09 April 2007 16:20, Josh Fisher wrote:
>>>   
 There's no reason they cannot use the same pool. They just cannot write 
 to the same volume concurrently. With a tape device, that would be a 
 problem because there can only be one volume in the tape drive. 
 
>>> True.
>>>
>>>   
 However  
 with a disk device, a volume is a file, so there can be numerous volumes 
 being written concurrently. 
 
>>> This is not true within Bacula. For each Device (tape, DVD, disk, 
> FIFO, ...) 
>>> Bacula has a single file descriptor thus only one Volume can be open for 
> each 
>>> Device, whether tape or disk.  Multiple jobs can be simultanously writing 
> to 
>>> that Volume.  However, since a Volume can be in only one Pool, and since 
> you 
>>> can only write to one Volume per Device, you can only be simultaneously 
>>> writing to one Pool per Device.
>>>
>>> To simultaneously write to more than one Pool, you need multiple Devices.
>>>
>>>   
>> Yes. I guess I didn't phrase that very carefully. I believe Kyle has two 
>> pools, "local_pool" and "remote_pool", and each pool  is using a 
>> different Storage resource by specifying Storage= in the Pool resource 
>> definition. I assume the Storage resources are pointing to two different 
>> SD devices. 
> 
> OK.
> 
>> In that case, specifying Maximum Volume Jobs = 1 in both of  
>> the pools should prevent the possibility of interleaving. 
> 
> That's not the best way to resolve the problem, and is likely to fail because 
> of subtle timing problems if you are running two jobs simultaneously.
> 
> To prevent interleaving of blocks, either restrict the number of simultaneous 
> jobs for that Device using any number of methods such as priorities, Max 
> simultaneous jobs for the Storage,... , or use Spooling.
> 
>> A volume from  
>> local_pool can be written concurrently with a volume from remote_pool, 
>> but only one job at a time can write to a local_pool volume and only one 
>> job at a time can write to a remote_pool volume.
>>
 One way is to use Maximum Volume Jobs = 1 in  
 the Pool resource definition. This will cause a new volume (ie. file) to 
 be used for each job that is run.

 Kyle Tucker wrote:
 
> Hi,
>   I have a new Bacula 2.0.2 setup and I am backing up to 
> disk.  I have remote clients that are very slow to backup and 
> often prevent my more important local clients from being backed 
> up due to concurrency being set to 1 as I don't want to get into 
> the issues with interleaving as it's suggested to avoid in the 
> warning section on concurrent jobs.
>   I already have things so my remote clients are in separate
> pools and I understand I can set these pools into separate Device
> resources and Bacula will allow 2 concurrent jobs to run. Is there
> a way that I can limit the 2 concurrent jobs to not run within the
> same pool, causing the interleaving blocks issue? I looked at using
> priorities, but that didn't look like it would control what I am 
> trying to do here. Thanks.
>
>   
>   
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
 opinions on IT & business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

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

[Bacula-users] cannot delete/cancel running jobs

2007-04-10 Thread Luca Ferrari
Hi all,
I've got the following running jobs in the status of a storage:
Running Jobs:
Writing: Full Backup job sede_samba_job JobId=36 Volume=""
pool="Default" device=""sede_storage" (/backup/sede/)"
Files=7,606 Bytes=865,540,986 Bytes/sec=2,603
FDReadSeqNo=86,140 in_msg=64080 out_msg=5 fd=5
Writing: Incremental Backup job sede_coge_job JobId=38 Volume=""
pool="Default" device=""sede_storage" (/backup/sede/)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=5 fd=10
Writing: Incremental Backup job sede_coge_job JobId=39 Volume=""
pool="Default" device=""sede_storage" (/backup/sede/)"
Files=0 Bytes=0 Bytes/sec=0
FDReadSeqNo=6 in_msg=6 out_msg=5 fd=11

but I cannot either cancel or delete them, and thus cannot start another 
backup job (since it will be enqueued after the above). Any idea? I've tried 
to restart the file daemon and the director but nothing changed.
Thanks,
Luca

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


Re: [Bacula-users] fatal error I can't figure out..

2007-04-10 Thread Arno Lehmann
Hello,

On 4/10/2007 9:51 AM, Maria McKinley wrote:
> Hello,
> 
> I can't quite figure out what happened here. I have occasionally had the 
> problem that the bacula mounts a tape, and then can't seem to tell that 
> it is mounted.

Most of the time, this might be because of a timing problem - the 
autochanger is ready, mtx-changer thinks everything's ok, but the tape 
drive has not recognized the tape, so subsequent reads fail.

Check your mtx-changer - it should use the wait_for_drive function, or 
at least use a long sleep time after loading a tape.

> When this happens, usually it says it can't find any 
> media, and I eject the tape back into the autochanger by hand, and have 
> bacula re-mount and this solves the problem. This seems a bit different, 
> but can't tell really tell what happened or how to prevent it next time. 
> It seems like it got confused as to what volumes were in what slots. D1 
> was in slot 5 and D3 in slot 6.

Forgive me for not looking very closely at your job output - the volume 
names are too similar for me right now :-)

Anyway, what does your catalog say is loaded?

With 1.36 (and you should consider an upgrade!) there is, AFAIR, no 
out-of-the box query for the volumes inside the autochanger... if it is, 
try it.

Did you manually change the changers contents and forgot the 'update 
slots' command? This is the only reason I encountered for a catalog not 
matching the actual slot inventory...

Arno

> Seems like I should erase these tapes, and re-run the backup?
> 
> cheers,
> maria
> 
>  Original Message 
> Subject: Bacula: Backup Fatal Error of billie-fd Full
> Date: Sat, 07 Apr 2007 16:39:47 -0700
> From: (Bacula) [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> 
> 07-Apr 01:05 billie-dir: Start Backup JobId 1226, 
> Job=NightlySave.2007-04-07_01.05.01
> 07-Apr 01:05 billie-dir: Max configured use duration exceeded. Marking 
> Volume "C004" as Used.
> 07-Apr 01:05 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 07-Apr 01:05 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 4.
> 07-Apr 01:05 billie-sd: Wrote label to prelabeled Volume "G001" on 
> device "/dev/nst0"
> 07-Apr 06:56 billie-sd: End of Volume "G001" at 99:14753 on device 
> /dev/nst0. Write of 64512 bytes got -1.
> 07-Apr 06:57 billie-sd: Re-read of last block succeeded.
> 07-Apr 06:57 billie-sd: End of medium on Volume "G001" 
> Bytes=99,945,403,940 Blocks=1,549,253 at 07-Apr-2007 06:57.
> 07-Apr 07:00 billie-dir: Recycled volume "C001"
> 07-Apr 07:00 billie-sd: Please mount Volume "C001" on Storage Device 
> "Exabyte" for Job NightlySave.2007-04-07_01.05.01
> 07-Apr 08:00 billie-sd: Please mount Volume "C001" on Storage Device 
> "Exabyte" for Job NightlySave.2007-04-07_01.05.01
> 07-Apr 09:35 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
> Director wanted Volume "C001".
>  Current Volume "G001" not acceptable because:
>  1998 Volume "G001" status is Full, but should be Append, Purged 
> or Recycle.
> 07-Apr 09:35 billie-dir: Recycled volume "D001"
> 07-Apr 09:35 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 07-Apr 09:35 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 4.
> 07-Apr 09:35 billie-sd: 3303 Issuing autochanger "unload slot 4, drive 
> 0" command.
> 07-Apr 09:36 billie-sd: 3304 Issuing autochanger "load slot 6, drive 0" 
> command.
> 07-Apr 09:37 billie-sd: 3305 Autochanger "load slot 6, drive 0", status 
> is OK.
> 07-Apr 09:37 billie-dir: Recycled current volume "D003"
> 07-Apr 09:37 billie-sd: Recycled volume "D003" on device 
> "/dev/nst0", all previous data lost.
> 07-Apr 09:37 billie-sd: New volume "D003" mounted on device 
> /dev/nst0 at 07-Apr-2007 09:37.
> 07-Apr 11:46 billie-fd: NightlySave.2007-04-07_01.05.01 Error: Read 
> error on file /home/mike/Documents/Rebecca Hendrickson 
> Archive/Applications/Metrowerks CodeWarrior 6.0/Metrowerks 
> CodeWarrior/MacOS 
> Support/Universal/Interfaces/PInterfaces/.AppleDouble/OpenTptAppleTalk.p. 
> ERR=Input/output error
> 07-Apr 16:35 billie-sd: End of Volume "D003" at 96:8350 on device 
> /dev/nst0. Write of 64512 bytes got -1.
> 07-Apr 16:35 billie-sd: Re-read of last block succeeded.
> 07-Apr 16:35 billie-sd: End of medium on Volume "D003" 
> Bytes=96,532,524,613 Blocks=1,496,350 at 07-Apr-2007 16:35.
> 07-Apr 16:38 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 07-Apr 16:38 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 6.
> 07-Apr 16:39 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
> Director wanted Volume "D001".
>  Current Volume "D003" not acceptable because:
>  1998 Volume "D003" status is Full, but should be Append, Purged 
> or Recycle.
> 07-Apr 16:39 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
> 07-Apr 16:39 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 6.
> 07-Apr 16:39 billie-sd: NightlySave.2007-

Re: [Bacula-users] Soliciting opinions

2007-04-10 Thread Kern Sibbald
On Tuesday 10 April 2007 01:21, Ilya Volvovski wrote:
> 
> > -Original Message-
> > From: Kern Sibbald [mailto:[EMAIL PROTECTED] 
> > Sent: Sunday, April 08, 2007 3:13 AM
> > To: bacula-users@lists.sourceforge.net
> > Cc: Ilya Volvovski
> > Subject: Re: [Bacula-users] Soliciting opinions
> > 
> > On Saturday 07 April 2007 22:56, Ilya Volvovski wrote:
> > > Hi,
> > >  
> > > My name is Ilya Volvovski and I am a software architect for 
> > a company 
> > > called Cleversafe (www.cleversafe.org   
> > > and www.cleversafe.com  )
> > >  
> > > I address this discussion group to gauge interest in our 
> > proposition 
> > > from people who make living by making sure that data is not lost.
> > > Cleversafe mission is to offer a product that would provide 
> > unlimited, 
> > > secure, scalable, reliable data storage facility. We want to move 
> > > storage from home tape devices, CD/DVD drives to Internet.
> > 
> > This is something that the Bacula project had planned to do 
> > in 2000.  However there are still problems of Internet 
> > reliability for high volumes (dropped lines), bandwidth, and 
> > security concerns that poses major problems.
> > 
> A Cleversafe Grid could live anywhere including LAN, WAN but its full
> potential should be realized with Internet.
> Our approach allows us restoring data without having all pillars (this
> is a logical place where a slice of original data is stored) available.
> Of course nothing could guarantee that it is always available, if you
> loose connectivity you loose access to the Grid
> 
> > >  
> > > If you look at our website, you would learn that are 
> > patented approach 
> > > allows to achieve very high level of reliability with 
> > reasonably small 
> > > data blowup (2.0 now but our next release would make it 
> > configurable:
> > > 30% data overhead still would still guarantee high 
> > reliability). Data 
> > > could be optionally encrypted, compressed and then dispersed into 
> > > several locations. Cleversafe Storage Grid is also 
> > self-healing: if a 
> > > few slices are lost due to hardware problems, they could be 
> > recreated 
> > > by the grid.
> > 
> > Well, a problem here is that you mentioned the word "patent", 
> > and patents don't generally go very well with GPL software, 
> > so I would like to hear more about how you are using the patent.
> >
> We release our software with GPL2 license. The word patent in my email
> mostly signified that it is original. I admit that I should not use this
> language because it creates more confusion than clarity in the open
> source space. Cleversafe patents were filed mostly to protect ourselves
> from being sued on this technology. It is still debated whether it was
> necessary or not. The bottom-line that our code can be freely used.

As long as governments allow patents on ideas rather than physical inventions 
as they were originally intended to protect, I have no problem with companies 
obtaining patents for original works such as yourself or IBM as a means of 
protection (too bad it has to be done), providing they clearly indicate in 
the license that the patent can be freely used.

> 
>  
> > If it is a question of making Bacula interface to a patented 
> > device  -- I don't see a big problem -- after all, Bacula 
> > interfaces to computers, disk drives, tape drives, ... all of 
> > which are patented devices (or have patented components).
> > 
> So there is no need to interface with a patented device as I explained.
> 
> > >  
> > > Our software would give means to store data, but we are not backup 
> > > experts.  We want the existing backup solutions be used as 
> > before but 
> > > enabled to store data on Cleversafe Storage Grid. Being an 
> > open source 
> > > project we first looked at open source solutions and this 
> > lead us to 
> > > Bacula.
> > 
> > As mentioned above, I would like to understand your patent vs 
> > you Open Source position a bit more.  
> > 
> > Also, I would be interested in your overall plan -- e.g. are 
> > you proposing it to all backup solutions?  or are you just 
> > targeting certain ones?
> > 
> At this point we have no clear preferences, we do research and Bacula
> happened to be the first in the list.
> In fact we would like to be backup solution agnostic as much as possible
> and let people decide which tool they would like to use as long as the
> final destination for their data is the Cleversafe Storage Grid.
> 
> > >  
> > > Cleversafe has no expertise in using Bacula. However we 
> > were able to 
> > > install and we performed a very trivial integration with NO 
> > changes to 
> > > the existing Bacula codebase. We confirmed that if we 
> > configure Bacula 
> > > with a file type device, which happen to be our grid, we could use 
> > > Bacula to store data on it.
> > 
> > Nice.  It sounds like you have made your grid compatible with 
> > a filesystem.
> Yes, in proof-of-concept i

[Bacula-users] fatal error I can't figure out..

2007-04-10 Thread Maria McKinley
Hello,

I can't quite figure out what happened here. I have occasionally had the 
problem that the bacula mounts a tape, and then can't seem to tell that 
it is mounted. When this happens, usually it says it can't find any 
media, and I eject the tape back into the autochanger by hand, and have 
bacula re-mount and this solves the problem. This seems a bit different, 
but can't tell really tell what happened or how to prevent it next time. 
It seems like it got confused as to what volumes were in what slots. D1 
was in slot 5 and D3 in slot 6.

Seems like I should erase these tapes, and re-run the backup?

cheers,
maria

 Original Message 
Subject: Bacula: Backup Fatal Error of billie-fd Full
Date: Sat, 07 Apr 2007 16:39:47 -0700
From: (Bacula) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

07-Apr 01:05 billie-dir: Start Backup JobId 1226, 
Job=NightlySave.2007-04-07_01.05.01
07-Apr 01:05 billie-dir: Max configured use duration exceeded. Marking 
Volume "C004" as Used.
07-Apr 01:05 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
07-Apr 01:05 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 4.
07-Apr 01:05 billie-sd: Wrote label to prelabeled Volume "G001" on 
device "/dev/nst0"
07-Apr 06:56 billie-sd: End of Volume "G001" at 99:14753 on device 
/dev/nst0. Write of 64512 bytes got -1.
07-Apr 06:57 billie-sd: Re-read of last block succeeded.
07-Apr 06:57 billie-sd: End of medium on Volume "G001" 
Bytes=99,945,403,940 Blocks=1,549,253 at 07-Apr-2007 06:57.
07-Apr 07:00 billie-dir: Recycled volume "C001"
07-Apr 07:00 billie-sd: Please mount Volume "C001" on Storage Device 
"Exabyte" for Job NightlySave.2007-04-07_01.05.01
07-Apr 08:00 billie-sd: Please mount Volume "C001" on Storage Device 
"Exabyte" for Job NightlySave.2007-04-07_01.05.01
07-Apr 09:35 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
Director wanted Volume "C001".
 Current Volume "G001" not acceptable because:
 1998 Volume "G001" status is Full, but should be Append, Purged 
or Recycle.
07-Apr 09:35 billie-dir: Recycled volume "D001"
07-Apr 09:35 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
07-Apr 09:35 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 4.
07-Apr 09:35 billie-sd: 3303 Issuing autochanger "unload slot 4, drive 
0" command.
07-Apr 09:36 billie-sd: 3304 Issuing autochanger "load slot 6, drive 0" 
command.
07-Apr 09:37 billie-sd: 3305 Autochanger "load slot 6, drive 0", status 
is OK.
07-Apr 09:37 billie-dir: Recycled current volume "D003"
07-Apr 09:37 billie-sd: Recycled volume "D003" on device 
"/dev/nst0", all previous data lost.
07-Apr 09:37 billie-sd: New volume "D003" mounted on device 
/dev/nst0 at 07-Apr-2007 09:37.
07-Apr 11:46 billie-fd: NightlySave.2007-04-07_01.05.01 Error: Read 
error on file /home/mike/Documents/Rebecca Hendrickson 
Archive/Applications/Metrowerks CodeWarrior 6.0/Metrowerks 
CodeWarrior/MacOS 
Support/Universal/Interfaces/PInterfaces/.AppleDouble/OpenTptAppleTalk.p. 
ERR=Input/output error
07-Apr 16:35 billie-sd: End of Volume "D003" at 96:8350 on device 
/dev/nst0. Write of 64512 bytes got -1.
07-Apr 16:35 billie-sd: Re-read of last block succeeded.
07-Apr 16:35 billie-sd: End of medium on Volume "D003" 
Bytes=96,532,524,613 Blocks=1,496,350 at 07-Apr-2007 16:35.
07-Apr 16:38 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
07-Apr 16:38 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 6.
07-Apr 16:39 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
Director wanted Volume "D001".
 Current Volume "D003" not acceptable because:
 1998 Volume "D003" status is Full, but should be Append, Purged 
or Recycle.
07-Apr 16:39 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
07-Apr 16:39 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 6.
07-Apr 16:39 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
Director wanted Volume "D001".
 Current Volume "D003" not acceptable because:
 1998 Volume "D003" status is Full, but should be Append, Purged 
or Recycle.
07-Apr 16:39 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
07-Apr 16:39 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 6.
07-Apr 16:39 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
Director wanted Volume "D001".
 Current Volume "D003" not acceptable because:
 1998 Volume "D003" status is Full, but should be Append, Purged 
or Recycle.
07-Apr 16:39 billie-sd: 3301 Issuing autochanger "loaded drive 0" command.
07-Apr 16:39 billie-sd: 3302 Autochanger "loaded drive 0", result is Slot 6.
07-Apr 16:39 billie-sd: NightlySave.2007-04-07_01.05.01 Warning: 
Director wanted Volume "D001".
 Current Volume "D003" not acceptable because:
 1998 Volume "D003" status is Full, but should be Append, Purged 
or Recycle.
07-Apr 16:39 billie-sd: 3301 Issuing autochanger "loade

[Bacula-users] Why did bacula mark a volume as used (voluseduration)?

2007-04-10 Thread Ralf Gross
Hi,

bacula-dir 2.0.3, bacula-sd 2.0.3, bacula-fd 2.0.2, debian etch amd64,
postgres 8.1.7

Bacula is running fine here for a while. But this weekend bacula
chose to use fresh tape from the scratch pool for job #2 of a diff backup
instead of appending the data to the tape it was writing to a few
minutes before by the first of the two jobs.

Here are the two jobs:

Job {
  Name = "SMTCZB0003"
  Type = Backup
  Client = SMTCZB0003
  FileSet = "SMTCZB0003"
  Schedule = "Regular Backup"
  Storage = NEC-T40A
  Messages = "Regular Backup"
  Pool = Default
  SpoolData=yes
  Write Bootstrap = "/opt/bacula/var/bacula/working/SMTCZB0003.bsr"
  Priority = 5
  RunBeforeJob = "/usr/bin/ssh [snip]"
  RunAfterJob = "/usr/bin/ssh [snip]"
}

Job {
  Name = "VU0EM003"
  Type = Backup
  Client = VU0EM003
  FileSet = "VU0EM003 Full"
  Schedule = "Regular Backup"
  Storage = NEC-T40A
  Messages = "Regular Backup"
  Pool = Default
  SpoolData=yes
  Write Bootstrap = "/opt/bacula/var/bacula/working/VU0EM003.bsr"
  Priority = 10
}

..and the schedule:

Schedule {
  Name = "Regular Backup"
  Run = Level=Full Pool=Full 1st sun at 00:05
  Run = Level=Differential Pool=Differential FullPool=Full 2nd-5th sun at 00:05
  Run = Level=Incremental Pool=Incremental DifferentialPool=Differential 
FullPool=Full tue-sat at 00:05
}

Both jobs have the same start time, but different priorities.


llist volumes shows 

 volretention: 2,678,400 <--- (31 days)
   voluseduration: 345,600   <--- (4 days)

for all tapes in the diff pool



This is what happend this weekend:

Job #1:

08-Apr 00:05 VU0EM005: BeforeJob: run command "/usr/bin/ssh [snip]"
08-Apr 00:07 VU0EM005: Start Backup JobId 121, 
Job=SMTCZB0003.2007-04-08_00.05.00
08-Apr 00:08 VU0EM005: 3307 Issuing autochanger "unload slot 4, drive 0" 
command.
08-Apr 00:09 VU0EM005: 3304 Issuing autochanger "load slot 5, drive 0" command.
08-Apr 00:10 VU0EM005: 3305 Autochanger "load slot 5, drive 0", status is OK.
08-Apr 00:10 VU0EM005: 3301 Issuing autochanger "loaded? drive 0" command.
08-Apr 00:10 VU0EM005: 3302 Autochanger "loaded? drive 0", result is Slot 5.
08-Apr 00:10 VU0EM005: Recycled volume "06D124L3" on device "LTO3" (/dev/nst0), 
all previous data lost.

That's fine, I expected volume 06D124L3 to be overwritten at this time.

08-Apr 00:10 VU0EM005: Max configured use duration exceeded. Marking Volume 
"06D124L3" as Used.

But I don't know what happend at this point. Why does bacula mark volume
06D124L3 as used right after the job started. The configured duration time
is 4 days, I checked this.

08-Apr 00:10 VU0EM005: Spooling data ...
SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into 
/var/lib/nfs/rpc_pipefs
SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /dev
SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /sys
SMTCZB0003-fd:  Filesystem change prohibited. Will not descend into /boot
08-Apr 00:12 VU0EM005: Job write elapsed time = 00:02:23, Transfer rate = 6.766 
M bytes/second
08-Apr 00:12 VU0EM005: Committing spooled data to Volume "06D124L3". Despooling 
968,636,754 bytes ...
08-Apr 00:12 VU0EM005: Despooling elapsed time = 00:00:07, Transfer rate = 
138.3 M bytes/second
08-Apr 00:12 VU0EM005: Sending spooled attrs to the Director. Despooling 
1,543,784 bytes ...
08-Apr 00:12 VU0EM005: AfterJob: run command "/usr/bin/ssh [snip]"
08-Apr 00:12 VU0EM005: Bacula 2.0.3 (06Mar07): 08-Apr-2007 00:12:47
  JobId:  121
  Job:SMTCZB0003.2007-04-08_00.05.00
  Backup Level:   Differential, since=2007-04-01 00:07:10
  Client: "SMTCZB0003" i686-pc-linux-gnu,redhat,Enterprise 
release
  FileSet:"SMTCZB0003" 2007-02-20 22:25:00
  Pool:   "Differential" (From Run pool override)
  Storage:"NEC-T40A" (From Job resource)
  Scheduled time: 08-Apr-2007 00:05:00
  Start time: 08-Apr-2007 00:07:08
  End time:   08-Apr-2007 00:12:47
  Elapsed time:   5 mins 39 secs
  Priority:   5
  FD Files Written:   4,807
  SD Files Written:   4,807
  FD Bytes Written:   966,711,641 (966.7 MB)
  SD Bytes Written:   967,611,394 (967.6 MB)
  Rate:   2851.7 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Volume name(s): 06D124L3
  Volume Session Id:  40
  Volume Session Time:1174319761
  Last Volume Bytes:  968,583,168 (968.5 MB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

08-Apr 00:12 VU0EM005: Begin pruning Jobs.
08-Apr 00:12 VU0EM005: No Jobs found to prune.
08-Apr 00:12 VU0EM005: Begin pruning Files.
08-Apr 00:12 VU0EM005: Pruned Files from 1 Jobs for client SMTCZB0003 from 
catalog.
08-Apr 00:12 VU0EM005: End auto prune.




Job #2:

08-Apr 00:12 VU0EM005: Start Backup JobId 122, J

Re: [Bacula-users] Bacula and Windows

2007-04-10 Thread Silver Salonen
On Monday 09 April 2007, Maciej Piechotka wrote:
> I backup C:\Document & Settings by bacula. After some time I format
> Windows partition by accident. I reinstall Windows and I've tried to
> recover buckup.
> 1. It produce a lot of errors "warning: Permission of xyz was not
> changed because file do not exist" or something like that. What's
> wrong? Everything except this is OK.
> 2. Few profiles restored are partially ok - everything in it seems ok
> but windows creates new profile (in form USERNAME.HOSTNAME). What's
> going on?
> 
> Regards

About 2.

If Windows detects user's folder that is not created by Windows itself (e.g. 
some ID is wrong somewhere), it creates another folder in 
form "username.domain" or smth. If you want your user's folder to be in form 
of "username", I suggest you rename the restored folder into smth 
like "username.bak", let Windows create appropriate folder and then copy all 
the restored files-folders into the new folder.

Silver

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