ttionya / vaultwarden-backup

Backup vaultwarden (formerly known as bitwarden_rs) SQLite3/PostgreSQL/MySQL/MariaDB database by rclone. (Docker)
MIT License
1.04k stars 119 forks source link

Vaultwarden Cointainer backup #41

Closed monarc83 closed 1 year ago

monarc83 commented 2 years ago

Hello and first of all a big thank you to @ttionya for this great container/tool. With all the information I've found I was finally able to get it running but I have at least two question, which I hope getting answered hear.

Best Regards, Marc

ttionya commented 2 years ago

hey @monarc83 ,

I am glad that this tool can help you.

Is the path /bitwarden/backup/ only present during the time the script is running? Will it be deleted afterwards?

The /bitwarden/backup/ directory is an internal directory of the tool, that will be deleted and recreated each time the backup script is run. It is not your data directory and you don't need to pay attention to it.

With this container/tool all the vaultwarden data is saved, but what about the actual vaultwarden container? Is it recommended to save it as well or is it no really necessary?

The official vaultwarden Wiki lists recommended and optional backup data. Unless you are using a modified vaultwarden .env file, you don't need to save anything in the vaultwarden container.