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.

EasyEngine WordPress Database Backup

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

Comments

4 responses to “EasyEngine backup WordPress Database”

  1. Mubasir Alamsah Avatar
    Mubasir Alamsah

    How can I find the location of the backup results?

    1. ServerOk Avatar
      ServerOk

      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

  2. rezza Avatar
    rezza

    how to make the compress gzip?

    1. ServerOk Avatar
      ServerOk

      To gzip, go to the folder /opt/easyengine/sites/YOUR_DOMAIN.EXTN/app/htdocs/, then run “gzip FILE_NAME.sql”

Leave a Reply

Your email address will not be published. Required fields are marked *