docs: add rsakey description

This commit is contained in:
ttionya
2021-04-10 18:09:56 +08:00
parent c4165ab305
commit 5f94e75422
2 changed files with 24 additions and 2 deletions
+11
View File
@@ -17,6 +17,7 @@ This tool supports backing up the following files or directories.
- `db.sqlite3` - `db.sqlite3`
- `config.json` - `config.json`
- `rsa_key*` (multiple files)
- `attachments` (directory) - `attachments` (directory)
- `sends` (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. 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 ##### --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. 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` 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 #### DATA_ATTACHMENTS
Set the attachment folder path, you don't need to modify it. Set the attachment folder path, you don't need to modify it.
+13 -2
View File
@@ -17,8 +17,9 @@
- `db.sqlite3` - `db.sqlite3`
- `config.json` - `config.json`
- `attachments` (directory) - `rsa_key*` (多个文件)
- `sends` (directory) - `attachments` (目录)
- `sends` (目录)
@@ -130,6 +131,10 @@ docker run --rm -it \
如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `config.json` 文件。 如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `config.json` 文件。
##### --rsakey-file
如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `rsakey.tar` 文件。
##### --attachments-file ##### --attachments-file
如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `attachments.tar` 文件。 如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `attachments.tar` 文件。
@@ -278,6 +283,12 @@ Rclone 远程名称,你可以自己修改命名。
默认值:`${DATA_DIR}/db.sqlite3` 默认值:`${DATA_DIR}/db.sqlite3`
#### DATA_RSAKEY
指定 rsa_key 文件的路径,你不需要修改它。
默认值:`${DATA_DIR}/rsa_key`
#### DATA_ATTACHMENTS #### DATA_ATTACHMENTS
指定附件文件夹路径,你不需要修改它。 指定附件文件夹路径,你不需要修改它。