Skip to content

Commit 3575d91

Browse files
committed
Description for PR #8327
1 parent b8f24cd commit 3575d91

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

builds/install/misc/replication.conf

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,45 @@ database
122122
# Multiple entries are allowed (for different synchronous replicas).
123123
#
124124
# sync_replica =
125+
#
126+
# It's also possible to configure replicas as separate sub-sections, e.g.:
127+
#
128+
# sync_replica = server1:replica
129+
# {
130+
# username = john
131+
# password = smith
132+
# }
133+
#
134+
# sync_replica = server2:replica
135+
# {
136+
# username = john
137+
# password = smith
138+
# }
139+
#
140+
# This way characters ':' and '@' are allowed inside username/password or database pathname.
141+
#
142+
# Alternative parameters -- username_env, password_env, username_file, password_file -- allow
143+
# to specify username and password externally, using either environment variables or
144+
# plain text files respectively, e.g.:
145+
#
146+
# sync_replica = server2:/my/replica/database.fdb
147+
# {
148+
# username_env = FB_REPL_USER
149+
# password_file = /opt/firebird/repl_pwd.txt
150+
# }
151+
#
152+
# sync_replica = server2:/my/replica/database.fdb
153+
# {
154+
# username_file = /opt/firebird/repl_user.txt
155+
# password_env = FB_REPL_PWD
156+
# }
157+
#
158+
# If username_file / password_file is specified, the first non-empty line of the provided file
159+
#
160+
# If username_file or password_file values represent a relative pathname,
161+
# it's resolved based on the Firebird root directory:
162+
#
163+
# password_file = repl_pwd.txt # => resolves to /opt/firebird/repl_pwd.txt
125164

126165

127166
### REPLICA SIDE SETTINGS

0 commit comments

Comments
 (0)