Chat with us, powered by LiveChat

This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

How to Take a Magento Backup in 4 Easy Steps

October 18, 2019

5 Min Read
Magento Backup
Reading Time: 5 minutes

A recent survey shows that 44% of data loss is caused by mistaken deletion, system crash, or software corruption.

Just imagine you have put in countless hours and efforts into building your Magento store, but in the end, all your efforts go in vain. Well, that’s the worst case scenario. 

What you need is a viable solution to schedule your Magento application backup in a few steps and restore all the files and database of your Magento store. You will also want to have your server’s backup on demand at any instant. 

Why Server & Application Backup Are Important?

The major reason for taking Magento backup is to create a copy of data to ensure data availability and security at all times. The cyber attacks can range from data corruption, malicious scripts or accidental data loss. In such cases, the Magento backup facility comes in handy, allowing you to restore your application and let you continue your work.

Cloud storage offers one of the alternative media to store your data backup. It offers quite a secure way to keep Magento application and server backup.

When it comes to Magento store application backup, there are various options available. In this tutorial, I will explain as to how you can create a Magento backup for your websites.

Let’s get things done!

How to Take Magento Application Backup via Admin Panel

In this section, you will learn as to how you can take the Magento application back up through the Magento Admin Panel. The process is quite simple. 

  1. Log in to your Magento 1 admin panel and click System > Tools > Backups.
  2. Select one of the following data backup types, depending on the type of Magento backup you need to create:
  • System Backup
  • Database and Media Backup
  • Creates a backup of the database and the media folder
  • Create a backup of the database
  1. Click OK to continue.
  2. If you want to put the store into maintenance mode during the Magento backup, select the checkbox.

How to Schedule Magento Backup via Admin Panel

You can also schedule a Magento backup through Admin panel. It’s a six-step procedure. 

  1. On the side menu bar, select System > Configuration and under Advanced, select System.
  2. Expand the Scheduled Backup Settings section. 
  3. Set Backup Type to one of the following:
  • Database
  • Database and Media
  • System
  • System (excluding Media)
  1. Set the Time of the Magento backup with: Hour, Minute, and Second.
  2. Set the Frequency of the backup: Daily, Weekly or Monthly.
  3. Hit the Save Config button.

Note: The Magento system backup facility is not available for Magento 1.9.4 or less.

How to Backup Magento 2 Application via Admin Panel 

In this section, you will learn to take Magento application backup through the Admin Panel.  

  1. Log in to your Magento Admin Panel with your credentials (username and password) for Magento 2 backup.
  2. On the left admin sidebar, click System > Backup.

You will see the following message:

Magento backup disbale message

Don’t worry though. Just follow these steps to enable the Magento database backup functionality:

  • On the admin sidebar, click Store > Configuration and navigate to the Advanced section and click System.

Enable option for Magento 2 backup

  • Enable the backup option by using the dropdown menu to Yes.

You can also take Magento store backup by using the CLI command:

php bin/magento config:set system/backup/functionality_enabled 1

     3. In the upper-right corner,  you will see the buttons for the type of Magento backup you want to create:

  • System Backup: This option allows you to create a complete backup of the database and the file system. During the process, you can choose to include the media folder in the backup.
  • Database and Media Backup: Create a backup of the database and the media folder.
  • Database Backup: Creates a backup of the database.

Admin panel Magento 2 backup

While taking a backup of your Magento application, you must:

  1. Check the maintenance mode option during the Magento backup so you can avoid any inconvenience. Once you are done,  the Magento backup, maintenance mode will turn off automatically.
  2. While taking a system backup, check the Include Media folder to System Backup if you want to include the media folder as well. 

How to Schedule Magento 2 Backup  

In this section, you will learn about scheduling Magento 2 backup. It’s a four-step process.  

  1. On the Admin menu bar, select System > Configuration
  2. Under the Advanced section, choose System
  3. Expand the Scheduled Backup Settings section.
  4. Set Magento 2 backup type: Database, Database, and Media, System and System (excluding Media)

Schedule Magento 2 backup

  1. Set the frequency of the backup: Daily, Weekly, and Monthly

Magento Backup schedule time

  1. Hit the Save Config button.

Magento 2 backup save configWell, that’s the first part of how you can schedule Magento 1 & 2 backup.

As a store owner or a developer, you must regularly keep an eye on the server configuration settings as well.

Here, I would like to ask you a question.

The question is: how can you manage and maintain the Magento database backup on the server level? Cloudways managed hosting platform has got you covered. The managed cloud hosting platform offers you the opportunity to maintain application and server backups without any complexities.

Let’s explore!

Magento Server Level Backup with Cloudways

Cloudways is a managed Magento hosting provider which offers a user-friendly environment to manage your Magento websites with ease. Cloudways offers you with user-friendly features to manage your server backup.

Backup Frequency 

Set backup frequency ranging from one hour to seven days. The platform will take a full server backup at your chosen frequency.

Schedule Time

Set the specific time to schedule your Magento server backup.

Backup Retention

Set the backup retention time for your Magento server. The server backup is retained for upto one week.

Local backups

By enabling this option, you can create an additional copy of your server backup by the name of (local_backup), and download it via SFTP/SSH.

And that’s it. You are good to go with your first Magento server backup.

Magento Server Level Backup with Cloudways Cloudways offers a user-friendly environment to manage your Magento websites with no-pain. With Cloudways, you can manage your server backup by following these quick steps: Backup Frequency Set backup frequency between 1 hour to 7 days. The platform would take a full server backup at your chosen frequency. Schedule Time Set the specific time to schedule your Magento server backup. Backup Retention Set the retention time for your Magento server, at least you can retain your server backup for 1 week. Local backups By enabling this option will create an additional copy of your server backup by the name of (local_backup) so you can download it via SFTP/SSH. And that’s it, you are good to go with your first Magento server backup.

Also, you can take server backup on-demand at any instant. For this, you must click on Take Backup Now button. It will take time depending on the size of the files.

Magento Application Level Backup with Cloudways

Cloudways has introduced application backup feature to help you take a backup of your application without any fuss. You can create multiple on-demand backups and restore your application any time you deem necessary.  

This feature is applicable for both the Magento versions 1 and 2.

Magento application level backup with Cloudways

Wrapping Up!

This brings us to the end of this article. This article highlights the importance of maintaining a server and application backup, and how you can use Magento backup feature to keep your online store live and running. Remember that a cloud hosting provider such as Cloudways offers a secure and scalable cloud hosting solution which provides both automatic and manual Magento backup capabilities. This saves you a lot of hassle and ensures that you can recover from disaster almost immediately.

If you have any questions and query feel free to ask anytime in the comment section below.

Share your opinion in the comment section. COMMENT NOW

Share This Article

Boost Your Magento Store Performance by 5x Times & Maximize Your Sales

Our fastest Magento hosting can help you in growing your business revenue by 500%

Abdur Rahman

Abdur Rahman is the Magento whizz at Cloudways. He is growth ambitious, and aims to learn & share information about Ecommerce & Magento Development through practice and experimentation. He loves to travel and explore new ideas whenever he finds time. Get in touch with him at abdul.rehman@cloudways.com

Get Our Newsletter
Be the first to get the latest updates and tutorials.

Do you like what you read?

Get the Latest Updates

Share Your Feedback

Please insert Content

Thank you for your feedback!

BFCM 2019