Re: [Bacula-users] Can I split full backups into 2 different days instead of 1st Sunday of the months?

2017-03-06 Thread Michael Watters
You can customize schedules using a custom include file. For example: https://gist.github.com/blackknight36/d39ce8fd17d3e87d66a655493699dcde This configuration has 4 different cycles which are chosen at random by our bacula director using puppet. On 03/06/2017 03:28 PM, Jan Stefanovic wrote: >

[Bacula-users] Can I split full backups into 2 different days instead of 1st Sunday of the months?

2017-03-06 Thread Jan Stefanovic
Gents can some of you, bacula gurus help me with this? Can I split full backups into 2 different days instead of 1st Sunday of the months? Let say 1st Sunday half, and second Sunday the rest? And if yes, what's are the settings? Any example would be great!!! Million thanks in advance Thanks,

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Erik P. Olsen
On 2017-03-06 at 14:27:18 Richard wrote: > > Date: Monday, March 06, 2017 13:13:38 +0100 > > From: "Erik P. Olsen" > > > > This is my catalogue definition: > > > ># > ># Generic catalog service > ># > > Catalog { > > Name = MyCatalog > > dbname = "bacula"; dbuser = "bacula"; dbpassword = "

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Simone Caronni
Hi Erik, On Mon, Mar 6, 2017 at 3:21 PM, Erik P. Olsen wrote: > > I'll look into all your advice as soon as possible. actually, if there's anything obvious missing please let me know and I'll add it. The procedure in the quickstart files is automated on my system for checking discrepancies with

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Richard
> Date: Monday, March 06, 2017 13:13:38 +0100 > From: "Erik P. Olsen" > > This is my catalogue definition: > ># ># Generic catalog service ># > Catalog { > Name = MyCatalog > dbname = "bacula"; dbuser = "bacula"; dbpassword = "" > } > > I don't think there is any dbpassword. I tried to c

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Erik P. Olsen
On 2017-03-06 at 13:59:50 Simone Caronni wrote: > There are super short tutorials inside the bacula-common package that > you can use to bring up a quick installation with a client, director > and storage daemons: > > $ rpm -qd bacula-common > /usr/share/doc/bacula-common/README.Redhat > /usr/sha

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Erik P. Olsen
On 2017-03-06 at 14:41:57 Josip Deanovic wrote: > I would use these two steps to check that: > 1. ldd >check if you can find something like libmysqlclient in the >output. > > 2. Check if your /usr/lib64/libbaccats.so symlink points to the >correct library (mysql and not postgres). Mo

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Josip Deanovic
On Sunday 2017-03-05 21:10:58 Erik P. Olsen wrote: > On 2017-03-05 at 20:24:15 Josip Deanovic wrote: > > When in doubt always try to connect manually using the credentials > > you plan to use from bacula-dir in order to rule out incorrect > > database or network setup. > > > > For example, from th

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Josip Deanovic
On Monday 2017-03-06 12:42:13 Erik P. Olsen wrote: > This was something Kern brought up out of the blue. I need no advice on > selinux. Read my previous messages about my bacula problems. If you can > offer advice on these problems I would be more than happy. And contrary > to what Kern thinks I do

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Simone Caronni
Hi Erik, On Mon, Mar 6, 2017 at 1:26 PM, Gary R. Schmidt wrote: > On 06/03/2017 08:51, Erik P. Olsen wrote: > > I noticed "Access denied for user ''@'localhost' ...". Where does this > > user come from? Isn't that the reason for the failures and if it's > > true what can I do to correct it? Also

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Francisco Javier Funes Nieto
To delimite the problem: Check MySQL/MariaDB it's running in the host. ps axu|grep mysql ps axu|grep mysql root 12832 0.0 0.0 23068 3456 ?Smar01 0:00 /bin/bash /usr/bin/mysqld_safe mysql12967 0.1 0.9 613220 76684 ?Sl mar01 10:49 /usr/sbin/mysqld --basedir=/

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Gary R. Schmidt
On 06/03/2017 08:51, Erik P. Olsen wrote: [SNIP] > bacula-dir: mysql.c:259-0 db_user=bacula db_name=bacula db_password= > bacula-dir: mysql.c:269-0 Error 1044 (42000): Access denied for user > ''@'localhost' to database 'bacula' bacula-dir: dird.c:969-0 Could not > open Catalog "MyCatalog", databas

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Erik P. Olsen
On 2017-03-06 at 12:59:11 Francisco Javier Funes Nieto wrote: Hi Francisco, This is my catalogue definition: # # Generic catalog service # Catalog { Name = MyCatalog dbname = "bacula"; dbuser = "bacula"; dbpassword = "" } I don't think there is any dbpassword. I tried to copy as much as poss

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Francisco Javier Funes Nieto
Hi Erik, Can you post the Catalog definition in your bacula-dir.conf ? Or check: dbname = bacula dbuser = bacula dbpassword = the password for user bacula in MySQL server The error you show above makes me think about the username it's not configured in your bacula-dir.conf, and Bacula it's tryin

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Erik P. Olsen
On 2017-03-06 at 11:27:20 Josip Deanovic wrote: > On Monday 2017-03-06 10:57:03 Erik P. Olsen wrote: > > On 2017-03-06 at 09:48:40 Kern Sibbald wrote: > > > Yes, the manual assumes you did a standard rpm or deb install > > > without Selinux. If you did anything else, either you are on > > > you

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Josip Deanovic
On Monday 2017-03-06 10:57:03 Erik P. Olsen wrote: > On 2017-03-06 at 09:48:40 Kern Sibbald wrote: > > Yes, the manual assumes you did a standard rpm or deb install without > > Selinux. If you did anything else, either you are on your own, or you > > must come back to a standard install. > > >

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Erik P. Olsen
On 2017-03-06 at 09:48:40 Kern Sibbald wrote: > Yes, the manual assumes you did a standard rpm or deb install without > Selinux. If you did anything else, either you are on your own, or you > must come back to a standard install. And if I happen to install without selinux what advice do I get f

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Kern Sibbald
Well, MariaDB is not MySQL -- there are a number of subtile difficulties I had when I tried it. One of the most common problems if you have two DBs (typically the case in Postgresql) is that the socket port, which is used by default, is different from the one that Bacula expect. Best regards, Ker

Re: [Bacula-users] Can't run bacula any more.

2017-03-06 Thread Kern Sibbald
Hello Erik, Yes, the manual assumes you did a standard rpm or deb install without Selinux. If you did anything else, either you are on your own, or you must come back to a standard install. In any case, good luck. Best regards, Kern On 03/05/2017 07:53 PM, Erik P. Olsen wrote: > Hello Kern, >