docs: add sends description

This commit is contained in:
ttionya
2021-04-09 01:28:15 +08:00
parent a8b9b68cb3
commit a16f1d18f7
2 changed files with 22 additions and 0 deletions
+11
View File
@@ -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
+11
View 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