{"id":2833,"date":"2024-12-31T20:26:43","date_gmt":"2024-12-31T20:26:43","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/how-to-schedule-automatic-backup-in-magento-2\/"},"modified":"2025-03-06T05:37:35","modified_gmt":"2025-03-06T05:37:35","slug":"schedule-automatic-backup-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/schedule-automatic-backup-in-magento-2\/","title":{"rendered":"How to Schedule Automatic Backup in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Imagine you wake up tomorrow and find that your Magento 2 store has crashed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This unexpected turn of events may be because of a misconfigured extension, configuration, or a technical error that can risk your entire business.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In such cases, a backup of the Magento 2 store can be a business savior.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thankfully, Magento 2 allows you to take automatic store backups regularly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, you\u2019ll learn a step-by-step method to&nbsp;<em><strong>schedule automatic backup in Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We\u2019ll also explore addition method to automatically back up Magento 2 store in Cloud, such as Google Drive or Dropbox!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"steps-to-enable-automatic-backup-in-magento2\">Steps to Enable Automatic Backup in Magento 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You can&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/backup-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">back up Magento 2<\/a>&nbsp;in multiple ways. In fact, you can also enable&nbsp;<a href=\"https:\/\/experienceleague.adobe.com\/en\/docs\/commerce-admin\/systems\/tools\/backups\" target=\"_blank\" rel=\"noreferrer noopener\">automatic backup<\/a>&nbsp;in Magento 2 right from the admin panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the steps to do that:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1:&nbsp;Go to Stores &gt; Settings &gt; Configuration<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Log into your Magento 2 admin panel, and click&nbsp;<strong>Stores<\/strong>&nbsp;in the left-side menu. Now, click&nbsp;<strong>Configuration&nbsp;<\/strong>under the&nbsp;<strong>Settings&nbsp;<\/strong>section.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2023\/06\/1-schedule-automatic-magento-2-backup.png\" alt=\"Step 1 of schedule automatic backup in Magento 2\" class=\"wp-image-32630\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Step 2: Enable &amp; Configure Scheduled Backup<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the configuration left-side menu, expand&nbsp;<strong>Advanced&nbsp;<\/strong>and click&nbsp;<strong>System<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, expand the&nbsp;<strong>Backup Settings<\/strong>, and configure the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enable Backup:&nbsp;<\/strong>Select&nbsp;<strong>Yes&nbsp;<\/strong>to enable the backup functionality in Magento 2.<\/li>\n\n\n\n<li><strong>Enable Scheduled Backup:&nbsp;<\/strong>Select&nbsp;<strong>Yes&nbsp;<\/strong>to enable the scheduled automatic backup in Magento 2.<\/li>\n\n\n\n<li><strong>Scheduled Backup Type:&nbsp;<\/strong>Choose from the following different types of backups in Magento 2:\n<ul class=\"wp-block-list\">\n<li><strong>Database:&nbsp;<\/strong>Only Magento 2 database will be backed up on a schedule.<\/li>\n\n\n\n<li><strong>Data and Media:&nbsp;<\/strong>Only the Magento 2 database and media files (such as product images) will be backed up.<\/li>\n\n\n\n<li><strong>System:&nbsp;<\/strong>Complete backup of Magento 2 system, including the code.<\/li>\n\n\n\n<li><strong>System (excluding Media):&nbsp;<\/strong>Backup of the system without media files (such as product images.)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Start Time:&nbsp;<\/strong>Set time in hours, minutes, and seconds when you want to schedule automatic backup in Magento 2.<\/li>\n\n\n\n<li><strong>Frequency:&nbsp;<\/strong>Choose how often you wish to take the Magento 2 backup. You can choose from the following options:\n<ul class=\"wp-block-list\">\n<li>Daily<\/li>\n\n\n\n<li>Weekly<\/li>\n\n\n\n<li>Monthly<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Maintenance Mode:&nbsp;<\/strong>Setting this&nbsp;<strong>Yes&nbsp;<\/strong>will&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/enable-or-disable-maintenance-mode-in-magento-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">enable maintenance mode in Magento 2<\/a>&nbsp;during the backup process.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2023\/06\/2-backup-magento-2-automatically.png\" alt=\"Enable schedule automatic backups in Magento 2\" class=\"wp-image-32631\"\/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"steps-to-automatically-back-up-magento-2-in-cloud\">Steps to Automatically Back Up Magento 2 in Cloud<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Magento 2 Cloud Backup extension is the best way to schedule automatic backups in Magento 2. It offers reliable Magento 2 cloud backups in Google Drive &amp; Dropbox, so that you can rollback the system immediately in any worst cases. The extension is easy to set up and can run automatic Magento 2 backups at regular frequencies.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how to enable automatic cloud backups in Magento 2:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Meetanshi\u2019s&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-2-cloud-backup.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Cloud Backup Extension<\/a>.<\/li>\n\n\n\n<li>Configure &amp; Integrate Google Drive or Dropbox with the extension.<\/li>\n\n\n\n<li>Set the frequency &amp; time of the automatic Magento 2 backup in Cloud:<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2023\/06\/3-auto-backup-scheduling-settings-1.png\" alt=\"Auto backup scheduling settings in Magento 2\" class=\"wp-image-32639\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ta-daa!   Magento 2 is automatically backed up in the Google drive.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2023\/06\/4-backup-file-stored-in-google-drive-1.png\" alt=\"Magento 2 backup file stored in Google Drive\" class=\"wp-image-32640\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The Magento 2 will be backed up regularly in the cloud as per the frequency set in the backend!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Other features allows you to exclude certain directories or database tables from the backup and deletion of old cloud backups.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"meetanshi-cta\">\r\n<div class=\"cta-content-wrapper\">\r\n<span>Magento 2 Cloud Backup<\/span>\r\n<p>Securely back up your store data to Google Drive or Dropbox.<\/p>\r\n<a href=\"https:\/\/meetanshi.com\/magento-2-cloud-backup.html\" target=\"_blank\" class=\"btn-primary\">Take Backup<\/a>\r\n<\/div>\r\n<div class=\"cta-image-new\">\r\n<img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2025\/11\/magento-2-cloud-backup.png\" alt=\"Magento 2 Cloud Backup\">\r\n<\/div>\r\n<\/div><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-the-best-way-to-schedule-magento-2-backups\">What is the Best Way to Schedule Magento 2 Backups?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Taking regular Magento 2 backup is essential. It acts as an insurance for your business. The default functionality allows you schedule automatic Magento 2 backups at regular intervals. But, it is not the best way as the data is backed up on the server. This may leave you helpless if the hosting server goes down. The best way is to take backups to a reliable cloud storage, such as Google Drive or Dropbox. Meetanshi\u2019s Magento 2 Cloud Backup extension makes it possible to schedule automatic backup in Magento 2 to cloud storage so that you can focus on your business without worrying about data loss.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imagine you wake up tomorrow and find that your Magento 2 store has crashed. This unexpected turn of events may be because of a misconfigured&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-2833","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=2833"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2833\/revisions"}],"predecessor-version":[{"id":8434,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/2833\/revisions\/8434"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=2833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=2833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=2833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}