You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chatton 194310ad01 updating version of docker_volume_backup 3 years ago
..
.github/workflows updating version of docker_volume_backup 3 years ago
plugins/filter add deps to git 4 years ago
roles updating version of docker_volume_backup 3 years ago
tests updating version of docker_volume_backup 3 years ago
.gitignore updated to use individual volumes rather that list (#30) 4 years ago
FILES.json updating version of docker_volume_backup 3 years ago
LICENSE add deps to git 4 years ago
MANIFEST.json updating version of docker_volume_backup 3 years ago
Makefile add deps to git 4 years ago
README.md updating version of docker_volume_backup 3 years ago
requirements.txt add deps to git 4 years ago

README.md

Collection chatton.docker_backup

This collection contains the following roles:

Shared variables

Variable Description Default
docker_backup_aws_s3_region The AWS region to use us-east-1
docker_backup_aws_s3_bucket The AWS S3 bucket to use backups
docker_backup_host_backup_directory The directory on the host to store the backup ""
docker_backup_aws_s3_url The AWS S3 url to use ""
docker_backup_aws_s3_aws_access_key The AWS access key to use ""
docker_backup_aws_s3_aws_secret_key The AWS secret key to use ""
docker_backup_aws_s3_permissions The AWS S3 permissions to use []
docker_backup_aws_s3_encrypt Whether to encrypt the backup true

chatton.docker_backup.docker_backup

Variable Description Default
container_backup The container to backup ""

This role will stop the given container, backup all non host volumes, and restart the container. The backup will be uploaded to the given AWS S3 bucket.

chatton.docker_backup.docker_restore

Variable Description Default
docker_backup_restore_force forces a revert to the volume. false
docker_backup_restore_latest_s3_key specify docker_backup_restore_latest_s3_key true to automatically determine the latest backup in the s3 backup. false
docker_backup_s3_volume.name The name of the volume to restore ""
docker_backup_s3_volume.s3_key The s3 key to restore from ""
docker_backup_fail_on_no_s3_backups causes the task to fail if there are no s3 backups. true