Vinchin. Install agent for database

Автор: | 27 октября, 2022

Im goint to install agent for my Bacula`s Director. Actually, I have MariaDB (it is almost a MySQLDB).

So, Vinchin has a pretty good documentation about installing different types of agent on any type of operating systems.

1. First we need to download apropriate agent for installation, right there, on the main page

2. Put archive in client, untar and unzit it — tar -zxvf vinchin-database-backup-agent-6.7.0.19890-DB.RHEL.8-x86_64.tar.gz

3. Go to the directory and install agent — ./db_backup_agent_install

4. Check it out

[root@director vinchin-database-backup-agent-6.7.0.19890-DB.RHEL.8-x86_64]# ps -aux | grep database | grep -v ‘grep’
root 49340 0.0 0.0 12724 3240 pts/0 S 18:10 0:00 /bin/bash /opt/vinchin/database/db_backup_watch_dog.sh
root 49347 0.0 0.0 146936 12104 ? Ssl 18:10 0:00 /opt/vinchin/database/database_backup_service -b
root 49354 0.0 0.0 77588 10212 ? Ssl 18:10 0:00 /opt/vinchin/database/database_backup_service_dm_pg -b
root 49361 0.0 0.0 97072 10348 ? Ssl 18:10 0:00 /opt/vinchin/database/database_transfer_service -b

5. If you need to backup log files you need to change this settings

MariaDB [(none)]> SHOW VARIABLES LIKE ‘%LOG_BIN%’;
+———————————+——-+
| Variable_name | Value |
+———————————+——-+
| log_bin | OFF |
| log_bin_basename | |
| log_bin_compress | OFF |
| log_bin_compress_min_len | 256 |
| log_bin_index | |
| log_bin_trust_function_creators | OFF |
| sql_log_bin | ON |
+———————————+——-+

6. Setup you firewall rules. I just disable it, dont judge me — systemctl disable firewalld

7. Now we are go to web console and add new Agent on Database backup

8. Now we need to add license

9. Now we need to authentirace our database instanse and put credential of DB from client. If your credentials are wrong — wizard shows you an error. So we good here.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *