Re: [Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Jari Fredriksson
4.8.2011 19:17, Jari Fredriksson kirjoitti:
> 4.8.2011 17:52, Jari Fredriksson kirjoitti:
>> I just installed again latest bacula-fd on my Windows workstation.
>>
>> nmap shows it listens, but authentication does not work.
>>
>> I can telnet it, and it connects, but then nothing happens. Status
>> client says
>>
>> You have messages.
>> *mess
>> 04-Aug 17:41 hurricane-dir JobId 0: Fatal error: bsock.c:135 Unable to
>> connect to Client: mosquito-fd on mosquito.fredriksson.dy.fi:9102.
>> ERR=Connection timed out
>> 04-Aug 17:47 hurricane-dir JobId 0: Fatal error: Unable to authenticate
>> with File daemon at "mosquito.fredriksson.dy.fi:9102". 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/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
>> for help.
>> *
>>
>> This problem has been with me as long as I have used Win7. I can make it
>> happend with Win2003 and XP fine.
>>
>> I now tried again because there was a thread with Win2008 and I thought
>> might be worth testing again.
>>
>> bacula-fd starts, but that is the error. Password is double checked.
>>
> 
> If I start it with -d 99, it starts and goes to background. There will
> be a bacula-fd.trace file, and it says
> 
> C:\Program Files\Bacula>type bacula-fd.trace
> bacula-fd: /home/kern/bacula/k/bacula/src/filed/filed_conf.c:452-0
> Inserting dir
> ector res: mosquito-mon
> mosquito-fd: /home/kern/bacula/k/bacula/src/lib/bsys.c:513-0 Could not
> open stat
> e file. sfd=-1 size=192: ERR=No such file or directory
> mosquito-fd: /home/kern/bacula/k/bacula/src/filed/filed.c:274-0 filed:
> listening
>  on port 9102
> 
> What state file is that?

  WorkingDirectory = "C:\\Program Files\\Bacula\\working"
  Pid Directory = "C:\\Program Files\\Bacula\\working"

Those are default values, and valid. Still "could not open state file"

-- 

Never reveal your best argument.



signature.asc
Description: OpenPGP digital signature
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] May I use Bacula to check if someone is using my pc without my permission?

2011-08-04 Thread Phil Stracchino
On 08/04/11 23:55, alberto abel wrote:
> Hi!
> I have reason to believe that someone is using my pc without permission
> and for now I prefer not to protect it with a password, because I'd like
> to check the honesty of such person to see if this person is really
> doing what I believe or not.
> I would like to know if with Bacula I could see if someone opens my word
> files in my pc even if they delete the voice from the list of recently
> opened files. And if I can see if they have tried to look on my facebook
> and webmail (I like to leave session open) even if they delete the
> chronology. And things like that. I mean, does Bacula only backup
> changes to physical data (edit, delete, etc) or does it also create a
> record of all the activities in the pc, visited paes, opened files and
> programs, anything done in the pc and also a record of last time that
> the pc was turned on?
> If yes, how can I ask to Bacula to create such a record?
> If not, any idea about a program which can do that?
> And is Bacula the same of SAN Bacula?

The short answer:  Bacula is a network-centric backup system, not an
intrusion detection system.  There is no reasonable way to make it do
what you want to do.  If you leave the machine around with an open
console and no password, you have no expectation whatsoever of security.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
  Renaissance Man, Unix ronin, Perl hacker, SQL wrangler, Free Stater
 It's not the years, it's the mileage.

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] May I use Bacula to check if someone is using my pc without my permission?

2011-08-04 Thread alberto abel
Hi!
I have reason to believe that someone is using my pc without permission and for 
now I prefer not to protect it with a password, because I'd like to check the 
honesty of such person to see if this person is really doing what I believe or 
not. 

I would like to know if with Bacula I could see if someone opens my word files 
in my pc even if they delete the voice from the list of recently opened files. 
And if I can see if they have tried to look on my facebook and webmail (I like 
to leave session open) even if they delete the chronology. And things like 
that. I mean, does Bacula only backup changes to physical data (edit, delete, 
etc) or does it also create a record of all the activities in the pc, visited 
paes, opened files and programs, anything done in the pc and also a record of 
last time that the pc was turned on?
If yes, how can I ask to Bacula to create such a record?
If not, any idea about a program which can do that?
And is Bacula the same of SAN Bacula?
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Getting back to the basics; Volumes, Pools, Reusability

2011-08-04 Thread Joseph L. Casale
>Why do we use volumes?  It sounds like a silly question, but it's
>genuine.  Is it so a backup can span several media types?  Tape, file,
>disk, Pandora's box, what?  Why do I care about volumes and how long
>they're retained, how often they're pruned, recycled, or what type
>they are?

You have to associate where the data was placed, literally as tapes are
finite in size and files shouldn't be infinite. It's a way to manage the
correlation.  Don't think that files are any different than tapes, they
have much the same limitations except for the obvious like wear.

>Why doesn't a Device (in my labs, I'm only using the File media type)
>have properties to define how large it is, rather, it's parent Volume
>specifies that?  Why would I not want to back up to a Volume instead
>of a pool?

The device doesn't have a size because that's limited by the volumes:)
What happens when you add more tapes/files and/or get bigger ones?
Device is just that, a device to write with.

>How often can I expect to use the same Fileset or Schedule for similar
>machines?  What kind of flexibility are people dealing with when
>specifying something one-off, concatenating Filesets, mixing
>Schedules, flipping between Pools.  Is it more or less common for a
>Job - which would be specified one-per-backed-up-machine - to share
>Schedules and Filesets?  I understand this is a loaded question, but
>I'm looking to figure out some of those "in practice" hypothetical
>questions that I've got in my mind.

All site specific, impossible to answer that. Should I expect to share the
same fileset between my Exchange 2010 boxes and my RHEL Clusters?

>Granted, I can see how and understand why Bacula was designed with
>tapes in mind.  Maybe a source of my confusion stems from the fact
>that maybe Bacula was almost designed specifically for tape backup,
>which I'm not using.

No, not designed specifically, again they are really the same, think that
way.

>I know these questions might seem kind of petty, in fact, maybe even
>inappropriate for this list.  I know I'm going to get a lot of "read a
>book" responses, but I've specifically crafted these questions to
>answer some much more specific questions, and I think I'll have most
>of the pieces to the puzzle figured out.

Not off topic, one has to learn at some point.

HTH,
jlc

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Getting back to the basics; Volumes, Pools, Reusability

2011-08-04 Thread Dan Trainor
Hi -

I've spent the better part of a week here going through Bacula
documentation, going through the quick start, and acquainting myself
more with Bacula.  I've known of Bacula for years now.  I've tinkered
with it in the past, so for this latest project I had a considerable
head start than what I've had in attempts prior.

Now, I need to implement Bacula.

Sheepishly, I'll admit, that throughout my professional career I've
never taken on backups because it was largely "somebody else's job".
Unfortunately, now, that seems to be biting me in the ass.  I'm
familiar with technical concepts of backups, why they're needed, what
they do, how long they live - heck, I even make my own backups, but in
a much simpler process than Bacula provides.  Simple tarballs on crons
 obviously isn't good enough for me because I know at this point in
time I know I need to consider something more robust, flexible and
long-term such as Bacula.

I've familiarized myself to the point where I know what basic
components are - director, storage daemon, file daemon, I know what a
job is, I know what a schedule is, I know a job uses a pool and a pool
is comprised of volumes.  I'm familiar with *Bacula* enough to
understand how it works, but not familiar enough with some more
fundamental basics of "backups" as a whole and that's got me hanging.

Why do we use volumes?  It sounds like a silly question, but it's
genuine.  Is it so a backup can span several media types?  Tape, file,
disk, Pandora's box, what?  Why do I care about volumes and how long
they're retained, how often they're pruned, recycled, or what type
they are?

Why doesn't a Device (in my labs, I'm only using the File media type)
have properties to define how large it is, rather, it's parent Volume
specifies that?  Why would I not want to back up to a Volume instead
of a pool?

How often can I expect to use the same Fileset or Schedule for similar
machines?  What kind of flexibility are people dealing with when
specifying something one-off, concatenating Filesets, mixing
Schedules, flipping between Pools.  Is it more or less common for a
Job - which would be specified one-per-backed-up-machine - to share
Schedules and Filesets?  I understand this is a loaded question, but
I'm looking to figure out some of those "in practice" hypothetical
questions that I've got in my mind.

Granted, I can see how and understand why Bacula was designed with
tapes in mind.  Maybe a source of my confusion stems from the fact
that maybe Bacula was almost designed specifically for tape backup,
which I'm not using.

I know these questions might seem kind of petty, in fact, maybe even
inappropriate for this list.  I know I'm going to get a lot of "read a
book" responses, but I've specifically crafted these questions to
answer some much more specific questions, and I think I'll have most
of the pieces to the puzzle figured out.

The Bacula manual provides an incredible wealth of information.  I've
not once ever seen a piece of software documented so well.  It
describes the details of each command and directive in much greater
depth than anything I've ever seen.  As far as I'm concerned, it's
deserving of a Pulitzer.  It does, however, assume a fair amount of
knowledge on the reader's behalf with regards to how one should
*properly* preform backups.  I know there's no definitive answer; it's
a loaded question.  What I'm after is some feedback on how and why I
should care about some of the minor (extrapolated as major, in due
time?) details in my configuration.

Thanks for taking the time to reading this message, and I look forward
to getting some good feedback in the next few days.

Thanks
-dant

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cancelling a job

2011-08-04 Thread Joseph L. Casale
>Now I have a much more urgent issue.  I am getting this message on several of 
>my files
>"This security ID may not be assigned as the owner of this object."  and the 
>file does not
>restore.  I am trying to recover files from our server and running on a 
>machine right now
>connected to a new server with bacula-fd running from the command line as 
>Administrator.
>
>What do I need to change?

See http://technet.microsoft.com/en-us/library/cc978898.aspx which should shed 
some light.
So I don't make assumptions, post back some info, like local or dom admin in 
the session
the fd is running under? Are you redirecting the restore? How and where and 
what are the
perms where it's being redirected?

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cancelling a job

2011-08-04 Thread Duncan McQueen
I finally just restarted bacula and it errored out.

Now I have a much more urgent issue.  I am getting this message on several of 
my files "This security ID may not be assigned as the owner of this object."  
and the file does not restore.  I am trying to recover files from our server 
and running on a machine right now connected to a new server with bacula-fd 
running from the command line as Administrator.

What do I need to change?


From: Duncan McQueen [dmcqu...@vomer.com]
Sent: Thursday, August 04, 2011 3:13 PM
To: bacula-users
Subject: [Bacula-users] Cancelling a job

I ran cancel from the console on a restore job and it is (almost an hour later) 
still yet to cancel with no messages on the log.  Is there a faster way to 
clear out a restore job?  I need the restore to start and I mistyped a part of 
the command (found out due to log issues)

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Cancelling a job

2011-08-04 Thread Duncan McQueen
I ran cancel from the console on a restore job and it is (almost an hour later) 
still yet to cancel with no messages on the log.  Is there a faster way to 
clear out a restore job?  I need the restore to start and I mistyped a part of 
the command (found out due to log issues)

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-bat - GUI form of bconsole

2011-08-04 Thread John Drescher
On Thu, Aug 4, 2011 at 3:57 PM, Rao, Uthra R. (GSFC-672.0)[ADNET
SYSTEMS INC]  wrote:
> Thank you for the information.
>
> When I run query from bconsole:
>
> *query
> Automatically selected Catalog: MyCatalog
> Using Catalog "MyCatalog"
> Automatically selected : The default file is empty, see 
> /examples/sample-query.sql for samples
> +---+
> | info                                                      |
> +---+
> | See /examples/sample-query.sql for samples |
> +---+
>
> On my server /usr/local/share/Bacula/query.sql the file is empty. This is a 
> FreebSD 8.2 system running Bacula 5.0.3. What should I do to get the "query" 
> to work?
>

If that is the query file that bacula is using on your system
(remember mine on gentoo is /etc/bacula/query.sql and I do not know
about your os) you can put the code I gave you in as #1 instead of #17
into the empty file and then after you get it working customize it to
fit your needs. If you know any SQL at all this should not be too
difficult.


John

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-bat - GUI form of bconsole

2011-08-04 Thread John Drescher
On Thu, Aug 4, 2011 at 3:27 PM, Rao, Uthra R. (GSFC-672.0)[ADNET
SYSTEMS INC]  wrote:
> I am not sure how to run the query to get the information I am looking for. 
> Any help is appreciated.  I am running Posgresql on my server.
>

Although this is not the exact thing you want Here is query 17 from my
/etc/bacula/query.sql

# 17
:List Volumes Bacula thinks are full and in changer
SELECT MediaId,VolumeName,VolBytes/(1024*1024*1024) AS GB,Storage.Name
  AS Storage,Slot,Pool.Name AS Pool,MediaType,Media.lastwritten,VolStatus
  FROM Media,Pool,Storage
  WHERE Media.PoolId=Pool.PoolId
  AND Slot>0 AND InChanger=1
  AND (VolStatus='Full' OR VolStatus='Archive')
  AND Media.StorageId=Storage.StorageId
  ORDER BY MediaType ASC, Media.lastwritten ASC;

This query lists the "Full" or "Archive" volumes that are in my
autochanger in order of lastwritten. Remember that recycling goes by
this lastwritten time.


Here is how I run this:

fileserv ~ # bconsole
Connecting to Director fileserver:9101
1000 OK: fileserver-dir Version: 5.0.3 (04 August 2010)
Enter a period to cancel a command.
*query
Automatically selected Catalog: HBCatalog
Using Catalog "HBCatalog"
Available queries:
 1: List up to 20 places where a File is saved regardless of the directory
 2: List where the most recent copies of a file are saved
 3: List last 20 Full Backups for a Client
 4: List all backups for a Client after a specified time
 5: List all backups for a Client
 6: List Volume Attributes for a selected Volume
 7: List Volumes used by selected JobId
 8: List Volumes to Restore All Files
 9: List Pool Attributes for a selected Pool
10: List total files/bytes by Job
11: List total files/bytes by Volume
12: List Files for a selected JobId
13: List Jobs stored on a selected MediaId
14: List Jobs stored for a given Volume name
15: List Volumes Bacula thinks are in changer
16: List Volumes likely to need replacement from age or errors
17: List Volumes Bacula thinks are full and in changer
18: Get all the Jobids for a job
19: List Volumes by status
20: List where the most recent copies of folder
Choose a query (1-20): 17
+-++--+--+--+-+---+-+---+
| mediaid | volumename | gb   | storage  | slot | pool
   | mediatype | lastwritten | volstatus |
+-++--+--+--+-+---+-+---+
| 285 | A00088 |  383 | DEV6-Changer |   20 |
LTO2-Archived-Data  | LTO-2 | 2011-02-21 19:17:37 | Full  |
| 286 | A00091 |  299 | DEV6-Changer |   22 |
LTO2-Archived-Data  | LTO-2 | 2011-03-07 15:53:01 | Full  |
| 287 | A00092 |  280 | DEV6-Changer |   23 |
LTO2-Archived-Data  | LTO-2 | 2011-03-07 20:37:37 | Full  |
| 260 | A00063 |  424 | DEV6-Changer |3 |
LTO2-System-Backups | LTO-2 | 2011-06-02 20:25:18 | Full  |
| 289 | A00093 |  412 | DEV6-Changer |   10 |
LTO2-Archived-Data  | LTO-2 | 2011-06-08 19:29:01 | Full  |
| 300 | A00105 |  299 | DEV6-Changer |2 |
LTO2-Archived-Data  | LTO-2 | 2011-06-17 18:21:08 | Full  |
| 301 | A00103 |  260 | DEV6-Changer |4 |
LTO2-Archived-Data  | LTO-2 | 2011-07-26 17:44:20 | Full  |
+-++--+--+--+-+---+-+---+

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] performance problem

2011-08-04 Thread Jeff Shanholtz
FWIW the backups sped up considerably and finished after 1.5 days at an
overall transfer rate of about 1.5 MB/s. I'm really not sure what caused the
slowdown yesterday but the eventual speed up seems to imply an environmental
state on the machines that went away. I checked to see if the AV software
was doing full system scans, but it wasn't. Unless anyone has ideas on what
might have been causing the slowdown, I will consider this issue (more or
less) resolved. Thanks anyway.

 

From: Jeff Shanholtz [mailto:jeffs...@shanholtz.com] 
Sent: Wednesday, August 03, 2011 5:31 PM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] performance problem

 

I currently have 3 clients doing a full backup (simultaneously). According
to "status client" one is getting 300kb/s (this one is my director and
storage server machine), one is getting 225kb/s, and one is getting 50kb/s.
I've disabled AV on access scanning for the bacula-fd.exe process. I have
software compression enabled, but none of the 3 systems seem bogged down so
I think the bottleneck is not due to that option (although I'm tempted to
turn on ntfs compression on the backup drive and disable software
compression in the future).

 

For the most part I don't mind too much that the backups are so slow because
I'm quite happy to see the client machines continuing to be quite snappy.
The main concern, particularly for full backups (which at this rate will
take upwards of 3 days to complete), is the possibility of a system going
offline and thus killing the backup (or will it pick up where it left off,
as long as I have FD Connect Timeout configured to be longer than a system
would typically be offline for, e.g. 12 hours?).

 

So what else could be coming into play with my poor performance? Are
simultaneous backups problematic performance-wise? I've watched the I/O
activity of bacula-sd.exe and it certainly doesn't seem to be maxed out. It
is using an external USB2 hard drive. Could the difference between USB2 and
eSATA be the key? I can connect them as eSATA if I really need to. Seems
like USB2 should be allowing substantially more than the roughly 600kb/s
overall speed I'm getting though.

 

I'm running all Windows Bacula binaries, version 3.0.3. I'm not sure posting
config files is necessary at this point, although I'm happy to do so if
needed.

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Jari Fredriksson
I have sched the file with Scintilla editor AND noyepad. Nothing chances.

4.8.2011 20:57, Guy kirjoitti:
> Can you check the files using a simple text editor like pico or vi. I would 
> suspect an extra char at the end of the line
> 
> Otherwise I guess make sure the director name also matches
> 
> ---Guy
> (via iPhone)
> 
> On 4 Aug 2011, at 18:09, Jari Fredriksson  wrote:
> 
>> 4.8.2011 19:26, Köksal Erdal kirjoitti:
>>> Hi Jari,
>>>
>>> did you compare the passwords from the client and the director?
>>>
>>> Best regards
>>> Köksal
>>
>> Copy-pasted them, they match.
>>
>> -- 
>>
>> Q:What's tan and black and looks great on a lawyer?
>> A:A doberman.
>>
>> --
>> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
>> The must-attend event for mobile developers. Connect with experts. 
>> Get tools for creating Super Apps. See the latest technologies.
>> Sessions, hands-on labs, demos & much more. Register early & save!
>> http://p.sf.net/sfu/rim-blackberry-1
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 

Fortune: You will be attacked next Wednesday at 3:15 p.m. by six samurai
sword wielding purple fish glued to Harley-Davidson motorcycles.

Oh, and have a nice day!
-- Bryce Nesbitt '84



signature.asc
Description: OpenPGP digital signature
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Guy
Can you check the files using a simple text editor like pico or vi. I would 
suspect an extra char at the end of the line

Otherwise I guess make sure the director name also matches

---Guy
(via iPhone)

On 4 Aug 2011, at 18:09, Jari Fredriksson  wrote:

> 4.8.2011 19:26, Köksal Erdal kirjoitti:
>> Hi Jari,
>> 
>> did you compare the passwords from the client and the director?
>> 
>> Best regards
>> Köksal
> 
> Copy-pasted them, they match.
> 
> -- 
> 
> Q:What's tan and black and looks great on a lawyer?
> A:A doberman.
> 
> --
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts. 
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Jari Fredriksson
4.8.2011 19:26, Köksal Erdal kirjoitti:
> Hi Jari,
> 
> did you compare the passwords from the client and the director?
> 
> Best regards
> Köksal

Copy-pasted them, they match.

-- 

Q:  What's tan and black and looks great on a lawyer?
A:  A doberman.



signature.asc
Description: OpenPGP digital signature
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Köksal Erdal

Hi Jari,

did you compare the passwords from the client and the director?

Best regards
Köksal

Jari Fredriksson schrieb:

4.8.2011 17:52, Jari Fredriksson kirjoitti:
  

I just installed again latest bacula-fd on my Windows workstation.

nmap shows it listens, but authentication does not work.

I can telnet it, and it connects, but then nothing happens. Status
client says

You have messages.
*mess
04-Aug 17:41 hurricane-dir JobId 0: Fatal error: bsock.c:135 Unable to
connect to Client: mosquito-fd on mosquito.fredriksson.dy.fi:9102.
ERR=Connection timed out
04-Aug 17:47 hurricane-dir JobId 0: Fatal error: Unable to authenticate
with File daemon at "mosquito.fredriksson.dy.fi:9102". 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/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
for help.
*

This problem has been with me as long as I have used Win7. I can make it
happend with Win2003 and XP fine.

I now tried again because there was a thread with Win2008 and I thought
might be worth testing again.

bacula-fd starts, but that is the error. Password is double checked.




If I start it with -d 99, it starts and goes to background. There will
be a bacula-fd.trace file, and it says

C:\Program Files\Bacula>type bacula-fd.trace
bacula-fd: /home/kern/bacula/k/bacula/src/filed/filed_conf.c:452-0
Inserting dir
ector res: mosquito-mon
mosquito-fd: /home/kern/bacula/k/bacula/src/lib/bsys.c:513-0 Could not
open stat
e file. sfd=-1 size=192: ERR=No such file or directory
mosquito-fd: /home/kern/bacula/k/bacula/src/filed/filed.c:274-0 filed:
listening
 on port 9102

What state file is that?

  



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.

Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1


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



--
Koeksal Erdal

Tel +49-40-39 80 53 - 250
Fax +49-40-39 80 53 - 29

portrix.net GmbH
Friesenweg 2b
22763 Hamburg
HRB 79850 (Amtsgericht Hamburg)
Geschaeftsfuehrer: Knud Alex Mueller, Henning Voss, Niclas Schroeder

http://www.portrix.net/

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Debian Packaging Questions -- SQL Queries

2011-08-04 Thread C M Reinehr
Several months ago, as a part of upgrading my server from Lenny to Squeeze, I 
upgraded Bacula from v2.4 to v5.0. After making a few configuration changes 
all seemed to be operating within normal parameters. But, at some point I 
noticed that my query.sql file was empty.

Before I copy over the sample-query.sql I would like to ask if this is normal 
or did I experiance a hicup in my upgrade? There is a big warning at the top 
of the sample-query.sql file that these queries may not work for all sql 
engines. My sql skills are rudimentary so I'd rather not spend hours debugging 
these scripts if there's an easier way to repair this. (I'm using SQLite3 and, 
before you say anything, I'll just say that it works for me. :-)

A second question, which may be related to the above, is in regard to certain 
bconsole commands. For example, when I try to use the update volume command, 
eventually I'm offered the opportunity to enter either the MediaId or Volume 
name. If I enter a MediaId I receive the following error: 'sql_get.c:1062 
Media record for Volume "" not found.' If I enter the full Volume name the 
command works as expected. This started happening after the upgrade, so, is 
this another hicup and, if so, could you point me to a solution? (Add an 
index? Populate the query.sql file?)

Thanks in advance!

cmr
-- 
Debian 'Lenny' - Registered Linux User #241964

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

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Jari Fredriksson
4.8.2011 17:52, Jari Fredriksson kirjoitti:
> I just installed again latest bacula-fd on my Windows workstation.
> 
> nmap shows it listens, but authentication does not work.
> 
> I can telnet it, and it connects, but then nothing happens. Status
> client says
> 
> You have messages.
> *mess
> 04-Aug 17:41 hurricane-dir JobId 0: Fatal error: bsock.c:135 Unable to
> connect to Client: mosquito-fd on mosquito.fredriksson.dy.fi:9102.
> ERR=Connection timed out
> 04-Aug 17:47 hurricane-dir JobId 0: Fatal error: Unable to authenticate
> with File daemon at "mosquito.fredriksson.dy.fi:9102". 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/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
> for help.
> *
> 
> This problem has been with me as long as I have used Win7. I can make it
> happend with Win2003 and XP fine.
> 
> I now tried again because there was a thread with Win2008 and I thought
> might be worth testing again.
> 
> bacula-fd starts, but that is the error. Password is double checked.
> 

If I start it with -d 99, it starts and goes to background. There will
be a bacula-fd.trace file, and it says

C:\Program Files\Bacula>type bacula-fd.trace
bacula-fd: /home/kern/bacula/k/bacula/src/filed/filed_conf.c:452-0
Inserting dir
ector res: mosquito-mon
mosquito-fd: /home/kern/bacula/k/bacula/src/lib/bsys.c:513-0 Could not
open stat
e file. sfd=-1 size=192: ERR=No such file or directory
mosquito-fd: /home/kern/bacula/k/bacula/src/filed/filed.c:274-0 filed:
listening
 on port 9102

What state file is that?

-- 

You mentioned your name as if I should recognize it, but beyond the
obvious facts that you are a bachelor, a solicitor, a freemason, and
an asthmatic, I know nothing whatever about you.
-- Sherlock Holmes, "The Norwood Builder"



signature.asc
Description: OpenPGP digital signature
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-bat - GUI form of bconsole

2011-08-04 Thread John Drescher
> Has anybody out there  installed “Bacula-bat” (Bacula Admin Tool) with
> Bacula 5.0.3?  I understand that this can be installed on a remote machine.
> Please let me know if this will help you sort the tapes by expiration date
> and pool name so that you can view all the tapes in a given pool in the
> order of their expiration date.
>

You can easily do that with bconsole using a query (which is what I
use). Bat also appears to support this.

John

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula client on Windows 7 does not authenticate

2011-08-04 Thread Jari Fredriksson
I just installed again latest bacula-fd on my Windows workstation.

nmap shows it listens, but authentication does not work.

I can telnet it, and it connects, but then nothing happens. Status
client says

You have messages.
*mess
04-Aug 17:41 hurricane-dir JobId 0: Fatal error: bsock.c:135 Unable to
connect to Client: mosquito-fd on mosquito.fredriksson.dy.fi:9102.
ERR=Connection timed out
04-Aug 17:47 hurricane-dir JobId 0: Fatal error: Unable to authenticate
with File daemon at "mosquito.fredriksson.dy.fi:9102". 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/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376
for help.
*

This problem has been with me as long as I have used Win7. I can make it
happend with Win2003 and XP fine.

I now tried again because there was a thread with Win2008 and I thought
might be worth testing again.

bacula-fd starts, but that is the error. Password is double checked.

-- 

You plan things that you do not even attempt because of your extreme
caution.



signature.asc
Description: OpenPGP digital signature
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-bat - GUI form of bconsole

2011-08-04 Thread Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Has anybody out there  installed "Bacula-bat" (Bacula Admin Tool) with Bacula 
5.0.3? I understand that this can be installed on a remote machine. Please let 
me know if this will help you sort the tapes by expiration date and pool name 
so that you can view all the tapes in a given pool in the order of their 
expiration date.

Thank You.

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Python in bacula

2011-08-04 Thread Hugo Letemplier
Hi


I am begining with Python scripting.

I imagine to have monitoring/management scripts for bacula coded with python.
Indeed Bash is not very easy to manage bacula object concepts ( jobs
schedule … )

First i saw that bacula can execute python code according to internal events

Is there a library for python that contain class description for
bacula content ?

Can I directly call python methods that will communicate with Director
or database ?

Immagine that I want to update my volumes parameters via python
Whithout sending commands to bconsole ?

I dont like so much to use bconsole in script because it's not always
easy to do what you want.
Also I dont like to access directly the database because it's internal
to the bacula functionment.

How can I do that kind of stuff ?

I would like to drive Bacula with python like I can do it with
bconsole. Is this possible ?

Thanks

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup Folders using "Wild" and "RegExDir"

2011-08-04 Thread Richard Marnau
> > On Tue, 2 Aug 2011 15:25:12 +0200, Richard Marnau said:
> >
> > Martin, thanks for the follow up. I did change the configuration
> without success.
> > Do you might have any other idea? Is my understanding of the lines
> correct?
> >
> > FileSet {
> >   Name = "ClientWindows"
> >   Include {
> >
> >File = "C:/Dokumente und Einstellungen"   <- INCLUDE ALL
> OTHER SUBFOLDERS
> >
> >  Options {
> >   signature = MD5
> >   compression = GZIP
> >   IgnoreCase = yes
> >
> >  WildDir = "C:/Dokumente und Einstellungen/*/Desktop" <---
> INCLUDE DESKTOP FROM EVERY USER
> >  WildDir = "C:/Dokumente und Einstellungen/*/Eigene Dateien" <--
>  INCLUDE EIGENE DATEIEN FROM EVERY USER
> >
> >   #Alle Benutzerverzeichnise mit einbeziehen.
> >   RegExDir="^C:/Dokumente und Einstellungen/[^/]+$" <---
> - Copy Past from the manuell - no idea
> >
> >   #Alle Benutzer Desktop Verzeichnise und Unterverzeichnise
> >   Wild = "C:/Dokumente und Einstellungen/*/Desktop/*" <-
> - INCLUDE ALL FILES FROM DESKTOP
> >
> >   #Alle Benutzer Eigene Dateien und Unterverzeichnise
> >   Wild = "C:/Dokumente und Einstellungen/*/Eigene Dateien/*" <--
> --- INCLUDE ALL FILES FROM EIGENE DATEIEN
> > }
> >  Options {
> > Exclude = yes
> > IgnoreCase = yes
> > Wild= "C:/Dokumente und Einstellungen/*" <--
> --- EXCLUDE EVERYTHING ELSE
> > }
> >   }
> > }
> 
> That looks correct to me.  Did you reload the configuration in the
> director?
> 
> Did it back up anything at all?  E.g. use estimate job=... listing
> level=full.
> 
> Which version of Windows is the client using?
> 
> __Martin
> 


Thanks Martin again, I did miss to change the level to full after changing the 
fileset.
Cheers :-)




--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and Dell Powervault 124T

2011-08-04 Thread Andrea Conti
== Autochanger test ===
> 
> 3301 Issuing autochanger "loaded" command.
> Nothing loaded in the drive. OK.
> 3303 Issuing autochanger "load 1 0" command.
> 
> It just sits there doing nothing, I guess it is supposed to remove the tape 
> from the drive and put the tape from slot 1 into the drive but that doesn't 
> seem to happen

I've been using a 124T with Bacula for a little more than a year now.

I noticed that right after the powering on and every time a tape has
been accessed the library has a certain tendency to reply with garbage
to the first changer command it gets; I don't know if it's my particular
unit/setup or if other 124Ts do that.

I never got down to debugging the issue; adding a

${MTX} -f ${ctl} status >/dev/null 2>&1

before every mtx invocation in the mtx-changer script got it working
with Bacula.

HTH,
Andrea

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users