-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathmyhoard.json
74 lines (74 loc) · 2.33 KB
/
myhoard.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"backup_settings": {
"backup_age_days_max": 14,
"backup_count_max": 30,
"backup_count_min": 14,
"backup_hour": 3,
"backup_interval_minutes": 1440,
"backup_minute": 0,
"forced_binlog_rotation_interval": 300,
"upload_site": "default"
},
"backup_sites": {
"default": {
"compression": {
"algorithm": "snappy"
},
"encryption_keys": {
"private": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----",
"public": "-----BEGIN PUBLIC KEY-----\n...-----END PUBLIC KEY-----\n"
},
"object_storage": {
"directory": "/tmp/sample_backup_dir",
"storage_type": "local"
},
"recovery_only": false
}
},
"binlog_purge_settings": {
"enabled": true,
"min_binlog_age_before_purge": 600,
"purge_interval": 60,
"purge_when_observe_no_streams": true
},
"http_address": "127.0.0.1",
"http_port": 16001,
"mysql": {
"binlog_prefix": "/var/lib/mysql/binlog",
"client_params": {
"host": "127.0.0.1",
"password": "f@keP@ssw0rd",
"port": 3306,
"require_ssl": false,
"user": "root"
},
"config_file_name": "/etc/my.cnf",
"data_directory": "/var/lib/mysql",
"relay_log_index_file": "/var/lib/mysql/relay.index",
"relay_log_prefix": "/var/lib/mysql/relay"
},
"restore_free_memory_percentage": null,
"restore_max_binlog_bytes": 4294967296,
"sentry_dsn": null,
"server_id": 1,
"start_command": ["/usr/sbin/mysqld", "--defaults-file=/etc/my.cnf", "--basedir=/opt/mysql"],
"state_directory": "/tmp/sample_state_dir",
"statsd": {
"host": null,
"port": null,
"tags": {
"app": "myhoard"
}
},
"systemctl_command": ["sudo", "/usr/bin/systemctl"],
"systemd_env_update_command": [
"sudo", "/usr/bin/myhoard_mysql_env_update", "-f", "/etc/systemd/system/mysqld.environment"
],
"systemd_service": "mysql-server",
"temporary_directory": "/var/tmp/sample_temp_dir",
"xtrabackup": {
"copy_threads": 1,
"compress_threads": 1,
"encrypt_threads": 1
}
}