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

Creating database backup on command line
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!