After July 2021, the 2.3.x release line no longer received quality updates or user guide updates. PHP 7.3 reached end of support in December 2021, and Adobe Commerce 2.3.x reached end of support in September 2022. We strongly recommend upgrading to Adobe Commerce 2.4.x to help maintain PCI compliance.

Backups

This site contains archived merchant documentation for a version of Adobe Commerce and Magento Open Source that has reached end-of-support. The documentation available here is intended for historical reference only and is not maintained. The Adobe Commerce Merchant Documentation for current releases is published on the Adobe Experience League.

Magento gives you the ability to backup different parts of the system—such as the file system, database, and media files—and to roll back automatically. A record for each backup appears in the grid on the Backups page. Deleting a record from the list deletes the archived file as well. Database backup files are compressed using the GZ format. For the system backups and database and media backups, the TGZ format is used. As a best practice, you should restrict access to backup tools, and back up before installing extensions and updates.

  • Restrict access to backup tools. Access to the Backups and roll back management tool can be restricted by configuring user roles for backup and roll back resources. To restrict access, leave the corresponding checkbox unselected. If you need to grant access to roll back resources, you must grant access to backup resources as well.

  • Backup before installing extensions and updates. Always perform a backup before you install an extension or update.

Disabled feature: Magento backup is disabled by default. Enabling this function may require developer assistance. See the following Magento DevDocs topic to enable backups: Back up and roll back the file system, media, and database.

Deprecation Notice! Magento backup features are deprecated as of v2.3.0. We recommend that all merchants investigate additional backup technologies and binary backup tools (such as Percona XtraBackup).

System tools - backups Backups

Create a Backup

  1. On the Admin sidebar, go to System > Tools > Backups.

  2. In the upper-right corner, click the button for the type of backup you want to create:

    System Backup Creates 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 Creates a backup of the database and the media folder.
    Database Backup Creates a backup of the database.
  3. To put the store into maintenance mode during the backup, select the checkbox.

    When the backup is complete, maintenance mode is turned off automatically.

  4. For a system backup, select the Include Media folder to System Backup checkbox if you want to include the media folder. When prompted, confirm the action.

Schedule Backups

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Advanced and choose System.

  3. Expand Expansion selector the Backup Settings section and do the following:

    • Set Enabled Schedule Backup to Yes.
    • Set the Scheduled Backup Type.
    • Set the Start Time.
    • Set the Frequency.
    • Set Maintenance Mode to Yes.
  4. When complete, click Save Config.