Magento Open Source 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 backup 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 permissions 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. Component Manager includes a backup option that you can use before installing an extension or upgrading to a new release.
Disabled feature:Magento backup is disabled by default. To enable may require developer assistance. See Magento DevDocs for the command to enable backups: Back up and roll back the file system, media, and database.
Deprecation Notice! Magento backup features are deprecated as of v2.2.7. We recommend that all merchants investigate additional backup technologies and binary backup tools (such as Percona XtraBackup).
|1.||On the Admin sidebar, tap System. Then under Tools, choose Backups.|
|2.||In the upper-right corner, tap the button for the type of backup you want to create:|
Database and Media Backup
Creates a backup of the database and the media folder.
Creates a backup of the database.
|3.||To put the store into maintenance mode during the backup, mark the checkbox. When the backup is complete, maintenance mode is turned off automatically.|
|4.||For a system backup, mark the Include Media folder to System Backup checkbox if you want to include the media folder. Then when prompted, confirm the action.|
|1.||On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.|
|2.||In the panel on the left under Advanced, choose System.|
|3.||Expand the Scheduled Backup Settings section, and do the following:|
|4.||When complete, tap Save Config.|
A quick rating takes only 3 clicks. Add a comment to help us improve Magento even more.