docs: add sends description
This commit is contained in:
@@ -18,6 +18,7 @@ This tool supports backing up the following files or directories.
|
|||||||
- `db.sqlite3`
|
- `db.sqlite3`
|
||||||
- `config.json`
|
- `config.json`
|
||||||
- `attachments` (directory)
|
- `attachments` (directory)
|
||||||
|
- `sends` (directory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -131,6 +132,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 `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.
|
||||||
|
|
||||||
|
##### --sends-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 `sends.tar` file.
|
||||||
|
|
||||||
##### --zip-file
|
##### --zip-file
|
||||||
|
|
||||||
If you set the `ZIP_ENABLE` environment variable to `TRUE` when you backed up the file, you need to use this option to specify the `backup.zip` file.
|
If you set the `ZIP_ENABLE` environment variable to `TRUE` when you backed up the file, you need to use this option to specify the `backup.zip` file.
|
||||||
@@ -278,6 +283,12 @@ Set the attachment folder path, you don't need to modify it.
|
|||||||
|
|
||||||
Default: `${DATA_DIR}/attachments`
|
Default: `${DATA_DIR}/attachments`
|
||||||
|
|
||||||
|
#### DATA_SENDS
|
||||||
|
|
||||||
|
Set the sends folder path, you don't need to modify it.
|
||||||
|
|
||||||
|
Default: `${DATA_DIR}/sends`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Use `.env` file
|
## Use `.env` file
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
- `db.sqlite3`
|
- `db.sqlite3`
|
||||||
- `config.json`
|
- `config.json`
|
||||||
- `attachments` (directory)
|
- `attachments` (directory)
|
||||||
|
- `sends` (directory)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -133,6 +134,10 @@ docker run --rm -it \
|
|||||||
|
|
||||||
如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `attachments.tar` 文件。
|
如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `attachments.tar` 文件。
|
||||||
|
|
||||||
|
##### --sends-file
|
||||||
|
|
||||||
|
如果你在备份文件时没有将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,那你需要用这个选项来指定 `sends.tar` 文件。
|
||||||
|
|
||||||
##### --zip-file
|
##### --zip-file
|
||||||
|
|
||||||
如果你在备份文件时将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,则需要使用这个选项来指定 `backup.zip` 文件。
|
如果你在备份文件时将 `ZIP_ENABLE` 环境变量设置为 `TRUE`,则需要使用这个选项来指定 `backup.zip` 文件。
|
||||||
@@ -279,6 +284,12 @@ Rclone 远程名称,你可以自己修改命名。
|
|||||||
|
|
||||||
默认值:`${DATA_DIR}/attachments`
|
默认值:`${DATA_DIR}/attachments`
|
||||||
|
|
||||||
|
#### DATA_SENDS
|
||||||
|
|
||||||
|
指定 sends 文件夹路径,你不需要修改它。
|
||||||
|
|
||||||
|
默认值:`${DATA_DIR}/sends`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Use `.env` file
|
## Use `.env` file
|
||||||
|
|||||||
Reference in New Issue
Block a user