-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_example.yaml
23 lines (20 loc) · 1.07 KB
/
config_example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
postgres: # PostgreSQL database details to which backup to be done
db_names: # PostgreSQL databases names to backup
- db1_name
- db2_name
system_user: postgres # make sure this system user has enough privileges to take all databases backup
password: "" # PostgreSQL password
port: 5432 # PostgreSQL port
mysql: # MySQL database details to which backup to be done
db_names: # MySQL databases to backup
- db1_name
- db2_name
user: "" # make sure this MySQL user has enough privileges to take all databases backup
user_password: "" # MySQL user password
local: # Local settings
path: /Users/MyUser/databases-backup-over-scp/dumps/ # full local path where dumps will be saved, with trailing slash
log_path: /Users/MyUser/databases-backup-over-scp/ # full local path where log files will be saved, with trailing slash
remote: # Remote settings
host: "" # leave blank if you don't want to save remotely
user: "" # you need to be authorized on remote with your user SSH keys
path: /Users/MyUser/backup-sql/ # full remote path where dumps will be saved