Creates volume snapshots for all volumes attached to instances, and prune old snapshots.
10K+
Creates volume snapshots for all volumes attached to instances, and prune snapshots older than a certain number of days.
docker run -d \
--name autosnap \
-e CLOUD_PLATFORM=<aws | gcp - Default: aws> \
-e BACKUPS_CRON_SCHEDULE=<Cron schedule for backups. Default: '10 18 * * *'> \
-v /home/user/.aws:/root/.aws \ # for credential files
-e RETENTION_DAYS=<Number of days. Default: 7> \
roclops/autosnap:latest
Run the container, it will do backups according to the cron schedule.
Use the standard Roclops build process.
This will create a new build image and push to the Roclops Dockerhub repo. Running the build.sh creates/pushes the following tags:
<VERSION>.<TIMESTAMP><VERSION>latestFor example, if the VERSION file contains 1.2.3, then the following tags would be produced and pushed to the Dockerhub repo:
1.2.3.201701241033021.2.3latestContent type
Image
Digest
Size
250.2 MB
Last updated
about 6 years ago
docker pull roclops/autosnap:1.0.8.20200617153850