mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 09:03:15 -05:00
Reusing data volume on another container instance empties the DB #396
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 2, 2019).
Hey! First, thanks for the good work of this project! 👌
We detected some data corruption on a date and we have a daily docker volume backup system. Our approach was to take a bitwarden_rs data volume in a given date and restore it locally for debugging purposes.
What we found is that when the container is created pointing to the already populated data volume for bitwarden, it gets empty and all the tables get deleted.
This difficults the migration process of the docker volume to other container instances.
Thanks again and hope you can help me some way!
Cheers,
@mprasil commented on GitHub (Sep 4, 2019):
Can you specify a way how to reproduce this? I don't quite follow how you got that end result of tables being deleted. I think that just grabbing a copy of data folder and running bitwarden_rs instance using that should just work, this is how you do the upgrade after all..
@mprasil commented on GitHub (Sep 30, 2019):
No response for couple weeks, so I'm going to close this one as we have no reliable way to reproduce the issue. Feel free to reopen if you can provide more information.
@ghost commented on GitHub (Sep 30, 2019):
@mprasil Sorry for the delay, we fixed our problems by updating the image of the container to the latest version, now our user is able to see their vault back.
Thanks for the collaboration and sorry again for the delay.