| 1234567891011121314151617181920212223242526272829303132 |
- web:
- username: $GOBACKUP_WEB_USERNAME
- password: $GOBACKUP_WEB_PASSWORD
- models:
- punch-settle:
- schedule:
- cron: "0 1 * * *"
- compress_with:
- type: tgz
- storages:
- local:
- type: local
- keep: 20
- path: /etc/gobackup/backup
- 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
|