Skip to main content
page last edited on 24 July 2017

How to restore from a backup file created by Backup Master module

Version: 5.4 and early

You can set up a test copy of your X-Cart store (using one of the backup files created by the "Backup Master" module) through your website cPanel, as follows:

  1. Create a new folder on your site, for example, /public_html/xcart5220/.

  2. Extract all the files from the backup archive to the new folder.

    NOTE: All backup files created by the "Backup Master" module are located in the following folder: /public_html/var/backup/

  3. Create a new database (for example, "xcart5220"), then add one of the MySQL users (for example, "shop") to the new database (with all the privileges).

  4. Upload the database dump into the new database (for example, using phpMyAdmin).

    NOTE: The database dump file will be located in the folder /public_html/xcart5220/var/tmp/.

  5. Adjust the database host settings in the configuration file (/public_html/xcart5220/etc/config.php) accordingly, for example:

    database = "xcart5220"
    username = "shop"
    password = "passwordgoeshere"


    http_host = ""
    https_host = ""
    web_dir = "/xcart5220"
  1. Finally, follow the below link to open the store admin back end and initiate the cache regeneration process:

As a result, a test copy of your X-Cart store will be available using the following URLs: