• Greetings!

    I am running a small WordPress website from home and would like to migrate to a new locally installed server. I have installed and configured everything nearly the same on the new machine and if I browse to it, I am prompted to install WordPress. At this point, I think I should be able to just restore everything? I have a complete backup including a .sql file of the database. I did try issuing this command:

    mysqldump -u root -pMY_PASS NEW_DATABASE < BACKED_UP_DATABASE.sql

    after uploading all the files to the server and while it completes successfully, I am still prompted to install WordPress.

    Could someone guide me on this restore process?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dion

    (@diondesigns)

    I think what you want is this:

    mysql -u root -pMY_PASS NEW_DATABASE < BACKED_UP_DATABASE.sql
    
    Thread Starter Lee

    (@junior)

    @diondesigns Can’t thank you enough! That was it!

    Much appreciated!

    @johnwong11 Thank you for your help as well!

    • This reply was modified 5 years, 4 months ago by Lee.
    • This reply was modified 5 years, 4 months ago by Lee.

    You should have to use the WordPress migration plugin to easily backup and restore your whole website, and also support database restore so you don’t need backup your database.

    iriegerencia

    (@iriegerencia)

    I have the same problem but i dont know what to do with this code
    mysql -u root -pMY_PASS NEW_DATABASE < BACKED_UP_DATABASE.sql
    Where i put it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help me restore from backup’ is closed to new replies.