Root level SSH access to server

WP-CLI installed.



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 import the database :


wp db import rootadminz_database.sql


This will successfully import the backed up db sql file into the WordPress database.


Was this answer helpful? 0 Users Found This Useful (0 Votes)