In this tutorial, we will review the process of creating a full backup of your Loaded Commerce website. This will ensure that if something goes wrong with your website, you have a working copy that you can restore and get it operational again.
There is an automated backup feature in Loaded Commerce. However, it only generates backup of your database so if you are making changes on your files, the backup will not be sufficient.
The first step is to generate a full backup for the files of your Loaded Commerce website. You need to locate the directory of your installation and download it to your local computer. For example, if you are accessing your website directly through the primary domain of your account, this will indicate that you need to download the public_html/ directory of your account. Alternatively, you will have to locate the exact directory of your website and ensure that it contains all of the files for your website.
There are two ways of uploading your files to the server - using an FTP client, following our FTP tutorial, or uploading directly through your cPanel account > File Manager, following our cPanel tutorial.
The next step is to download a backup of your database on your local computer. For that purpose, you first need to confirm the name of your database.
You can check the name of your database via the main Loaded 7 Configuration file.
Once you get the name of your database, simply access your cPanel account and locate the Databases section. Click on the phpMyAdmin icon.
You will be presented with a list of all databases on your account on the left-side of the screen. Select the one set on your website.
The system will display all of the tables within your database. Click on the Export button at the top menu to proceed.
Click on the Go button, which will export a dump backup copy of your database on your local computer.