Files
openclaw-config/workspace-pbs/memory/2026-09-02.md
T

42 lines
2.1 KiB
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.
# 2026-09-02
## 月初备份自动触发检查
- pbs01 本月开机,确认 3 个自动同步 timer 均正常触发(bk03/vps01/pc02 automation 工作)
- 结果:vps01 备份成功(增量95.8%)、PC02 微信+library 成功、bk03 离线跳过
## PC02 连接与双备份(重点)
### 连接信息
- PC02Windows+WSL2, 主机名 xuan-main
- SSH 到 189:2222 → 实际转发进 WSLwsl02, tailscale 100.115.195.191
- **IP 差异**189=Windows宿主(pc02), 191=WSL(wsl02)proxmox-backup-client 在 WSL 上跑
### 微信备份失败排查(tailscale 通道问题)
- 现象:备份在 POST /dynamic_chunk 后卡 17-20 分钟, Error: timed out, catalog upload error
- 根因:**tailscale 通道(195) 在大数据传输时卡死/超时**
- **解决:改用 pbs01 局域网地址 192.168.3.11 直连,** 微信备份 91 秒成功
- library 照片备份 280G, LAN 直连 69 分钟成功 (复用 98.3%)
### 双备份配置(局域网直连)
| 备份 | token | datastore | source | archive |
|------|-------|-----------|--------|---------|
| 微信 | backup@pbs!pc02_weixin | weixin_backup | /mnt/d/.../wxid_4931329313415 | wexin.pxar |
| library照片 | backup@pbs!pc02_library | library | /mnt/e/library/library | library.pxar |
- secret 存 PC02: ~/.config/proxmox-backup/{pc02_weixin,pc02_library}.pass (600)
- 有效 token 是 backup@pbs!pc02_weixinroot@pam!pc02-weixin 旧 token 已失效,archive 用 wexin.pxar 非 weixin.pxar
### systemd 自动同步(pbs01
- 脚本 /root/scripts/auto-sync-pc02.sh: 先微信后 library 串行, **repository 指向 192.168.3.11(LAN)**
- service pc02-autosync.service (TimeoutStartSec=43200) + timer (开机后150s)
- 日志 /var/log/pc02-autosync.log
## 各备份通道总结(重要经验)
- **同一 LAN 的主机(PC02)备份必须用局域网地址 192.168.3.11**tailscale 遇大备份会卡死超时
- 独立 tailscale 主机(vps01)走 tailscale 正常
- bk03 今日离线,pbs01 开机时自动跳过,上次备份停 8/21
## datastore 用量变化
- library: 272G→277G (PC02 library 照片备份写入)
- weixin_backup: 9.4→9.8G