Re: [Bacula-users] Bacula scripts not found during Bacula 11.0.2 install.

2021-07-21 Thread Heitor Faria
> Hi,

Hello Pierre, 
> I am installing Bacula 11.0.2 on Oracle Linux 8.4. I downloaded the CentOS
> manual install script from this link: [
> https://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en
> |
> https://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en
> ]

> I changed the script on the MySQL section to:

> …

> # Install MySQL

> rpm --import /tmp/RPM-GPG-KEY-mysql

> wget -c [ 
> https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm |
> https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm ] -O
> /tmp/mysql80-community-release-el8-1.noarch.rpm

> rpm -ivh /tmp/mysql80-community-release-el8-1.noarch.rpm

> dnf install -y @mysql:8.0

> mysqld --initialize-insecure --user=mysql

> systemctl enable mysqld

> systemctl start mysqld

> dnf install -y bacula-mysql --skip-broken

> # Create the database of Bacula data with MySQL

> /opt/bacula/scripts/create_mysql_database

> /opt/bacula/scripts/make_mysql_tables

> /opt/bacula/scripts/grant_mysql_privileges

> …

> However, I get the following error message:

> ./bacula_manual_install.sh: line 81: 
> /opt/bacula/scripts/create_mysql_database:
> The file or directory does not exist

> ./bacula_manual_install.sh: line 83: /opt/bacula/scripts/make_mysql_tables: 
> The
> file or directory does not exist

> ./bacula_manual_install.sh: line 85: 
> /opt/bacula/scripts/grant_mysql_privileges:
> The file or directory does not exist

> Any ideas what might be wrong?

Did you check the script output? 
Most likely the packages installation from bacula.org repo failed. You can 
verify that with a "rpm -qa |grep bacula" Shell command. 

> Regards,

Regards. 

> Pierre V.

-- 

MSc Heitor Faria (Miami/USA) 
Bacula LATAM CEO 

mobile1: + 1 909 655-8971 
mobile2: + 55 61 98268-4220 
[ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] 
[ http://www.bacula.com.br/ ] 

América Latina 
[ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | 
bacula.com.br ] 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula scripts not found during Bacula 11.0.2 install.

2021-07-21 Thread pierre.vanderlaat
Hi,

 

I am installing Bacula 11.0.2 on Oracle Linux 8.4.  I downloaded the CentOS
manual install script from this link:
https://www.bacula.lat/community/bacula-community-9-x-official-packages-inst
allation-script/?lang=en

 

I changed the script on the MySQL section to:

.

# Install MySQL

rpm --import /tmp/RPM-GPG-KEY-mysql

wget -c https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
-O /tmp/mysql80-community-release-el8-1.noarch.rpm

rpm -ivh /tmp/mysql80-community-release-el8-1.noarch.rpm

dnf install -y @mysql:8.0

mysqld --initialize-insecure --user=mysql

systemctl enable mysqld

systemctl start mysqld

dnf install -y bacula-mysql --skip-broken

 

# Create the database of Bacula data with MySQL

 

/opt/bacula/scripts/create_mysql_database

/opt/bacula/scripts/make_mysql_tables

/opt/bacula/scripts/grant_mysql_privileges

.

 

However, I get the following error message:

./bacula_manual_install.sh: line 81:
/opt/bacula/scripts/create_mysql_database: The file or directory does not
exist

./bacula_manual_install.sh: line 83: /opt/bacula/scripts/make_mysql_tables:
The file or directory does not exist

./bacula_manual_install.sh: line 85:
/opt/bacula/scripts/grant_mysql_privileges: The file or directory does not
exist

 

Any ideas what might be wrong?

 

Regards,

 

Pierre V.

 

 

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


Re: [Bacula-users] Doing backup and restore simultaneously on two device setups

2021-07-21 Thread Josh Fisher



On 7/20/21 2:53 PM, William Muriithi wrote:

Hello

We are using bacula version 9 and we have been happy with it.  We have 2 
quantum superloader 3 we use to offload the data, one for Linux system and the 
other one for Windows systems.  In short, the two storage devices don't have 
any inter-dependency other than they share the same director.


Are you sure that one superloader is dedicated to Linux systems and one 
to Windows? If the two Device definitions have the same Media Type 
string and both Windows and Linux backups are being written to the same 
Pool, then they are not dedicated. A volume containing Windows backups 
could be loaded in the 'Linux' superloader and vice versa. We would need 
to see your configuration files to know.




Whenever, we attempt to do any data restore for verification, we find that we 
have to stop backup running from both the storage systems?  For example, if 
cancel all the Windows jobs, and the run a restore job from one of the Windows 
machine to another windows machine, wouldn't  one expect this to execute 
irrespective of the status of the alternate storage subsystem?

However, that is not what we notice.  The restore job on one superloader end up 
waiting for a backup on the alternate superloader finishing.Is this what is 
expected?  Its nothing to do with concurrent jobs, because if I start a new job 
on the Windows superloader (Storage), it start spooling asap.



The restore job could be assigned the Windows superloader, but need the 
volume that is currently being used in the Linux superloader.





Regards,
William

___
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] Doing backup and restore simultaneously on two device setups

2021-07-21 Thread Radosław Korzeniewski
Hello,

wt., 20 lip 2021 o 21:30 William Muriithi 
napisał(a):

> Hello
>
> We are using bacula version 9 and we have been happy with it.  We have 2
> quantum superloader 3 we use to offload the data, one for Linux system and
> the other one for Windows systems.  In short, the two storage devices don't
> have any inter-dependency other than they share the same director.
>
>
You should share your storage configuration (SD and part of DIR) as I have
no idea how it is configured.


> Whenever, we attempt to do any data restore for verification, we find that
> we have to stop backup running from both the storage systems?  For example,
> if cancel all the Windows jobs, and the run a restore job from one of the
> Windows machine to another windows machine, wouldn't  one expect this to
> execute irrespective of the status of the alternate storage subsystem?
>

A single tape drive can do a single task only - write to or read from the
tape. So when you write to tape then you cannot read it at the same time.
You need two drives for that.


>
> However, that is not what we notice.  The restore job on one superloader
> end up waiting for a backup on the alternate superloader finishing.Is
> this what is expected?  Its nothing to do with concurrent jobs, because if
> I start a new job on the Windows superloader (Storage), it start spooling
> asap.
>
>
It may be due to misconfiguration.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users