Update README.md

This commit is contained in:
wukongdaily
2024-07-02 15:06:47 +08:00
committed by GitHub
parent b2382ff5ef
commit d6367520c7

View File

@@ -62,13 +62,17 @@ https://github.com/wukongdaily/OpenBackRestore/releases/latest <br>
# 在1panel的计划任务里做定时备份
> 需要使用我的脚本方式运行1panel docker容器 详见这个项目的第三条命令https://github.com/wukongdaily/OrangePiShell<br>
> 因为默认情况下istoreos的应用商店里的1panel 并没有映射全部目录,只映射了/mnt所以无法完成/overlay的备份。因此需要稍微改动一下。详见上述脚本
```
bash -c "$(curl --insecure -fsSL https://cafe.cpolar.cn/wkdaily/OpenBackRestore/raw/branch/master/1panel/backup.sh)" -- /mnt/mmc1-4/backupSystem
bash -c "$(curl --insecure -fsSL https://cafe.cpolar.cn/wkdaily/OpenBackRestore/raw/branch/master/1panel/backup.sh)" -- /ahost/mnt/mmc1-4/backupSystem
```
- 其中 `/mnt/mmc1-4/backupSystem` 按需修改为备份文件保存的位置<br>
- 其中 `/ahost/mnt/mmc1-4/backupSystem` 按需修改为备份文件保存的位置<br>
<img width="950" alt="1Panel 2024-07-02 14-02-27" src="https://github.com/wukongdaily/OpenBackRestore/assets/143675923/54d963aa-2b33-417f-90d5-93fac094068f">
<img width="952" alt="1Panel 2024-07-02 14-49-18888" src="https://github.com/wukongdaily/OpenBackRestore/assets/143675923/d022bbc2-425b-426d-9809-0546744a3a95">
# 恢复1panel计划任务产生的备份