部署优化

This commit is contained in:
wchino
2026-06-13 22:16:14 +08:00
parent 21dd9957f0
commit 73a94e6be3
28 changed files with 899 additions and 129 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# 备份生产 Docker PostgreSQL 到 ./backups
# 备份生产 Docker PostgreSQL 到 ./backups,输出 gzip 与 sha256 校验文件
set -euo pipefail
@@ -44,3 +44,4 @@ require_docker
ensure_env_file || exit 1
start_infra
backup_database "$PREFIX"
prune_old_backups