@xiaoyuyu6420/dsh-backup 0.13.1 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +6 -1
- package/README.md +8 -1
- package/lib/client.js +2 -2
- package/lib/index.js +292 -78
- package/package.json +8 -8
- package/rescue/rescue.mjs +10 -6
package/README.en.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@xiaoyuyu6420/dsh-backup)
|
|
6
6
|
[](https://github.com/xiaoyuyu6420/dsh-backup/actions/workflows/publish.yml)
|
|
7
7
|
[](LICENSE)
|
|
8
|
+
[](https://github.com/xiaoyuyu6420/dsh-backup/stargazers)
|
|
8
9
|
[](https://dsh.directory/plugins/xiaoyuyu6420/dsh-backup)
|
|
9
10
|
|
|
10
11
|
English | [简体中文](README.md)
|
|
@@ -47,7 +48,7 @@ Prefer clicking? There's a visual panel in `dsh web` → Settings → Plugins
|
|
|
47
48
|
|
|
48
49
|
## Install
|
|
49
50
|
|
|
50
|
-
Requires macOS / Linux / Windows 10+ (ships `tar`) and DSH `0.1.1-rc.2`+ (the 0.1.1 / 0.1.2 / 0.1.5 trains are all tested;
|
|
51
|
+
Requires macOS / Linux / Windows 10+ (ships `tar`) and DSH `0.1.1-rc.2`+ (the 0.1.1 / 0.1.2 / 0.1.5 / 0.1.6 / 0.1.7 trains are all tested; the 0.2.0 train is adapted and pending release — see the [compatibility matrix](docs/compatibility.md) for the current status).
|
|
51
52
|
|
|
52
53
|
```sh
|
|
53
54
|
dsh plugin --profile web add @xiaoyuyu6420/dsh-backup
|
|
@@ -164,6 +165,10 @@ Retention policy, credential redaction internals, GitHub sync, restore safeguard
|
|
|
164
165
|
- [@mlosun](https://github.com/mlosun) — the thorough reproduction and root cause report in #2
|
|
165
166
|
- [@Choi-Peng](https://github.com/Choi-Peng) — triage help pointing affected users to the fix in #5
|
|
166
167
|
|
|
168
|
+
## Support this project
|
|
169
|
+
|
|
170
|
+
If dsh-backup has been useful: ⭐ [a star](https://github.com/xiaoyuyu6420/dsh-backup) is the simplest way to say thanks — and it helps other DSH users find it. Questions or ideas? Drop them in the [feedback thread](https://github.com/xiaoyuyu6420/dsh-backup/discussions/32).
|
|
171
|
+
|
|
167
172
|
## License
|
|
168
173
|
|
|
169
174
|
MIT
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@xiaoyuyu6420/dsh-backup)
|
|
6
6
|
[](https://github.com/xiaoyuyu6420/dsh-backup/actions/workflows/publish.yml)
|
|
7
7
|
[](LICENSE)
|
|
8
|
+
[](https://github.com/xiaoyuyu6420/dsh-backup/stargazers)
|
|
8
9
|
[](https://dsh.directory/plugins/xiaoyuyu6420/dsh-backup)
|
|
9
10
|
|
|
10
11
|
[English](README.en.md) | 简体中文
|
|
@@ -43,11 +44,13 @@ sha256: 8f9ae6322ef782d21554981cf4547220d5bb3e64d7964a883317415ad54e3cbb
|
|
|
43
44
|
| 「备份悄悄坏了没人知道」 | 每份归档带 sha256,`/backup verify all` 随时体检;每日/每周分级保留,留得住有用的历史 |
|
|
44
45
|
| 「我会忘记备份」 | `/backup auto 12`——每 12 小时自动跑,重启不中断,旧副本自动轮换(默认保留 7 份) |
|
|
45
46
|
|
|
47
|
+
**遇到具体报错?** 按症状与报错原文查的排错手册:[故障排查](docs/troubleshooting.zh.md)(会话打不开、29 字节空包、面板消失、Token 按钮报错、换机迁移……各条的版本与修法都写明)。
|
|
48
|
+
|
|
46
49
|

|
|
47
50
|
|
|
48
51
|
## 安装
|
|
49
52
|
|
|
50
|
-
要求:macOS / Linux / Windows 10+(自带 `tar`),DSH `0.1.1-rc.2`+(0.1.1 / 0.1.2 / 0.1.5
|
|
53
|
+
要求:macOS / Linux / Windows 10+(自带 `tar`),DSH `0.1.1-rc.2`+(0.1.1 / 0.1.2 / 0.1.5 / 0.1.6 / 0.1.7 列车均已实测,0.2.0 列车已适配待发版;当前兼容状态见 [兼容性矩阵](docs/compatibility.md))。
|
|
51
54
|
|
|
52
55
|
```sh
|
|
53
56
|
dsh plugin --profile web add @xiaoyuyu6420/dsh-backup
|
|
@@ -164,6 +167,10 @@ dsh plugin --profile web add github:xiaoyuyu6420/dsh-backup
|
|
|
164
167
|
- [@mlosun](https://github.com/mlosun) —— #2 中详尽的复现与根因报告
|
|
165
168
|
- [@Choi-Peng](https://github.com/Choi-Peng) —— #5 中协助把受影响用户指引到修复版本
|
|
166
169
|
|
|
170
|
+
## 支持这个项目
|
|
171
|
+
|
|
172
|
+
如果 dsh-backup 帮到了你:⭐ [给个 Star](https://github.com/xiaoyuyu6420/dsh-backup) 是最直接的鼓励,也能让更多 DSH 用户找到它。遇到问题或有想法,欢迎到[反馈帖](https://github.com/xiaoyuyu6420/dsh-backup/discussions/32)留言。
|
|
173
|
+
|
|
167
174
|
## 许可证
|
|
168
175
|
|
|
169
176
|
MIT
|