# Backup and restore

Back up the database daily and private storage at least daily, retaining encrypted off-host copies. Before deploys, export the database through phpMyAdmin or `mysqldump` and snapshot the release. Restore first to a non-production database, validate record counts, authentication, and private file access, then schedule the production restoration window. Never overwrite a production database without a current backup.
