Exporting and backing up a database
Regular database backups protect your site's content - posts, orders, customers and settings. To export a database:
- Open phpMyAdmin from the DirhamHost panel.
- Click the database you want to back up in the left column.
- Go to the Export tab.
- Choose Quick for a full copy, or Custom to select tables and enable compression.
- Set format to SQL and click Export. The file downloads to your computer.
Tips:
- For large databases, choose Custom and set Compression: gzipped to get a smaller
.sql.gzfile. - Name your backups with the date, e.g.
shop-2026-08-30.sql. - Store copies off the server (your computer or cloud storage) so you are covered even if the account is affected.
Your Dirham A Day plan also includes server backups, but keeping your own export before major changes - a theme update, a plugin change, a migration - is always wise. You can automate exports with a cron job that runs mysqldump if you have SSH access. Questions about backup retention? Contact support@dirhamaday.ae.
Still need a hand? Our UAE-based team is here 24/7.