Re: [Bacula-users] Performance with latent networks

2011-04-11 Thread Gavin McCullagh
Hi,

On Mon, 11 Apr 2011, Peter Hoskin wrote:

 I'm using bacula to do backups of some remote servers, over the Internet
 encapsulated in OpenVPN (just to make sure things are encrypted and kept off
 public address space).
 
 The bacula-fd is in Montreal Canada with 100mbit Ethernet. I also have
 another bacula-fd in Canberra Australia on 100mbit Ethernet. The
 bacula-director is in Sydney Australia with ADSL2+ at full line sync. The
 latency to Montreal is about 300ms while the latency to Canberra is about
 30ms.

The issue, I imagine with transfer rates is between the bacula-fd and
bacula-sd.  Do we presume the -sd is in Sydney?  You don't say what speed
the Sydney ADSL2+ link is (though apparently it can manage at least
2.2MByte/sec).

Is that 300ms over the VPN?  If you run a long ping, is there any
noticeable packet loss?

 The problem I'm encountering. backups from the Montreal box will peak at a
 transfer rate of 100kb/sec despite my ability to do 2.2mb/sec via http, ftp,
 ssh, rsync, etc. from the same host.

Presumably these tests are between the -fd and -sd hosts along the same VPN.

Broadly AIUI, one bulk TCP transfer should be the same as another and the
two should be affected by latency in the same way.  This suggests to me
that there's something else going on.  Maybe the bacula-fd host is busy or
the bacula-fd itself is doing encryption or compression which is slowing
down its send rate?  Are these incremental backups or full?  Are you using
accurate backups (which need data to be sent to the fd from the dir)?

Have you checked the disk and cpu load on the bacula fd and sd during these
backups?

 So it appears the problem is network latency. Is there anything I can try to
 improve backup speeds from Montreal?

I may be wrong, but I'm not convinced it's just latency.

Gavin




--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula on a mixed Win Ubuntu Lan

2011-04-11 Thread Marcello Romani
Il 10/04/2011 01:15, acorn12 ha scritto:
 On 08/04/2011 12:29 AM, Marcello Romani wrote:
 Il 08/04/2011 02:33, acorn12 ha scritto:
 I am trying to run bacula on a mixed LAN with some Win XP/Vista machines
 and one Ubuntu 10.04 Server.
 The server has the bacula 5.0.1 package installed, while on the Windows
 XP machine I have bacula-win32-5.0.3.exe installed.

 -
 As I am very new to bacula, I'm sure I am missing something, but have no
 clue what or where to look.

 Any hints or pointers are most welcome.

 TIA
 The Windows installer asks for the director name but doesn't set the
 password correctly. Copy the password from XP-fd.conf to the bacula-dir.conf
 Copying the password did not seem to make a difference.
 As a test I've installed bacula 5.0.1 bacula-console-qt, bacula-console
 and bacula-common packages in a VMWare Ubuntu box on WinVista.
 The director (also 5.0.1) runs on the machine 'geek', not on the local
 machine.

 Calling up just bconsole I get only:
 /user@ubuntu:~$ sudo bconsole
 Connecting to Director geek:9101
 user@ubuntu:~$/

 /user@ubuntu:~$ sudo bconsole -t
 user@ubuntu:~$/

 Running BAT gives me the same error and behaves the same in every other
 way, first it does connect, but then fails with the same error message.

 So it looks it is not really (or at least not only) a Windows problem!!!

 bconsole.conf
 ---
 #
 # Bacula User Agent (or Console) Configuration File
 #
 Director {
 Name = geek-dir
 DIRport = 9101
 address = geek
 Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS
 }
 ---
 bat.conf
 -
 #
 # Bacula Administration Tool (bat) configuration file
 #
 Director {
 Name = geek-dir
 DIRport = 9101
 address = geek
 Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS
 }
 -

 --
 Fight Spam - report it with wxSR
 http://www.columbinehoney.net/wxSR.shtml



 --
 Xperia(TM) PLAY
 It's a major breakthrough. An authentic gaming
 smartphone on the nation's most reliable network.
 And it wants your games.
 http://p.sf.net/sfu/verizon-sfdev



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

I don't have a solution, but some other suggestions...
In bacula-dir.conf, the Password field must match the one listed in the 
client conf files above.
Same for Name parameter.
In /etc/bacula/bacula-dir.conf check that DirAddress also reports geek
Check also that /etc/hosts doesn't contain an entry where the fqdn of 
geek is matched to 127.0.0.1

HTH

-- 
Marcello Romani

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How do I know if a job is actually part of a Copy procedure?

2011-04-11 Thread ewan.brown
I believe that's normal behaviour for copy jobs.

Cheers,

Ewan

 -Original Message-
 From: Gergely Polonkai [mailto:pol...@w00d5t0ck.info]
 Sent: 08 April 2011 17:04
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] How do I know if a job is actually part of a
 Copy procedure?
 
 Hello List,
 
 When I start a Copy type job, two jobs are actually started. E.g when I
 want to copy a job originally called 'client1-full' within a Copy job
 called 'client1-copy', the database holds two running job records, one
 of them called 'client1-copy', with the Type field set to 'C' (Copy),
 and the other called 'client1-full', level F, Type B (Backup). Is there
 a way to find out if this second one is started because of the Copy
 job, or it is meant to be run e.g because of a schedule or a console
 action?
 
 Thanks in advance!
 
 Best regards,
 Gergely Polonkai
 --
 You need to believe in things that aren't true. How else can they
 become? - Terry Pratchett

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Filename searching and case insensitivity

2011-04-11 Thread Kernel Panic
I think I understand but as the Filename column in the Bacula script
is created with the BLOB data type then according to the documentation
the lower() function does not work:

http://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_lower

It says I need to convert it into a non-binary string, I don't really
have any SQL skills at all but I'll see what I can do :)

On 9 April 2011 16:01, Dan Langille d...@langille.org wrote:

 On Apr 5, 2011, at 10:19 PM, Kernel Panic wrote:

 On 6 April 2011 02:37, Dan Langille d...@langille.org wrote:

 On Apr 5, 2011, at 9:31 PM, Kernel Panic wrote:

 Hello everyone,

 Whilst trying to find a way of doing a case-insensitive search for
 file, I found previous posts on the mailing lists that instructed me
 to use the sqlquery function in bacula. As a test I wanted to search
 for files with zfs in their name and then with ZFS in the name. After
 starting up bconsole and entering sqlquery mode I did the following:

 USE bacula;
 SELECT * FROM Filename WHERE name LIKE '%ZFS%';
 SELECT * FROM Filename WHERE name LIKE '%zfs%';

 Although the commands worked, they only returned case-sensitive
 matches, despite MySQL's documentation stating that pattern matching
 is case-insensitive by default:
 http://dev.mysql.com/doc/refman/5.5/en/pattern-matching.html

 Can anyone help me?

 Have you tried ilike instead of like?  It is available on PostgreSQL.  I 
 don't know about MySQL.

 Consider also:

 SELECT * FROM Filename where lower(name) LIKE %zfs%;

 Unfortunately ilike/ILIKE do not seem to be valid operators in MySQL.
 The lower(name) doesn't cause a problem but the results are still
 case-sensitive

 Think wider.

 It is not case insensitive.  It is all lower case. You are comparing lower 
 case to lower case.

 Does that help?

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Feature idea : Advanced status of a current job;

2011-04-11 Thread Hugo Letemplier
Hi
Since many days I am thinking thats it could be nice to have some
feature that enable the user to have an idea of the speed that the job
is running.

I imagine something that report during the job : Network rates, Job
advancement, Files backed up, Bytes Copied ?

Also I use Webacula, and when

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature idea : Advanced status of a current job;

2011-04-11 Thread Hugo Letemplier
Sorry, there was a bug, message sent while I was writing :(

2011/4/11 Hugo Letemplier hugo.let...@gmail.com:
 Hi
 Since many days I am thinking thats it could be nice to have some
 feature that enable the user to have an idea of the speed that the job
 is running.

 I imagine something that report during the job : Network rates, Job
 advancement, Files backed up, Bytes Copied ?

 Also I use Webacula, and when I look at the timeline the currently running 
 job cant be viewed


I imagine a command like status job  jobid=
- Data already backed up
- Estimation of the remaining Data (or time)
- Elapsed time
- Network data transfert
- Datarate at two level ( with/without compression )
and some information that could be fine to estimate the duration of a job.
Lots of backup software have a graphical progression bar. When you
start a job in bacula you don't have statistics before the job is
terminated.

Maybe I missed a feature like that that already exist ?

I think that a lot of people will be interested by that king of feature.

Thank you

Hugo

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature idea : Advanced status of a current job;

2011-04-11 Thread Edgars Mazurs
Hi

Why not use Bweb? It does and shows exactly what you want.

Edgars

-Original Message-
From: Hugo Letemplier [mailto:hugo.let...@gmail.com] 
Sent: Monday, April 11, 2011 5:55 PM
To: bacula-users
Subject: [Bacula-users] Feature idea : Advanced status of a current job;

Hi
Since many days I am thinking thats it could be nice to have some
feature that enable the user to have an idea of the speed that the job
is running.

I imagine something that report during the job : Network rates, Job
advancement, Files backed up, Bytes Copied ?

Also I use Webacula, and when

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature idea : Advanced status of a current job;

2011-04-11 Thread Hugo Letemplier
2011/4/11 Edgars Mazurs edgars.maz...@lattelecom.lv:
 Hi

 Why not use Bweb? It does and shows exactly what you want.

 Edgars

 -Original Message-
 From: Hugo Letemplier [mailto:hugo.let...@gmail.com]
 Sent: Monday, April 11, 2011 5:55 PM
 To: bacula-users
 Subject: [Bacula-users] Feature idea : Advanced status of a current job;

 Hi
 Since many days I am thinking thats it could be nice to have some
 feature that enable the user to have an idea of the speed that the job
 is running.

 I imagine something that report during the job : Network rates, Job
 advancement, Files backed up, Bytes Copied ?

 Also I use Webacula, and when


I had lots of problem when implementing bweb. Moreover webacula seems
to be more active web interface project for bacula.
Maybe a sort of fusion between the web projects would be cool ? I feel
like theses web projects are working independently. Each one with is
advantages and drawbacks.

Also I often use bconsole, I think it's best to include such a command
in the core of the software than in the web interface.

: )

Hugo

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature idea : Advanced status of a current job;

2011-04-11 Thread ewan.brown
Within bconsole you can use status client=myserver-fd to get most of this 
information (where myserver-fd is the name of the file daemon involved in the 
backup).

Cheers,

Ewan

 -Original Message-
 From: Hugo Letemplier [mailto:hugo.let...@gmail.com]
 Sent: 11 April 2011 15:37
 To: bacula-users
 Subject: [Bacula-users] Feature idea : Advanced status of a current
 job;
 
 Hi
 Since many days I am thinking thats it could be nice to have some
 feature that enable the user to have an idea of the speed that the job
 is running.
 
 I imagine something that report during the job : Network rates, Job
 advancement, Files backed up, Bytes Copied ?
 
 Also I use Webacula, and when
 
 ---
 ---
 Xperia(TM) PLAY
 It's a major breakthrough. An authentic gaming
 smartphone on the nation's most reliable network.
 And it wants your games.
 http://p.sf.net/sfu/verizon-sfdev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
-- 
Scanned by iCritical.

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula offsite backups (once again)

2011-04-11 Thread Bart Swedrowski
I have successfully been using Bacula for almost 2 years now.  Fairly
small (~30 machines) and straight forward setup -- only one director,
one SD.

A need has arisen to start doing offsite backups.  Now, what seems
like pretty trivial task, came out to be major headache.

I went through mailing list and it seems that most of the people are
using rsync based shipping of Bacula volumes off-site and if needed,
bscan them or even keep a copy of Director as a standby one in case of
disaster.  This kind of approach could work for me, however:
a) in case of SD death, I won't be able to simply login to bconsole
and start restoring jobs; it will require some manual fiddling before
I will be able to do that
b) it will substantially limit flexibility; how would you configure in
this case to eg. do local backups every day, however remote -- offsite
backup -- say, every three days using this approach?  Theoretically
you could use SQL to list volumes you need to copy over, but then
again -- a)

Given lack of possibility of using COPY job across two different SDs
(with dependencies respect), my initial thought was to simply back up
twice, first time to local and second time to offsite SD.  However, I
read numerous posts saying that if SD dies, Bacula most likely won't
be able to do restore basing on only one SD (it will want to use both;
 unless the other one is going to be Full only which is going to be
massive waste of space).

I was wondering if anyone manage to find a solution that addresses a)
and b) and is not rsync based?

Kind regards,
Bart

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Feature idea : Advanced status of a current job;

2011-04-11 Thread Gavin McCullagh
Hi,

On Mon, 11 Apr 2011, Hugo Letemplier wrote:
 
 I imagine a command like status job  jobid=

I presume you've looked at status client=  

It does much of what you want (current job duration, data transferred,
rate, num files, current file), but without the predictive information
you're looking for (time/data remaining).  In principal, if you or bacula
ran an estimate beforehand, you could probably work out an estimated time
remaining but I don't think that feature is present.  Estimates are only
available for full backups.

*estimate job=CeartgoleorBackups-Job
Using Catalog MyCatalog
Connecting to Client ceartgoleor-fd at ceartgoleor.:9102
2000 OK estimate files=223,128 bytes=9,724,976,371

Gavin



--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How do I know if a job is actually part of a Copy procedure?

2011-04-11 Thread Gergely Polonkai
I know it is normal, and it's fine with me. I just want to know (if possible) 
if a given Backup job is started due to a Copy job or not.

On 2011.04.11., at 12:35, ewan.br...@stfc.ac.uk wrote:

 I believe that's normal behaviour for copy jobs.
 
 Cheers,
 
 Ewan
 
 -Original Message-
 From: Gergely Polonkai [mailto:pol...@w00d5t0ck.info]
 Sent: 08 April 2011 17:04
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] How do I know if a job is actually part of a
 Copy procedure?
 
 Hello List,
 
 When I start a Copy type job, two jobs are actually started. E.g when I
 want to copy a job originally called 'client1-full' within a Copy job
 called 'client1-copy', the database holds two running job records, one
 of them called 'client1-copy', with the Type field set to 'C' (Copy),
 and the other called 'client1-full', level F, Type B (Backup). Is there
 a way to find out if this second one is started because of the Copy
 job, or it is meant to be run e.g because of a schedule or a console
 action?
 
 Thanks in advance!
 
 Best regards,
 Gergely Polonkai
 --
 You need to believe in things that aren't true. How else can they
 become? - Terry Pratchett
 

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula offsite backups (once again)

2011-04-11 Thread Rodrigo Renie Braga
For the last few days, I've been struggling with the same problem, and I
don't if my experience can help you or not, but here goes:

First of all, I have a special Admin Job that runs every day at 12:00pm,
which basically sends my Catalog Backup (postgres), the bacula-dir and
bacula-sd config and system files to an external storage (currently Dropbox,
but soon Amazon). So if my bacula-dir or bacula-sd crashes, I can manually
restore them manually from this backup.

My normal daily backups works like this: once a month I run a Full Backup of
all my servers (almost 50), every Sunday I run a Diff Backup and all the
other days I run a Inc Backup. All of theses backups goes to a single Tape
Library configured in my bacula-sd.

My problem was that I needed to take my backup tapes to a external site, but
at the same time I needed all my backups locally available for any restore
needed.

The solution to my problem was: I make a Copy Job that, weekly, makes a copy
of the last Full Backup or of the last Diff Backup of my clients to a second
Tape Library also configured on the same bacula-sd, and I take the tapes
used on those Copy Jobs to an external site. And weekly I bring those tapes
back and make them available to future Copy Jobs (their retention time are 8
days).

That way, in case a meteor falls down on my company, I'll need to manually
revive the bacula-sd and bacula-dir from the Dropbox backup, and then use
the Copy Jobs tapes to restore the files from last week.

Sorry if I didn't made my self very clear, but you can always contact me
personally for further explanations.


2011/4/11 Bart Swedrowski b...@timedout.org

 I have successfully been using Bacula for almost 2 years now.  Fairly
 small (~30 machines) and straight forward setup -- only one director,
 one SD.

 A need has arisen to start doing offsite backups.  Now, what seems
 like pretty trivial task, came out to be major headache.

 I went through mailing list and it seems that most of the people are
 using rsync based shipping of Bacula volumes off-site and if needed,
 bscan them or even keep a copy of Director as a standby one in case of
 disaster.  This kind of approach could work for me, however:
 a) in case of SD death, I won't be able to simply login to bconsole
 and start restoring jobs; it will require some manual fiddling before
 I will be able to do that
 b) it will substantially limit flexibility; how would you configure in
 this case to eg. do local backups every day, however remote -- offsite
 backup -- say, every three days using this approach?  Theoretically
 you could use SQL to list volumes you need to copy over, but then
 again -- a)

 Given lack of possibility of using COPY job across two different SDs
 (with dependencies respect), my initial thought was to simply back up
 twice, first time to local and second time to offsite SD.  However, I
 read numerous posts saying that if SD dies, Bacula most likely won't
 be able to do restore basing on only one SD (it will want to use both;
  unless the other one is going to be Full only which is going to be
 massive waste of space).

 I was wondering if anyone manage to find a solution that addresses a)
 and b) and is not rsync based?

 Kind regards,
 Bart


 --
 Xperia(TM) PLAY
 It's a major breakthrough. An authentic gaming
 smartphone on the nation's most reliable network.
 And it wants your games.
 http://p.sf.net/sfu/verizon-sfdev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula on a mixed Win Ubuntu Lan

2011-04-11 Thread acorn12
On 11/04/2011 1:23 AM, Marcello Romani wrote:
 Il 10/04/2011 01:15, acorn12 ha scritto:
 On 08/04/2011 12:29 AM, Marcello Romani wrote:
 Il 08/04/2011 02:33, acorn12 ha scritto:
 I am trying to run bacula on a mixed LAN with some Win XP/Vista machines
 and one Ubuntu 10.04 Server.
 The server has the bacula 5.0.1 package installed, while on the Windows
 XP machine I have bacula-win32-5.0.3.exe installed.

 -
 As I am very new to bacula, I'm sure I am missing something, but have no
 clue what or where to look.

 Any hints or pointers are most welcome.

 TIA
 The Windows installer asks for the director name but doesn't set the
 password correctly. Copy the password from XP-fd.conf to the bacula-dir.conf
 Copying the password did not seem to make a difference.
 As a test I've installed bacula 5.0.1 bacula-console-qt, bacula-console
 and bacula-common packages in a VMWare Ubuntu box on WinVista.
 The director (also 5.0.1) runs on the machine 'geek', not on the local
 machine.

 Calling up just bconsole I get only:
 /user@ubuntu:~$ sudo bconsole
 Connecting to Director geek:9101
 user@ubuntu:~$/

 /user@ubuntu:~$ sudo bconsole -t
 user@ubuntu:~$/

 Running BAT gives me the same error and behaves the same in every other
 way, first it does connect, but then fails with the same error message.

 So it looks it is not really (or at least not only) a Windows problem!!!

 bconsole.conf
 ---
 #
 # Bacula User Agent (or Console) Configuration File
 #
 Director {
 Name = geek-dir
 DIRport = 9101
 address = geek
 Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS
 }
 ---
 bat.conf
 -
 #
 # Bacula Administration Tool (bat) configuration file
 #
 Director {
 Name = geek-dir
 DIRport = 9101
 address = geek
 Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS
 }
 -

 --
 Fight Spam - report it with wxSR
 http://www.columbinehoney.net/wxSR.shtml



 --
 Xperia(TM) PLAY
 It's a major breakthrough. An authentic gaming
 smartphone on the nation's most reliable network.
 And it wants your games.
 http://p.sf.net/sfu/verizon-sfdev



 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 I don't have a solution, but some other suggestions...
 In bacula-dir.conf, the Password field must match the one listed in the
 client conf files above.
 Same for Name parameter.
Thank you;
That much seems to check out OK
 In /etc/bacula/bacula-dir.conf check that DirAddress also reports geek
In /etc/bacula/bacula-dir.conf I have DirAddress = 127.0.0.1
 Check also that /etc/hosts doesn't contain an entry where the fqdn of
 geek is matched to 127.0.0.1
my /etc/hosts has two entries
127.0.0.1 geek.aww.net geek localhost
127.0.0.1 geek.aww.net Geek

My understanding - which is very soft and unsure - is that that is sort 
of expected.
Can you please help me understand why this is not wanted for bacula?
and how I would have to change it to make things work?

TIA


-- 
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml


--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula on a mixed Win Ubuntu Lan

2011-04-11 Thread acorn12

On 11/04/2011 1:23 AM, Marcello Romani wrote:

Il 10/04/2011 01:15, acorn12 ha scritto:

On 08/04/2011 12:29 AM, Marcello Romani wrote:

Il 08/04/2011 02:33, acorn12 ha scritto:

I am trying to run bacula on a mixed LAN with some Win XP/Vista machines
and one Ubuntu 10.04 Server.
The server has the bacula 5.0.1 package installed, while on the Windows
XP machine I have bacula-win32-5.0.3.exe installed.


-

As I am very new to bacula, I'm sure I am missing something, but have no
clue what or where to look.

Any hints or pointers are most welcome.

TIA

The Windows installer asks for the director name but doesn't set the
password correctly. Copy the password from XP-fd.conf to the bacula-dir.conf

Copying the password did not seem to make a difference.
As a test I've installed bacula 5.0.1 bacula-console-qt, bacula-console
and bacula-common packages in a VMWare Ubuntu box on WinVista.
The director (also 5.0.1) runs on the machine 'geek', not on the local
machine.

Calling up just bconsole I get only:
/user@ubuntu:~$ sudo bconsole
Connecting to Director geek:9101
user@ubuntu:~$/

/user@ubuntu:~$ sudo bconsole -t
user@ubuntu:~$/

Running BAT gives me the same error and behaves the same in every other
way, first it does connect, but then fails with the same error message.

So it looks it is not really (or at least not only) a Windows problem!!!

bconsole.conf
---
#
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = geek-dir
DIRport = 9101
address = geek
Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS
}
---
bat.conf
-
#
# Bacula Administration Tool (bat) configuration file
#
Director {
Name = geek-dir
DIRport = 9101
address = geek
Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS
}
-

--
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml



--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev



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

I don't have a solution, but some other suggestions...
In bacula-dir.conf, the Password field must match the one listed in the
client conf files above.
Same for Name parameter.
In /etc/bacula/bacula-dir.conf check that DirAddress also reports geek
Check also that /etc/hosts doesn't contain an entry where the fqdn of
geek is matched to 127.0.0.
I forgot to mention in my last reply now if I run bconsole or bat under 
Vista, I get the following error now after playing with all the settings 
as suggested till now:

( and also replacing the old 32 bit installation with the 64 bit version)

/C:\Program Files\Baculabconsole
11-Apr 10:12 bconsole: ERROR TERMINATION at 
/home/kern/bacula/k/bacula/src/lib/parse_conf.c:898
Config error: Cannot open config file 
C:\ProgramData\Bacula/bconsole.conf: No

such file or directory/
-
BAT complains about the same thing.
If I create the directory c:\ProgramData\Bacula and the copy the files 
bat.conf and bconsole.conf to it, the old problem returns

i.e Error in console.cpp:155 -- populateLists

My conclusion: the 64 bit installer does not create this directory and 
does not copy these two files.


--
Fight Spam - report it with wxSR
http://www.columbinehoney.net/wxSR.shtml

--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Performance with latent networks

2011-04-11 Thread Peter Hoskin
Hi,

 

 The issue, I imagine with transfer rates is between the bacula-fd and

 bacula-sd.

 

Correct


 Do we presume the -sd is in Sydney?  You don't say what speed

 the Sydney ADSL2+ link is (though apparently it can manage at least

 2.2MByte/sec).

 

24mbit down, 1mbit up

 

 Is that 300ms over the VPN?  If you run a long ping, is there any

 noticeable packet loss?

 

With ping -s 65500 -c 1000 I got:

 

1000 packets transmitted, 1000 received, 0% packet loss, time 999884ms

rtt min/avg/max/mdev = 421.944/1202.740/4353.202/578.943 ms, pipe 5

 

So there seems to be no real packet loss even with larger packets.

 

 Maybe the bacula-fd host is busy or

 the bacula-fd itself is doing encryption or compression which is slowing

 down its send rate?  Are these incremental backups or full?  Are you using

 accurate backups (which need data to be sent to the fd from the dir)?

 

 Have you checked the disk and cpu load on the bacula fd and sd during
these

 backups?

 

I've checked both hosts. There is plenty of memory, CPU  bandwidth sitting
idle at both ends. The loadavg is below 0.5.

 

The hosts in Montreal actually have more spare resources than the Canberra
host which transfers oh so much better.

 

I'm not using accurate backups. But I do have GZIP turned on.

 

  So it appears the problem is network latency. Is there anything I can
try to

  improve backup speeds from Montreal?

--
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users