feat: 数据库备份支持S3兼容对象存储(SigV4纯标准库实现,无配置时兼容原本地备份)

This commit is contained in:
gouki
2026-08-05 11:57:17 +00:00
parent f1cdcf716c
commit 7f1268f508
3 changed files with 179 additions and 6 deletions
+6
View File
@@ -54,6 +54,12 @@ SMTP_PASSWORD=
SMTP_FROM=
SMTP_TO=
RENEWAL_THRESHOLD_DAYS=30
S3_ENDPOINT_URL=
S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_BUCKET=
S3_PREFIX=vps-manager
S3_REGION=auto
EOF
chmod 600 .env
echo " 已生成 .envMASTER_KEY 自动生成,请妥善保管)"