mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #597] Reusing data volume on another container instance empties the DB #395
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#395
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/597
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.