Closed ppac closed 11 months ago
I cannot really follow your approach here, as far as I see, the command ./docker-image-extract vaultwarden/server:alpine
will install the vaultwarden code into the output folder. Is that something you want to change or you just want to put the backup somewhere else?
(I marked the PR as draft
please change it back to ready
if this is completed from your perspective)
Yes, Vaultwarden itself is installed into the vaultwarden/output
-folder. The database is stored in the vaultwarden/data
-folder as you can see here:
[isabell@stardust ~]$ export DATA_FOLDER=$HOME/vaultwarden/data
So, from my point of view, there is a need for an adjustment of the paths (which I have done). I've double-checked my own Vaultwarden-instance and there is no data stored in the vaultwarden/output
-folder.
I can confirm that the backup won't work with the actual commands and this PR from @ppac makes sense. I hadn't noticed this before because I didn't used the backup in this way before. (tested on my own installation)
That's just the paths, you also need to change the part for the cronjob. I could not use the command in the crontab
, but had to create a bash script to do the magic.
works, thank you.
data is stored in
~/vaultwarden/data/
instead of~/vaultwarden/output/data