-
Notifications
You must be signed in to change notification settings - Fork 1
/
syncer.toml.sample
33 lines (29 loc) · 993 Bytes
/
syncer.toml.sample
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
[repository_1]
url = "postgres://user:[email protected]:5432/db?pool_max_conns=2"
[repository_2]
url = "postgres://user:[email protected]:5433/db2?pool_max_conns=2"
[syncers]
[[syncers.access]]
enabled = true
sync_mode = "fullsync" # fullsync, onlydiff, partialsync ...
source_repository = "repostory_1"
source_db = "cryp"
source_query = "select func();"
destination_repository = "repostory_2"
destination_db = "report"
destination_schema = "public"
destination_table = "daily_report"
periodicity_value = "1"
periodicity_unit = "minute"
[[syncers.access]]
enabled = false
sync_mode = "fullsync" # fullsync, onlydiff, partialsync ...
source_repository = "repostory_1"
source_db = "cryp"
source_query = "select func2();"
destination_repository = "repostory_2"
destination_db = "report"
destination_schema = "public"
destination_table = "global_report"
periodicity_value = "1"
periodicity_unit = "day"