When you remove a module manually or re import a database, some times you have a message like "The following module is missing from the file system...". this is due to deleted modules.
Drush allow to download and install drupal core, drupal modules and drupal themes.
Note : It is recommended to use composer to manage drupal 8, modules and themes.
drush_invoke (For the current site)
drush_invoke($command, $arguments = array());
Export Drupal 8 MySQL Database via Drush
drush sql-dump > /pathto/mysql-dump-drupal8.sql
Import Drupal 8 and MySQL Database via Drush
mysql> source /pathto/mysql-dump-drupal8.sql
Features is a drupal contrib module enables the capture and management of features in Drupal, by providing a UI and API for taking different site building components from modules with exportables and bundling them together in a single feature module.
1. Go to Administration > Configuration > Development > Performance
2. Click on "Clear all caches"
drush migrate-upgrade --legacy-db-url=mysql://user:password@server/db --legacy-root=http://mydrupal6or7site.com
# Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. php -r "readfile('http://files.drush.org/drush.phar');" > drush #
To handle drupal with drust, First of all, you must install drush, and execute drush command from your drupal instalation folder.