https://github.com/mbajur/docker-backup
Backup docker service using backup gem
https://github.com/mbajur/docker-backup
backup docker ruby
Last synced: about 2 months ago
JSON representation
Backup docker service using backup gem
- Host: GitHub
- URL: https://github.com/mbajur/docker-backup
- Owner: mbajur
- Created: 2017-09-06T08:45:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T09:24:46.000Z (almost 9 years ago)
- Last Synced: 2025-05-30T07:48:11.445Z (about 1 year ago)
- Topics: backup, docker, ruby
- Language: Ruby
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-backup
Backup docker service using backup gem
## Available ENV variables
| Variable | Description | Default |
|---|---|---|
| `DESCRIPTION` | Description of a backup model | `nil` |
| `STORAGE_LOCAL_PATH` | Path of where to store the backups | `~/backups` |
| `STORAGE_LOCAL_KEEP` | How much backups should be kept | `5` |
| `DATABASE_URL` | URL of a postgres database to be backuped. Ex.: `postgres://postgres@database:5432/postgres` | `nil` |
| `FREQUENCY` | How often clockwork should run the job (ex: `1.day`) | `1.day` |
| `FREQUENCY_AT` | At which hour clockwork should perform the backup (ex: `03:00`) | `nil` |
| `NOTIFIER_SLACK` | Enables slack notifier | `false` |
| `NOTIFIER_SLACK_ON_SUCCESS` | Send success notifications | `false` |
| `NOTIFIER_SLACK_ON_WARNING` | Send warning notifications | `false` |
| `NOTIFIER_SLACK_ON_FAILURE` | Send failure notifications | `false` |
| `NOTIFIER_SLACK_WEBHOOK_URL` | Slack webhook url | `nil` |