Home

d13x.net Disaster Recovery Plan

Use this page when moving production from the primary server to the standby backup server.

Recovery Files

Primary Server Backup Status

Failover Procedure

  1. Plug the USB backup drive (BACKUP_USB) into the standby server.
  2. Boot standby server and log in with sudo access.
  3. Run DRY RUN first (no writes):
sudo -i
DRY_RUN=1 /mnt/backup-usb/runbooks/promote-backup-server.sh
  1. Run real restore:
/mnt/backup-usb/runbooks/promote-backup-server.sh
  1. Verify services:
systemctl is-active mariadb php8.3-fpm nginx
curl -k -I https://127.0.0.1
  1. Move DNS/public routing to standby server.
  2. Validate externally: site home page, /status, SSL certificate, and app/database behavior.

Operational Notes

Last updated: 2026-05-13