Dock Trucker

Volume Container Backup

volume containers

Cloud

cron

sync

script

backup script

delete script

+ docker host

+ volume containers
 

copy & paste?

Don't repeat yourself

volume containers

Cloud

Dock Trucker

Feature

  • run as a container
  • old file delete
  • cloud sync(s3)
  • backup every day

Run

$ docker run -it --rm \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /your/host/backup/dir:/backup \
    --volumes-from backup1 \
    --volumes-from backup2 \
    -e AWS_ACCESS_KEY_ID=yourkeyid \
    -e AWS_SECRET_ACCESS_KEY=youraccesskey \
    -e AWS_DEFAULT_REGION=us-east-1 \
    -e S3_PATH=s3_bucketname_or_path \
    -e OLDFILE_PRESERVE_DAYS=14 \
    seapy/dock-trucker

and

Forget

Cloud sync(S3)

https://github.com/seapy/dock_trucker

Dock Trucker

By ChangHoon Jeong

Dock Trucker

Docker Volume container auto backup and send to cloud

  • 1,290
Loading comments...

More from ChangHoon Jeong