-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.sample.ini
49 lines (46 loc) · 1.79 KB
/
config.sample.ini
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
[main]
# the app id.
app_id = 12345
# the app hash.
app_hash = abcd
# the bot token.
bot_token = 1234567:abdcdef
proxy = https://t.me/proxy?server=google.com&port=443&secret=7gAAAAAAAAAAAAAAAAAAAABrZXRhYWJvbmxpbmUuY29t
# the base path for storing backup files. default is `backups`.
backups_base_directory_path = backups
# set this to the path of `pg_dump`. if pg_dump command is globally available,
# just let this remain as `pg_dump`.
pg_dump_command = pg_dump
# the global log channels are used for sharing all backup files in there, make sure that only people
# who are trusted has access to that channel.
global_log_channels = -10012345, -100123456789
owners = 792109647, 346981140, 895373440, 1341091260, 367222759, 198621910, 189005567, 367512073
# set it to something smaller than 5 to determine the path automatically.
session_file = auto
cmd_prefixes = / !
# debug mode or nah
debug = false
# the time interval that our ScheduleManager should check on updates for
# each database backup, in hours.
schedule_manager_interval = 10
[SaitamaRobot]
db_url = postgresql://Username:Password@localhost:5432/DatabaseName
# additional log channels, backup file will be sent to these channels
log_channels = -10012548, -1005487
backup_type = dump
backup_interval = 8h3m
[KigyoRobot]
db_url = postgresql://Username:Password@localhost:5432/DatabaseName
# additional log channels, backup file will be sent to these channels
log_channels = -10012548, -1005487
backup_type = sql
backup_interval = 1d
# if you set this to true, bot won't send backup files of this config section
# to the global log channel. they will only be sent to their specified log channel.
no_global = true
[StalkerGameRobot]
db_path = E:\StalkerGameRobot\user.db
# backup interval in days
backup_interval = 7
#log_channels = -10012548, -1005487
backup_type = sqlite