To back up your Magento 2 database from the command line, run this command from the root directory of your Magento 2 installation:
|
1 |
php bin/magento setup:backup --db |
Creating a database backup from the command line
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.