docker pull ghcr.io/the-noah/dvbs3:latest
docker run -d --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
--env-file /path/to/.env \
ghcr.io/the-noah/dvbs3:latest \
volume_to_backup
Variable | Description | Example |
---|---|---|
AWS_ACCESS_KEY_ID |
AWS Access Key ID | |
AWS_SECRET_ACCESS_KEY |
AWS Secret Access Key | |
S3_PROVIDER |
Preset S3 Provider | aws |
S3_HOST |
S3 Host | s3.amazonaws.com |
S3_HOST_BUCKET |
S3 Host Bucket Template | %(bucket)s.s3.amazonaws.com |
S3_BUCKET |
S3 Bucket | docker-volume-backups |
We have a few presets for common S3 providers. You can use these by setting S3_PROVIDER
to one of the following:
Provider | S3_HOST |
S3_HOST_BUCKET |
---|---|---|
aws |
s3.amazonaws.com |
%(bucket)s.s3.amazonaws.com |
vultr |
ewr1.vultrobjects.com |
%(bucket)s.ewr1.vultrobjects.com |
This project is in early development. It is somewhat messy to use, but it works. I will be cleaning it up and adding more features in the future.