Skip to content

bernardeli/vbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vbackup

Docker Volume Files Backup to S3

How to use

docker build -t vbackup:latest .
docker run -it \
  -e AWS_ACCESS_KEY_ID=your-aws-key-id \
  -e AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key \
  -e AWS_BACKUP_BUCKET=your-bucket \
  -e DIRECTORY_TARGET=/foo \
  -e SLEEP_TIME=10 \
  -v /foo:/foo \
  --name vbackup \
  vbackup:latest

By default, it runs backup and sleeps for $SLEEP_TIME seconds. If you need to restore, you should append /run.sh restore to the command above to override the default CMD.

About

Sync your Docker volume with s3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages