Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running docker-backup when docker daemon runs in host mode #8

Open
mikedolx opened this issue Jul 30, 2019 · 2 comments

Comments

@mikedolx
Copy link

commented Jul 30, 2019

Hi,

I'm currently trying to run a volume backup with docker-backup on my docker host. The docker daemon runs in host mode meaning it accepts remote connections on a custom tcp port (-H tcp://0.0.0.0:30000) but the standard option via unix file is also available (-H unix:// ).

When i try to run the docker-backup with the the following options

docker-backup --addr localhost:30000 --proto tcp store /path/to/my/archive.tar.gz mycontainer

or

docker-backup --addr /var/run/docker.sock --proto unix store /path/to/my/archive.tar.gz mycontainer

i get the error message

Storing mycontainer's volume container as /path/to/my/archive.tar.gz
Couldn't find data container

Am i missing something? Any help would be appreciated.

Thanks

Michael

@issue-label-bot

This comment has been minimized.

Copy link

commented Jul 30, 2019

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@discordianfish

This comment has been minimized.

Copy link
Owner

commented Aug 7, 2019

This tool assumes that you have a dedicated 'volume container' you use with --volumes-from flag, which was best practice back in the days.
I probably should archive this project since I'm not using it anymore. In context of something like Kubernetes you should use volume snapshots etc for backups anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.