The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Restore a WordPress Installation from 3rd party backup

Discussion in 'Data Protection' started by jennifer ettia, Apr 21, 2016.

  1. jennifer ettia

    jennifer ettia Registered

    Joined:
    Apr 21, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    sydney
    cPanel Access Level:
    Reseller Owner
    Hello

    I am looking for information on how to install a full wordpress backup file to a new cpanel both on my reseller server. Can I do this through cpanel? How do I make sure the URLs get updated too?
     
    #1 jennifer ettia, Apr 21, 2016
    Last edited by a moderator: Apr 25, 2016
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    34
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Tamworth, United Kingdom
    Hello Jennifer,

    There is no single easy way to do this but here are some steps for you.

    1. Create the cpanel account.
    2. in cPanel - setup a mysql database, user and assign the user to the database.
    3. Open the .sql dump file in a decent plain text editor and search/replace the old server path with your new path (may be something like /var/www/mysite.com/htdocs to /home/mysite/public_html)
    4. Do the same for the website url if the address is changing (myoldsite.com to mysite.com)
    5. Open phpmyadmin in cPanel and import the new (search/replaced) sql dump file.
    6. Extract the tar.gz or upload the wordpress files to the public_html folder.
    7. open the wp-config.php in a text editor and ensure that the database host is localhost and username/password/database are correct with your new settings.
    8. Hopefully the site will work, unless you need to do soemthing with DNS.

    Richard
     
  4. jennifer ettia

    jennifer ettia Registered

    Joined:
    Apr 21, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    sydney
    cPanel Access Level:
    Reseller Owner
    They were downloaded through to my computer using a plugin called All-in-one-wp-migration
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can follow the import instructions if you prefer to use this plugin:

    All-in-One WP Migration — WordPress Plugins

    Thank you.
     
Loading...

Share This Page