cancel
Showing results for 
Search instead for 
Did you mean: 

Slow backup restore [Magento 2.1.0]

0 Kudos

Slow backup restore [Magento 2.1.0]

Feature request from RG-1, posted on GitHub Jul 10, 2016

Steps to reproduce

  1. Magento 2.1.0
  2. Make a backup of db: bin/magento setup:backup --db
  3. Import a lot of data or generate it: bin/magento setupSmiley Tongueerformance:generate-fixtures <your Magento install dir>/setup/performance-toolkit/profiles/ce/large.xml
  4. Restore the backup: bin/magento setup:rollback --db-file <your backup name>_db.sql

Expected result

  1. Backup restoring should be pretty quick.
  2. The process should use full CPU speed.

Actual result

  1. Backup restoring takes a lot of time.
  2. The process uses just 10% of CPU.