Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Could you elaborate on how the WordPress contents were backed up? Did it happen through a plugin, or manually?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    158
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,827
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can follow the import instructions if you prefer to use this plugin:

    All-in-One WP Migration — WordPress Plugins

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice