Developer Documentation
Backup & Recovery
Backup and Recovery
Database
- Run encrypted daily backups.
- Retain binary logs for point-in-time recovery.
- Test restores regularly on a non-production database.
- Treat
transactions,ledger_entries,payments,withdrawals,wallets, andaudit_logsas critical recovery tables.
Files
- Back up
.envsecurely and separately. - Back up
storage/logsfor incident review. - Keep KYC uploads outside the public web root and back them up with encryption.
Disaster Recovery
- Document database credentials rotation.
- Keep provider credentials recoverable through secure secret backup.
- Verify queue worker restart procedures.
- Reconcile provider records after any restore.