Backups
Go to Super Admin โ System โ Backups.
The Backups page lets you manage full database backups of your LeadHub platform. Backups are created on demand or automatically by the cron scheduler. All backups are stored in storage/app/backups/.
Backup Actionsโ
| Action | Description |
|---|---|
| Create Backup | Immediately creates a new database backup. The file appears in the list once complete. |
| Verify | Runs an integrity check on the backup file to confirm it is not corrupted. |
| Download | Downloads the .sql.gz backup file to your local machine. |
| Restore | Restores the database from the selected backup. This overwrites all current data โ use with extreme caution. |
| Delete | Permanently deletes the backup file from storage. |
Backup Listโ
Each backup entry shows:
| Column | Description |
|---|---|
| Filename | The backup file name (includes timestamp) |
| Size | File size |
| Created At | When the backup was taken |
| Status | Verified / Unverified / Corrupt |
Automatic Backupsโ
When the cron job is configured, LeadHub automatically creates a daily backup. See Shared Hosting Guide for cron setup instructions.
Restoring a Backupโ
- Identify the backup you want to restore from the list.
- Click Restore on that row.
- Confirm the prompt โ all data created after the backup date will be lost.
- The page will reload once the restore is complete.
Tip: Always Download a current backup before performing a restore, so you have a rollback option.
Storage Locationโ
Backups are stored locally at storage/app/backups/. For off-site protection, configure your server to sync this directory to an external location (e.g. S3, DigitalOcean Spaces, Google Drive).
Relatedโ
- Storage Settings โ configure S3-compatible storage for tenant files
- Shared Hosting Guide โ set up the cron job for automatic daily backups