Disaster Recovery with bma-rescue.php
When a site suffers complete database corruption, kernel panic, or web shell ransomware lockout, the WordPress admin interface is unavailable. Back My A$$ Up includes an emergency recovery agent: bma-rescue.php.
IMPORTANT
bma-rescue.php is a single standalone PHP script that requires zero WordPress core files, zero plugins, and zero external packages to run.
1. Emergency Restoration Workflow
- Place
bma-rescue.phpinto your web root (e.g./var/www/html/bma-rescue.php). - Navigate in your browser to
https://yourdomain.com/bma-rescue.php. - Authenticate with your Emergency Master Keycard token.
- Select the target snapshot from your local
/wp-content/uploads/sma-vault/directory or stream directly from Cloudflare R2 / AWS S3. - Click Initiate Restoral:
- Drops corrupt tables.
- Decrypts chunks with AES-256-CBC.
- Streams SQL transactions in batches to avoid PHP timeouts.
- Automatic Self-Destruct: Upon successful restoration,
bma-rescue.phpsecurely deletes itself from disk to prevent unauthorized re-use.