How to Create a Backup of X-Cart

Updated on Dec 10, 2015

This tutorial will review the process of creating a backup for your X-Cart website. If you are making changes on your website, it is recommended to generate a full backup before that. This way, if something goes wrong with your website, you will be able to restore it to a working state again.

To Create a Backup of X-Cart, you need to:

step

Backup the Files

The first step of the process is to create a backup of your website's files. The important thing here is to locate the exact directory on your account, which contains the X-Cart installation. If you are accessing your website directly via the primary domain of your account, this indicates that the files are within the public_html/ directory of your account. Still, this may differ, if you are using a subdomain or a subfolder for your X-Cart website.

Once you locate the directory of your X-Cart installation, you can download it on your local computer as a backup.

Download Files

There are two ways of downloading your files to the server - using an FTP client, following our FTP tutorial, or downloading directly through your cPanel account > File Manager, following our cPanel tutorial.

step

Backup the Database

To create a backup of your database, you need to locate it's name first. The information about the database of your X-Cart website can be found within it's main configuration file. Take a look at our tutorial on how to locate and edit the X-Cart configuration file for more details on that.

Once you get the name of your database, access your cPanel account first. Locate the Databases section and click on the phpMyAdmin service.

Access phpMyAdmin via cPanel

On the left side of the screen, the system will display a list of all databases on your account. Click on the one set on your X-Cart website.

Access database in phpMyAdmin

You will see a list of all tables on your database. To proceed with the backup creation, click on the Export button at the top menu

Click on the Go button, which will export a dump backup copy of your database on your local computer.

On this page...

    X-Cart Hosting - free features

    • Free CS-Cart Install
    • 24/7 Expert Support
    • Free Domain Transfer
    • Hack-free Protection
    • Fast SSD Storage
    • Free CubeCart Transfer
    • Free Cloudflare CDN
    • Immediate Activation
    View More