基本框架
This commit is contained in:
35
docs/05-06-openlist挂载网盘与自动备份.md
Normal file
35
docs/05-06-openlist挂载网盘与自动备份.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# 05-06-openlist 挂载网盘与自动备份
|
||||
|
||||
> 使用 openlist 聚合网盘,再通过定时任务实现自动备份。
|
||||
|
||||
## 前置条件
|
||||
|
||||
- openlist 已部署并可访问
|
||||
- 目标备份目录已准备
|
||||
|
||||
## 操作步骤
|
||||
|
||||
1. 在 openlist 后台添加网盘并完成授权
|
||||
2. 选择备份方式(`rclone` / cron 脚本 / GitLab CI)
|
||||
3. 设置定时执行策略
|
||||
|
||||
**唯一真源**:[`ansible/files/openlist/openlist-backup-cronjob.yaml`](../ansible/files/openlist/openlist-backup-cronjob.yaml)(CronJob 示例;替换镜像与 PVC)。
|
||||
|
||||
应用方式:
|
||||
|
||||
```bash
|
||||
kubectl apply -f ansible/files/openlist/openlist-backup-cronjob.yaml
|
||||
```
|
||||
|
||||
## 验证命令
|
||||
|
||||
- 检查备份目录是否按计划更新
|
||||
- 检查定时任务日志是否成功
|
||||
|
||||
## 预期
|
||||
|
||||
- 备份按周期稳定执行
|
||||
|
||||
## 下一步
|
||||
|
||||
- `06-02-运维小结.md`
|
||||
Reference in New Issue
Block a user