Replies: 1 comment
-
Regarding my question above, I have achieved doing a backup-job and a restore-job, mounting another directory in the host (e.g. /backups), tarballing /data and configuring the jobs to restore a specific tarball. However, nothing seems supported in terms of maintenance mode (Relevant conversation: dani-garcia/vaultwarden#3207), so, I'll need to schedule: block access + backup/restore + restore access. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Thanks for this helm chart. It is my first time using them, and have it running locally just with the ingress and default storage method, using sqlite. I don't mind moving to Postgres, however, I have the same doubts.
I don't use any cloud provider, as I plan to host this in a single ARM node. So, I am fine having local storage, and I will deal with the backups and so on. So far, with docker, I did cronjobs, but not sure if here is different, and also, how to ingrate that process with vaultwarden.
What is the recommended way to do this with this helm charts? I suppose I have to save "/data" and the database (sqlite or pg), but I don't know how to proceed, as I would like to test it before inserting all the real data.
I have seen that there are VolumeSnapshots to backup volumes, but not sure if that is not recommended. Also, I would like to know what is the way to go with helm/kubectl to set in "maintenance mode" and backup; and the reverse one: "maintenance mode" and restore from backup; keep everything that is running and if the new version works, destroy the old pods/services (sorta blue-green, but myself trying a bunch of manual tests). This is something I will need to do everytime I upgrade the vaultwarden version as well, to be sure everything still works after upgrading (along with the migrated data, if that happens at some point), or just keep the previous version along its data.
Beta Was this translation helpful? Give feedback.
All reactions