Prerequisites:
Root level SSH access to the server
WP-CLI installed.
Steps:
1. After connecting to the server, move to the directory where your wp-config file resides
cd /home/rootadminz/public_html
2. Run the following command to take backup :
wp export