Fri. Apr 25th, 2025

17. Magento. How to make full website backup

1 min read


Untitled Document

 

While most web hosting companies keep a backup of your data, it’s usually not wise to rely on a single backup. It’s much safer to have multiple backups. There is a way to back up files saved on server, and database using PHPMyAdmin tool.

  1. Back Up Files
    1. The best way to back up all of your files (excluding the database) is to connect to your hosting account with FTP, SFTP or cPanel, and copy the folder that contains all Magento files onto a local machine, a remote server, or to a cloud storage service.
      1. From hosting cPanel, navigate to File Manager, select all the files with Select all. There is usually the option to archive all the files, you can click Compress to zip them:

        Magento. How to make full website backup_1

      2. Then download and save it as a .zip file to your computer.
  2. Back up The Database Manually
    1. To make sure you work with the correct database, log into your Hosting control panel. Select ‘File manager‘ button, locate the root folder for your Magento website.
    2. Look for the app/etc/ folder and local.xml file in it. Open this file and check the database name, username and password, it should look like this:

      Magento.-How-to-make-full-website-backup_2

    3. Get back to cPanel, open ‘phpMyAdmin‘, then select the database name that you have checked above. Next, click ‘Export‘ button to export this database, then click ‘Go‘. Save it as a .sql file on your computer:

      Magento.-How-to-make-full-website-backup_3

 

April 2025
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
282930