You can backup db through Magento CLI. Try Following cmd into CLI.
php bin/magento setup:backup --db
Also you can backup codebase, media like following ways
php bin/magento setup:backup --code
php bin/magento setup:backup --media
All the backup comes under var/backups directory.