-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathbackupdbee.yaml.sample
65 lines (56 loc) · 1.34 KB
/
backupdbee.yaml.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
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
general:
backup_location: backups
log_location: logs
log_level: INFO
retention_policy_days: 7
backup_schedule: "0 3 * * *"
destinations:
local:
enabled: true
path: backups
s3:
enabled: false
bucket_name: backupbee
region: us-east-1
access_key: XXXXXXXXXXX
secret_key: XXXXXXXXXXX
email:
enabled: false
smtp_server: smtp.gmail.com
smtp_port: 587
smtp_username:
smtp_password:
from: [email protected]
to:
notifications:
slack:
enabled: true
webhook_url: https://hooks.slack.com/services/XXXXXXXXXXXXXXXXXXXXXXXX
custom:
enabled: false
web_url: https://backupbee.com/api/v1/backup
discord:
enabled: false
webhook_url: https://discord.com/api/webhooks/XXXXXXXXX/XXXXXXXXX
telegram:
enabled: true
webhook_url: https://api.telegram.org/botXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/sendMessage
chatId: XXXXXXX
databases:
- name: primary_db
type: postgres
host: localhost
port: 5432
username: postgres
password: pass
database_name: asterconsult
backup_schedule: "0 3 * * *"
# - name: secondary_db
# type: mysql
# host: 192.168.1.10
# port: 3306
# username: backup_user
# password: supersecret
# database_name: my_secondary_db
# backup_schedule: "0 4 * * *"