diff --git a/README.md b/README.md index e8dcc2a..1a80d08 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ This tool supports backing up the following files or directories. - `db.sqlite3` - `config.json` +- `rsa_key*` (multiple files) - `attachments` (directory) - `sends` (directory) @@ -128,6 +129,10 @@ If you didn't set the `ZIP_ENABLE` environment variable to `TRUE` when you backe If you didn't set the `ZIP_ENABLE` environment variable to `TRUE` when you backed up the file, you need to use this option to specify the `config.json` file. +##### --rsakey-file + +If you didn't set the `ZIP_ENABLE` environment variable to `TRUE` when you backed up the file, you need to use this option to specify the `rsakey.tar` file. + ##### --attachments-file If you didn't set the `ZIP_ENABLE` environment variable to `TRUE` when you backed up the file, you need to use this option to specify the `attachments.tar` file. @@ -277,6 +282,12 @@ Set the sqlite database file path, you do not need to modify it. Default: `${DATA_DIR}/db.sqlite3` +#### DATA_RSAKEY + +Set the rsa_key file path, you don't need to modify it. + +Default: `${DATA_DIR}/rsa_key` + #### DATA_ATTACHMENTS Set the attachment folder path, you don't need to modify it. diff --git a/README_zh.md b/README_zh.md index bf40383..76f30d6 100644 --- a/README_zh.md +++ b/README_zh.md @@ -17,8 +17,9 @@ - `db.sqlite3` - `config.json` -- `attachments` (directory) -- `sends` (directory) +- `rsa_key*` (多个文件) +- `attachments` (目录) +- `sends` (目录) @@ -130,6 +131,10 @@ docker run --rm -it \ 如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `config.json` 文件。 +##### --rsakey-file + +如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `rsakey.tar` 文件。 + ##### --attachments-file 如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `attachments.tar` 文件。 @@ -278,6 +283,12 @@ Rclone 远程名称,你可以自己修改命名。 默认值:`${DATA_DIR}/db.sqlite3` +#### DATA_RSAKEY + +指定 rsa_key 文件的路径,你不需要修改它。 + +默认值:`${DATA_DIR}/rsa_key` + #### DATA_ATTACHMENTS 指定附件文件夹路径,你不需要修改它。