Re: [Bacula-users] bacula Dedup not good working

2011-09-12 Thread Mehma Sarja
Well put Dan.

Mehma
===
On 9/12/11 4:16 PM, Dan Langille wrote:
 There are many possible reasons why people did not help.   Don't take it 
 personally.
 And certainly do not include sentences like the last one.


 It is good of you to post the solution.  Thank you.



--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] License

2011-08-29 Thread Mehma Sarja
On 8/29/11 9:37 AM, Dan Langille wrote:
 On Aug 29, 2011, at 2:17 AM, Geert Stappers wrote:

 Op 20110825 om 06:38 schreef Mehma Sarja:
 Need a clarification on Bacula license for a backup appliance that I am
 contemplating. Would I be able to sell such a device or service?

   ( AFAIK first reply to mailing list )

 Is the silence a loud

 YES WE CAN!


 ???
 I think asking us for a legal opinion is not a good foundation for a business.

Users can, however, relay experiences in using Bacula under a similar 
circumstance as I aspire to.

Mehma

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] License

2011-08-24 Thread Mehma Sarja
Need a clarification on Bacula license for a backup appliance that I am 
contemplating. Would I be able to sell such a device or service?

Mehma

--
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] director don't start

2011-08-23 Thread Mehma Sarja

On 8/23/11 7:50 AM, Roberto Pereyra wrote:


This is my /etc/bacula/bacula-sd.conf:

  WorkingDirectory = /var/spool/bacula
  Pid Directory = /var/run


sd.conf's working directory value should have quotes around it...perhaps.

Mehma
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Is Anyone Backing up iPhone and iPad using Bacula?

2011-07-26 Thread Mehma Sarja
Is there a simple method to back these devices up?

Mehma

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Is Anyone Backing up iPhone and iPad using Bacula?

2011-07-26 Thread Mehma Sarja
On 7/26/11 9:57 PM, James Harper wrote:
 Is there a simple method to back these devices up?

 If they sync to a PC then just backing up the backup on the PC would be
 sufficient. If you are talking about backing them up over wireless or
 something then that would be a pretty big drain on the battery and the
 network...

 James
That makes sense, however, I have never seen an iPhone, nor an iPad, 
being backed up/synced to a computer.

Mehma

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Requesting SVLUG Speaker

2011-07-15 Thread Mehma Sarja
I am the Speaker Coordinator for the Silicon Valley Linux User 
Group(SVLUG). We would like someone from the Bacula community to speak 
at one of our monthly meetings in Mountain View, CA. If you are or will 
be in the Bay Area in December and are willing to share your 
enterprise experiences, we meet monthly, 1st Wednesday evenings, 7-9 
PM, at Symantec's Vcafe room, 350 Elllis Street, Mountain View, CA 
94043, near E. Middlefield Road.

We have7 December 2011 open for speakers. If you are interested, please 
let me know.


Yudhvir Singh Sidhu aka Mehma
Speaker Coordinator
Silicon Valley Linux User Group
www.svlug.org
408 677 7660 cell

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Reliable Backups without Tapes?

2011-07-14 Thread Mehma Sarja
On 7/14/11 4:56 PM, Ken Mandelberg wrote:
 We currently backup our department network running Legato networker with
 backup to a raided disk array (advanced file device in their jargon)
 followed by cloning to a Qualstar/SAIT2 tape library.

 Our backup needs are increasing and we don't want to buy licenses for
 more file device space or more tape slots. We would like to go with
 Bacula and have no limits.

 In fact since SAIT has dead ended and its not clear to me if Bacula
 supports Qualstar, I wonder about an all disk solution.

 Under Legato the license restriction artificially keep the file-device
 small relative to the tape storage. However, these days disks are
 cheaper than tapes and license free we could afford a lot of disk space.

 However, the second feature of the tapes is that if the file-device
 fails (even raid fails), we can transparently go to tape. It also
 affords the option of off site copies of the tapes.

 Is there any strategy for Bacula that adds the reliability we would lose
 by abandoning the tapes. Perhaps a second redundant array combined with
 some removable drives for off sites?


Ken,

You will have to change the way you look at backups. Use the RAID but 
also consider an off-site disk arrangement - depending upon what kind of 
environment you are in and the size of data. You could purchase a 
supported model tape drive if you need to keep your current arrangement. 
Although disks and Bacula provide freedom, you gain the headache of 
having to think about how to architect a solution.

Mehma




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New to Bacula - emergency situation.

2011-07-05 Thread Mehma Sarja
After the emergency is over, please tell us what you did and how it
turned out.

Mehma

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Ubuntu 10.10 Install Script

2011-06-30 Thread Mehma Sarja
Dear bacul-ors and bacula-rettes,

I submit to you an updated Ubuntu 10.10 install script which works for 
me on a 64 bit machine.

Bacula 5.0.3 on Ubuntu 10.10 server - Jun 2011
*NOTE: The following instructions were developed with postgresql 
installed as part of the server install process.
-
PRE-REQUISITES
sudo apt-get upgrade  sudo apt-get update
sudo apt-get install g++ libpq-dev
===

COMPILE
a.  Untar and cd to installation directory
b.  Put this in a bacula_conf file and make it executable sudo chmod 
744 bacula_conf

#!/bin/sh
CFLAGS=-g -O2 -Wall \
   ./configure \
 --sbindir=/usr/local/sbin \
 --sysconfdir=/usr/local/etc \
 --mandir=/usr/local/sbin \
 --enable-smartalloc \
 --enable-batch-insert \
 --enable-largefile \
 --with-postgresql \
 --with-working-dir=/usr/local/bacula/working \
 --with-dump-email=mehmasa...@gmail.com \
 --with-pid-dir=/usr/local/bacula/working \
 --with-subsys-dir=/usr/local/bacula/working \
 --with-job-email=mehmasa...@gmail.com \
 --with-smtp-host=smtp.gmail.com
exit 0

***NOTE: BAT is not enabled - it requires qt to be installed

c.  sudo mkdir -p /usr/local/bacula/working

d. Still in the installation directory: sudo ./yss-config  sudo make 
 sudo make install clean
===
SQL ASCII THE DATABASE

***NOTE:  DON'T HAVE TO DO THIS FOR Ubuntu 10.10, 64 bit with postgresql 
installed as part of server build
UTF-8 to SQL_ASCII
sudo pg_dropcluster --stop 8.4 main
sudo pg_createcluster --start -e SQL_ASCII 8.4 main
===

DATABASE
sudo chown postgres:postgres /usr/local/etc/see note  [*NOTE only the 
create database, make tables and grant privileges files need to be 
chown-ed.]
sudo su - postgres
As user postgres: createuser bacula
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n

As user postgres: /usr/local/etc/create_bacula_database
As user postgres: /usr/local/etc/make_bacula_tables
As user postgres: /usr/local/etc/grant_bacula_privileges
$ psql bacula
   bacula=# alter user bacula with password 'bacula';
\q
exit

sudo vi /etc/postgresql/8.4/main/pg_hba.conf change line local   all
all  ident to local   allall   md5
sudo /etc/init.d/postgresql restart

===

FIRE_IT_UP
a.  Add password: vi /usr/local/etc/bacula-dir.conf and add password 
'bacula' to dbpassword variable
b.  From anywhere: sudo bacula start
c.  Check status: sudo bacula status -of dir, sd and pd processes - if 
the config or install does not go well, one or more process will die
===

TEST
sudo /usr/local/sbin/bacula-dir -t -c /usr/local/etc/bacula-dir.conf
sudo /usr/local/sbin/bacula-fd -t -c /usr/local/etc/bacula-fd.conf
sudo /usr/local/sbin/bacula-sd -t -c /usr/local/etc/bacula-sd.conf
sudo /usr/local/sbin/bconsole -t -c /usr/local/etc/bconsole.conf
===



--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ubuntu 10.10 Install Script

2011-06-30 Thread Mehma Sarja
On 6/30/11 2:34 PM, Konstantin Khomoutov wrote:
 On Thu, Jun 30, 2011 at 11:04:34AM -0700, Mehma Sarja wrote:

 I submit to you an updated Ubuntu 10.10 install script which works for
 me on a 64 bit machine.
 [...]

 What's wrong with `aptitude install bacula`?
 In case you desperately need 5.0.3 over 5.0.2 from meerkat, what's wrong
 with backporting a 5.0.3 package from a more recent OS release?

I did not know that existed. But there are a couple of things wrong with 
apt-get install bacula. The choices are confusing and the hit and miss 
approach leaves a broken install. apt-get install selects some odd 
places to put bacula config files. I could not find any control files, 
eg bacula-ctl-dir, on the system. I could not get postgresql to switch 
modes to sql_ascii from utf8. I don't know what a postgresql server 
dev package installs other than to satisfy the libpq need. What a 
headache to save typing a few commands and compile the thing.

Besides a native compile is always good, eh? It is clean and simple and 
you control what functionality to compile in. It also gives one some 
practice skills for when the time cometh and we go looking for the usr 
local etc directory to run the upgrade commands.

Mehma

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ubuntu 10.10 Install Script

2011-06-30 Thread Mehma Sarja
On 6/30/11 7:09 PM, Venkatesh K Reddy wrote:
 The way package dependencies are handled in Ubuntu can be bit 
 confusing at times.

 I have Bacula installed in 10.10 and I find all the configuration 
 files in /etc/bacula. You can find state files in /var/lib/bacula 
 and log in /var/lob/bacula.

 I am using MySQL though.

I like postgres and that's what I kept selecting. Is the apt-get or 
aptitude convenience that people like or is there an aversion to 
compiling?  It is easy and you have so many configure options to select 
from.

Mehma

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: Bacula FD not talking to SD

2011-06-29 Thread Mehma Sarja
On 6/29/11 5:28 AM, John Drescher wrote:

 SD  DIR are running on the same machine (bacula01, which is the
 address I'm using for both DIR  SD) and the FD can connect to the
 DIR, so I assume, using the same address, it should be able to connect
 to the SD

Use a direct IP address rather than a name.

Mehma

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] can't connect to mysql server

2011-06-27 Thread Mehma Sarja
On 6/27/11 1:06 AM, Jerry Scharf wrote:
 Sorry, I must be doing something stupid here but I can't figure it out.

 section of bacula-dir.conf

 # Generic catalog service
 Catalog {
 Name = MyCatalog
 # Uncomment the following line if you want the dbi driver
 # dbdriver = dbi:sqlite3; dbaddress = 127.0.0.1; dbport =
 dbname = bacula; DB Address = 127.0.0.1; dbuser = bacula;
 dbpassword = XXX
 }
The 'dbdriver' line is commented out.

Mehma

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] configure bacula on debian

2011-06-26 Thread Mehma Sarja

On 6/26/11 5:07 AM, husam Al-khalili wrote:

Hi,

I've been having some real problems installing and setting up Bacula 
for the first time in our organization. I'm trying to get it up and 
running locally before tackling the issue of a network backup.


I've tried to follow the guide as much as possible, but sometimes, I 
can't make head or tails of it.


So far I have the following when I run BConsole:


[Emphasis between *** is mine]


Enter a period to cancel a command.
*message
19-Jun 13:05 jrcb01-dir JobId 11: No prior Full backup Job record found.
19-Jun 13:05 jrcb01-dir JobId 11: No prior or suitable Full backup 
found in catalog. Doing FULL backup.
19-Jun 20:05 jrcb01-sd JobId 3: Job 
BackupClient1.2011-06-15_13.05.00_06 is waiting. ***Cannot find any 
appendable volumes.***

Please use the label command to create a new Volume for:
Storage:  FileStorage (/etc/test)
Pool: File
Media type:   File


Husam,

Go ahead and do what bconsole asks, run the label command and create a 
new volume. Call it testvolume or something. Then run a backup. You 
are 95% there.


Mehma
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems backing up to disk

2011-06-25 Thread Mehma Sarja
On 6/25/11 1:13 PM, mikewilt wrote:
 I have set up two similar installations at home and at church.  They both 
 have the same problem.  Both are running under Linux:

 Linux version 2.6.26-2-686 (Debian 2.6.26-26lenny1) (da...@debian.org) (gcc 
 version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Nov 25 
 01:53:57 UTC 2010

 Both are running Bacula Version: 5.0.3 (04 August 2010)

 I configured to use disk storage based on the chapter Automated Disk Backup 
 in the user manual.

 It seems to work ok for a while, but the volume status for disk volumes turns 
 fairly quickly to Error.  At this point they don't get used or recycled and 
 it runs out of usable volumes.  I have been able to restore from such volumes 
 so their contents seems to be ok.  I can force it to purge them but that is 
 very tedious.

 Any ideas out there?

 Mike

Mike,

The only thing I can conjecture due to the lack of disclosure of the 
seemingly closely-held details is that you are the common denominator in 
both church and home setups. Hence, you have done something wrong. Are 
the volumes overfilling the disks? Could be. Or it could be one of many 
other causes. What does the error say? A list of the messages output 
will be helpful. So, I hope you don't get overly frustrated with 
Bacula.We can only help once you share the details.

Mehma

--
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Financial article about Bacula Systems

2011-06-11 Thread Mehma Sarja
On 6/11/11 1:54 PM, Rory Campbell-Lange wrote:
 On 11/06/11, Kern Sibbald (k...@sibbald.com) wrote:
 http://finance.yahoo.com/news/Bacula-Systems-Receives-US5-prnews-1588890840.html?x=0.v=1
 This is great news for Bacula, its users, and hopefully Bacula Systems.
 Bravo!
Can individuals get in on the invest in bacula systems wagon? In a 
smaller way, but it will be a good gauge of just how serious users take 
this product. This will be a plus for both sides. We get in on a rising 
company whose product we believe in, and the company sees who is willing 
to put up their own funds as investors. Meaning does Bacula have the 
mindshare among users to sustain the model over the long-term. Kind of 
like an inside user poll. But with money. I'll buy shares.

Second, I am the Speaker Coordinator for Silicon Valley Linux User 
Group(SVLUG). We would like you(anyone who has Bacula experience) to 
speak at one of our monthly meetings in Mountain View, CA. We meet 
monthly, 1st Wednesday evenings, 7-9 PM, at Symantec's Vcafe room, 350 
Elllis Street, Mountain View, CA 94043, near E. Middlefield Road. We 
have November and December 2011 dates open for speakers. If you are 
interested, please let me know.

Mehma

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula maintenance : Clean Data

2011-06-06 Thread Mehma Sarja
On 6/6/11 4:57 AM, Buschini Edouard wrote:
 Hello Radoslaw

 Thank you for your answer.

 I have to more questions because I discover a new command in Bconsole 
 : Prune

 To clean I use set the retention file at 0 days then I log in to 
 Bconsole and prune client=my_client after that I select Files and 
 finaly 'yes'. Do this action trucate all data associate to my_client ? 
 I've got 115 critical server to backup, I don't want to mess this up :)

Hi Buschini,

I hope you are trying all these suggestions on a test machine and not 
contemplating doing it on the backups directly.

mehma

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FW: Backup NAS Storage - [SOLVED]

2011-05-20 Thread Mehma Sarja
On 5/20/11 7:45 AM, Robert Kromoser wrote:
 Unfortunately doesn't support our Buffalo NAS Systems no NFS thus I must
 take a detour over the mount.cifs protocol.

 I'm not a friend of cifs in a linux environment but what shall's.
 It works.
sshfs ?

mehma

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [Bacula-devel] [SOLVED] OneFS = no doesn't work

2011-05-18 Thread Mehma Sarja
On 5/18/11 12:45 PM, Roy Sigurd Karlsbakk wrote:

 Last, I would think the -t argument to bacula-dir should have reported this 
 issue

Roy,

Sometimes it is just better to swallow.

Mehma

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problems with disk-based backup

2011-04-27 Thread Mehma Sarja
On 4/27/11 12:05 AM, Philip Yarra wrote:
 Hi, I'm having some troubles with bacula failing to perform automatic 
 backups. The issue seems to be that the storage daemon is not 
 automatically labelling a new volume. The setup looks like this:

 Director lives on an Intel server running Ubuntu 10.04.2 LTS, the 
 installed version of bacula is from the packages for this release: 5.0.1

 Storage daemons live on a pair of Netgear ReadyNAS NV+ (sparc-based 
 NAS boxes) using 5.0.1 compiled natively on a ReadyNAS box. The NV+ is 
 running Linux 2.6.17.14ReadyNAS and I believe this is a re-packaged 
 Debian Sarge

 We have File daemons (version 5.0.3) deployed on a range of Windows 
 2003, 2000 and Ubuntu server boxes.

 We do a full backup each Saturday morning, then each weeknight we 
 write an incremental. The director config has has custom schedules so 
 that alternate weeks are written to different storage daemons.

 The problems seemed to start occurring when the volume names rolled 
 over from Incr-0099 to Incr-0100 (that is the first instance I can 
 find of this issue, anyway). I don't know if this is coincidence or 
 not. When the problem occurred, we got this in the director's logs:

[snip]
 My suspicion is that the issue is on the storage daemon. I've now set 
 them to create debug level output (using-v -dt -d 200) which I have 
 redirected to a file, so I hope to have more info in future.

 Regards, Philip.

Philip,

My first thought is that your fd, maybe, should not be more current than 
the dir or sd. Having an older fd worked for me. The second thing is 
there are no 'maximum' commands. Here are mine in the Pool section:
  Maximum Volume Bytes = 4GB
  Maximum Volumes = 115

Multiply 4 x 115 = 460 GB - bad things happen if the disk gets full

The third thought is that you really should run a much simpler 
setup(conf files) till all issues are hashed out. You are doing things 
the hard way.

Mehma

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole delayed response

2011-04-27 Thread Mehma Sarja

 Issuing run command in bconsole sometimes takes a long time, up to 20
 minutes, to respond.

What does /var/log/bacula/log say?

Mehma
NFAK  Ali ka naam sunkar ab bhi Kyber kamp jaata hae.

--
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula FD on HP-UX

2011-04-21 Thread Mehma Sarja
You could send him the fd executable and control file. Perhaps the sd 
and dir are on a different os?



Mehma
===
On 4/21/11 6:14 AM, Bart Schelstraete wrote:


Bacula works fine on HP-UX 11.11  11.31. (Itanium)

2011/4/21 Edgars Mazurs edgars.maz...@lattelecom.lv 
mailto:edgars.maz...@lattelecom.lv



I have several HP-UX machines which need to be backed up.

PS. HP-UX B.11.11 U 9000/800




--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What's a Virtual Full Spposed to Look Like?

2011-04-21 Thread Mehma Sarja
A few weeks ago - sorry I'm slow - there was a shower of VF messages and 
the subject intrigued me enough to change my bacula-dir.conf file and 
run a VF on a couple of backup clients. Well, lo and behold, something 
happened and w/o any errors.

*list media pool=Default

|   714 | backup_seema | 2011-01-10 23:50:00 | B| F |   
49,283 | 17,585,775,645 | T |
|   907 | backup_medigrail | 2011-04-01 22:55:02 | B| F |  
185,103 |  4,016,456,888 | T |

Can someone tell me what is supposed to happen? Like maybe a bconsole 
command which shows Whoa! we took a bunch of diffs and last full and 
now we have a new full!

Mehma

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Strange Win x64 fileset problem

2011-04-04 Thread Mehma Sarja
On 4/4/11 2:25 PM, Tor Willy Austerslått wrote:
 In short: I can't for the life of me see what could be wrong. Anyone have any 
 useful pointers with regard to where to start looking?
Tor Willy,

That is a nice name! It could be a file name. It is good that it backs 
up one file, how about one directory?

Mehma

--
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] My Documents

2011-03-30 Thread Mehma Sarja
On 3/30/11 2:05 PM, Paul Fontenot wrote:
 I am attempting to backup only the My Documents directory on my
 Windows machines and I'm not having any luck. Here is my FileSet
 directive

 FileSet {
  Name = My Documents
  Enable VSS = yes
  Include {
  File = C:/Documents and Settings/*/My Documents
  }
 }
I'd use WildDir instead of File with that starry thing *.

Mehma

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula and 16 bay JBOD

2011-03-23 Thread Mehma Sarja
On 3/23/11 7:28 AM, Alan Brown wrote:
 Phil Stracchino wrote:

 Well, a good start is to use something like SMART monitoring set up to
 alert you when any drive enters what it considers a pre-fail state.
 (Which can be simple age, increasing numbers of hard errors, increasing
 variation in spindle speed, increasing slow starts, etc, etc...)
 FWIW: Nexan, Xyratec and Infortrend all have SMART tracking disabled on
 their hardware arrays because they claim it usually only says a drive is
 on its way out a few hours after it died.

 (Personally: I use it and find that it does predict imminent drive
 failures, but usually with less than 24 hours to go. That's still better
 than no warning at all.)


Since drives ONLY fail on Friday afternoons local time, an effective 
remedy is to check for SMART messages before the weekend. Foolish as 
that is, I am surprised how many times it has held true for me.

Mehma



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] External USB 3 Drive Anyone?

2011-03-18 Thread Mehma Sarja
Costco is selling an Iomega 2.5 1 TB drive with usb 3 for a 120 bucks. 
Anyone using this for backups?

Mehma

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Need help fixing configuration files.

2011-03-06 Thread Mehma Sarja
On 3/5/11 11:04 AM, Kenney, William P. (Information Technology Services) 
wrote:


Hello all,

I am new to Bacula. I have gotten Bacula to run on Ubuntu and am 
trying to install it on RHES 6 as a production backup solution with no 
luck.


I am using MySql 5.1 as the database. The Bacula distribution is from 
Red Hat's extras repository.


I have been able to get Bacula to start but it dies within a minute 
and leaves the subsys lock in place.


Bat starts but cannot connect, logs indicate the other daemons cannot 
connect as well.


I have tried using a FQDN, ip address and localhost in the 
configuration files requiring an address.


I have used the OLD_PASSWORD() function in mysql to see if the 
password being passed was an issue.




Whoa Nellie!

For someone new to Bacula, your setup is complex. Why not make it simple 
to start with? Did you test the configuration files? Did you eliminate 
the messages section? Did you try isolating the problem? Did you compare 
your config files PID directory and other locations with what bacula 
thinks where these locations are in these files: bacula-ctl-dir, 
bacula-sd-dir and bacula-ctl-sd?


Mehma
--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] waiting on max Storage jobs

2011-03-04 Thread Mehma Sarja
On 3/4/11 4:32 AM, Dan Langille wrote:
 This situation occurs often. Usually every morning.  If I cancel the top
 job (in this ca 54502), the other jobs will proceed.



 Running Jobs:
 Console connected at 04-Mar-11 12:23
JobId Level   Name   Status
 ==
54502 Differe  CopyToTape-Diff.2011-03-04_08.32.04_23 is waiting on
 max Storage jobs
54503 FullCopyToTape-Full.2011-03-04_08.32.04_24 is waiting execution
54504 FullCopyToTape-Full.2011-03-04_08.32.04_25 is waiting for
 higher priority jobs to finish
54505 Increme  nyi_maildir_tarball.2011-03-04_08.32.05_26 is waiting
 execution
54506 FullBackupCatalog.2011-03-04_08.32.05_27 is waiting execution
 

 My configuration is:

 http://www.langille.org/tmp/bacula-dir.conf
 http://www.langille.org/tmp/bacula-sd.conf

 Any clues as to why this hangs so often?

There is history of this problem in this list - search past posts. If I 
remember, this is an email notification issue.

Mehma

--
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] sanity check on a distributed local backup strategy?

2011-02-26 Thread Mehma Sarja
On 2/26/11 1:19 PM, Dan Langille wrote:
 On 2/25/2011 11:15 PM, Mehma Sarja wrote:
 On 2/25/11 2:50 PM, dev001 wrote:
 Sanity check?
 It is an excellent idea and efficient usage of resources. I have a

snip
 If you have no connectivity to the Dir, backups will not be run.
Oopsie, looks like that is an accurate assessment. Nothing against any 
backup scheme, nor any solution be it Bacula, Amanda, etc - but these 
things are designed for always-on, always-connected systems. Enter a 
mobile email device, a roaming laptop and things get harder to backup. 
There should be a way to backup a laptop to a cloud like dropbox. So, if 
a mobile device can run a complete dir. fd and sd then it can backup. 
non-windows laptops can.

Is anyone doing something like this?

Mehma


--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] problem with etc/init.d/bacula-director

2011-02-25 Thread Mehma Sarja
Yo,

I've had the same problem  - futzed with Ubuntu how-to's and gave up. 
Sure would be nice to have it in init.d.

Mehma

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Replacing WSB with Bacula - need help with hardware requirements

2011-02-17 Thread Mehma Sarja

On 2/16/11 9:30 PM, Vancho Gjeorgjievski wrote:


Hi guys,

My name is Vancho, I work as a system engineer for small software 
company located in Australia. The company I work  for has 15 business 
critical servers, based on Microsoft platform, which I manage on daily 
basis, and one of the key ITSM services I provide is Backup 
Management. We’re not satisfied with Windows Backup features and 
performance, so we decided to replace it with Bacula. I read a lot 
about this software and I found it to be quite in compliance with our 
company’s requirements. Currently I’m preparing detailed design for 
the Bacula deployment, and at the moment I’m facing difficulties 
selecting the appropriate hardware for Bacula to run on. In the Bacula 
documentation I couldn’t find the section that points to the minimal 
or the optimal hardware requirements.


So I thought to ask you to help me with my trouble, could you please 
recommend which hardware would be most suitable for my environment? 
The spread sheet contains the servers that consist our server farm. 
Thanks in front! J


Server



Role



OS



Processor



RAM



HDD



Network

vartry



DC



Windows Server 2008 x86



_2xXeon@2.7GHz mailto:2xXeon@2.7GHz_



3GB



40 GB



100 Mbps Ethernet

ryex2010svr01



Exchange server 2010



Windows Server 2008 R2 x64



_2xXeon@3.6GHz mailto:2xXeon@3.6GHz_



4GB



150 GB



100 Mbps Ethernet

ulster



CRM



Windows Server 2008 x86



_2xXeon@2.8GHz mailto:2xXeon@2.8GHz_



2GB



70 GB



100 Mbps Ethernet

galway



Management server



Windows Server 2003 x86



_8xXeon@2.8GHz mailto:8xXeon@2.8GHz_



4GB



200 GB



100 Mbps Ethernet

croanbane



SQL Server 2005 / 2008



Windows Server 2003 x86



_4xXeon@3GHz mailto:4xXeon@3GHz_



3GB



200 GB



100 Mbps Ethernet

shannon



Sharepoint server



Windows Server 2003 x86



_4xXeon@2.7GHz mailto:4xXeon@2.7GHz_



2GB



70 GB



100 Mbps Ethernet

bellmount



TeamFoundation server / SQL server



Windows Server 2003 x86



_2xXeon@3GHz mailto:2xXeon@3GHz_



2GB



150 GB



100 Mbps Ethernet

kilcoole



SMTP gateway



Windows Server 2003 x86



_P3@647MHz mailto:P3@647MHz_



128 MB



25 GB



100 Mbps Ethernet

delgany



Web (IIS) server



Windows Server 2003 x86



_2xXeon@3GHz mailto:2xXeon@3GHz_



3GB



100 GB



100 Mbps Ethernet

ms-isa



Gateway server / ISA Firewall



Windows Server 2003 x86



_4xXeon@3.4GHz mailto:4xXeon@3.4GHz_



4GB



300 GB



100 Mbps Ethernet

antrim



Application Server



Windows Server 2003 x86



_2xXeon@3Ghz mailto:2xXeon@3Ghz_



2GB



200 GB



100 Mbps Ethernet

luas



HyperV host



Windows Server 2008 R2 x64



_4xi5@2.7GHz mailto:4xi5@2.7GHz_



8GB



2TB



100 Mbps Ethernet

kudos



Application Server



Windows Server 2008 R2 x64



_2xXeon@3Ghz mailto:2xXeon@3Ghz_



2GB



200 GB



100 Mbps Ethernet

lee



Sharepoint server



Windows Server 2008 R2 x64



_2xXeon@3Ghz mailto:2xXeon@3Ghz_



2GB



200 GB



100 Mbps Ethernet



Vancho,

You have about 4 TB worth of drives and if you are saving 1/2 of that, 
your space needs are 2 TB + whatever scheme(retention, incremental, etc) 
you plan use. I'd get a  Coraid.com AOE storage machine with a minimal, 
stable Linux server running bacula SD and DIR as the head - and about 4 
GB of RAM. I'd populate it with enterprise drives no larger than 750 GB.


Why AOE ? - it is built-in into the Linux kernel and is simple, fast and 
stable technology.  It will handle RAID and their 15-bay will be 
scalable. It has 3 PSUs for redundancy. It is fairly cheap and you can 
use whichever enterprise drives you want.


Mehma




--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows XP Backup

2011-02-16 Thread Mehma Sarja

On 2/16/11 11:44 AM, Mike Hendrie wrote:

 -*Troubleshooting Information*-
*Bconsole Storage Status:* Nothing there on the Windows Job
*Bconsole Client Status:*
JobID 15 Job il93mdec-fd.2011-02-16_07.18.11_03 is running
Full System or Console Job started: 16-Feb-11 13:38
FIles=0 Bytes=0 Bytes/sec=0 Errors=0
Files Examined=0
SDSocket closed.


Try a simpler fileset to start with.

Mehma
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Need Assistance with Second Client

2011-02-14 Thread Mehma Sarja

On 2/14/11 8:59 AM, Chris Geegan wrote:


However, when I execute the job I see 1,Full not found executing Full 
backup, Using Storage Device. Then nothing. There are no errors in 
the syslog or messages log of either system. If the check client 
status or estimate failed then I would understand the job not running 
but they are so I'm stuck. At this point my belief is it is not a 
configuration issue but maybe one of the client itself. Any help would 
be greatly appreciated.

In bconsole report on output of status all

Mehma
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Modifications to Bacula Files not allowing bconsole to start

2011-02-14 Thread Mehma Sarja

On 2/14/11 11:11 AM, Mike Hendrie wrote:

*Why: *I was making changes to several bacula config files 
(bacula-dir.conf, bacula-sd.conf, bacula-fd.conf) and now the bconsole 
is not starting.

Mike bconsole should talk to the director, look at bacula-dir.conf

Mehma
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Director dies if SD crashes

2011-02-11 Thread Mehma Sarja
On 2/11/11 12:19 PM, Dan Langille wrote:
 On Fri, February 11, 2011 2:39 pm, Roy Sigurd Karlsbakk wrote:

 Hi all

 I have a bacula setup now that seems to work well after some initial
 problems. Now, running 5.0.1 from Ubuntu Lucid (10.04), the director dies
 if an FD dies during backup. Does anyone know if this is a known problem?
 I would like to stick to Ubuntu packages if I can't avoid it...
  
 The subject says SD.  The content says FD.  However, according to what I
 saw on IRC, Roy meant FD in both cases.


Seems Roy re-compiled. I'd check if my bacula-ctl-fd settings, towards 
the top of the file, are pointing to the right places. And change them 
if they are not. Mine look like:
===
BACFDBIN=/usr/local/sbin
BACFDCFG=$/usr/local/etc
PIDDIR=/usr/local/bacula/working
SUBSYSDIR=/usr/local/bacula/working
FD_PORT=9102
===
Check bacula-ctl-dir top section also.

Mehma

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Qnap NAS is runs at 7 WATTS.... Whaaaaa?!!!

2011-02-09 Thread Mehma Sarja
Whoa Nellie! Let me recycle my earlier, boring post to appeal to a 
broader audience. Check out the latest Qnap NAS

http://qnap.com/pro_detail_feature.asp?p_id=191

I am interested in the TS 112 since it MAY be able to run Bacula via 
some NSLU package ipkg magic. Apparently Qnap has a package manager 
called qpkg. qpkg has a package which installs ipkg and you can then use 
ipkg packages on many of Qnap's appliances. Whew! that wore me out. 
Anyways, here is the relevant page which shows how:

http://forum.qnap.com/viewtopic.php?f=182t=24858

The thing I like about the unit is that it consumes 7 watts. I'd want to 
compare that against a stock, boring Atom based system which can be put 
to sleep and woken at the flick of a cron job to perform the backups. 
I'm guessing the latter is more reliable over the long term. And I like 
boring.

Anyone have any feeling on this?

Mehma




--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Anyone using bacula on Qnap NAS?

2011-02-08 Thread Mehma Sarja
As this post suggests, does anyone have a stable install on a qnap NAS 
device?

http://forum.qnap.com/viewtopic.php?f=182t=24858

Mehma

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FW: Bacula help

2011-01-26 Thread Mehma Sarja
On 1/26/11 2:14 AM, Laxansh K. Adesara wrote:
 Hi,

 I am Using same password in Ubuntu and window but now whenever I try to
 connect bacula director from windows(bat file) it's showing following
 error

 Bat:ABORTIMG due to ERROR in console/console.cpp:155
 Failed to connect to ubuntu-dr for populateLists.

 I don't know where I am making mistakes. I Have also opened the port
 9101 n 9102 still director is not connecting with window client. Any
 help

 Regards,

 Laxansh

Just a thought, the name of director on the client needs to be right. 
And the name of the client on the server needs to be right. Just check it.

Mehma

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] FW: FW: Bacula help

2011-01-26 Thread Mehma Sarja
On 1/26/11 7:50 AM, Laxansh K. Adesara wrote:
 Hi,

 I have checked it. Both are same but now it seems like database issue as
 in the log file its showing database error. But I have already installed
 mysql database and in the bacula-dir configuration file by default it
 was showing my database details e.g. database name, username n password.
 But still error is saying configure your database. So what do I need to
 do to configure mysql database with bacula-director?

 Regards,

 Laxansh

You should not be having these many problems. Did you configure mysql 
during bacula compile? Or if you did it via apt-get, did you specify 
mysql? These is extensive documentation on configuring the database?

Mehma

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Compile Bacula on Snow Leopard

2010-11-11 Thread Mehma Sarja
Thanks to the list person a few moons ago who sent me this - here is the 
link.
http://dl.dropbox.com/u/12539855/bacula-5.0.1.dmg

Mehma

--
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PostgreSQL 9.0 - passes regresssion tests

2010-11-04 Thread Mehma Sarja
Why does the click-through report that it failed the test?

http://regress.bacula.org/viewTest.php?onlyfailedbuildid=4916

Mehma
===
On 11/4/10 9:19 AM, Dan Langille wrote:
 FYI, the latest svn version of Bacula passes the regression tests with
 PostgreSQL 9.0:

http://regress.bacula.org/buildSummary.php?buildid=4916




--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bad disk noises - replace the volume without restarting the backup?

2010-11-03 Thread Mehma Sarja
As a one-time disk rescuer, let me mention that 'dd' is your friend.

Mehma
===
On 11/3/10 3:16 PM, Mark Luntzel wrote:
 On Wed, Nov 3, 2010 at 2:50 PM, Phil Stracchinoala...@metrocast.net  wrote:

 On 11/03/10 13:34, Mark Luntzel wrote:
  
 The answer is probably no but...

 I can hear the disk currently being written to making bad noises, and
 the speed is extremely slow. Bad disk for sure, about to fail. This is
 at the end of a multi-Terabyte backup, just about 500 gig left and I
 would REALLY hate to think there is no way out but to start over
 completely.

 So is there a way for me to replace that disk without invalidating the
 entire backup? Running on Linux with an external SATA / FW enclosure,
 bacula version 3.0.2

 If it's mirrored, or part of any RAID1 or higher configuration, you can
 swap out the failed disk and rebuild the mirror.  If it is a single,
 unmirrored disk ... sorry, but if it's failed, you're SOL.
 Check the disk with smartmontools or similar before you assume it's bad,
 and check your kernel logs for write failures.  Is it possible it's just
 thrashing?
  
 Just to clear up confusion, I am talking about the disk being *written
 to*. It is not in a RAID, it is just in an external SATA/FW enclosure.
 Since I cannot yet (AFAIK) send SMART commands across the USB/FW bus,
 I had to settle with xfs_check. Which caused the disk to again make
 bad clunking noises and output btree block errors. This could just
 indicate filesystem corruption, but the question is moot for the
 purposes of this particular job.

 I hit the IRC channel up, and after discussing the issue with the fine
 folks there, came to the conclusion that I am indeed SOL. Maybe its on
 a list of would be nice to have already, but I sure would have liked
 to not have had to invalidate the whole job on account of one bad
 volume.

 Thanks for taking the time to reply, sincerely!

 -- Mark

 --
 The Next 800 Companies to Lead America's Growth: New Video Whitepaper
 David G. Thomson, author of the best-selling book Blueprint to a
 Billion shares his insights and actions to help propel your
 business during the next growth cycle. Listen Now!
 http://p.sf.net/sfu/SAP-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Introduction and Help Needed

2010-10-22 Thread Mehma Sarja
I don't have the single ticks in my 'File' line. And I have a lowercase 'c'

Mehma
===
On 10/22/10 10:20 AM, Brian Blater wrote:

[snip]
  File = 'C:/Documents and Settings'

[snip]

--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps  games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't cancel job

2010-10-19 Thread Mehma Sarja
On 10/19/10 7:56 AM, alexan...@nautae.eti.br wrote:

[snip]
 Despite my specific situation, what should I do in that situation (0% free


Bounce the services...?

--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't cancel job

2010-10-19 Thread Mehma Sarja
On 10/19/10 11:26 AM, alexan...@nautae.eti.br wrote:

[snip]
 Bounce the services...?

  
[snip]
 The first thing I've done was stop the services (kill all bacula process),


  
Did you bounce the database?


--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tuning Bacula

2010-10-07 Thread Mehma Sarja

 Compare against a stock, non tuned, Bacula install. Are you
 going between building where you get the slow transfer speed?
 UCSC has 1 Gb links between buildings from my recollection. The
 link to the outside world is not much more than that. Bacula
 also has a batch mode which you can twiddle around with.
  
 For the slowest backup job, the two servers are sitting in the same rack on 
 the same gigabit switch.  The fastest client actually is in a different 
 building.  Yes, we have 1Gb between buildings here, but out Internet 
 connection was recently upgraded to 10Gb (not that it really applies to this 
 situation anyhow).

 I found some Google hits that talked about batch mode, but no documentation 
 that tells me how to enable it.  Can you provide a link?


The batch mode is a compiling option and is described in the manual 
(http://bacula.org/5.0.x-manuals/en/main/main/Installing_Bacula.html) 
below. I recall this *might* be helpful in speeding up handling of many, 
small files.

-enable-batch-insert
This option enables batch inserts of the attribute records (default) in 
the catalog database, which is much faster (10 times or more) than 
without this option for large numbers of files.

Mehma

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2  L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tuning Bacula

2010-10-04 Thread Mehma Sarja
On 10/4/10 10:37 AM, Tim Gustafson wrote:
 We have recently installed Bacula onto a FreeBSD server and several Linux, 
 SunOS and FreeBSD clients.  The Bacula director and storage daemon run on a 
 box with about 6 terabytes of RAID6 storage (SATA 300 drives, 1TB each, 
 Adaptec RAID controller with 512MB cache).  The box has 16GB of RAM and is 
 not really doing much else right now. We're using mySQL for our database 
 back-end, and we have MD5 hashing of files turned off (Accurate = mcs and 
 Verify = mcs are set in bacula-dir.conf).

 However, we're getting pretty pitiful throughput numbers.  When I scp a file 
 from my workstation to the Bacula server, I get something like 40MB/s 
 (320Mb/s).  When Bacula runs, we're lucky to get 20MB/s (160Mb/s), and we 
 often get numbers closer to 10MB/s (80Mb/s).

 I Googled tuning bacula and came up with primarily stuff related to tuning 
 Postgres as it relates to Bacula, but nothing about tuning the file daemon or 
 the storage daemon.  Can anyone point me to some leads as far as what I can 
 do to bump up the throughput?  We have a data set that is several terabytes 
 large to back up, and it will never complete in a reasonable amount of time 
 at 10MB/s.  I need to achieve something closer to 40MB/s to make this a 
 workable option.

 Tim Gustafson
 Baskin School of Engineering
 UC Santa Cruz
 t...@soe.ucsc.edu
 831-459-5354


 --
 Virtualization is moving to the mainstream and overtaking non-virtualized
 environment for deploying applications. Does it make network security
 easier or more difficult to achieve? Read this whitepaper to separate the
 two and get a better understanding.
 http://p.sf.net/sfu/hp-phase2-d2d
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

Hi Tim,

Compare against a stock, non tuned, Bacula install. Are you going 
between building where you get the slow transfer speed? UCSC has 1 Gb 
links between buildings from my recollection. The link to the outside 
world is not much more than that.

Bacula also has a batch mode which you can twiddle around with.

Mehma

--
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula fd for iphone4 anyone?

2010-06-25 Thread Mehma Sarja
An app to install fd? Anyone try compiling bacula is an Arm environment?

Mehma

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] resurrecting an FC11 install - cannot connect to postgresql

2010-05-27 Thread Mehma Sarja
On 5/27/10 6:56 AM, Gary Stainburn wrote:
 I can connect manually...

 but when I start bacula-dir I get the message below in /var/lib/bacula/log

 The Catalog definition is:

 Catalog {
Name = MyCatalog
DB Address = '127.0.0.1'; dbname = bacula; user = bacula; password = 
 *
 }

 27-May 14:30 bacula-dir JobId 0: Fatal error: Could not open
 Catalog MyCatalog, database bacula.
 27-May 14:30 bacula-dir JobId 0: Fatal error: postgresql.c:202 Unable to
 connect to PostgreSQL server.
 Database=bacula User=bacula
 It is probably not running or your password is incorrect.
 27-May 14:30 bacula-dir ERROR TERMINATION
 Please correct configuration file: /etc/bacula/bacula-dir.conf


 Anyone got any ideas what I need to do to fix this please?

 Gary

I seem to recall this nasty message... it had something to do with 
Postgres and a config file.

Here is what my pg_hba says
# Database administrative login by UNIX sockets
local   all postgres  ident

# TYPE  DATABASEUSERCIDR-ADDRESS  METHOD

# local is for Unix domain socket connections only
local   all all   md5
# IPv4 local connections:
hostall all 127.0.0.1/32  md5
# IPv6 local connections:
hostall all ::1/128   md5

If I remember or run across my documentation(I wrote it down) ... I'll 
send it to you.

Mehma

--

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


Re: [Bacula-users] Hardware configuration and off-site backup

2010-05-05 Thread mehma sarja
If it's correct on a gigabit link I would have a rate transfer of 90MB/s
...
 and the transfer rate of the sata disks are 3Gb/s(375MB/s).
...
 No way are your SATA drives that fast. More likely 1/4 to 1/3 of that

If the link is 90 MB/s and drives deliver 1/4 of 375 MB/s(94 MB/s) - that's
a throughput of about 90 MB/s. That's a whopping speed of 324 GB/hr. You
must be going through a fiber switch to a striped array of sorts.

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


Re: [Bacula-users] Bacula Full/Inc Questions (Noob)

2010-04-17 Thread mehma sarja
Ikky,

Network backup.

Mehma
===

On Fri, Apr 16, 2010 at 12:32 PM, ikkysleepy bacula-fo...@backupcentral.com
 wrote:



 mehma sarja wrote:
  Your experience will vary, I am used to seeing 20 GB/hour with batch
 processing and compression turned on. Lots of small files - so heavy
 database usage on a store of about 750 GB. I'd suppose you would see your
 job done in 10 hours.
 



 Is this for a network backup or internal storage or external storage?


 Thanks!

 +--
 |This was sent by ikkysle...@gmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Full/Inc Questions (Noob)

2010-04-14 Thread mehma sarja
Your experience will vary, I am used to seeing 20 GB/hour with batch
processing and compression turned on. Lots of small files - so heavy
database usage on a store of about 750 GB. I'd suppose you would see your
job done in 10 hours.

On Wed, Apr 14, 2010 at 4:33 PM, ikkysleepy
bacula-fo...@backupcentral.comwrote:


 I want to force the job to run on weekends because I don't know if 6 hours
 will be enough to backup 400 GB, M-F.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir dies on 3.0.3 version

2010-04-12 Thread mehma sarja
Gustavo,

You are probably over-thinking this. If the first job runs every time the
services are re-started and you are not getting any messages via email -
that's the problem.

Mehma
---
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir dies on 3.0.3 version

2010-04-09 Thread mehma sarja
On Fri, Apr 9, 2010 at 2:59 PM, Gustavo Nunes Freire Ribeiro 
gust...@linconet.com.br wrote:

 Hello everybody,

 I'm facing a problem with bacula 3.0.3. It simply stops
 work when I run the second job after starting bacula-dir. I saw emails
 here on the list talking about this issue, and put the blame on bsmtp. I
 ran


Gustavo,

Do you have smtp running on the network? bsmtp does not do authentication.
You can BARELY make do with ssmtp:

http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/

You have a couple of testing choices: Comment out the messages sections and
see if jobs start running. Additionally, you can restart the bacula daemons
and run one job, restart again and run another job. If that works, it's the
bsmtp that Bacula is waiting on after the first job.

Mehma
===
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] OSX 10.6 Snow Leopard Client Build Fails with - invalid conversion from 'int64_t*' to 'intmax_t*'

2010-04-02 Thread mehma sarja
I'd like a bacula-fd for snow leopard if someone has one. I'm trying to
compile one myself.

Mehma
===

On Fri, Apr 2, 2010 at 7:10 PM, Bill Arlofski waa-bac...@revpol.com wrote:

 Following the mods listed by the reporter, I am still unable to get Bacula
 v5.0.1 on MAC OSX 10.6 to compile.

 Just wanted to (cross)post here to see if there is anyone else attempting
 to
 get bacula-fd to compile on Snow Leopard server.

 Perhaps the bug may even be re-opened?  :)


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 5.0.1 dir is trying to connect to Postgresql as root and is driving me nuts

2010-03-27 Thread mehma sarja
Bruno Et all,

Yea as I looked at it the problem was well defined and the solution popped
out. It was the local line in pg_hba and authentication changed from
ident to md5 fixed the problem.

Mehma
===

On Sat, Mar 27, 2010 at 2:23 AM, Bruno Friedmann br...@ioda-net.ch wrote:

 On 03/25/2010 01:35 AM, mehma sarja wrote:

  Mehma
 

 Hi Mehma, just take a long breathe, and check with postgresql documentation
 how about interact pg_hba.conf and pg_ident.conf
 to check manually issue a su bacula and try a psql -U bacula -d bacula type
 the password when requested and see if you can
 connect. After you will have a valid connection, bacula-dir can also.

 I'm thinking your are mixing normal authorization in pg_hba.conf and
 mapping users in pg_ident.conf


 --

 Bruno Friedmann



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.1 dir is trying to connect to Postgresql as root and is driving me nuts

2010-03-24 Thread mehma sarja
SUMMARY
/usr/local/bacula/working/log says SQL server not running; password
incorrect; max_connections exceeded
/var/log/postgresql/postgresql-8.4-main.log says authentication for user
bacula fails because I am trying to login as user root?

QUESTION
What's do provided username and authenticated username mean in Bacula?
===

DETAILS
Ubuntu 9.10 64 bit, compiled 5.0.1 from source. Both fd and sd run fine.
Postgresql is running, max_connections are set to 100.
===

LOG1
Here is what /usr/local/bacula/working/log says
==
24-Mar 17:02 bacula-dir JobId 0: Fatal error: Could not open Catalog
MyCatalog, database bacula.
24-Mar 17:02 bacula-dir JobId 0: Fatal error: postgresql.c:227 Unable to
connect to PostgreSQL server. Database=bacula User=bacula
Possible causes: SQL server not running; password incorrect; max_connections
exceeded.
24-Mar 17:02 bacula-dir ERROR TERMINATION
Please correct configuration file: /usr/local/etc/bacula-dir.conf
===

CONF FILE
I have set the password for user bacula in postgresql. Ok, so I look in
bacula-dir.conf for the Catalog section and it says
==
Catalog {
  Name = MyCatalog
# Uncomment the following line if you want the dbi driver
# dbdriver = dbi:postgresql; dbaddress = 127.0.0.1; dbport =
  dbname = bacula; dbuser = bacula; dbpassword = bacula
}
===

LOG2
Here is what /var/log/postgresql/postgresql-8.4-main.log says

2010-03-24 17:10:12 PDT FATAL:  Ident authentication failed for user
bacula
2010-03-24 17:10:17 PDT LOG:  provided username (root) and authenticated
username (bacula) don't match
===


Mehma
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula 5.0.1on Ubuntu 9.10, 64 bit Install Instructions

2010-03-24 Thread mehma sarja
Bacula 5.0.1 on Ubuntu 9.10 server - Mar 2010
-
PRE-REQUISITES
sudo apt-get upgrade  sudo apt-get update
sudo apt-get install g++ libpq-dev make
===

COMPILE
a.  Untar and cd to installation directory
b.  Put this in a bacula_conf file and make it executable sudo chmod 744
bacula_conf
#!/bin/sh
CFLAGS=-g -Wall \
  ./configure \
--sbindir=/usr/local/sbin \
--sysconfdir=/usr/local/etc \
--mandir=/usr/local/sbin \
--enable-smartalloc \
--enable-bwx-console \
--enable-tray-monitor \
--with-pid-dir=/usr/local/bacula/working \
--with-subsys-dir=/usr/local/bacula/working \
--with-postgresql \
--with-working-dir=/usr/local/bacula/working \
--with-dump-email=usern...@gmail.com \
--with-job-email=usern...@gmail.com \
--with-smtp-host=smtp/gmail.com
exit 0

***NOTE: BAT is not enabled - it requires qt to be installed

c. Still in the installation directory: sudo ./bacula_conf  sudo make 
sudo make install clean
===

UTF-8 to SQL_ASCII
sudo pg_dropcluster --stop 8.4 main
sudo pg_createcluster --start -e SQL_ASCII 8.4 main
===

DATABASE
sudo chown postgres:postgres /usr/local/etc/*
sudo su - postgres
As user postgres: createuser bacula
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n

As user postgres: /usr/local/etc/create_bacula_database
As user postgres: /usr/local/etc/make_bacula_tables
As user postgres: /usr/local/etc/grant_bacula_privileges
$ psql bacula
  bacula=# alter user bacula with password 'bacula';
\q
exit

sudo vi /etc/postgresql/pg_hba.conf change line local   allall
 ident to local   allall   md5
sudo service postgresql-8.4 restart

===

FIRE_IT_UP
a.  Add password: vi /usr/local/etc/bacula-dir.conf and add password
'bacula' to dbpassword variable
b.  From anywhere: sudo bacula start
c.  Check status: sudo bacula status -of dir, sd and pd processes
- if the config or install does not go well, one or more process will
die
===

TEST
sudo /usr/local/sbin/bacula-dir -t -c /usr/local/etc/bacula-dir.conf
sudo /usr/local/sbin/bacula-fd -t -c /usr/local/etc/bacula-fd.conf
sudo /usr/local/sbin/bacula-sd -t -c /usr/local/etc/bacula-sd.conf
sudo /usr/local/sbin/bconsole -t -c /usr/local/etc/bconsole.conf
sudo /usr/local/sbin/bwx-console -t -c /usr/local/etc/bwx-console.conf
sudo /usr/local/sbin/bat -t -c /usr/local/etc/bat.conf
sudo su normal user -c ./bacula-tray-monitor -t -c tray-monitor.conf
===
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Could not open Catalog MyCatalog, database bacula

2010-03-17 Thread mehma sarja
I am guessing the following is a permissions problem. Anyone know what the
perms are supposed to be for each directory?

bacula-dir: dird.c:950 Could not open Catalog MyCatalog, database
bacula.

Here is the install procedure I followed:

PRE-REQUISITES
sudo apt-get upgrade  sudo apt-get update
sudo apt-get install g++ libpq-dev make
===

COMPILE
a.  Untar and cd to installation directory
b.  Put this in a bacula_conf file and make it executable sudo chmod 744
bacula_conf
#!/bin/sh
CFLAGS=-g -Wall \
  ./configure \
--sbindir=/usr/local/sbin \
--sysconfdir=/usr/local/etc \
--mandir=/usr/local/sbin \
--enable-smartalloc \
--enable-bwx-console \
--enable-tray-monitor \
--with-pid-dir=/usr/local/bacula/working \
--with-subsys-dir=/usr/local/bacula/working \
--with-postgresql \
--with-working-dir=/usr/local/bacula/working \
--with-dump-email=usern...@gmail.com \
--with-job-email=usern...@gmail.com \
--with-smtp-host=smtp/gmail.com
exit 0

***NOTE: BAT is not enabled - it requires qt to be installed

c. Still in the installation directory: sudo ./bacula_conf  sudo make 
sudo make install clean
===

UTF-8 to SQL_ASCII
sudo pg_dropcluster --stop 8.4 main
sudo pg_createcluster --start -e SQL_ASCII 8.4 main
===

DATABASE
sudo chown postgres:postgres /usr/local/etc/*
sudo su - postgres
As user postgres: createuser bacula
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n

As user postgres: /usr/local/etc/create_bacula_database
As user postgres: /usr/local/etc/make_bacula_tables
As user postgres: /usr/local/etc/grant_bacula_privileges
$ psql bacula
  bacula=# alter user bacula with password 'bacula';
\q
exit
===

FIRE_IT_UP
a.  Add password: vi /usr/local/etc/bacula-dir.conf and add password
'bacula' to dbpassword variable
b.  From anywhere: sudo bacula start
c.  Check status: sudo bacula status -of dir, sd and pd processes
- if the config or install does not go well, one or more process will
die
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Ubuntu 9.04 Easy Install Bacula + Postgresql

2010-03-11 Thread mehma sarja
I have been a Bacula user off and on for the last year. Implemented a couple
of instances and always had a confusing time installing it - on Ubuntu.
Recently I happened upon an easy sequence which I am sharing in case someone
else needs an easy on-ramp:

a.  Install postgresql while loading the OS, you could install it using sudo
apt-get - Don't have the commands handy
b.  sudo apt-get upgrade
c.  sudo apt-get update
d.  sudo apt-get install g++
e.  sudo apt-get install libpq-dev
f.  sudo apt-get install make
g.  compile bacula without bat

That's it.

Mehma
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backing up 100 servers

2010-02-28 Thread mehma sarja
A hunerd-n-twenty jobs makes me wince. Why not simplify...a couple of ideas
and feel free to knock them down:
a.  I HATE NFS - so I'm not mentioning it as a solution
b.  rsync all /etc's into a central location and back that up. This would
provide a much faster backup scenario because the rsync's can be in
parallel. It is also simpler. Restoring will be a two-step process and I can
see where that could be a problem time wise if you restore big chunks.
c.  Use multiple Baculas - like say 6 - each running 20 jobs. Faster and
maybe not simpler.
d.  I'm not going to mention Bittorrent cuz I've not tried it.

I like 'b'

Mehma
===

On Sat, Feb 27, 2010 at 11:27 AM, Kevin Keane subscript...@kkeane.comwrote:

  -Original Message-
  From: Stan Meier [mailto:stan.me...@billigmail.org]
  Sent: Saturday, February 27, 2010 11:07 AM
  To: bacula-users@lists.sourceforge.net
  Subject: Re: [Bacula-users] Backing up  100 servers
 
  * Kevin Keane subscript...@kkeane.com:
  We don't backup whole servers, there's no point. So, yes, 120 systems
  may seem like a lot, but for a lot of those, it will only be /etc,
  /opt, /root and perhaps the crontabs.

 Ah, that makes sense. I am using a similar minimal backup for some of my
 remote Web servers (I am also backing up web sites, home directories etc.).
 One additional thing I am backing up: I run rpm -qa into a file (as a
 Client Run Before Job) and back up that file. That way, I know which
 packages I need during disaster recovery.



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] [SPAM]Problem installing bacula 5.0.0

2010-02-07 Thread mehma sarja
Simplify the configure script. You have everything and the kitchen sink
(passwords) specified.

Mehma
===

2010/2/7 List Man list@bluejeantime.com

  I have tried several time to install bacula 5.0.0 on a brand new server
 and I keep getting this linking error for static-bacula-sd.  I don’t know
 what else to do.  I have searched and read the releases and no sugar.  See
 below:

 Linking bacula-sd ...
 /usr/bin/g++   -L../lib -o bacula-sd stored.o ansi_label.o vtape.o
 autochanger.o acquire.o append.o askdir.o authenticate.o block.o butil.o
 dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o lock.o mac.o
 match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o record.o
 reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o vol_mgr.o
 wait.o -lacl -lz \
-lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
  -lssl -lcrypto
 /usr/bin/g++   -static -L../lib -o static-bacula-sd stored.o ansi_label.o
 vtape.o autochanger.o acquire.o append.o askdir.o authenticate.o block.o
 butil.o dev.o device.o dircmd.o dvd.o ebcdic.o fd_cmds.o job.o label.o
 lock.o mac.o match_bsr.o mount.o parse_bsr.o pythonsd.o read.o read_record.o
 record.o reserve.o scan.o sd_plugins.o spool.o status.o stored_conf.o
 vol_mgr.o wait.o -lacl -lz \
-lbacpy -lbaccfg -lbac -lm   -lpthread -ldl   \
  -lssl -lcrypto
 ../lib/libbac.a(plugins.o): In function `load_plugins(void*, void*, char
 const*, char const*, bool (*)(Plugin*))':
 /usr/src/bacula-5.0.0/src/lib/plugins.c:140: warning: Using 'dlopen' in
 statically linked applications requires at runtime the shared libraries from
 the glibc version used for linking
 ../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)':
 /usr/src/bacula-5.0.0/src/lib/priv.c:92: warning: Using 'initgroups' in
 statically linked applications requires at runtime the shared libraries from
 the glibc version used for linking
 ../lib/libbac.a(guid_to_name.o): In function `get_gidname':
 /usr/src/bacula-5.0.0/src/lib/guid_to_name.c:122: warning: Using 'getgrgid'
 in statically linked applications requires at runtime the shared libraries
 from the glibc version used for linking
 ../lib/libbac.a(priv.o): In function `drop(char*, char*, bool)':
 /usr/src/bacula-5.0.0/src/lib/priv.c:85: warning: Using 'getgrnam' in
 statically linked applications requires at runtime the shared libraries from
 the glibc version used for linking
 /usr/src/bacula-5.0.0/src/lib/priv.c:66: warning: Using 'getpwnam' in
 statically linked applications requires at runtime the shared libraries from
 the glibc version used for linking
 ../lib/libbac.a(guid_to_name.o): In function `get_uidname':
 /usr/src/bacula-5.0.0/src/lib/guid_to_name.c:109: warning: Using 'getpwuid'
 in statically linked applications requires at runtime the shared libraries
 from the glibc version used for linking
 ../lib/libbac.a(bnet.o): In function `resolv_host':
 /usr/src/bacula-5.0.0/src/lib/bnet.c:424: warning: Using 'gethostbyname2'
 in statically linked applications requires at runtime the shared libraries
 from the glibc version used for linking
 ../lib/libbac.a(address_conf.o): In function `add_address':
 /usr/src/bacula-5.0.0/src/lib/address_conf.c:310: warning: Using
 'getservbyname' in statically linked applications requires at runtime the
 shared libraries from the glibc version used for linking
 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
 function `zlib_stateful_expand_block':
 (.text+0x12c): undefined reference to `inflate'
 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
 function `zlib_stateful_compress_block':
 (.text+0x1af): undefined reference to `deflate'
 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
 function `zlib_stateful_finish':
 (.text+0x1fc): undefined reference to `inflateEnd'
 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
 function `zlib_stateful_finish':
 (.text+0x207): undefined reference to `deflateEnd'
 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
 function `zlib_stateful_init':
 (.text+0x2b0): undefined reference to `inflateInit_'
 /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libcrypto.a(c_zlib.o): In
 function `zlib_stateful_init':
 (.text+0x320): undefined reference to `deflateInit_'
 collect2: ld returned 1 exit status
 make[1]: *** [static-bacula-sd] Error 1
 make[1]: Leaving directory `/usr/src/bacula-5.0.0/src/stored'


 The dir and fd linked just fine.  I used the following script to install
 it.  I am not a new user and this server is being used as an upgrade to an
 existing server.

 ./configure --with-working-dir=/var/bacula --sbindir=/usr/sbin
 --sysconfdir=/etc/bacula --with-mysql=/usr/local/mysql
 --with-dump-email=X --with-job-email=XXX --with-smtp-host=localhost
 --with-baseport=9101 --with-dir-password=XXX --with-fd-password=XX
 --with-dir-user=XXX --with-dir-group=XXX --with-sd-password=
 

Re: [Bacula-users] Using Bittorrent as Backup Technology

2010-02-07 Thread mehma sarja
Thanks to both of you for your thoughts. I am actually looking for anyone
who has tried it or someone who has thought about trying it and dropped the
idea.

I understand 10 instances is very small - but I am not contemplating huge
files either. Is the transfer latency something like filesize/number of
nodes?

Bacula can dump a daily differential and Bittorrent can take it from there.
Databases will be more problematic.

DRBD assumes, atleast that's what Google says, stable, decent bandwidth. My
design takes network cutting out on a daily basis into account. We are
talking the US postal service kind of a backup. It should work under adverse
situations.

I also want to be able to plug another unit in and have it start backing up
without any twiddling. I have been there on the rsync front and it is
reliable and simple. I just think if a cleaning person bumps the power cord
and then plugs it back in (at night) that the machine should right itself. I
know it can be done with scripts and rsync. Why invent and maintain
something when p2p apps have solved the problem already?

For some reason, I still think Bittorrent could be a winner in the set it
and forget it backup arena. Technically, this is not really a backup, it is
actually backing up a backup. A poor man's disaster planning.

To be clear, here is the amount of work I am willing to do with this
technology:
a.  Get the hardware and connection installed
b.  Configure encrypted transfers among a limited number of nodes
c.  Configure the master directories which needs to be backed up for 3x
redundancy

THAT'S IT - any more work is getting into fiddling.

Mehma
===
On Sun, Feb 7, 2010 at 1:25 AM, Wolfgang Denk w...@denx.de wrote:

 Dear mehma sarja,

 In message ec5d34681002061636p308947abre20a0b3887454...@mail.gmail.com
 you wrote:
 
  PROBLEM
  I am trying to solve off-site, on-disk backup problem in the Bay Area
 which
  is prone to earthquakes.
 
  QUESTION
  Is anyone out there using bittorrent as a backup tool?

 Hm... have you ever looked into DRBD instead?

 Bittorrent has not been designed for what you want to use it.
 DRBD has.  I am aware that you can use many tools for things they have
 not specifically designed for, but I also believe that in most cases
 the tools that have been designed for a specific purpose are most
 efficient.

 Best regards,

 Wolfgang Denk

 --
 DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
 HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
 Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
 There is a time in the tides of men, Which, taken at its flood, leads
 on to success. On the other hand, don't count on it.   - T. K. Lawson

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Using Bittorrent as Backup Technology

2010-02-06 Thread mehma sarja
My question may or may not be appropriate for this forum, so sorry
beforehand if I am intruding.

PROBLEM
I am trying to solve off-site, on-disk backup problem in the Bay Area which
is prone to earthquakes.

QUESTION
Is anyone out there using bittorrent as a backup tool?

APPLICATION
D-Link D323 2-bay NAS boxes (with bittorrent clients) run around USD 150 at
the local store w/o drives. Plop in a couple of USD 100-1.5 TB's w/o any
RAID configured. That's 3 TB or TiB (I never understood the difference. I
have been to sites and read the words, but they flow way over my head).

So, if a company has a dozen offices spread over a 100-mile radius
territory, and we put, let's say 10 of these boxes - that is 30 TiB of raw
space. Now, let's introduce redundancy.. let's say triple, so, 30/3 = 10 TiB
for USD 3.5K. We can explore how much risk reduction has taken place with
this redundancy...but that's a point for another time.

BENEFITS - fast backup, cheap SATA drives, reliable system - data is very
safe in case of earthquakes, fires, power outages, theft, communication
outages and easy to maintain - one box goes down, plug another one in and
point it to the mother ship. Another benefit is by spreading around the
backups, you can locate the systems within a high-risk area (of fire,
earthquake, flooding, tornadoes, etc) and make it reasonably reliable and
easily accessible (easy driving distance to go pick up the hard drive)

WHY POST THIS?
I am posting this message for two reasons:
a) Bacula and other enterprise backup tools do not particularly like
unreliable bandwidth connections and a bittorrent-like technology fills the
gap. The gap is that Bacula and other tools are making disk backups
convenient. As people move away from tape, the disk-based systems are
increasingly at risk from natural disasters and wear and tear over time.
Thus increasing risk as compared to tape backups. Although they too are
susceptible to wear and tear. Do you consider some sort of off-site as a
natural cost of doing on-disk backups?

b) If someone is doing it or thinking about using bittorrent technologies -
I'd like to know how of your experiences (and config files) and what
hardware you use.

Mehma
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Job never start

2010-02-03 Thread mehma sarja
Marco,

Please give us more details to go on.

Mehma
===
On Wed, Feb 3, 2010 at 5:48 AM, marco zanca
bacula-fo...@backupcentral.comwrote:


 Well, i don't no why, but i step back into the 2.4.4 version and now all
 works fine.

 +--
 |This was sent by marco.za...@gmail.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--




 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
 business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Deploying Bacula

2010-02-03 Thread mehma sarja

 We backup ~35TB each week in a 3 week rotation so we just have to scale
 out in order to meet our demands and we are planning to go multi-DIR,
 multi-SD with a couple of very hefty MySQL servers to service them.

 Holy cow! That's a lot of data.

I'm exploring using ZFS's de-dup function. Problem is it is easiest
implementing on the storage side AFTER you have gone through the pain of
bringing the stuff over. Ideally it should be on the client side.

Mehma
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Deploying Bacula

2010-02-03 Thread mehma sarja
Fred,

On Wed, Feb 3, 2010 at 7:23 AM, FredNF f...@nfrance.com wrote:

 Le Wed, 03 Feb 2010 13:18:37 +0100,
 Henrik Johansen hen...@myunix.dk a écrit :

  The bulk of Bacula's DB operations are purely disk IOPS bound so I
  would argue that IOPS is way more important than RAM.
 
   With the others advices I had, I'm planning to have a dual Xeon
   Nehalem, with 8 ou 12 GB of RAM, and four 300 GB SAS disks in RAID
   10. Not sure about the OS, I'm balancing between FreeBSD and Gentoo.
  
   But, if someone here have a similar setup, I'm ready to hear his
   advices and tips about my configuration.
 
  We are currently planning a large Bacula deployment (~1k machines) so
  I have been facing many of the same challenges.
 
  Regardless of whatever database you choose you'll need enough disk
  IOPS to service the DB and I don't think that 4 x 300 GB SAS are
  sufficient.
 
  A 4 disk RAID10 will give you the write IOPS equivalent to 2 disks
  and the DB is most likely going to do synchronous random writes which
  in turn is 100% disk IOPS bound.
 
  Find the tech specs of the disks you are using - they should give you
  an indication of how many random write IOPS they can handle.

 I will do some bonnie++ tests :)

  Additionally, you should align your FS to the same blocksize as your
  database - 8K for postgresql if I remember correctly. It you are
  using a fixed blocksize FS where the blocksize is lower than the DB
  blocksize you could end up in a siutation where one DB operation is
  causing 2 or more disk IOPS.

 Right, we never see the problem on this side. The filestem used for the
 director can be:

- if FreeBSD FFS or ZFS (ZFS is nice supported with FreeBSD 8)
- if Gentoo or Linux Distro, ext4

 In the same way, what FS do you, on the list, prefer for storage ? We
 don't use tape, only disk storage. The first who talk of NTFS will need
 to avoid my curses for generations.edk

 
  We backup ~35TB each week in a 3 week rotation so we just have to
  scale out in order to meet our demands and we are planning to go
  multi-DIR, multi-SD with a couple of very hefty MySQL servers to
  service them.
 
  Directors will run Linux and both our SD's and MySQL servers will run
  Solaris.

 So, you plan to have dedicated databases servers, having a lightweigh
 director but huge database servers ?

 And, if Solaris on the SD, you'll surely use ZFS ?

  The only place where we scale up instead of our are our SD's -
  currently our 3 SD nodes have access to 300+ disks and 2 dedicated 10
  Gbit fiber links.

 Wow.. Tht's really impressive. I'd like to have enough money for
 building such system. But, that's not and we'll use hand-made NAS with
 poor inexpensive SATA disk ;)

 Right, the lowly inexpensive Coraid AOE SATA arrays are DUAL 10 GB capable
with a $1K HBA. It's a simpler setup than Fiber Channel and they claim,
faster. I don't work for the company but have one of their 15-bay unit.


   I'm freaking out about the configs files :) They'll be really huge I
   think.

 If your filesets are standardized, which they should be else you'll go
crazy, you can simplify your task. I have a directory /../.../etc/conf.d
where I put filesets.conf, schedules.conf, clients.conf and the like. I can
see schedules and clients being large. The documentation has some
suggestions - that's where I picked up my design:
http://wiki.bacula.org/doku.php?id=sample_configs

I was looking for includes. But, If I read well the documentation, I
 can't specify a directory for includes. I need to give the full path
 for each file ? Right ?

 From:
http://bacula.org/5.0.x-manuals/en/main/main/Configuring_Director.html#SECTION00168


FileSet {
  Name = Full Set
  Include {
Options {
  Compression=GZIP
  signature=SHA1
  Sparse = yes
}
@/etc/backup.list
  }
  Include {
 Options {
wildfile = *.o
wildfile = *.exe
Exclude = yes
 }
 File = /root/myfile
 File = /usr/lib/another_file
  }
  Exclude {
 File = /tmp
  }

}
Mehma
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Job never start

2010-02-02 Thread mehma sarja
Check permissions on /tmp/bacula-restores and/or try a director somewhere
else like /home...

Mehma
===

On Mon, Feb 1, 2010 at 1:52 PM, marco zanca
bacula-fo...@backupcentral.comwrote:


 Ok, thank you for helping, i'm using bconsole, but i also tried with the
 bat gui. I do this step:
 1. run a backup job in /tmp, wich ends with no error. i check the volume in
 /tmp and seems to be alright
 2. give a restore command in bconsole, select 5: Select the most recent
 backup for a client
 3. in the $ prompt: mark *, the console give me: 2,166 files marked
 4. the console give me:

 Bootstrap records written to /var/lib/bacula/baculaserver-dir.restore.6.bsr

 The job will require the following
 nbsp; nbsp;Volume#40;s#41;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;
 nbsp; nbsp; nbsp;Storage#40;s#41;nbsp; nbsp; nbsp; nbsp; nbsp;
 nbsp; nbsp; nbsp; SD Device#40;s#41;
 ===

 nbsp; nbsp; TestVolume001nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;
 nbsp;Filenbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;
 nbsp; nbsp; FileStorage

 Volumes marked with * are online.


 2,166 files selected to be restored.

 Run Restore job
 JobName#58;nbsp; nbsp; nbsp; nbsp; nbsp;RestoreFiles
 Bootstrap#58;nbsp; nbsp; nbsp;
 nbsp;/var/lib/bacula/baculaserver-dir.restore.6.bsr
 Where#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;/tmp/bacula-restores
 Replace#58;nbsp; nbsp; nbsp; nbsp; nbsp;always
 FileSet#58;nbsp; nbsp; nbsp; nbsp; nbsp;Full Set
 Backup Client#58;nbsp; nbsp;baculaserver-fd
 Restore Client#58;nbsp; baculaserver-fd
 Storage#58;nbsp; nbsp; nbsp; nbsp; nbsp;File
 When#58;nbsp; nbsp; nbsp; nbsp; nbsp; nbsp; 2010-02-01
 14#58;37#58;26
 Catalog#58;nbsp; nbsp; nbsp; nbsp; nbsp;MyCatalog
 Priority#58;nbsp; nbsp; nbsp; nbsp; 10
 Plugin Options#58;nbsp; *None*
 OK to run? #40;yes/mod/no#41;#58; yes
 Job queued. JobId=7

 At this point the job hang out and never start ...

 This is the output of status all (there is a lot of waiting job, i've done
 some test, but i also tried with a fresh installation):
 *status all
 baculaserver-dir Version#58; 3.0.3 #40;18 October 2009#41;
 i686-pc-linux-gnu ubuntu 9.10
 Daemon started 01-Feb-10 10#58;12, 1 Job run since started.
 nbsp;Heap#58; heap=237,568 smbytes=125,713 max_bytes=330,905 bufs=397
 max_bufs=401

 Scheduled Jobs#58;
 Levelnbsp; nbsp; nbsp; nbsp; nbsp; Typenbsp; nbsp; nbsp;Prinbsp;
 Schedulednbsp; nbsp; nbsp; nbsp; nbsp; Namenbsp; nbsp; nbsp; nbsp;
 nbsp; nbsp; nbsp; nbsp;Volume

 ===
 Incrementalnbsp; nbsp; Backupnbsp; nbsp; 10nbsp; 01-Feb-10
 23#58;05nbsp; nbsp; BackupClient1nbsp; nbsp; nbsp; TestVolume001
 Fullnbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Backupnbsp; nbsp; 11nbsp;
 01-Feb-10 23#58;10nbsp; nbsp; BackupCatalognbsp; nbsp; nbsp;
 TestVolume001
 

 Running Jobs#58;
 Console connected at 01-Feb-10 14#58;36
 nbsp;JobId Levelnbsp; nbsp;Namenbsp; nbsp; nbsp; nbsp; nbsp; nbsp;
 nbsp; nbsp; nbsp; nbsp; nbsp; nbsp;Status
 ==
 nbsp; nbsp; nbsp;2nbsp; nbsp; nbsp; nbsp;
 nbsp;RestoreFiles.2010-02-01_10.17.49_05 has been canceled
 nbsp; nbsp; nbsp;3nbsp; nbsp; nbsp; nbsp;
 nbsp;RestoreFiles.2010-02-01_10.27.50_08 is waiting for its start time
 nbsp; nbsp; nbsp;4nbsp; nbsp; nbsp; nbsp;
 nbsp;RestoreFiles.2010-02-01_10.31.17_10 is waiting execution
 nbsp; nbsp; nbsp;5nbsp; nbsp; nbsp; nbsp;
 nbsp;RestoreFiles.2010-02-01_10.34.13_11 is waiting for its start time
 nbsp; nbsp; nbsp;6nbsp; nbsp; nbsp; nbsp;
 nbsp;RestoreFiles.2010-02-01_10.37.53_12 is waiting execution
 nbsp; nbsp; nbsp;7nbsp; nbsp; nbsp; nbsp;
 nbsp;RestoreFiles.2010-02-01_14.37.28_16 is waiting execution
 

 Terminated Jobs#58;
 nbsp;JobIdnbsp; Levelnbsp; nbsp; Filesnbsp; nbsp; nbsp; Bytesnbsp;
 nbsp;Statusnbsp; nbsp;Finishednbsp; nbsp; nbsp; nbsp; Name
 
 nbsp; nbsp; nbsp;1nbsp; Fullnbsp; nbsp; nbsp; 2,166nbsp; nbsp;
 46.48 Mnbsp; OKnbsp; nbsp; nbsp; nbsp;01-Feb-10 10#58;15 BackupClient1

 
 Connecting to Storage daemon File at baculaserver#58;9103

 baculaserver-sd Version#58; 3.0.3 #40;18 October 2009#41;
 i686-pc-linux-gnu ubuntu 9.10
 Daemon started 01-Feb-10 10#58;11, 1 Job run since started.
 nbsp;Heap#58; heap=360,448 smbytes=83,170 max_bytes=216,944 bufs=72
 max_bufs=101
 Sizes#58; boffset_t=8 size_t=4 int32_t=4 int64_t=8

 Running Jobs#58;
 No Jobs running.
 

 Jobs waiting to reserve a drive#58;
 

 Terminated Jobs#58;
 nbsp;JobIdnbsp; Levelnbsp; nbsp; Filesnbsp; nbsp; nbsp; Bytesnbsp;
 nbsp;Statusnbsp; nbsp;Finishednbsp; nbsp; nbsp; nbsp; Name
 ===
 nbsp; nbsp; nbsp;1nbsp; Fullnbsp; nbsp; nbsp; 2,166nbsp; nbsp;
 47.42 Mnbsp; OKnbsp; nbsp; nbsp; nbsp;01-Feb-10 10#58;15 BackupClient1
 

 Device status#58;
 Device FileStorage #40;/tmp#41; is not open.
 

 Used 

Re: [Bacula-users] [SOLVED]ERR=Connection refused for daemons

2010-02-01 Thread mehma sarja
Call yourself Sir Learns-a-lot I've been there.

Mehma
===

2010/1/31 Eric Downing ripe...@gmail.com

  OK have a good laugh. As it turns out I did not have the bacula-sd / fd
 apps installed. When I installed Bacula: apt-get install bacula-mysql - I
 never thought that that command wouldn't install the daemons as well.

 *stares at floor*





 Matthias Reif wrote:



 Eric Downing ripe...@gmail.com ripe...@gmail.com wrote on 01/02/2010
 01:52:31 PM:

  I'm starting a new thread with a more descriptive title than the
  previous. I apologize for allowing the last thread to get away from
  the subject.
 
  I've got Bacula up and running, I'm able to use bconsole. I have
  changed all the passwords in the -dir, -fd, -sd, and bconsole.conf
  to be the same throughout. In bacula-dir.conf file I have also
  changed the DirAddress from 127.0.0.1 to the IP of the box. FWIW I
  am ssh'ed into the bacula box (bedroom) and at this time I'm
  attempting to backup locally, so there are no firewalls to worry about.
 
  I receive an error in bconsole when trying to get status from the
  daemons, as below. I have checked that the services exist in
  /etc/services. Interestingly enough I don't find the daemons
  mentioned in netstat -aln or ps -A, however bacula-dir is there.  I
  have not actually tried to run a job yet. I would appreciate a firm
  slap in the right direction! Thanks in advance.
 
  Eric
 
  pad-dir Version: 2.4.4 (28 December 2008) i486-pc-linux-gnu debian 5.0
  Daemon started 31-Jan-10 21:18, 1 Job run since started.
   Heap: heap=258,048 smbytes=26,263 max_bytes=27,045 bufs=152 max_bufs=160
 
  Scheduled Jobs:
  Level  Type Pri  Scheduled  Name   Volume
 
 ===
  Full   Backup10  01-Feb-10 00:01ThinkpadFull
 *unknown*
  
 
  Running Jobs:
  No Jobs running.
  
  No Terminated Jobs.
  
  Connecting to Storage daemon iomega1tb at tpad:9103
 
  Failed to connect to Storage daemon iomega1tb.
  
  Connecting to Client tpad-fd at tpad:9102
  Failed to connect to Client tpad-fd.
  
  31-Jan 21:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
  connect to Storage daemon on tpad:9103. ERR=Connection refused
  31-Jan 21:41 tpad-dir JobId 0: Fatal error: bsock.c:129 Unable to
  connect to Client: tpad-fd on tpad:9102. ERR=Connection refused

 Doesn't seem to be a password issue, but the FD and SD are simply not
 listening on ports 9102 / 9103 which most likely means they are not running.

 How do you start the SD and FD on your system?

 The daemons may simply die on startup, so you may want to run them from the
 command line to get some clues from their STDOUT.

 Depending on the location of your executables and config files, for
 example:

 /usr/sbin/bacula-sd -u bacula -g disk -c /etc/bacula/bacula-sd.conf
 /usr/sbin/bacula-fd -u root -g bacula -c /etc/bacula/bacula-fd.conf

 Thanks

 Matthias




 *SOUTH PACIFIC SEEDS*
 PO Box 934, GRIFFITH N.S.W. 2680. AUSTRALIA*
 Phone:* 02 6962 7333  *Fax:* 02 6964 1311
  --
 *CAUTION:* The information contained in this e-mail is privileged and
 confidential. If you are reading this message and you are not the intended
 recipient, you are hereby notified that any use, dissemination, distribution
 or reproduction of all or part of the contents is prohibited. If you receive
 this message in error, please notify the sender immediately. Any opinions or
 views expressed in this message are those of the individual sender and may
 not represent those of their employer.



 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
 business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Job never start

2010-02-01 Thread mehma sarja
Marco,

This is too general of a question. When you are in bconsole, what does
status all tell you?Whatb does a list of files for that job tell you? Is
there is a backup file in /tmp? How are you attempting a restore...via
bconsole or via script? If it is a script, we would need to take a look at
it.

Mehma
===

On Mon, Feb 1, 2010 at 12:58 PM, Marco Zancanaro marco.za...@gmail.comwrote:

 Hi everyone, i'm a new bacula user. I've installed bacula 3.0.3 in my
 Ubuntu
 Server 9.10 system with sucess. I've also run some backup jobs (incremental
 and
 full). But when i try to run a restore job the console give me:
 RestoreFiles.2010-02-01_10.31.17_10 is waiting execution, and the job
 actualy
 never starts.
 In the restore job i've selected all the file. I'm running a test
 configuration,
 so the backup is done in /tmp and the restore is suppose to be done in
 /tmp/bacula-restores.
 What should i check?

 Regards
 Marco Zancanaro



 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
 business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread mehma sarja
2010/1/31 Eric Downing ripe...@gmail.com
[...]

 Here's how I see the birds eye view of the process:

 Install MySQL, confirm operation
 Install bacula (I'm using apt-get)

 Install from source - it's not that hard.

 backup originals and modify the -dir -fd -sd for password and localhost

 Make life easier and define all passwords the same.

 definitions (change localhost and 127.0.0.1 to my listening interface's IP)

 Don't know what this means.

 define a backup type, in my case: a directory located on USB storage

 Before you start the backups, try bconsole connection to the iorector, yes,
it has a bconsole.conf file as well that you will have to modify.

 define a job type
 define a job
 define a schedule


 I think thats it?

 Thanks again,
 Eric



 Bruno Friedmann wrote:

 On 01/31/2010 07:20 AM, Eric Downing wrote:


  Hi,

 New to bacula, semi-new to Linux. So I'm having some serious problems getting
 bacula up and running. I have read the Bacula quick start and skimmed the 
 rest,
 I'm fairly certain I understand the fundamentals. I followed a guide here: 
 https://help.ubuntu.com/community/Bacula

 The first issue is I cannot connect to the console using bconsole. The error
 cited is:

 Fatal error: bsock.c:129 Unable to connect to Director daemon on
 localhost:9101. ERR=Connection refused

 Whilst looking that one up, I was tailing /var/log/bacula/log and noticed:

 31-Jan 01:13 bacula-dir JobId 0: Fatal error: Could not open Catalog
 MyCatalog, database bacula.
 31-Jan 01:13 bacula-dir JobId 0: Fatal error: mysql.c:194 Unable to 
 connect
 to MySQL server.
 Database=bacula User=bacula
 MySQL connect failed either server not running or your authorization is
 incorrect.
 31-Jan 01:13 bacula-dir ERROR TERMINATION
 Please correct configuration file: /etc/bacula/bacula-dir.conf

 In MySQL there actually is no bacula database, so I created it and still got 
 the
 same error. I also checked that the bacula password for MySQL and the password
 defined in /bacula-dir.conf were synced.

 Seeing as how these seem to be serious errors, should I wipe and restart? Or 
 do
 you think these could be fixable?

 Thanks,
 Eric

  Hi Eric, I've also check the other message in the threads.
 Understanding what you are doing is the fundamental about having success.
 So yes bacula documentation is huge, but everything is in !

 One of the first few points you should check (and this is ubuntu/debian 
 related)

 What type of database would you use : sqlite,mysql,postgresql ?
 Once you choose : the mysql / postgresql needs to be installed and running.

 Next choose the according bacula-dir package as each database is specifically 
 linked to.
 so there's one bacula-dir for sqlite, one for mysql one for postgresql, and 
 they can't be mixed.

 At your place, I would remove by purge all bacula related package, make my 
 decision and re-start install.
 (If it doesn't work out of the box, complain about the packager)

 And yes in ubuntu/debian world they tend to understand network backup 
 service to localhost. So you have
 to change all 127.0.0.1 or localhost in all config files -dir -fd -sd if you 
 want to backup something on your network.

 Hope this help you to get a good start






 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
 business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Serious issues, should I start over?

2010-01-31 Thread mehma sarja
From all that is passing or trespassing through this thread, a passing
thought comes to me:

I don't think you are changing the right conf files - or you may have
multiple executables and they are not looking at where the conf files are.
The hint that the hunch is based on is the restart does not restart all
services.

So, here is a quick way of finding out which file your fd executable is
pointing to - look at(edit) the bacula-ctl-fd file. The top few lines of
mine looks like:
===
BACFDBIN=/usr/local/sbin
BACFDCFG=/usr/local/etc
PIDDIR=/var/run
SUBSYSDIR=/var/db/bacula/working
FD_PORT=9102
===
So, the bacula-fd executable should be in /usr/local/sbin. The
bacula-fd.conf should be in /usr/local/etc and so on. BTW, You can take the
same fd executable, the same fd ctl and fd conf and copy them on any
client(same OS) and fiddle with the ctl and conf files and have it run.

Mehma
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole cannot connect director

2010-01-28 Thread mehma sarja
Le Dahut,

OK, take a deep breath and sit back. Now, I can send you my config files and
anything else you need - like binaries. Let me know. I can also send you my
configure settings.

Mehma
===

On Thu, Jan 28, 2010 at 6:28 AM, le dahut le.da...@laposte.net wrote:

 I have exactly the same :
 * vmware ESXi
 * Intel 64bit processor
 * bacula 3.0.3 from official sources, without any patch

 but I'm running Hardy/8.04.

 Did you build something else on your server or is everything out of the box
 from Ubuntu ?


 I tested Mandriva X64, bacula seems to work well.

 I really don't know what's happening.


 mehma sarja wrote :

 I built 3.0.3 myself with no changes to source code. I am using postgresql
 which I installed using a binary file - the Ubuntu install would not run
 right.
 Now to the question of amd vs intel. The processor is Intel 64 bit, I
 think that's called amd64. I am on a Vmware esxi VM (Ubuntu 64 bit 9.0.4)

 Mehma
 ===

 On Wed, Jan 27, 2010 at 9:21 AM, le dahut le.da...@laposte.net mailto:
 le.da...@laposte.net wrote:

A last question, are you sure that you're running a Ubuntu amd64
version and not just a x86 version on a 64bit hardware ?


mehma sarja wrote :

I run dir and sd on ubuntu 9.0.4 amd64 using bacula 3.0.3 - no
problems.
Mehma
===

On Wed, Jan 27, 2010 at 3:12 AM, le dahut le.da...@laposte.net
mailto:le.da...@laposte.net mailto:le.da...@laposte.net

mailto:le.da...@laposte.net wrote:



   le dahut wrote :

 le dahut wrote :
 Hello,

 I'm using bacula 3.0.3 on Ubuntu Hardy and I have a
strange problem.

 I cannot connect bacula-dir with bconsole.


 I've some additional informations :
 * all iptables rules are flushed/erased, all policies are
on ACCEPT
 * hosts.allow and hosts.deny are OK
 * bacula-dir and bconsole are running on the same machine
(as it
   appears
 with 127.0.0.1 in the debug log)

 With 'strace bconsole' the end of the debug is :
 
 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
 connect(3, {sa_family=AF_INET, sin_port=htons(9101),
 sin_addr=inet_addr(127.0.0.1)}, 16) = 0
 setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
 futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
 futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
 nanosleep({0, 10}, NULL)= 0
 futex(0x7f695e5da584, 0x85 /* FUTEX_??? */, 1) = 1
 futex(0x7f695e5da540, 0x81 /* FUTEX_??? */, 1) = 1
 nanosleep({0, 10}, NULL)= 0
 write(3, \0\0\0\32Hello *UserAgent* calling\n, 30) = 30
 read(3,
 
 and then nothing else, bconsole seems to wait for
bacula-dir to
   answer


   This bug occurs on amd64 only. Bacula on X86 runs well.


   * The connection with bconsole to an amd64 DIRECTOR is
 impossible

   * The connection from a x86 DIRECTOR to an amd64 SD fails
with bad
   password (but the password are the same, the same conf file
runs on
   x86)

   * The connection from a x86 DIRECTOR to as amd64 FD is OK =
I can
   backup if DIR and SD are on x86 and FD on amd64.


   Did someone test bacula on amd64 ?
   On Ubuntu/amd64 ? If yes, which version ?




--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bconsole cannot connect director

2010-01-28 Thread mehma sarja
POSTGRESQL
change password to 'postgres'
t...@bacula:~$  sudo -u postgres psql postgres
postgres=#  \password postgres
---
edited create_postgresql_database to add:
CREATE DATABASE ${db_name} $ENCODING TEMPLATE template0;
reference:  http://osdir.com/ml/debian-bugs-dist/2009-09/msg03836.html
---
t...@bacula:/usr/local/etc$ sudo ./create_postgresql_database -U postgres
t...@bacula:/usr/local/etc$ sudo ./make_postgresql_tables -U postgres
t...@bacula:/usr/local/etc$ sudo ./grant_postgresql_privileges -U postgres
t...@bacula:/usr/local/etc$ sudo /etc/init.d/postgresql-8.4 restart
===
COMPILE BACULA
sudo apt-get install libpq-dev
NOTE: I am assuming you did a sudo apt-get install gcc as well
---
sudo mkdir -p /var/db/bacula/working
NOTE:  make sure
a.  the config files are in /usr/local/etc
b.  there is a /var/run directory
c.  postgresql is at /usr/local/pgsql84
---
CFLAGS=-g -O2 -Wall \
  ./configure \
--sbindir=/usr/local/sbin \
--sysconfdir=/usr/local/etc \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/db/bacula/working \
--enable-smartalloc \
--enable-batch-insert \
--disable-libtool \
--with-postgresql=/usr/local/pgsql84 \
--with-db-user=postgres \
--with-working-dir=/var/db/bacula/working \
--with-dump-email=mehmasa...@gmail.com \
--with-job-email=mehmasa...@gmail.com \
--with-smtp-host=smtp.gmail.com
NOTE:  I put these commands in a file ... call it bac_conf and made it
executable sudo chmod 744 bac_conf and then executed it via sudo ./bac_conf
-- you should be in the directory with the configure file in it.
===
SCRIPTS
Add startup/stop scripts on 'bacula'
cd /etc/init.d  sudo ln -s /usr/local/etc/bacula  sudo update-rc.d
bacula defaults  sudo reboot
===



 On Thu, Jan 28, 2010 at 6:28 AM, le dahut le.da...@laposte.net wrote:

 I have exactly the same :
 * vmware ESXi
 * Intel 64bit processor
 * bacula 3.0.3 from official sources, without any patch

 but I'm running Hardy/8.04.


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How it optimize the transfer speed.

2010-01-26 Thread mehma sarja
About 20 GB/hour is what I got on a data set of 700 - 900 GB.

Mehma
===
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows client performance

2010-01-25 Thread mehma sarja
Timo,.

Your test involved just 600 some MB of data which may not be a large or
varied enough data set. There is data and then there is data. Millions of
small email index files is harder on Bacula than thousands of large files.
And you don't mentioned if or how you controlled for your network bandwidth
- did you keep all traffic off it?

I'd suggest you use a data set which is typical of your intended use and
multiply it by a factor of 10 and keep bandwidth stable.

Mehma
===
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-25 Thread mehma sarja
Found the problem: The pgsql driver is not installed. Any ideas where I get
one from and where I put it?

Mehma
===
*Fatal error*: Uncaught exception 'Zend_Db_Adapter_Exception' with message
'The pgsql driver is not currently installed' in
/var/www/webacula-3.4/library/Zend/Db/Adapter/Pdo/Abstract.php:111 Stack
trace: #0 /var/www/webacula-3.4/library/Zend/Db/Adapter/Pdo/Pgsql.php(87)
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-25 Thread mehma sarja
Thanks Reiner,

Got the pdo_pgsql installed using this link:
http://www.theatons.com/ubuntu-install-php5-mysql-apache2-ssl-pdo-pdo_mysqland
substituting pgsql.

However, surfing to the html folder gives me a nice GUI and nothing after
that. Meaning, I click on anyhting and get an error of nothing being there.
Seems like it is looking for files in the html folder. Mine looks like so:

drwxr-xr-x 6 root root 4096 2010-01-22 16:54 .
drwxr-xr-x 9 root root 4096 2010-01-21 20:49 ..
-rw-r--r-- 1 root root 1406 2009-12-02 00:00 favicon.ico
-rw-r--r-- 1 root root  400 2010-01-22 16:54 .htaccess
drwxr-xr-x 2 root root 4096 2009-12-02 00:00 images
-rw-r--r-- 1 root root 7151 2009-12-02 00:00 index.php
drwxr-xr-x 2 root root 4096 2009-12-02 00:00 scripts
drwxr-xr-x 3 root root 4096 2009-12-02 00:00 styles
drwxr-xr-x 2 root root 4096 2009-12-02 00:00 test_mod_rewrite
si...@bacula:/var/www/webacula-3.4/html$
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-22 Thread mehma sarja
Thanks for the link CoolAtt,

I looked through the install instructions and they are a bit vague. any
chance anyone can send me their successful commands and I'll make a nice
install document and send it to the site maintainer for inclusion.

Mehma
===

2010/1/20 CoolAtt NNA cool...@live.com

  Not this one.

 I mean webacula.
 http://webacula.sourceforge.net

 Thanks
 CoolAtt

 --
 From: moray.hender...@ict-software.org
 To: bacula-users@lists.sourceforge.net
 Date: Wed, 20 Jan 2010 16:14:38 +
 Subject: Re: [Bacula-users] Installation  Configuration of Webacula admin
 Interface

  *From:* CoolAtt NNA [mailto:cool...@live.com]
 Hi all..

 I need help installing webacula on debian lenny.
 The documentation that comes with it is not very detailed.
 Please point me to some tutorial or how-to.

 Thanks
 CoolAtt



 http://bacula.org/en/?page=documentation



 I expect the most useful ones are

- Concepts and Overview Guide

 http://bacula.org/3.0.x-manuals/en/concepts/concepts/Bacula_Concepts_Overview_Gu.html
- Installation and Configuration 
 Guidehttp://bacula.org/3.0.x-manuals/en/install/install/Bacula_Installation_Configu.html
- Console and Operators 
 Guidehttp://bacula.org/3.0.x-manuals/en/console/console/Bacula_Console_Operators_Gu.html
- Catalog Database 
 Guidehttp://bacula.org/3.0.x-manuals/en/catalog/catalog/Bacula_Catalog_Database_Gui.html





 Moray.
 To err is human.  To purr, feline







 --
 Windows Live: Friends get your Flickr, Yelp, and Digg updates when they
 e-mail 
 you.http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-22 Thread mehma sarja
I'll give it a shot and report back.

Thanks,

Mehma
===

On Fri, Jan 22, 2010 at 8:58 AM, Piotr Gbyliczek p...@forlinux.co.uk wrote:

 On Friday 22 January 2010 15:29:18 mehma sarja wrote:
  I looked through the install instructions and they are a bit vague. any
  chance anyone can send me their successful commands and I'll make a nice
  install document and send it to the site maintainer for inclusion.

 Are you having any errors there ?? I have couple of working webacula's
 installation on CentOS 5, and I'm sure that I just followed something like
 that :

 # wget

 http://downloads.sourceforge.net/project/webacula/webacula/3.4/webacula-3.4.tar.gz?use_mirror=surfnet
 # tar zxvf webacula-3.4.tar.gz
 wget
 #
 http://framework.zend.com/releases/ZendFramework-1.8.5/ZendFramework-1.8.5-
 minimal.tar.gz
 # tar zxvf ZendFramework-1.8.5-minimal.tar.gz
 # cp -R ZendFramework-1.8.5/library/Zend webacula-3.4/library
 # vi webacula-3.4/application/config.ini

 Obviously you need to have php 5.2.9 or above and configure apache to serve
 it
 in some way. Most things in config.ini are fine by default, but you need to
 fill
 in db lines in general section, and set up access to bconsole properly in
 bconsole related section.


 --
 Piotr Gbyliczek
 ForLinux Ltd, Innovation House, Cafferata Way
 Beacon Hill Business Park, Newark, Notts,  NG24 2TN
 Tel:  0845 4210444  FAX 01636 703910, Web:  http://www.forlinux.co.uk/
 Registered Company No 04227715

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



 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-22 Thread mehma sarja
I'm at the last steps and on a 9.0.4 64 bit Ubuntu box:

$ sudo ./webacula_postgresql_create_database.sh

Who are we supposed to run this command as?

Mehma
===
On Fri, Jan 22, 2010 at 10:46 AM, mehma sarja mehmasa...@gmail.com wrote:

 I'll give it a shot and report back.
--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Installation Configuration of Webacula admin Interface

2010-01-22 Thread mehma sarja
OK, I'm done with all the steps. How do you log into it?

Mehma
===

On Fri, Jan 22, 2010 at 10:36 PM, mehma sarja mehmasa...@gmail.com wrote:

 I'm at the last steps and on a 9.0.4 64 bit Ubuntu box:

 $ sudo ./webacula_postgresql_create_database.sh

 Who are we supposed to run this command as?

 Mehma
 ===

 On Fri, Jan 22, 2010 at 10:46 AM, mehma sarja mehmasa...@gmail.comwrote:

 I'll give it a shot and report back.


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread mehma sarja
I try to avoid NFS for heavy or prolonged use because of bad experiences. I
have an untried 15-bay Coraid AOE array. What I have accomplished is to
notice that the AOE array disks show up, without re-configuring the kernel,
on a linux box via the LAN and a mount later, it's available for use. I can
opt to go multi gig but my needs are tiny.

If anyone needs a test done, I'll be happy to comply.

Mehma
===
On Wed, Jan 20, 2010 at 11:11 AM, Dan Langille d...@langille.org wrote:

 Sean M Clark wrote:
  On 2010Jan20 9:19 AM, Carlo Filippetto wrote:
  I don't know the answare, but if it runs samba means the the SO is
  linux, so I think you can connect to it with ssh, and there I think
  you can put and run one static-bacula-fd and the confing file..
  If this works well in same folder you will find the mount point of his
  disks, and you can find all the share
  In this ways you can backup all the file with their permission, and
  also the smb.conf file
 
  I never have tried this kind of solution, but in my opinion it sounds
 good
  [...]
  2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
  Hello,
 
  We're planning to move file shares from a windows DC to a dedicated
  NAS appliance (something like a thecus N8800 for example).
 
  The NAS I've seen typically run samba, and can be joined to the domain
  to set up ACLs, but I've never seen any option to installl bacula fd
  on them.
 
  Before deciding for the hardware, I'd like to know how you cope with
  the backup of this type of appliance.
  Especially, is there a way to backup the acls ?
 
  I HAVE used a NAS appliance as a bacula storage daemon before.  In
  principle, the idea of either obtaining or compiling (directly from the
  NAS) a bacula-fd to run directly on the NAS device is plausible, and
  might be the best way to save the filesystem metadata - in any case,
  it'd be able to back up everything the NAS itself knows including ACL,
  extended attributes, and so on.
 
  Coincidentally enough, I'm about to set up a second NAS as a bacula-sd
  box.  Perhaps I'll try putting bacula-fd on it as well, in order to keep
  a backup of the NAS configuration files elsewhere at least.

 I think owners of NAS devices should start asking their suppliers for
 exactly that.  I mean: I bought this NAS.  Where's my Bacula FD?


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to backup shares on a NAS without bacula-fd ?

2010-01-20 Thread mehma sarja
What NAS did you get sd working on?

Mehma
===

On Wed, Jan 20, 2010 at 11:05 AM, Sean M Clark smcl...@tamu.edu wrote:

 On 2010Jan20 9:19 AM, Carlo Filippetto wrote:
  I don't know the answare, but if it runs samba means the the SO is
  linux, so I think you can connect to it with ssh, and there I think
  you can put and run one static-bacula-fd and the confing file..
  If this works well in same folder you will find the mount point of his
  disks, and you can find all the share
  In this ways you can backup all the file with their permission, and
  also the smb.conf file
 
  I never have tried this kind of solution, but in my opinion it sounds
 good
 [...]
 
  2010/1/20 Mikael Kermorgant mikael.kermorg...@gmail.com:
  Hello,
 
  We're planning to move file shares from a windows DC to a dedicated
  NAS appliance (something like a thecus N8800 for example).
 
  The NAS I've seen typically run samba, and can be joined to the domain
  to set up ACLs, but I've never seen any option to installl bacula fd
  on them.
 
  Before deciding for the hardware, I'd like to know how you cope with
  the backup of this type of appliance.
  Especially, is there a way to backup the acls ?

 I HAVE used a NAS appliance as a bacula storage daemon before.  In
 principle, the idea of either obtaining or compiling (directly from the
 NAS) a bacula-fd to run directly on the NAS device is plausible, and
 might be the best way to save the filesystem metadata - in any case,
 it'd be able to back up everything the NAS itself knows including ACL,
 extended attributes, and so on.

 Coincidentally enough, I'm about to set up a second NAS as a bacula-sd
 box.  Perhaps I'll try putting bacula-fd on it as well, in order to keep
 a backup of the NAS configuration files elsewhere at least.


 --
 Throughout its 18-year history, RSA Conference consistently attracts the
 world's best and brightest in the field, creating opportunities for
 Conference
 attendees to learn about information security's most important issues
 through
 interactions with peers, luminaries and emerging and established companies.
 http://p.sf.net/sfu/rsaconf-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup/Delete/Restore subsequent backups

2010-01-05 Thread mehma sarja
Steve,

You have incremental and differential schedules defined, however you don't
use them in the incremental and differential job blocks. In fact, you don't
call out ANY schedule in either of those jobs. What's it defaulting to? I'd
think a bacula restart would error out in starting bacula-dir.

Mehma
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Only one job runs before I have to recycle the daemons

2009-12-26 Thread mehma sarja
Yep, that was it. I commented some parts of the message block out and bacula
runs fine. Also did some research on the net and found ssmtp - installed it
on my ubuntu machine and am using it instead of bsmtp to send messages to my
gmail account - which needs authentication - port 587. I need to see how I
can get the subject and from blocks working correctly.

Thanks Bruno.

Mehma
===


On Fri, Dec 25, 2009 at 12:52 AM, Bruno Friedmann br...@ioda-net.ch wrote:

 On 12/25/2009 12:39 AM, mehma sarja wrote:
  I can run one job and the next job freezes. Nothing in the logs. Any
 help?
 
  Mehma
 
 Hi Mehma.

 If you use bsmtp, just check that you mailer is really running. We detect
 this problem last week
 Postfix was running ( a ps aux | grep post ) give you some result. But it's
 state is in throtling
 (can be checked in log). bsmtp get a connexion but cannot deliver the
 message. and bacula-dir is waiting forever
 a return which does not arrive.

 After correcting the postfix, everything is going right.

 --

 Bruno Friedmann


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Only one job runs before I have to recycle the daemons

2009-12-24 Thread mehma sarja
I can run one job and the next job freezes. Nothing in the logs. Any help?

Mehma
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-fd on OS X 10.3.9 dies

2009-12-16 Thread mehma sarja
Tried fd ver 2.4.4 and 3.0.3 and they start and pid dies immediately. I am
having a hard time diagnosing this one. OS X console does not post the
error and system log files are just as quiet. Seems to compile fine. I can
bconsole to the director (Ubuntu 3.0.3) from the os x machine.  Checked the
obvious stuff like passwords. This feels like a simple error and I cannot
find it.

Compiling from scratch with
./configure \
  --enable-smartalloc \
  --sbindir=/usr/local/sbin \
  --sysconfdir=/usr/local/etc \
  --with-pid-dir=/var/db/bacula/working \
  --with-subsys-dir=/var/db/bacula/working \
  --with-working-dir=/var/db/bacula/working \
  --enable-client-only

Mehma
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Network transfer Speed

2009-12-08 Thread mehma sarja
Ah HAH! The old I just upgraded to bacula 3.03 this morning mistake. The
problem here could be what happened to me. The database needs to be bounced.
Yes, indexes dropped and re-init-ed. It was a few moons ago and I forget
what exactly I did. Horribly slow backups  and they NEVER finished and
no-one on the list could figure it out. I did the batch thing and pulled my
hair out. Until I just happen to bounce PostgreSQL db and voila everything
started working.

PLEASE BE CAREFUL:
a.  I do know I re-init-ed the indexes - I had to dump and reload the
database and I re-init-ed it in the process.
b.  This is a delicate process and I played with it for many weeks.

Mehma
--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula 3.0.2 Packages for Solaris and OpenSolaris

2009-09-09 Thread mehma sarja
The user community should make an effort to offer pre-compiled fd's and sd's
for various OSes. I was in the same dilemma.
Yudhvir
===

On Tue, Sep 8, 2009 at 6:50 PM, Joseph L. Casale
jcas...@activenetwerx.comwrote:

 Anyone know of existing Bacula 3.0.2 packages for these
 two distros?

 Blastwaves are old and I don't want to compile from source
 on these production machines.

 Thanks,
 jlc


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Storage Daemon Config?

2009-07-14 Thread mehma sarja
If you need to ramp up to hundreds of machines, let me know - it is easy and
simple.

Yudhvir
===
On Sun, Jul 12, 2009 at 8:02 PM, tim5 bacula-fo...@backupcentral.comwrote:


 Thanks John. You were right. I was not restarting the storage daemon . .
 Doh!  My sincerest thanks, Tim.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula version upgrade for FreeBSD

2009-07-03 Thread mehma sarja
Never mind I see it on freebsd site.
===

On Thu, Jul 2, 2009 at 11:58 PM, mehma sarja mehmasa...@gmail.com wrote:

 Silver,I'll take 3.0.0 - please point me towards that direction.
 ===
 On Thu, Jul 2, 2009 at 11:19 PM, Silver Salonen sil...@ultrasoft.eewrote:

 On Friday 03 July 2009 01:31:45 mehma sarja wrote:
  Bacula on FreeBSD is at 2.4.2, any short-term prospects we will see
 version
  3 port or package?
  Yudhvir

 No it isn't - it's 3.0.0. I'm eagerly waiting for 3.0.1, but it seems Dan
 Langille (port's maintainer) has been away a month or so..

 --
 Silver



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


[Bacula-users] Bacula version upgrade for FreeBSD

2009-07-02 Thread mehma sarja
Bacula on FreeBSD is at 2.4.2, any short-term prospects we will see version
3 port or package?
Yudhvir
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring large directory does not work

2009-06-26 Thread mehma sarja
Thanks Martin,

You have put a good closure on the quest for knowledge. If I upgrade Bacula,
will I have to upgrade the database? Meaning do I have to run those update
table scripts. I am on postgresql version 8.29.

Yudhvir

OK, this shows why it is slow.  The algorithm in add_findex is only
 efficient
 when called with consecutive index values (the third number printed).

 The code for restore all in 2.4.4 doesn't do that, so it can take a very
 long time to complete.  This was fixed in later version, so I think the
 best
 solution is to upgrade Bacula.

 __Martin


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

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


Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread mehma sarja
I got into gdb but know very little how to move around in there. I tried:

[r...@lucifer ~]# gdb /usr/local/sbin/bacula-dir 27410
GNU gdb 6.1.1 [FreeBSD]
This GDB was configured as amd64-marcel-freebsd...(no debugging symbols
found)...
Attaching to program: /usr/local/sbin/bacula-dir, process 27410
Reading symbols from /usr/local/lib/libpq.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libpq.so.5
Reading symbols from /lib/libcrypt.so.4...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done.
[New Thread 0x801a10300 (LWP 100334)]
[New Thread 0x801902600 (LWP 100329)]
[New Thread 0x801902480 (LWP 100192)]
[New Thread 0x801902180 (LWP 100350)]
Loaded symbols for /lib/libthr.so.3
Reading symbols from /usr/local/lib/libintl.so.8...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libintl.so.8
Reading symbols from /usr/lib/libwrap.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libwrap.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /usr/lib/libssl.so.5...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libssl.so.5
Reading symbols from /lib/libcrypto.so.5...(no debugging symbols
found)...done.
Loaded symbols for /lib/libcrypto.so.5
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
[Switching to Thread 0x801a10300 (LWP 100334)]
0x0040c043 in add_findex ()
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread mehma sarja
(gdb) thread apply all bt

Thread 4 (Thread 0x801902180 (LWP 100350)):
#0  0x0008016f98cc in nanosleep () from /lib/libc.so.7
#1  0x0008009078c5 in nanosleep () from /lib/libthr.so.3
#2  0x0044e21e in bmicrosleep ()
#3  0x0042408d in wait_for_next_job ()
#4  0x00408a3c in main ()

Thread 3 (Thread 0x801902480 (LWP 100192)):
#0  0x000801715afc in select () from /lib/libc.so.7
#1  0x0008009074d4 in select () from /lib/libthr.so.3
#2  0x0044f9b2 in bnet_thread_server ()
#3  0x00438ba8 in connect_thread ()
#4  0x000800908a27 in pthread_getprio () from /lib/libthr.so.3
#5  0x in ?? ()
Error accessing memory address 0x7fbff000: Bad address.
#0  0x0040c043 in add_findex ()
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restoring large directory does not work

2009-06-24 Thread mehma sarja
Thanks for all your help you guys. I am impressed with the level of
expertise here!

 Error accessing memory address 0x7fbff000: Bad address.
  #0  0x0040c043 in add_findex ()

 The function add_findex is interesting, but I think like your bacula-dir
 was

 Try the following gdb commands (I assume you are running 64-bit FreeBSD):

 break *add_findex
 commands
 printf arguments: %x %x %x\n, $rdi, $rsi, $rdx
 end
 continue

 When it stops, enter the continue command again and time how long it takes
 before it stops again.

 Do this a few times and post the results (including the arguments:
 output).


Yes, it is FreeBSD 64 bit. The continue command comes right back with these
arguments:

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe00b
arguments: 1b17068 a0 5fe00b
arguments: 1b17068 a0 5fe00b
arguments: 1b17068 a0 5fe00b
(gdb) continue
Continuing.

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe039
arguments: 1b17068 a0 5fe039
arguments: 1b17068 a0 5fe039
arguments: 1b17068 a0 5fe039
(gdb) continue
Continuing.

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe055
arguments: 1b17068 a0 5fe055
arguments: 1b17068 a0 5fe055
arguments: 1b17068 a0 5fe055
(gdb) continue
Continuing.

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe060
arguments: 1b17068 a0 5fe060
arguments: 1b17068 a0 5fe060
arguments: 1b17068 a0 5fe060
(gdb) continue
Continuing.

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe071
arguments: 1b17068 a0 5fe071
arguments: 1b17068 a0 5fe071
arguments: 1b17068 a0 5fe071
(gdb) continue
Continuing.

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe079
arguments: 1b17068 a0 5fe079
arguments: 1b17068 a0 5fe079
arguments: 1b17068 a0 5fe079
(gdb) continue
Continuing.

Breakpoint 1, 0x0040bfc0 in add_findex ()
arguments: 1b17068 a0 5fe0ac
arguments: 1b17068 a0 5fe0ac
arguments: 1b17068 a0 5fe0ac
arguments: 1b17068 a0 5fe0ac
--
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restoring large directory does not work

2009-06-23 Thread mehma sarja
Trying to restore files using bconsole:  * restore client=client1-fd
fileset=Client1-Fileset select current all done. It does the 'select',
'current', and 'all' but sits there on the 'done' part. I have left it like
this overnight with no change in status. My setup is Bacula 2.4.4 DIR and SD
on a FreeBSD 7.1.

+---+---+-+-+-+--+
| jobid | level | jobfiles   | jobbytes| starttime   |
volumename  |
+---+---+-+-+-+--+
|   160 | F | 11,600,468 | 371,831,421,845 | 2009-06-17 14:15:37 |
Volumes0004 |
+---+---++-+-+--+
You have selected the following JobId: 160

Building directory tree for JobId 160 ...
+
1 Job, 11,415,174 files inserted into the tree and marked for extraction.

and nothing more 


Anyone have any idea what I am doing wrong? Can I compile a newer bacula and
connect to the current catalog database and try the restore again? Is there
another way to restore?

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


  1   2   >