Backup or export MySQL WordPress EasyEngine database is very easy, here is the guide. This guide is for EasyEngine version 4 and newer.
Enter to the web directory, for example, i’m will backup database for web omar.web.id
cd /opt/easyengine/sites/omar.web.id/app/htdocs
Now run the following command for backup database web omar.web.id
, this command is based on wp-cli
ee shell $domain --command="wp db export $dbfilename"
Code language: PHP (php)
Check .sql
file backup with command ls
, and make sure SQL file backup is exist.