The following shell command (executed from your Magento 2 root folder) allows you to create a database backup of your Magento 2 store.

php bin/magento setup:backup --db
Creating database backup on 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.
Tags: