docs: update README

This commit is contained in:
ttionya
2022-08-25 19:38:31 +08:00
parent bff43da54d
commit 9fb8a6dea3
2 changed files with 20 additions and 0 deletions
+10
View File
@@ -385,6 +385,16 @@ Default: `/bitwarden/data`
> **You don't need to change these environment variables unless you know what you're doing.** > **You don't need to change these environment variables unless you know what you're doing.**
#### BACKUP_FILE_DATE
Edit this environment variable only if you explicitly want to change the time prefix of the backup file (e.g. 20220101). **Incorrect configuration may result in the backup file being overwritten by mistake.**
Example of possible scenario: When performing monthly or weekly backups, you want only month or week information to appear on the backup file name.
See [`BACKUP_FILE_DATE_SUFFIX`](#backup_file_date_suffix) for details.
Default: `%Y%m%d`
#### DATA_DB #### DATA_DB
Set the sqlite database file path. Set the sqlite database file path.
+10
View File
@@ -382,6 +382,16 @@ Rclone 全局参数,详见 [flags](https://rclone.org/flags/)。
> **你无需修改这些环境变量,除非你知道你在做什么。** > **你无需修改这些环境变量,除非你知道你在做什么。**
#### BACKUP_FILE_DATE
只有在你确实想修改备份文件的时间前缀(如 20220101)时编辑该环境变量。**错误的配置可能导致备份文件被错误的覆盖。**
可能的场景示例:每月或每周执行备份时,你希望在备份文件名上只出现月份或星期信息。
更多信息见 [`BACKUP_FILE_DATE_SUFFIX`](#backup_file_date_suffix)。
Default: `%Y%m%d`
#### DATA_DB #### DATA_DB
指定 sqlite 数据库文件的路径。 指定 sqlite 数据库文件的路径。