-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.ini_template
46 lines (44 loc) · 1.74 KB
/
config.ini_template
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
[remote]
# Hostname of remote host from which to fetch the dump file
host=somehost.somedomain.uk
# Remote user. Note ssh access must be without password i.e. by key
user=someuser
# Path on the remote host from which to fetch the dump file
# If the suffix .zip is used the archive will be inflated and must
# contain only a single .sql dump
path=/path/to/db/dump
[local]
# A local file which, if it exists, causes the script to parse its configuration
# and then exit. Return status is zero
noImport=/etc/gocdb/nofailoverimport
# mysql retry count. The mysql command will be tried up to this many times
# before failure is reported. (10 = ~1 minute)
retryCount=10
# Local 'working' directory to stage and/or inflate the dump file into.
workDir=/tmp
# Path to a file containing default options in CNF format to pass to the
# mysql client program via the --defaults-extra-file= command line option.
# See mysqlOptions.cnf_template file.
# The permissions (rwx) mask for 'Others' must be zero to protect the
# database password.
mysqlOptions=/path/to/password/file
# Local directory into which successfully installed dumps are archived
# a _goc5dump
archiveDir=/path/to/archive/directory
# Time format string to generate archived filename
format=_goc5dump_%%y-%%m-%%d_%%H_%%M_%%S
[logs]
# Where logged output should go
file=/path/to/logfile.txt
# Log level:
# 'ERROR' - log file only be updated if there is an error
# 'INFO' - log file always updated with completion message or error
# 'DEBUG' - log file will contain a step=by-step summary
level=INFO
# Formatting string for the logger module.
format=%%(asctime)s %%(levelname)s:%%(message)s
# Date format (see format asctime) to the output log:
# Syslog
# dateFormat=%%b %%d %%I:%%M:%%S
# ISO8601
dateFormat=%%Y-%%m-%%dT%%H:%%M:%%S%%z