Files
Deploy-Laboratory/docs/05-06-openlist挂载网盘与自动备份.md
jack 8c43761962 feat: 按 doc_id 重组 ansible/files 与验证框架
- ansible/files 改为与文档 XX-YY 对齐的目录结构,更新相关 playbook 路径
- 新增 scripts/verify.sh 与 ansible/playbooks/verify/*.yml,移除单体 verify-matrix.yml
- 补充 docs/00-02 矩阵状态、00-05 验证框架与流程、00-04 环境与 ylc65 工作机说明
- 增加 k3s 存储准备、Longhorn、local-path 等 playbook 与辅助脚本

Made-with: Cursor
2026-03-26 07:01:14 +08:00

36 lines
837 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 05-06-openlist 挂载网盘与自动备份
> 使用 openlist 聚合网盘,再通过定时任务实现自动备份。
## 前置条件
- openlist 已部署并可访问
- 目标备份目录已准备
## 操作步骤
1. 在 openlist 后台添加网盘并完成授权
2. 选择备份方式(`rclone` / cron 脚本 / GitLab CI
3. 设置定时执行策略
**唯一真源**[`ansible/files/05-06-openlist/openlist-backup-cronjob.yaml`](../ansible/files/05-06-openlist/openlist-backup-cronjob.yaml)CronJob 示例;替换镜像与 PVC
应用方式:
```bash
kubectl apply -f ansible/files/05-06-openlist/openlist-backup-cronjob.yaml
```
## 验证命令
- 检查备份目录是否按计划更新
- 检查定时任务日志是否成功
## 预期
- 备份按周期稳定执行
## 下一步
- `06-02-运维小结.md`