docker backup scripts
A bunch of Bash scripts to make a backup of all your running containers dynamically.
This will create a backup of docker images, volumes, upload to dropbox and remove the backup files after to save space
Setup and Usage
Check inside backup-all.sh to set the backup_path variable point at your current backup folder
Also, on dropbox you must create an App to store this backups, refer to https://www.dropbox.com/developers to get your Generated access token before running it and placed inside the config/dropbox-uploader.conf file
Give permissions to all sh files in the folder
cd docker-backup-scripts chmod +x *.sh
Run the backup
If you need only a local backup you can comment the line source sync-dropbox.sh on backup-all.sh
Create a cron if you want to run it often.
For CoreOS, I supply a timer to allow run it daily with an installation script