EasyEngine backup WordPress Database
EasyEngine run database of web sites in a Docker container. To take backup of MySQL database used by a WordPress website, you can run command
ee shell DOMAIN_NAME --command='wp db export'
This will create database backup on document root of the web site.
Backup will be available in your web sites document root
/opt/easyengine/sites/YOUR_DOMAIN.EXTN/app/htdocs/
You can also download using
http://YOUR_DOMAIN.EXTN/backup-file-name.sql
See EasyEngine
How can I find the location of the backup results?
Backup will available in folder
/opt/easyengine/sites/YOURDOMAIN_HERE/app/htdocs/
Or you can download it using url
https://yourdomain/backup-file-name.sql
how to make the compress gzip?
To gzip, go to the folder /opt/easyengine/sites/YOUR_DOMAIN.EXTN/app/htdocs/, then run “gzip FILE_NAME.sql”