SlideShare a Scribd company logo
1 of 17
Download to read offline
Cloud Backup for Magento 2 © Meetanshi
Cloud Backup for Magento 2
User Guide
Table of Content
1. Extension Installation Guide
2. Configuration
3. Backup Storage Settings
4. Auto Backup Schedule Settings
5. Backup Exclusion Settings
6. Admin Email Notification Settings
7. Backup Deletion Settings
8. Backup in Cloud Storage
Cloud Backup for Magento 2 © Meetanshi
1. Extension Installation
• For Magento Marketplace Customers
o Find the Composer name and version of the extension in the extension’s composer.json file.
o Login to your SSH and run:
▪ composer require meetanshi/magento-2-cloud-backup
▪ composer require google/apiclient:^2.0
o Enter your authentication keys. Your public key is your username; your private key is your
password.
o Wait for Composer to finish updating your project dependencies and make sure there aren’t
any errors.
o To verify that the extension installed properly, run the command:
▪ php bin/magento module:status Meetanshi_AutoBackup
o By default, the extension is probably disabled.
o Enable the extension and clear static view files:
▪ php bin/magento module:enable Meetanshi_AutoBackup --clear-static-content
▪ php bin/magento setup:upgrade
▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
▪ php bin/magento cache:flush
• For Meetanshi Customers
o Extract the zip folder and upload our extension to the root of your Magento 2 directory via
FTP.
o Login to your SSH and run below commands step by step:
▪ composer require google/apiclient:^2.0
▪ php bin/magento setup:upgrade
▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
▪ php bin/magento cache:flush
Note: Don’t forget to install Google Drive library even if you are not using Google Drive as backup
storage option.
Cloud Backup for Magento 2 © Meetanshi
2. Configuration
To configure the extension, login to Magento 2 backend, move to Stores → Configuration →
Meetanshi → Cloud Backup, where you can find various settings to configure the extension.
• Cloud Backup: Enable or disable Cloud Backup for Magento 2 extension from here.
• Backup Type: Select one of the backup types:
o Database: Select to create backup of the database.
▪ Database Backup Format: Select the database format to backup.
o Database and Media: Select to create backup of the database and the media folder.
o System: Select to create a complete backup of the database and the file system.
o System (excluding Media): Select to create backup of the file system excluding media
folder.
• Backup Manually: Click “Run Now” button to take the backup manually.
Note: Don’t forget to “Enable Backup” option to YES from Stores > Configuration > Advanced >
System > Backup Settings to make the cloud backup extension work.
Cloud Backup for Magento 2 © Meetanshi
3. Backup Storage Settings
The extension facilitates to upload and save the store backup either in Google Drive or in
Dropbox. Select one of the file storage options to upload backup and configure related settings.
• Select File Storage Option to Upload Backup: Select one of the backup file storage options.
o Google Drive: Select to upload and save the backup files in Google Drive.
▪ Client ID: Enter the client ID you received after the registration with Google Drive.
▪ Client Secret: Enter the client secret you received after the registration with Google
Drive.
▪ Redirect URL: Enter the redirect URL as {{store_url}}/mtautobackup/index/getcode
▪ Client Token: Enter the client token you received after the registration with Google
Drive.
Follow the steps below to get the client ID, client secret and client token for the Google Drive.
o Go to Google API Console.
o Create a project by clicking "Select a project" (at the top).
o Click on the NEW PROJECT button.
o On the next screen, enter your project name and click on create button.
Cloud Backup for Magento 2 © Meetanshi
o After the project is created, click on APIs and Services from the left panel and select
Dashboard from its sub-options.
o From the Dashboard, click on ENABLE APIS AND SERVICES.
Cloud Backup for Magento 2 © Meetanshi
o Now search for Google Drive API in the search box and click when displayed.
o Click on the ENABLE button to enable the Google Drive API.
Cloud Backup for Magento 2 © Meetanshi
o Now configure the APIs and Services of Google Drive API by clicking CREATE
CREDENTIALS option and selecting the OAuth client ID option.
o Now, Select External user type from the OAuth consent screen and click on CREATE.
Cloud Backup for Magento 2 © Meetanshi
o Enter the app information like your app name, user support Email, app/website logo under
the App Information section.
o Under the App domain section, enter the homepage URL of your webstore.
o Enter the public privacy policy link in the Application privacy policy link field.
o Enter an authorized domain in the next option.
o Enter an authentic Email address under Developer Contact Information section for Google to
notify you about any changes on your project. Click “Save and Continue”.
Cloud Backup for Magento 2 © Meetanshi
o In the second step of the OAuth consent screen, click on SAVE AND CONTINUE button to
redirect to the next step.
o In the next Test Users step, add test user if you want to set limited access for only test users
or else directly click on SAVE AND CONTINUE.
Cloud Backup for Magento 2 © Meetanshi
o The next screen is Summary page, check whether all entered information is correct or not.
o From the Publishing status section, click on PUBLISH APP.
Cloud Backup for Magento 2 © Meetanshi
o It displays a dialog box that asks for your confirmation for publishing, Click on CONFIRM.
o Now, click the credentials tab from the side panel, select the Application type as Web
application.
o Enter the name of your OAuth client.
o In the Authorized Redirect URLs option, enter the same redirect URL as you entered under
the Redirect URL option in the extension configuration.
o Click on CREATE.
Cloud Backup for Magento 2 © Meetanshi
o It displays a dialog box of OAuth client created.
o Copy the Client ID and Client Secret from here and paste in the Client ID and Client Secret
options of extension configuration.
o Click on OK. Save the extension configuration.
o After finishing the step,
click {yourstore.com}/mtautobackup/action/googlecallback/key/7fc0839706592506419b
b44f7aee0511425fca6a408ae7370c9549d173f69528/ to get the Client token. Grant
permission and click “Continue”.
Cloud Backup for Magento 2 © Meetanshi
o Once the permission is allowed, it automatically redirects to the redirect URL and generates
client token. Copy that client token and paste it in the extension configuration.
The Google Drive storage settings will look like this after configuration.
Cloud Backup for Magento 2 © Meetanshi
o Dropbox: Select to upload and save the backup files in Dropbox.
▪ Access Token: Enter the access token received after registration with Dropbox. Follow
the steps https://www.dropbox.com/developers/reference/getting-
started?_tk=guides_lp&_ad=guides2&_camp=get_started#app%20console to get the
access token.
4. Auto Backup Schedule Settings
Using the extension, you can schedule to take regular backup of your store on the specific time.
• Frequency: Select the frequency of the regular backup from daily, weekly or monthly.
• Start Time: Set the start time of the backup based on the set frequency.
• Enable Maintenance Mode While Backup: Select YES to enable maintenance mode while
backup is ongoing.
5. Backup Exclusion Settings
You can exclude specific directories and database tables from scheduled or manual backup. Enter
the directory path and database table name to exclude from the backup.
Cloud Backup for Magento 2 © Meetanshi
6. Admin Email Notification Settings
The extension facilitates to send an Email notification to the admin whenever a backup is
completed and file is uploaded to the file storage option. Configure the settings from here.
• Send Email Notifications to Admin: Select YES to send Email notification to the admin when
the backup is completed.
• Email ID: Enter the Email ID of an admin to get Email notification when the backup is
completed.
• Email Sender: Select the Email sender from the dropdown.
• Email Template: Select the Email template.
7. Backup Deletion Settings
The extension facilitates to delete old backup files from the file storage option. You can schedule
to delete old backup files regularly after set days.
• Delete Old Backups: Select YES to delete old backup files uploaded in the cloud storage.
• Days: Enter the number of days after which you want to delete the backup files from the
cloud storage.
Cloud Backup for Magento 2 © Meetanshi
8. Backup in Cloud Storage
Once the backup is completed and uploaded in the cloud storage, you can see the backup files
under a separate folder named “Magento Backups”.
• Backup Files in Google Drive
• Backup Files in Dropbox
Cloud Backup for Magento 2 © Meetanshi
• Backup Completion Email to Admin

More Related Content

Similar to Magento 2 Cloud Backup

Magento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJetty
Magento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJettyMagento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJetty
Magento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJettyAppJetty
 
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
Uk Nuke Facebook Connect Authentication For Dot Net NukeUk Nuke Facebook Connect Authentication For Dot Net Nuke
Uk Nuke Facebook Connect Authentication For Dot Net NukeStuart Lodge
 
MuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On Premise
MuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On PremiseMuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On Premise
MuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On PremiseJitendra Bafna
 
Magento SEO Hub Extension
Magento SEO Hub ExtensionMagento SEO Hub Extension
Magento SEO Hub ExtensionAppJetty
 
ImplementationGuide-220920-101456.pdf
ImplementationGuide-220920-101456.pdfImplementationGuide-220920-101456.pdf
ImplementationGuide-220920-101456.pdfspikecloudcloud
 
Beginner’s guide for birt and php
Beginner’s guide for birt and phpBeginner’s guide for birt and php
Beginner’s guide for birt and phpPinnove .
 
Installation of SG using Buffalo NAS
Installation of SG using Buffalo NASInstallation of SG using Buffalo NAS
Installation of SG using Buffalo NASRevolucion
 
MageMob Cart Android & iOS Application
MageMob Cart Android & iOS ApplicationMageMob Cart Android & iOS Application
MageMob Cart Android & iOS ApplicationAppJetty
 
Ocodewire year_make_model_extension_demo
Ocodewire year_make_model_extension_demoOcodewire year_make_model_extension_demo
Ocodewire year_make_model_extension_demoMagento oCodewire
 
How to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtensionHow to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtensionLitExtension
 
Symantec CryptoExec for WHMCS - Installation and Management Guide
Symantec CryptoExec for WHMCS - Installation and Management GuideSymantec CryptoExec for WHMCS - Installation and Management Guide
Symantec CryptoExec for WHMCS - Installation and Management GuideSSLRenewals
 
StoreGrid Installation
StoreGrid InstallationStoreGrid Installation
StoreGrid InstallationRevolucion
 
4 sg 2.5.1_installation
4 sg 2.5.1_installation4 sg 2.5.1_installation
4 sg 2.5.1_installationRevolucion
 
SuiteCRM Customer Portal
SuiteCRM Customer PortalSuiteCRM Customer Portal
SuiteCRM Customer PortalAppJetty
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento Ravi Mehrotra
 
Deploy sql express and share point foundation
Deploy sql express and share point foundationDeploy sql express and share point foundation
Deploy sql express and share point foundationTep Chanveasna
 
Spring '22 SFMC Release Notes
Spring '22 SFMC Release NotesSpring '22 SFMC Release Notes
Spring '22 SFMC Release NotesKimmyCoburn1
 

Similar to Magento 2 Cloud Backup (20)

SugarMob Pro
SugarMob ProSugarMob Pro
SugarMob Pro
 
Magento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJetty
Magento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJettyMagento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJetty
Magento Mobile App Builder, Mobile App For Magento Ecommerce Store - AppJetty
 
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
Uk Nuke Facebook Connect Authentication For Dot Net NukeUk Nuke Facebook Connect Authentication For Dot Net Nuke
Uk Nuke Facebook Connect Authentication For Dot Net Nuke
 
MuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On Premise
MuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On PremiseMuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On Premise
MuleSoft Surat Virtual Meetup#37 - Anypoint Monitoring On Premise
 
SCCM HOw to
SCCM HOw toSCCM HOw to
SCCM HOw to
 
Magento SEO Hub Extension
Magento SEO Hub ExtensionMagento SEO Hub Extension
Magento SEO Hub Extension
 
ImplementationGuide-220920-101456.pdf
ImplementationGuide-220920-101456.pdfImplementationGuide-220920-101456.pdf
ImplementationGuide-220920-101456.pdf
 
Beginner’s guide for birt and php
Beginner’s guide for birt and phpBeginner’s guide for birt and php
Beginner’s guide for birt and php
 
Installation of SG using Buffalo NAS
Installation of SG using Buffalo NASInstallation of SG using Buffalo NAS
Installation of SG using Buffalo NAS
 
MageMob Cart Android & iOS Application
MageMob Cart Android & iOS ApplicationMageMob Cart Android & iOS Application
MageMob Cart Android & iOS Application
 
Ocodewire year_make_model_extension_demo
Ocodewire year_make_model_extension_demoOcodewire year_make_model_extension_demo
Ocodewire year_make_model_extension_demo
 
How to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtensionHow to migrate data from 3d Cart to Magento with LitExtension
How to migrate data from 3d Cart to Magento with LitExtension
 
Symantec CryptoExec for WHMCS - Installation and Management Guide
Symantec CryptoExec for WHMCS - Installation and Management GuideSymantec CryptoExec for WHMCS - Installation and Management Guide
Symantec CryptoExec for WHMCS - Installation and Management Guide
 
StoreGrid Installation
StoreGrid InstallationStoreGrid Installation
StoreGrid Installation
 
4 sg 2.5.1_installation
4 sg 2.5.1_installation4 sg 2.5.1_installation
4 sg 2.5.1_installation
 
SuiteCRM Customer Portal
SuiteCRM Customer PortalSuiteCRM Customer Portal
SuiteCRM Customer Portal
 
Mangento
MangentoMangento
Mangento
 
Introduction to Mangento
Introduction to Mangento Introduction to Mangento
Introduction to Mangento
 
Deploy sql express and share point foundation
Deploy sql express and share point foundationDeploy sql express and share point foundation
Deploy sql express and share point foundation
 
Spring '22 SFMC Release Notes
Spring '22 SFMC Release NotesSpring '22 SFMC Release Notes
Spring '22 SFMC Release Notes
 

More from Meetanshi

cupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdfcupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdfMeetanshi
 
Magento 2 QuickBooks Online Integration
Magento 2 QuickBooks Online IntegrationMagento 2 QuickBooks Online Integration
Magento 2 QuickBooks Online IntegrationMeetanshi
 
Magento 2 Zoho CRM Integration
Magento 2 Zoho CRM IntegrationMagento 2 Zoho CRM Integration
Magento 2 Zoho CRM IntegrationMeetanshi
 
Magento 2 Infinite Scroll
Magento 2 Infinite Scroll Magento 2 Infinite Scroll
Magento 2 Infinite Scroll Meetanshi
 
Magento 2 Sequel Logistics
Magento 2 Sequel LogisticsMagento 2 Sequel Logistics
Magento 2 Sequel LogisticsMeetanshi
 
Magento 2 CBK T-Pay
Magento 2 CBK T-PayMagento 2 CBK T-Pay
Magento 2 CBK T-PayMeetanshi
 
Magento 2 M-Pesa Payment
Magento 2 M-Pesa PaymentMagento 2 M-Pesa Payment
Magento 2 M-Pesa PaymentMeetanshi
 
Magento 2 BTSWholesaler Dropshipping
Magento 2 BTSWholesaler DropshippingMagento 2 BTSWholesaler Dropshipping
Magento 2 BTSWholesaler DropshippingMeetanshi
 
Magento 2 Size Chart
Magento 2 Size ChartMagento 2 Size Chart
Magento 2 Size ChartMeetanshi
 
Magento 2 Inventory Report
Magento 2 Inventory ReportMagento 2 Inventory Report
Magento 2 Inventory ReportMeetanshi
 
Magento 2 facebook Store Integration
Magento 2 facebook Store IntegrationMagento 2 facebook Store Integration
Magento 2 facebook Store IntegrationMeetanshi
 
Magento Cookie Notice
Magento Cookie NoticeMagento Cookie Notice
Magento Cookie NoticeMeetanshi
 
Magento Order Verification
Magento Order VerificationMagento Order Verification
Magento Order VerificationMeetanshi
 
Magento Facebook Chat
Magento Facebook ChatMagento Facebook Chat
Magento Facebook ChatMeetanshi
 
Magento WhatsApp Notifications
Magento WhatsApp NotificationsMagento WhatsApp Notifications
Magento WhatsApp NotificationsMeetanshi
 
Magento 2 Saved Credit Card
Magento 2 Saved Credit CardMagento 2 Saved Credit Card
Magento 2 Saved Credit CardMeetanshi
 
Magento 2 Rave Payment Gateway
Magento 2 Rave Payment GatewayMagento 2 Rave Payment Gateway
Magento 2 Rave Payment GatewayMeetanshi
 
Magento 2 Email Attachments
Magento 2 Email AttachmentsMagento 2 Email Attachments
Magento 2 Email AttachmentsMeetanshi
 
Magento 2 Call for Price
Magento 2 Call for PriceMagento 2 Call for Price
Magento 2 Call for PriceMeetanshi
 
Magento 2 SMS Notification
Magento 2 SMS NotificationMagento 2 SMS Notification
Magento 2 SMS NotificationMeetanshi
 

More from Meetanshi (20)

cupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdfcupdf.com_magento-2-mobile-login.pdf
cupdf.com_magento-2-mobile-login.pdf
 
Magento 2 QuickBooks Online Integration
Magento 2 QuickBooks Online IntegrationMagento 2 QuickBooks Online Integration
Magento 2 QuickBooks Online Integration
 
Magento 2 Zoho CRM Integration
Magento 2 Zoho CRM IntegrationMagento 2 Zoho CRM Integration
Magento 2 Zoho CRM Integration
 
Magento 2 Infinite Scroll
Magento 2 Infinite Scroll Magento 2 Infinite Scroll
Magento 2 Infinite Scroll
 
Magento 2 Sequel Logistics
Magento 2 Sequel LogisticsMagento 2 Sequel Logistics
Magento 2 Sequel Logistics
 
Magento 2 CBK T-Pay
Magento 2 CBK T-PayMagento 2 CBK T-Pay
Magento 2 CBK T-Pay
 
Magento 2 M-Pesa Payment
Magento 2 M-Pesa PaymentMagento 2 M-Pesa Payment
Magento 2 M-Pesa Payment
 
Magento 2 BTSWholesaler Dropshipping
Magento 2 BTSWholesaler DropshippingMagento 2 BTSWholesaler Dropshipping
Magento 2 BTSWholesaler Dropshipping
 
Magento 2 Size Chart
Magento 2 Size ChartMagento 2 Size Chart
Magento 2 Size Chart
 
Magento 2 Inventory Report
Magento 2 Inventory ReportMagento 2 Inventory Report
Magento 2 Inventory Report
 
Magento 2 facebook Store Integration
Magento 2 facebook Store IntegrationMagento 2 facebook Store Integration
Magento 2 facebook Store Integration
 
Magento Cookie Notice
Magento Cookie NoticeMagento Cookie Notice
Magento Cookie Notice
 
Magento Order Verification
Magento Order VerificationMagento Order Verification
Magento Order Verification
 
Magento Facebook Chat
Magento Facebook ChatMagento Facebook Chat
Magento Facebook Chat
 
Magento WhatsApp Notifications
Magento WhatsApp NotificationsMagento WhatsApp Notifications
Magento WhatsApp Notifications
 
Magento 2 Saved Credit Card
Magento 2 Saved Credit CardMagento 2 Saved Credit Card
Magento 2 Saved Credit Card
 
Magento 2 Rave Payment Gateway
Magento 2 Rave Payment GatewayMagento 2 Rave Payment Gateway
Magento 2 Rave Payment Gateway
 
Magento 2 Email Attachments
Magento 2 Email AttachmentsMagento 2 Email Attachments
Magento 2 Email Attachments
 
Magento 2 Call for Price
Magento 2 Call for PriceMagento 2 Call for Price
Magento 2 Call for Price
 
Magento 2 SMS Notification
Magento 2 SMS NotificationMagento 2 SMS Notification
Magento 2 SMS Notification
 

Recently uploaded

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 

Recently uploaded (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 

Magento 2 Cloud Backup

  • 1. Cloud Backup for Magento 2 © Meetanshi Cloud Backup for Magento 2 User Guide Table of Content 1. Extension Installation Guide 2. Configuration 3. Backup Storage Settings 4. Auto Backup Schedule Settings 5. Backup Exclusion Settings 6. Admin Email Notification Settings 7. Backup Deletion Settings 8. Backup in Cloud Storage
  • 2. Cloud Backup for Magento 2 © Meetanshi 1. Extension Installation • For Magento Marketplace Customers o Find the Composer name and version of the extension in the extension’s composer.json file. o Login to your SSH and run: ▪ composer require meetanshi/magento-2-cloud-backup ▪ composer require google/apiclient:^2.0 o Enter your authentication keys. Your public key is your username; your private key is your password. o Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors. o To verify that the extension installed properly, run the command: ▪ php bin/magento module:status Meetanshi_AutoBackup o By default, the extension is probably disabled. o Enable the extension and clear static view files: ▪ php bin/magento module:enable Meetanshi_AutoBackup --clear-static-content ▪ php bin/magento setup:upgrade ▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪ php bin/magento cache:flush • For Meetanshi Customers o Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP. o Login to your SSH and run below commands step by step: ▪ composer require google/apiclient:^2.0 ▪ php bin/magento setup:upgrade ▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪ php bin/magento cache:flush Note: Don’t forget to install Google Drive library even if you are not using Google Drive as backup storage option.
  • 3. Cloud Backup for Magento 2 © Meetanshi 2. Configuration To configure the extension, login to Magento 2 backend, move to Stores → Configuration → Meetanshi → Cloud Backup, where you can find various settings to configure the extension. • Cloud Backup: Enable or disable Cloud Backup for Magento 2 extension from here. • Backup Type: Select one of the backup types: o Database: Select to create backup of the database. ▪ Database Backup Format: Select the database format to backup. o Database and Media: Select to create backup of the database and the media folder. o System: Select to create a complete backup of the database and the file system. o System (excluding Media): Select to create backup of the file system excluding media folder. • Backup Manually: Click “Run Now” button to take the backup manually. Note: Don’t forget to “Enable Backup” option to YES from Stores > Configuration > Advanced > System > Backup Settings to make the cloud backup extension work.
  • 4. Cloud Backup for Magento 2 © Meetanshi 3. Backup Storage Settings The extension facilitates to upload and save the store backup either in Google Drive or in Dropbox. Select one of the file storage options to upload backup and configure related settings. • Select File Storage Option to Upload Backup: Select one of the backup file storage options. o Google Drive: Select to upload and save the backup files in Google Drive. ▪ Client ID: Enter the client ID you received after the registration with Google Drive. ▪ Client Secret: Enter the client secret you received after the registration with Google Drive. ▪ Redirect URL: Enter the redirect URL as {{store_url}}/mtautobackup/index/getcode ▪ Client Token: Enter the client token you received after the registration with Google Drive. Follow the steps below to get the client ID, client secret and client token for the Google Drive. o Go to Google API Console. o Create a project by clicking "Select a project" (at the top). o Click on the NEW PROJECT button. o On the next screen, enter your project name and click on create button.
  • 5. Cloud Backup for Magento 2 © Meetanshi o After the project is created, click on APIs and Services from the left panel and select Dashboard from its sub-options. o From the Dashboard, click on ENABLE APIS AND SERVICES.
  • 6. Cloud Backup for Magento 2 © Meetanshi o Now search for Google Drive API in the search box and click when displayed. o Click on the ENABLE button to enable the Google Drive API.
  • 7. Cloud Backup for Magento 2 © Meetanshi o Now configure the APIs and Services of Google Drive API by clicking CREATE CREDENTIALS option and selecting the OAuth client ID option. o Now, Select External user type from the OAuth consent screen and click on CREATE.
  • 8. Cloud Backup for Magento 2 © Meetanshi o Enter the app information like your app name, user support Email, app/website logo under the App Information section. o Under the App domain section, enter the homepage URL of your webstore. o Enter the public privacy policy link in the Application privacy policy link field. o Enter an authorized domain in the next option. o Enter an authentic Email address under Developer Contact Information section for Google to notify you about any changes on your project. Click “Save and Continue”.
  • 9. Cloud Backup for Magento 2 © Meetanshi o In the second step of the OAuth consent screen, click on SAVE AND CONTINUE button to redirect to the next step. o In the next Test Users step, add test user if you want to set limited access for only test users or else directly click on SAVE AND CONTINUE.
  • 10. Cloud Backup for Magento 2 © Meetanshi o The next screen is Summary page, check whether all entered information is correct or not. o From the Publishing status section, click on PUBLISH APP.
  • 11. Cloud Backup for Magento 2 © Meetanshi o It displays a dialog box that asks for your confirmation for publishing, Click on CONFIRM. o Now, click the credentials tab from the side panel, select the Application type as Web application. o Enter the name of your OAuth client. o In the Authorized Redirect URLs option, enter the same redirect URL as you entered under the Redirect URL option in the extension configuration. o Click on CREATE.
  • 12. Cloud Backup for Magento 2 © Meetanshi o It displays a dialog box of OAuth client created. o Copy the Client ID and Client Secret from here and paste in the Client ID and Client Secret options of extension configuration. o Click on OK. Save the extension configuration. o After finishing the step, click {yourstore.com}/mtautobackup/action/googlecallback/key/7fc0839706592506419b b44f7aee0511425fca6a408ae7370c9549d173f69528/ to get the Client token. Grant permission and click “Continue”.
  • 13. Cloud Backup for Magento 2 © Meetanshi o Once the permission is allowed, it automatically redirects to the redirect URL and generates client token. Copy that client token and paste it in the extension configuration. The Google Drive storage settings will look like this after configuration.
  • 14. Cloud Backup for Magento 2 © Meetanshi o Dropbox: Select to upload and save the backup files in Dropbox. ▪ Access Token: Enter the access token received after registration with Dropbox. Follow the steps https://www.dropbox.com/developers/reference/getting- started?_tk=guides_lp&_ad=guides2&_camp=get_started#app%20console to get the access token. 4. Auto Backup Schedule Settings Using the extension, you can schedule to take regular backup of your store on the specific time. • Frequency: Select the frequency of the regular backup from daily, weekly or monthly. • Start Time: Set the start time of the backup based on the set frequency. • Enable Maintenance Mode While Backup: Select YES to enable maintenance mode while backup is ongoing. 5. Backup Exclusion Settings You can exclude specific directories and database tables from scheduled or manual backup. Enter the directory path and database table name to exclude from the backup.
  • 15. Cloud Backup for Magento 2 © Meetanshi 6. Admin Email Notification Settings The extension facilitates to send an Email notification to the admin whenever a backup is completed and file is uploaded to the file storage option. Configure the settings from here. • Send Email Notifications to Admin: Select YES to send Email notification to the admin when the backup is completed. • Email ID: Enter the Email ID of an admin to get Email notification when the backup is completed. • Email Sender: Select the Email sender from the dropdown. • Email Template: Select the Email template. 7. Backup Deletion Settings The extension facilitates to delete old backup files from the file storage option. You can schedule to delete old backup files regularly after set days. • Delete Old Backups: Select YES to delete old backup files uploaded in the cloud storage. • Days: Enter the number of days after which you want to delete the backup files from the cloud storage.
  • 16. Cloud Backup for Magento 2 © Meetanshi 8. Backup in Cloud Storage Once the backup is completed and uploaded in the cloud storage, you can see the backup files under a separate folder named “Magento Backups”. • Backup Files in Google Drive • Backup Files in Dropbox
  • 17. Cloud Backup for Magento 2 © Meetanshi • Backup Completion Email to Admin