Bash Script: Easily Backup your Magento2 Code Files + Database

Magento 2 Backup with Bash/Shell Script

We had created a similar Backup Script for Magento1 in the past. Now we are back with the much-improvised version for Magento2. You must be wondering why we needed a bash script for Magento2 backup even it comes up with inbuilt console command: php /path/to/magento2/bin/magento setup:backup -v –code –media –db Some of the reasons are: …

Read more

MySQL Issue: Table storage engine for ‘catalog_product_relation’ doesn’t have this option

When you export the Magento database dump from MySQL 5.5.x and try to import in MySQL 5.7.x, You are likely to face an error: ERROR 1031 (HY000) at line 3002: Table storage engine for ‘catalog_product_relation’ doesn’t have this option PROBLEM This is probably due to the table option that you have in your CREATE TABLE …

Read more

Install Bash Completion for Mac OS-X

Install Bash Completion for Mac OS-X

One of the nicest features of the modern shell is built in “completion” support. This allows you to complete commands and their arguments easily without memorizing. Unfortunately, Mac OS-X bash shell doesn’t have completion feature by default unlike Ubuntu(Debian based Linux OS). But the good thing is you can easily install the auto-completion by using …

Read more