Skip to main content

Database Restorations

Comments

2 comments

  • kodeslogic
    Yes possible. The name of the database backup file doesn't matter much. You can transfer the cpanelusername1_dbname.sql to a new server and with the root user use the below command to restore. example: #mysql database_name < database_backup.sql (command for root user) Or #mysql -u [database_user] -p [database_name] < database_backup.sql (command for non-root user)
    In your case on the new server it will be: #mysql cpanelusername2_dbname < cpanelusername1_dbname.sql (command for root user)
    0
  • cPRex Jurassic Moderator
    Thanks @kodeslogic
    0

Please sign in to leave a comment.