| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- web:
- username: $GOBACKUP_WEB_USERNAME
- password: $GOBACKUP_WEB_PASSWORD
- models:
- punch-settle:
- schedule:
- cron: "0 5 * * *"
- compress_with:
- type: tgz
- storages:
- local:
- type: local
- keep: 20
- path: /etc/gobackup/backup/punch-settle
- databases:
- my_app:
- database: punch_settle
- type: mysql
- host: $GOBACKUP_DATABASE_HOST
- port: $GOBACKUP_DATABASE_PORT
- username: $GOBACKUP_DATABASE_USERNAME
- password: $GOBACKUP_DATABASE_PASSWORD
- args: --single-transaction --quick --skip-ssl
- notifiers:
- mail:
- type: mail
- host: smtp.qq.com
- port: 587
- username: $GOBACKUP_SMTP_USERNAME
- password: $GOBACKUP_SMTP_PASSWORD
- from: $GOBACKUP_SMTP_USERNAME
- to: $GOBACKUP_SMTP_USERNAME
- dataeasy:
- schedule:
- cron: "15 1 * * *"
- compress_with:
- type: tgz
- storages:
- local:
- type: local
- keep: 20
- path: /etc/gobackup/backup/dataeasy
- databases:
- my_app:
- database: data_easy
- type: mysql
- host: $GOBACKUP_DATABASE_HOST
- port: $GOBACKUP_DATABASE_PORT
- username: $GOBACKUP_DATABASE_USERNAME
- password: $GOBACKUP_DATABASE_PASSWORD
- args: --single-transaction --quick --skip-ssl
- notifiers:
- mail:
- type: mail
- host: smtp.qq.com
- port: 587
- username: $GOBACKUP_SMTP_USERNAME
- password: $GOBACKUP_SMTP_PASSWORD
- from: $GOBACKUP_SMTP_USERNAME
- to: $GOBACKUP_SMTP_USERNAME
|