Sites
Databases and backups
MySQL databases and users, imports, scheduled backups, restore and off-site sync.
๐๏ธ The site's database
Every site gets a primary database and user when it is provisioned, with privileges on that database only. Its credentials live in the site's shared/.env (DB_DATABASE, DB_USERNAME, DB_PASSWORD).
The Database tab lists the site's databases with their user and type (Primary or Secondary).
โ Extra databases
Add Database (admin) creates another database and user with a generated password, stored encrypted. It needs the MySQL root credentials in Settings โ Integrations โ MySQL Root Credentials. Drop removes an extra database; the primary one cannot be dropped.
๐ Running queries
Each database has a Query runner for quick checks and fixes:
- allowed:
SELECT,INSERT,UPDATE,DELETE,EXPLAIN,SHOW,DESCRIBEandWITH; - blocked: schema changes (
CREATE,ALTER,DROPโฆ),SET,LOAD,CALLand writing to files; - runs as the database's own user, stops after 30 seconds and returns at most 1,000 rows;
- every query is written to the audit log.
๐ฅ Importing a dump
Import loads a .sql or .sql.gz file (up to 512 MB) into a database. Admins and developers can import.
๐พ Backups
Create Backup writes a compressed dump to the site's backups/ folder:
/var/www/sites/example.com/backups/example_db_2026-11-27T03-00-00.sql.gz
Each backup can be downloaded, restored or deleted. Restore & overwrite replaces the current database with the backup โ take a fresh backup first if you might need today's data.
Scheduled backups
Backup Schedule creates a cron job that backs up the database automatically:
| Field | Notes |
|---|---|
| Hour, Minute | When the backup runs (server time). |
| Frequency | Every day, or Custom days of the week. |
Scheduled backups keep the 30 newest files. Their log is in /var/log/orchestrator/backup.log.
Tip. Backups live on the same server as the site. Download important backups or copy them off the server regularly.
Off-site storage (S3 / R2)
Settings โ Integrations โ S3 / R2 Backup Storage connects an S3-compatible bucket โ AWS S3, Cloudflare R2 or any S3-compatible storage:
| Field | Notes |
|---|---|
| Access Key ID, Secret Access Key | Stored encrypted. |
| Region | auto for R2. |
| Bucket | |
| Custom Endpoint URL | For R2 and other S3-compatible providers. |
Backups are uploaded under backups/<domain>/ in the bucket. Uploading, listing and deleting off-site copies is currently done through the REST API; automatic sync of scheduled backups is on the roadmap.
๐ฌ phpMyAdmin
The phpMyAdmin button signs you in to phpMyAdmin for the site's database without typing a password: the panel issues a single-use token valid for 60 seconds, and the password never appears in a URL. It requires phpMyAdmin on the panel host and the PMA_BASE_URL and PMA_BRIDGE_SECRET settings (see Panel configuration).
Note. phpMyAdmin, extra databases, the query runner and imports are available for sites on the panel host. For sites on other servers, use backups and restore, or the site's terminal.