How to backup EVX Software

This page is about how to back up your EVX Software installation manually. If you want to learn about the backup plugin that allows you to create backups from the administration panel, please see the page Backup (Plugin).

  • The folder where EVX Software is installed
  • The database being used by EVX Software
  • The path to your EVX Software installation (e.g. /var/www/feng)
  • The database connection information used by EVX Software. You can find it in your 'config/config.php' file.
    • database (DB_NAME)
    • host (DB_HOST, usually localhost)
    • username (DB_USER)
    • password (DB_PASS)
  • Create a folder where you will place the backup (e.g. /path/to/backup)
  mkdir /path/to/backup
  • Copy EVX Software's folder to the backup folder
  cp -R /var/www/feng /path/to/backup
  • Create a dump of EVX Software's database. MySQL includes a command called mysqldump. You can use that command or some other tool like phpMyAdmin or MySQL GUI Tools. Here we will see the first two:

A) mysqldump (replace words between brackets for the correct values)

  mysqldump -h [host] -u [username] -p [database] > /path/to/backup/db.sql

B) phpMyAdmin

  1. Select EVX Software's database
  2. Click “Export”
  3. Select to export to “SQL”
  4. Select to export the “Structure” as well as the “Data”
  5. Select “Save as file”
  6. Click on “Go” and save the generated file to /path/to/backup/db.sql
  • Optionally, compress the contents of the backup folder to save some disk space.
  • Copy the backed-up installation folder to your web server
  cp -R /path/to/backup/feng /var/www
  • Execute the backup database script (db.sql). You can do this with the mysql command, in phpMyAdmin or MySQL GUI Tools.

A) mysql command

  mysql -h [host] -u [user] -p [database] < /path/to/backup/db.sql

B) phpMyAdmin

  1. Select EVX Software's database
  2. Click “Import”
  3. Choose the database script created on backup (/path/to/backup/db.sql)
  4. Click “Go”