Skip to content

Commit f20e239

Browse files
committed
w
1 parent b9dbd7c commit f20e239

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

docs/feature/backup_restore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ python3 PrimeBackup.pyz -d pb_files -c config/prime_backup/config.json back -s .
105105
```
106106

107107
The command line `back` command does not stop or start the Minecraft server. Stop the server yourself before running it.
108-
If `command.backup_on_restore` is enabled, it creates a temporary backup from `--source-root` before restoring.
108+
If config `command.backup_on_restore` is enabled, it creates a temporary backup before restoring.
109109
Add `--no-pre-restore-backup` to skip the temporary backup
110110

111111
## Related Configuration

docs/feature/backup_restore.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ python3 PrimeBackup.pyz -d pb_files -c config/prime_backup/config.json back -s .
105105
```
106106

107107
命令行 `back` 命令不会停止或启动 Minecraft 服务端。请在运行前自行停止服务端。
108-
如果启用了 `command.backup_on_restore`它会在回档前从 `--source-root` 创建一个临时备份
108+
如果配置文件启用了 `command.backup_on_restore`回档会创建一个临时备份
109109
添加 `--no-pre-restore-backup` 可以跳过这个临时备份
110110

111111
## 相关配置

prime_backup/cli/cmd/cmd_export.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,3 @@ def run(self, args: argparse.Namespace):
9797
no_meta=args.no_meta,
9898
))
9999
handler.handle()
100-

prime_backup/mcdr/task/db/migrate_compress_method_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from mcdreforged.api.all import CommandSource, RColor
22
from typing_extensions import override
33

4-
from prime_backup.constants import constants
54
from prime_backup.action.migrate_compress_method_action import MigrateCompressMethodAction
65
from prime_backup.compressors import CompressMethod
6+
from prime_backup.constants import constants
77
from prime_backup.mcdr.task.basic_task import HeavyTask
88
from prime_backup.mcdr.text_components import TextComponents
99

prime_backup/mcdr/task/db/migrate_hash_method_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from mcdreforged.api.all import CommandSource
22
from typing_extensions import override
33

4-
from prime_backup.constants import constants
54
from prime_backup.action.get_db_meta_action import GetDbMetaAction
65
from prime_backup.action.migrate_hash_method_action import MigrateHashMethodAction
6+
from prime_backup.constants import constants
77
from prime_backup.mcdr.task.basic_task import HeavyTask
88
from prime_backup.mcdr.text_components import TextComponents
99
from prime_backup.types.hash_method import HashMethod

0 commit comments

Comments
 (0)