Skip to content

Commit 8dc4959

Browse files
author
Neil MacGregor
committed
Added snap.cnf, which belongs in /etc. It's the config file for the 'snapshot' database, which you can't start without this file
1 parent aa9dd24 commit 8dc4959

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

snap.cnf

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This file belongs to the "UAL-Veeam-MariaDB-Export" package.
2+
# The package should place this file at /etc/snap.cnf
3+
4+
# Author: Neil MacGregor
5+
# Date: Oct 19, 2022
6+
# Purpose: This is a clone from /etc/my.cnf.
7+
# It's an alternate config file for an alternate MySQL daemon, run as part of the database.
8+
# Reference: https://github.com/ualbertalib/UAL-Veeam-MariaDB-Export
9+
10+
[mysqld]
11+
datadir=/mnt/snapshot
12+
socket=/mnt/snapshot/snapshot.sock
13+
port=3307
14+
report_host=snapshot
15+
user=mysql
16+
ft_min_word_len=3
17+
max_connections=500
18+
open_files_limit=3072
19+
# Disabling symbolic-links is recommended to prevent assorted security risks
20+
symbolic-links=0
21+
22+
# Disable binary logging -- we dont' need to write to this DB, just dump it!
23+
#log-bin=mysql-bin
24+
25+
server-id=2
26+
27+
default_storage_engine=InnoDB
28+
max_allowed_packet=16M
29+
30+
innodb_log_buffer_size=32M
31+
innodb_log_file_size=768M
32+
innodb_buffer_pool_size=3G
33+
34+
[mysqld_safe]
35+
log-error=/var/log/mariadb/snapshot.log
36+
pid-file=/var/run/mariadb/snapshot.pid

0 commit comments

Comments
 (0)