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

Don't Use RESTORE_DIR in RESTORE_EXTRACT_DIR #18

Closed mustaphazorgati closed 3 years ago

mustaphazorgati commented 3 years ago

I want to mount my RESTORE_DIR as a read only volume permanently.

Because the RESTORE_EXTRACT_DIR points to a subfolder of the RESTORE_DIR this is not possible.

Suggestion: point RESTORE_EXTRACT_DIR to /extract, since this folder is only needed temporary.

ttionya commented 3 years ago

Confirming this issue, I will recheck the directory and modify it along with the issue #17 .