Harden deployment with data backups and restore script

This commit is contained in:
Alexander Schmidt
2026-03-26 14:25:35 +01:00
parent 94c8ecb2aa
commit 77bf794b73
4 changed files with 183 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
# Copy this file to scripts/.deploy.env and fill in your values.
DEPLOY_HOST="root@example.com"
DEPLOY_TARGET="/home/user/web/xmrpay.link/public_html"
# Optional hardening settings:
# DEPLOY_BACKUP_ENABLE="1"
# DEPLOY_BACKUP_KEEP="14"
# DEPLOY_BACKUP_DIR="/home/user/web/xmrpay.link/backups/xmrpay-data"
# DEPLOY_DRY_RUN="0"