This repo is based off:
- softwarebrahma's PostgreSQL-Disaster-Recovery-With-Barman
- Railway's official postgres-ssl template for SSL configuration and Railway-specific scripts
For complete step-by-step instructions with troubleshooting, see the included RECOVERY.md guide.
# Generate Ed25519 SSH key pair
ssh-keygen -t ed25519 -a 100 -N "" -f id_ed25519
# Base64 encode for safe environment variable storage
SSH_PRIVATE_KEY=$(openssl base64 -A < id_ed25519)
SSH_PUBLIC_KEY=$(openssl base64 -A < id_ed25519.pub)