1 / 17

Magento 2 Cloud Backup

Backup your important Magento 2 data on the cloud storage using Meetanshiu2019s Magento 2 Cloud Backup.<br><br>Data is the new currency, and fuels the eCommerce businesses. No online business owner can afford losing their important data. Therefore, it becomes essential for them to back up their storeu2019s data regularly to avoid data loss in case of any technical incidence.<br><br>Read more at: https://meetanshi.com/magento-2-cloud-backup.html

Meetanshi
Télécharger la présentation

Magento 2 Cloud Backup

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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 Magento2 © Meetanshi

  2. 1.Extension Installation •For Magento Marketplace Customers oFind the Composer name and version of the extension in the extension’s composer.json file. oLogin to your SSH and run: ▪composer require meetanshi/magento-2-cloud-backup ▪composer require google/apiclient:^2.0 oEnter your authentication keys.Your public key is your username; your private key is your password. oWait for Composer to finish updating your project dependencies and make sure there aren’t any errors. oTo verify that the extension installed properly, run the command: ▪php bin/magento module:status Meetanshi_AutoBackup oBy default, the extension is probably disabled. oEnable 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 oExtract the zip folder and upload our extension to the root of your Magento 2 directory via FTP. oLogin 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 Magento2 © Meetanshi

  3. 2.Configuration To configure the extension, login to Magento 2 backend, move to Stores → 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: oDatabase: Select to create backup of the database. ▪Database Backup Format: Select the database format to backup. oDatabase and Media: Select to create backup of the database and the media folder. oSystem: Select to create a complete backup of the database and the file system. oSystem (excluding Media): Select to create backup of the file system excluding media folder. •Backup Manually: Click “Run Now” button to take the backup manually. → Configuration → → 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 Magento2 © Meetanshi

  4. 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. oGoogle 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. oGo to Google API Console. oCreate a project by clicking "Select a project" (at the top). oClick on the NEW PROJECT button. oOn the next screen, enter your project name and click on create button. Cloud Backup for Magento2 © Meetanshi

  5. oAfter the project is created, click on APIs and Services from the left panel and select Dashboard from its sub-options. oFrom the Dashboard, click on ENABLE APIS AND SERVICES. Cloud Backup for Magento2 © Meetanshi

  6. oNow search for Google Drive API in the search box and click when displayed. oClick on the ENABLE button to enable the Google Drive API. Cloud Backup for Magento2 © Meetanshi

  7. oNow configure the APIs and Services of Google Drive API by clicking CREATE CREDENTIALS option and selecting the OAuth client ID option. oNow, Select External user type from the OAuth consent screen and click on CREATE. Cloud Backup for Magento2 © Meetanshi

  8. oEnter the app information like your app name, user support Email, app/website logo under the App Information section. oUnder the App domain section, enter the homepage URL of your webstore. oEnter the public privacy policy link in the Application privacy policy link field. oEnter an authorized domain in the next option. oEnter 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 Magento2 © Meetanshi

  9. oIn the second step of the OAuth consent screen, click on SAVE AND CONTINUE button to redirect to the next step. oIn 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 Magento2 © Meetanshi

  10. oThe next screen is Summary page, check whether all entered information is correct or not. oFrom the Publishing status section, click on PUBLISH APP. Cloud Backup for Magento2 © Meetanshi

  11. oIt displays a dialog box that asks for your confirmation for publishing, Click on CONFIRM. oNow, click the credentials tab from the side panel, select the Application type as Web application. oEnter the name of your OAuth client. oIn the Authorized Redirect URLs option, enter the same redirect URL as you entered under the Redirect URL option in the extension configuration. oClick on CREATE. Cloud Backup for Magento2 © Meetanshi

  12. oIt displays a dialog box of OAuth client created. oCopy the Client ID and Client Secret from here and paste in the Client ID and Client Secret options of extension configuration. oClick on OK. Save the extension configuration. oAfter 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 Magento2 © Meetanshi

  13. oOnce 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 Magento2 © Meetanshi

  14. oDropbox: 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 Magento2 © Meetanshi

  15. 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 Magento2 © Meetanshi

  16. 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 Magento2 © Meetanshi

  17. •Backup Completion Email to Admin Cloud Backup for Magento2 © Meetanshi

More Related