Help for.installing and configure bareos

827 views
Skip to first unread message

celal suleymanov

unread,
Nov 9, 2015, 11:40:21 AM11/9/15
to bareos-users
Hi i am new for bareos. I want install bareos server to centos 7. I write wget.command download.from barreos link.but can not install postgresql and can not then configure next step. Can you send me stel by step all this( configure postgresql, configure bareos-dir conf, test.backup one client and test.restlore one client os)

Bruno Friedmann

unread,
Nov 10, 2015, 12:43:14 AM11/10/15
to bareos...@googlegroups.com
On Monday 09 November 2015 08.40:21 celal suleymanov wrote:
> Hi i am new for bareos. I want install bareos server to centos 7. I write wget.command download.from barreos link.but can not install postgresql and can not then configure next step. Can you send me stel by step all this( configure postgresql, configure bareos-dir conf, test.backup one client and test.restlore one client os)
>
>
All those are really basic linux administration knowledge.

http://www.linuxtopia.org/online_books/introduction_to_linux/index.html
http://www.linuxtopia.org/online_books/centos_linux_guides/centos_linux_step_by_step_guide/index.html
http://www.linuxtopia.org/online_books/centos_linux_guides/centos_linux_sysadmin_intro/index.html

Official documentation from Centos and bareos
http://www.bareos.org/en/documentation.html

What you describe is also a bit strange, (look like you want to build bareos from scratch)
when ready to use package are build ?


--

Bruno Friedmann
Ioda-Net Sàrl www.ioda-net.ch

openSUSE Member & Board, fsfe fellowship
GPG KEY : D5C9B751C4653227
irc: tigerfoot

celal suleymanov

unread,
Nov 10, 2015, 3:27:25 AM11/10/15
to bareos-users
вторник, 10 ноября 2015 г., 9:43:14 UTC+4 пользователь Bruno Friedmann написал:
Hi Bruno thank for your attebtion..I installed bareos 15 to centos7..my client is windows 7..i install bareos-fd client and monitor to windows7..and write conf to bareos-dir.conf..but i want to test backup and restore for testing bareos...when write bconsole ...connecting and nothing...postgresql maybe not correctlu configured..

Bruno Friedmann

unread,
Nov 10, 2015, 11:15:27 AM11/10/15
to bareos...@googlegroups.com
On Tuesday 10 November 2015 00.27:25 celal suleymanov wrote:
> вторник, 10 ноября 2015 г., 9:43:14 UTC+4 пользователь Bruno Friedmann написал:
> > On Monday 09 November 2015 08.40:21 celal suleymanov wrote:
> > > Hi i am new for bareos. I want install bareos server to centos 7. I write wget.command download.from barreos link.but can not install postgresql and can not then configure next step. Can you send me stel by step all this( configure postgresql, configure bareos-dir conf, test.backup one client and test.restlore one client os)
> > >
> > >
> > All those are really basic linux administration knowledge.
> >
> > http://www.linuxtopia.org/online_books/introduction_to_linux/index.html
> > http://www.linuxtopia.org/online_books/centos_linux_guides/centos_linux_step_by_step_guide/index.html
> > http://www.linuxtopia.org/online_books/centos_linux_guides/centos_linux_sysadmin_intro/index.html
> >
> > Official documentation from Centos and bareos
> > http://www.bareos.org/en/documentation.html
> >
> > What you describe is also a bit strange, (look like you want to build bareos from scratch)
> > when ready to use package are build ?
> >
> >
>
> Hi Bruno thank for your attebtion..I installed bareos 15 to centos7..my client is windows 7..i install bareos-fd client and monitor to windows7..and write conf to bareos-dir.conf..but i want to test backup and restore for testing bareos...when write bconsole ...connecting and nothing...postgresql maybe not correctlu configured..
>
>

Still "blury symptom", first are the bareos-dir running ?
If not check bareos documentation how to run it in debug mode to see what problem it find
could be config typos or no connection to the database.

once -dir run
try bconsole : if there's no error in config again this will give you the bconsole prompt

once in bconsole
status client client=YourClient-fd should connect to client and return its status

run an estimate to check if client works.

then run a backup ( beware, -fd could still have hardtime if misconfigured, to connect to -sd)

etc ...

celal suleymanov

unread,
Nov 11, 2015, 12:26:01 AM11/11/15
to bareos-users
вторник, 10 ноября 2015 г., 20:15:27 UTC+4 пользователь Bruno Friedmann написал:
I check with this command : bareos-dir -t -c /etc/bareos/bareos-dir.conf

that error showed : Config error: Could not find config Resource Windows All Drivers referenced on line 98 : FileSet = "Windows All Drivers"

But i have that config file.for this i can not start bareos-dir service







Bruno Friedmann

unread,
Nov 11, 2015, 12:53:41 AM11/11/15
to bareos...@googlegroups.com
>
> I check with this command : bareos-dir -t -c /etc/bareos/bareos-dir.conf
>
> that error showed : Config error: Could not find config Resource Windows All Drivers referenced on line 98 : FileSet = "Windows All Drivers"
>
> But i have that config file.for this i can not start bareos-dir service

Putting space in a resource name is prone to errors.
Use CamelCaseName_With_Underscore-and-hyphen

As you've discovered having configuration files 100% ready will help to start the daemons.
;-)

celal suleymanov

unread,
Nov 11, 2015, 5:44:12 AM11/11/15
to bareos-users
среда, 11 ноября 2015 г., 9:53:41 UTC+4 пользователь Bruno Friedmann написал:
how can i correct configure postgresql or mysql for bareos

lst_...@kwsoft.de

unread,
Nov 11, 2015, 7:12:05 AM11/11/15
to bareos...@googlegroups.com

Zitat von celal suleymanov <celal.sule...@gmail.com>:
Maybe this way?
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#x1-360002.4

Regards

Andreas


celal suleymanov

unread,
Nov 11, 2015, 7:38:58 AM11/11/15
to lst_...@kwsoft.de, bareos...@googlegroups.com

I want to know i must install mysql or postgresql server or postgresql,mysql rpm on bareos download?

--
You received this message because you are subscribed to a topic in the Google Groups "bareos-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bareos-users/i1woDKwqn9A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bareos-users...@googlegroups.com.
To post to this group, send email to bareos...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

celal suleymanov

unread,
Nov 11, 2015, 8:02:14 AM11/11/15
to bareos-users, lst_...@kwsoft.de
среда, 11 ноября 2015 г., 16:38:58 UTC+4 пользователь celal suleymanov написал:
> I want to know i must install mysql or postgresql server or postgresql,mysql rpm on bareos download?
>
> On Nov 11, 2015 16:12, <lst_...@kwsoft.de> wrote:
>
>
> Zitat von celal suleymanov <celal.sule...@gmail.com>:
>
> See pls my error:
[root@localhost bareos]# bareos-dir -t -c /etc/bareos/bareos-dir.conf
bareos-dir: dird.c:1116-0 Could not open Catalog "MyCatalog", database "bareos".
bareos-dir: dird.c:1121-0 mysql.c:203 Unable to connect to MySQL server.
Database=bareos User=bareos
MySQL connect failed either server not running or your authorization is incorrect.
04-Nov 00:26 bareos-dir ERROR TERMINATION
Please correct configuration file: /etc/bareos/bareos-dir.conf

lst_...@kwsoft.de

unread,
Nov 11, 2015, 8:43:59 AM11/11/15
to bareos...@googlegroups.com
Zitat von celal suleymanov <celal.sule...@gmail.com>:

> I want to know i must install mysql or postgresql server or
> postgresql,mysql rpm on bareos download?

"We assume that you have already your database installed and basically
running"

You have to install the database you like to use first, than you have
to install the matching (client) Bareos Database package. Furthermore
you have to configure the Database Server to allow Bareos User to
access the database as needed to store its metadata.

Regards

Andreas


celal suleymanov

unread,
Nov 12, 2015, 12:06:17 AM11/12/15
to bareos-users, lst_...@kwsoft.de
среда, 11 ноября 2015 г., 17:43:59 UTC+4 пользователь lst_...@kwsoft.de написал:
Can you send me any example to install mysql and configure for bareos? after succesfull start mysql i can start bareos-dir bareos console, then i can open bconsole

celal suleymanov

unread,
Nov 12, 2015, 7:46:34 AM11/12/15
to bareos-users, lst_...@kwsoft.de
четверг, 12 ноября 2015 г., 9:06:17 UTC+4 пользователь celal suleymanov написал:
Hi again everyone ..pls see picture ..during installation this error occured
bareos-database-common.JPG

celal suleymanov

unread,
Nov 18, 2015, 3:08:55 AM11/18/15
to bareos-users, lst_...@kwsoft.de
I freshh install Centos 6.7
and do that command from manual :
DIST=CentOS_6
DATABASE=postgresql
URL=http://download.bareos.org/bareos/release/latest/$DIST
wget -O /etc/yum.repos.d/bareos.repo $URL/bareos.repo
yum install bareos bareos-database-$DATABASE

and when i check this command: bareos-dir -t -c /etc/bareos/bareos-dir.conf

this error occured : bareos-dir: dird.c:1020-0 Could not open Catalog "MyCatalog", database "bareos".
bareos-dir: dird.c:1025-0 postgresql.c:238 Unable to connect to PostgreSQL server. Database=bareos User=bareos
Possible causes: SQL server not running; password incorrect; max_connections exceeded.
18-Nov 16:04 bareos-dir ERROR TERMINATION


My bareos-dir.conf this :

Catalog {
Name = MyCatalog
# Uncomment the following lines if you want the dbi driver
# dbdriver = "dbi:postgresql"; dbaddress = 127.0.0.1; dbport =
#dbdriver = "postgresql"
dbdriver = "postgresql"
dbname = "bareos"
dbuser = "bareos"
dbpassword = ""
}


Can you help me?

how i can start postgresql service?

Reply all
Reply to author
Forward
0 new messages