docs(ops): 收斂重啟 repo-side readiness blockers [skip ci]
This commit is contained in:
@@ -105,11 +105,14 @@ main() {
|
||||
--keep-monthly ${KEEP_MONTHLY} 2>&1
|
||||
log_success "GFS 清理完成"
|
||||
|
||||
# Step 6: B2 同步(若設定)
|
||||
# Step 6: Offsite 同步交由集中控制器
|
||||
#
|
||||
# 2026-06-18 Codex: daily service backup must not run a direct offsite
|
||||
# sync. `backup-all.sh` and the scheduled offsite controller own the gated
|
||||
# rclone sync / verification flow so failed local backups cannot partially
|
||||
# publish stale repositories.
|
||||
if check_b2_config; then
|
||||
log_info "同步到 Backblaze B2..."
|
||||
rclone sync "${LOCAL_REPO}" "b2:${B2_BUCKET}/awoooi" --progress 2>&1
|
||||
log_success "B2 同步完成"
|
||||
log_info "偵測到 legacy B2 設定;略過 service-level 直同步,請使用 sync-offsite-backups.sh"
|
||||
fi
|
||||
|
||||
rm -rf "${DUMP_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user