magento backup and restore

Whether you’re an experienced store owner or a newbie, by now you should’ve already come to terms with having to create backups before each small or significant website modification (e.g., Magento backup and restore). It is, in fact, a rule of proper website management.

Table of Contents:

  1. Magento Database Migration: How to Backup and Restore Files in a Few Simple Steps
    1. Magento 1.x Version
    2. Magento 2.x Version
  2. Magento Backup and Restore - FAQs

Migration of data, especially for large businesses, is a complicated and, at times, risky procedure. So, Cart2Cart takes the security aspect of it very seriously. We create backups on your source and target stores before each Magento database migration and even before the free Demo migration (if you choose so). For a comprehensive trial, explore our Migration Preview Service.

However, some might still want to go the extra mile and create database backups independently. Understandably - that’s the one kind of paranoia we fully endorse. If you happen to be a Magento running security freak, for more on secure migration practices, consider reading our FAQ on access details security. The following post is just for you. It describes two simple ways of making data backups and restoring stores from them properly during the Magento database migration.

Magento 1 Magento 2 (Adobe Commerce)
Apache 2.x Apache 2.4
- Nginx 1.x or greater
Unsupported (EOL) PHP 8.2 / 8.3
MySQL MySQL 8.0 / MariaDB 10.6 or greater
- Varnish 7.x
- Redis 7.x or Memcached 1.6.x
Unsupported (EOL) Elasticsearch 8.x
HTML HTML5
JQuery (In latest themes) JQuery
- RequireJS / Knockout.js
Zend Framework 1 Zend Framework 1 / 2
- Symfony
- Composer
- PSR – 0 / 1 / 2 / 3 / 4

Magento Database Migration: How to Backup and Restore Files in a Few Simple Steps

Magento 1.x Version

Database Backup

Despite the overall complexity Magento brings, the procedures of backing up and restoring data are relatively straightforward:

  1. Log in to your Magento admin panel
  2. Step to System → Tools → Backups
  3. Magento Backup and Restore: Tips and Tricks
  4. You will see three options there - System Backup, Database and Media backup, Database backup
  5. System Backup is the most radical one - it’ll pack your entire source code with database into one tar archive.

    Database and Media backup will save your database and media folder’s content. Entities like store themes are not included.

    Finally, Database Backup is self explanatory - it will take your Magento store data dump.

    One great way to grow your online business is to explore the possibilities of a completely new platform. We're here to help you - run a free demo now!

  6. See for yourself which option to choose, and click one of the orange buttons.
  7. Confirm your intention in the Warning window and specify the backup name in the box that’ll appear next.
  8. Magento Backup and Restore: Tips and Tricks

    Also, you can turn the maintenance mode on while the procedure is in progress. We recommend putting a tick next to it so that no database changes happen while you are backing it up.

  9. Wait till the Database backup has been created! message appears on the screen. When it happens, pat yourself on the back - you’ve done well.
  10. Magento Backup and Restore: Tips and Tricks

Besides Magento’s dashboard, you can log in to your hosting admin panel and backup database from there.

Since lots of our users seem to use cPanel, we’ll take it as an example:

  1. Log in to admin panel, find the Files section and press Backups
  2. Again, choose for yourself what kind of website backup to create - full, partial, or just the database backup. In case of the most later option - click on on the name of the needed database.
  3. That’s it, in a few minutes look for the database archive in your Downloads folder.

Restore Data from Database Backup

Restoring Magento databases doesn’t deserve a separate instruction since the entire procedure consists of one step.

In Magento admin panel:

Navigate to System → Tools → Backups, pick the needed backup from the list and click Rollback

Magento Backup and Restore: Tips and Tricks

In your hosting’s cPanel:

Go to Backups in the Files section, under Restore a Database MySQL Backup, upload your backup archive.

Further read: Magento Data Migration: Roadmap for Non-Technical Users

Magento 2.x Version

How to Backup the Database?

  1. Open your Magento admin panel
  2. Go to System → Tools → Backups
  3. magento backup and restore
  4. Choose the type of backup you wish to create (i.e., System Backup, Database and Media backup, Database backup) and tap on the corresponding button in the right upper corner
  5. magento backup and restore
  6. Set the backup name. Also, we recommend you to put your store to the maintenance mode.
  7. magento backup and restore

    Note: Magento database backup may take from 20 sec. up to a few minutes. It usually depends on the database size, server capabilities, etc.
  8. Once done, click the Ok button

How to Restore the Database?

  1. Go to the Backups menu in the Admin panel
  2. Select the necessary backup file you wish to restore and click on the Rollback link magento backup and restore
  3. After that you will receive the system warning. Tap Ok to proceed with the rollback magento backup and restore
  4. Fill in your User password and put the store into the maintenance mode by ticking the corresponding box magento backup and restore
  5. Click the Ok button to start the rollback

These are not the only methods to backup and restore the Magento database but certainly the easiest ones. Should you have other suggestions on the subject, please share them in the comment box.

Don't miss the opportunity!

Level up your store with any of the top popular shopping carts by automatedly migrating data via Cart2Cart.

Migrate now

Magento Backup and Restore - FAQs

How do I backup my Magento site?

To backup your Magento store, go to the Magento Admin Panel and navigate to System > Tools > Backups> сhoose the backup type you want (System Backup, Database and Media Backup, or Database Backup). With System Backup, you create a backup of the database and file system.

How long does it take to make a Magento backup?

It may take from 20 seconds to a few minutes to backup a Magento database. The amount of time usually depends on the size of the database and the server's capabilities. For a deeper dive into optimal server configurations for migration, check our technical requirements FAQ.

If you'd like to perform the Magento database migration, Cart2Cart will gladly lend you a helping hand. Do not hesitate to run a free Demo now!

Monthly Update – October 2025

As we move further into 2025, the e-commerce landscape continues to be shaped by evolving customer expectations and technological advancements. A key trend for Magento (now Adobe Commerce) store owners is the increasing adoption of headless commerce architectures and Progressive Web Apps (PWAs). These approaches decouple the frontend presentation layer from the backend e-commerce platform, offering unparalleled flexibility, speed, and customization. Implementing a headless setup allows businesses to deliver lightning-fast user experiences, adapt quickly to new sales channels, and integrate diverse third-party services without backend constraints.

For merchants considering re-platforming or a significant upgrade, exploring headless options for your Adobe Commerce store can be a strategic move to future-proof your business. It enhances SEO, improves conversion rates through faster page loads, and provides a seamless, app-like experience on any device. While the initial investment might be higher, the long-term benefits in agility, scalability, and customer engagement are substantial. This shift enables businesses to stay competitive in a rapidly changing digital marketplace by focusing on innovative frontend experiences.

For more details, explore our FAQ section or schedule a call with a migration expert.