[GH-ISSUE #597] Reusing data volume on another container instance empties the DB #395

Closed
opened 2026-03-03 01:28:42 +03:00 by kerem · 3 comments
Owner

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,

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,
kerem closed this issue 2026-03-03 01:28:43 +03:00
Author
Owner

@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..

<!-- gh-comment-id:527827794 --> @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..
Author
Owner

@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.

<!-- gh-comment-id:536462149 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:536469284 --> @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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#395
No description provided.