0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-11-04 22:58:57 +01:00

updated key files infor

This commit is contained in:
laxmanpradhan 2018-07-09 14:48:51 -07:00 committed by GitHub
parent 203fb2e3e7
commit f920441b28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,9 +197,9 @@ docker build -t bitwarden_rs .
For building binary outside the Docker environment and running it locally without docker, please see [build instructions](BUILD.md).
### Backing up your vault
## Backing up your vault
## 1. the sqlite3 database
### 1. the sqlite3 database
The sqlite3 database should be backed up using the proper sqlite3 backup command. This will ensure the database does not become corrupted if the backup happens during a database write.
@ -209,14 +209,14 @@ sqlite3 /$DATA_FOLDER/db.sqlite3 ".backup '/$DATA_FOLDER/db-backup/backup.sq3'"
This command can be run via a CRON job everyday, however note that it will overwrite the same backup.sq3 file each time. This backup file should therefore be saved via incremental back either using a CRON job command that appends a timestamp or from another backup app such as Duplicati.
## 2. the key files
By default, these are located in the `$DATA_FOLDER` (by default /data in the docker). There are 3 files: rsa_key.der, rsa_key.pem, rsa_key.pub.der.
## 3. the attachements folder
### 2. the attachements folder
By default, this is located in `$DATA_FOLDER/attachments`
## 4. Icon Cache
### 3. the key files
This is optional, these are only used to store tokens of users currently logged in, deleting them would simply log each user out forcing them to log in again. By default, these are located in the `$DATA_FOLDER` (by default /data in the docker). There are 3 files: rsa_key.der, rsa_key.pem, rsa_key.pub.der.
### 4. Icon Cache
This is optional, the icon cache can redownload itself however if you have a large cache, it may take a long time. By default it is located in `$DATA_FOLDER/icon_cache`