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

documentation for migrating existing volumes (on btrfs) to buttervolume #25

Open
dev-zero opened this issue Oct 5, 2018 · 1 comment

Comments

@dev-zero
Copy link

dev-zero commented Oct 5, 2018

is there a better way than rsync, cp or mv after creating a new volume?

@ccomb
Copy link
Owner

ccomb commented Oct 5, 2018

Hi! It all depends if your /var/lib/docker/volumes is on the same BTRFS partition than /var/lib/buttervolume. It this is the case, you can probably mv your volume to /var/lib/buttervolume/volumes/, or create a snapshot of your volume into /var/lib/buttervolume/volumes/<vol>. Otherwise you need to cp -ar.
Could you please tell if you succeed migrating your volumes? It could be a good idea to add a section for that in the doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants