Upgrade
While the site is down, tracked links and open pixels answer 503: those
clicks are lost. Pick a moment with no campaign going out, and keep the
window short.
Before a major upgrade, read the release notes and take a backup.
What the migrations do on their own
Some versions repair existing data. For example, an installation with no platform administrator is given one, its oldest account, so that Horizon stays reachable.
Back up
Redis needs no backup: it only holds queues and cache. A lost job is picked up again: sends that got stuck are queued again every ten minutes.
Without APP_KEY, a restored database still works, but the providers’
credentials, the webhook secrets and the accounts’ two-factor secrets are
unreadable. Keep the key apart from the backups, in a vault.
Restore
Then check with php artisan lekalao:diagnose.
Move to another server
- Install Lekalao on the new server, with the same
APP_KEY.
- Restore the database and the files.
- Point the DNS at it.
- The providers’ feedback addresses and the links already sent keep working, as long as the public address does not change.