-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Description
Hi Everyone ,
For last 3 weeks I have been moving some of our websites into Docker based environment for easier future migrations and adding a slightly higher security .
I am heavily using the data volume containers though it is immensely helpful ,
docker at the moment does not make it easy to move the data containers around.
We need to export/save the containers to new host then Id rsync the data again , then reset permissions,etc . it was a pain and there is no existing tools to easily backup / migrate the data volumes.
I have created this for my own use
https://github.com/paimpozhil/docker-volume-backup
I have packed the metadata of the container into tar file itself so the restoration is easy.
I have 0 Python experience this is my first python code ever, I however found that your Docker-py API was easy to use so I tried to create a QUICK n Dirty solution for my use.
This seemingly works but I would suggest someone to integrate some feature just like this in Docker itself so it is useful for people like me .
One tool that does this is https://github.com/discordianfish/docker-backup but does not work may be due to recent API changes.
I took that as an inspiration however I do not know 'Go-lang' and still wanted to do something for the docker community.
Disclaimer :
I'm a docker newbie.
English is not my first language / python is not my programming language either so please excuse grammer