Back up and restore your site database
Prepare a recovery copy before changing your site. We will review file and database backups, then prepare a database restore. These screens use demonstration records; no real backup or restore is performed.
Before starting, confirm access to the site, free backup space, an off-server storage destination and a maintenance plan. Rehearse on an isolated test site with its own database before touching production. Keep the application configuration and recovery instructions securely accessible.
Screens show Herne 3.55.43 with synthetic Northstar Studio records. Archive sizes, completed operations and restore success are illustrative, not executed results. No tenant environment file is opened, no backup is downloaded and no live data is changed. English interface and narration accompany written guidance and selectable subtitles in six languages.
English audio · 5 min 31 sec · Subtitles in all six site languages.
1. Choose the site and recovery scope
Open the correct site and choose Data, then Backups. Check the domain before selecting New backup. Keep application files, database data and environment settings in your recovery plan; one backup type does not include everything.
Use a file backup for selected site directories and a database backup for managed site databases. Neither is a full server image. Herne panel recovery is a separate administrator procedure. Schedule a quiet window when consistent files and database data are required.
2. Select files and estimate space
On the Files tab, review every selected directory. Available top-level folders start selected; browse and narrow the selection if needed. Include persistent uploads, configuration and application dependencies required for recovery. A folder omitted here will not appear in the archive.
By default, the web form omits only safely identified Laravel cache and compiled view contents. Unknown content, uploads, settings, logs, sessions and dependencies remain included. Select Include rebuildable files too when those cache contents are needed, then estimate again.
Choose Estimate size after the final selection. Review the estimated size and available quota before Create backup. The estimate is not the final compressed size. A change to folders or rebuildable content requires a fresh estimate; the worker checks the saved scope again.
3. Create and review database backups
For database data, select the Database tab and review the listed names. This site form backs up its managed databases together; our example has only northstar_app. It does not include unregistered databases, application files or a complete database server installation.
MySQL backups contain SQL dumps; PostgreSQL backups contain custom dump files. Keep the engine and source database with your archive inventory. A ZIP containing several databases is not a request to restore them all. Prepare one reviewed, engine-compatible database input for the restore target.
Creation runs in the background. Review queued, running and final status under Backup operations, then check the successful archive row, timestamp and size. A submission message or scheduled time is not a completed backup. Ask the administrator to investigate failed or interrupted operations before resubmitting.
| Engine | Restore input |
|---|---|
| MySQL | SQL, compressed SQL or ZIP with one reviewed SQL input |
| PostgreSQL | ZIP with exactly one root .dump file in PostgreSQL custom format |
4. Protect and verify recovery copies
Download successful file and database archives through the panel and keep protected copies off the server. These ZIP files are not encrypted and may contain private data or credentials. Restrict access and use encrypted storage or transfer. Never place recovery archives in the public web root.
Record the filename, date, site, engine and scope. Check that the download opens and contains the expected files. Compare a recorded checksum after copying. A matching checksum proves unchanged bytes, not a usable recovery. Rehearse restoration in an isolated test environment with its own database.
Laravel transfer is a separate file scope for moving an application. It excludes environment and transient runtime files, so do not treat it as a complete recovery copy. Back up the database separately and preserve the target configuration securely. File restore is not available in this restore form.
Optional local integrity record on macOS: run this only against your own downloaded archive. Keep the recorded value separately and compare it after transfer. This does not execute a restore.
shasum -a 256 "db_backup_studio_20261130_084500.zip"
5. Prepare a database restore
Open Restore only for the reviewed target site. The service reads the connection from that site’s existing environment file; selecting an archive does not select a target database. Check the actual engine, host, port and database name first, especially when an application uses a custom connection source.
For MySQL, choose SQL, compressed SQL or a ZIP with one reviewed SQL input. For PostgreSQL, use a ZIP containing exactly one custom dump at its root. The current file picker advertises SQL and ZIP, so use the compatible ZIP path for PostgreSQL. Do not mix engines.
Before Start restore, pause conflicting application writes through your maintenance procedure and preserve an independent recovery copy. Read and accept the confirmation checkbox only after reviewing source and target. Herne attempts a safety dump before importing. It does not apply an uploaded environment file or replace the site environment.
6. Review results and recover safely
Review the restore report and history: target site, database, source filename, safety backup path and final status. A successful import still needs application checks, expected records and background job validation. Resume writes only after your recovery checks pass. The illustrated success here is a seeded example.
If safety backup creation fails, do not bypass it. If import fails, the target may already contain partial changes; automatic rollback is not promised. Preserve the report and recovery copies, keep the application controlled, and ask the administrator to investigate the sanitized error before choosing a recovery action.
Keep tested recovery points according to your retention needs. Before deleting an old archive, confirm another suitable protected copy exists; deletion removes the server copy. Never use restore to diagnose a connection problem. Next, we will prepare an application deployment using the recovery plan built here.