Created
February 3, 2020 14:37
-
-
Save huacnlee/82c3d814ea511dffed8b9e90d2aae4b4 to your computer and use it in GitHub Desktop.
Gobackup for Homeland config example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
models: | |
homeland: | |
compress_with: | |
type: tgz | |
encrypt_with: | |
type: openssl | |
password: your-archive-password | |
store_with: | |
type: oss | |
bucket: your-backup-bucket-name | |
endpoint: oss-cn-hangzhou.aliyuncs.com | |
access_key_id: your-access-key-id | |
access_key_secret: your-access-key-secret | |
path: backups | |
archive: | |
includes: | |
- /home/ubuntu/.ssh/ | |
- /home/ubuntu/.gobackup/gobackup.yml | |
- /data/scripts | |
- /data/homeland-docker/shared/ssl/ | |
- /data/homeland-docker/etc/ | |
- /data/homeland-docker/app.local.env | |
- /data/homeland-docker/app.secret.env | |
databases: | |
postgresql: | |
type: postgresql | |
host: 127.0.0.1 | |
database: homeland | |
username: postgres | |
redis: | |
type: redis | |
host: localhost | |
mode: copy | |
invoke_save: false | |
rdb_path: /data/homeland-docker/data/redis/dump.rdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment