{"id":700,"date":"2023-08-24T16:23:25","date_gmt":"2023-08-24T10:53:25","guid":{"rendered":"https:\/\/www.support.webeyesoft.com\/docs\/others\/restore-wordpress-website-from-normal-backup\/"},"modified":"2023-08-24T16:59:53","modified_gmt":"2023-08-24T11:29:53","slug":"restore-wordpress-website-from-normal-backup","status":"publish","type":"docs","link":"https:\/\/www.webeyesoft.com\/blog\/docs\/others\/restore-wordpress-website-from-normal-backup\/","title":{"rendered":"Restore WordPress website from normal backup"},"content":{"rendered":"<p>On this tutorial ,We will know how to restore WordPress file and database to new hosting or old hosting .<\/p>\n<p>If you do not know how to create backup from control panel , Please have a look on this tutorial <a href=\"https:\/\/www.support.webeyesoft.com\/docs\/cpanel-hosting\/how-to-move-website-cpanel-to-cpanel\/\">Create backup of WordPress website\u00a0\u00a0<\/a><\/p>\n<p>Now you have backup of database and SQL file .<\/p>\n<ol>\n<li>Login to Control panel and go to file manager. Find right folder of domain name . (<em> You can find what is folder name on domain section<\/em> )<\/li>\n<\/ol>\n<p>And upload your zip file to public_html ( See below screenshot )<\/p>\n<figure id=\"attachment_702\" aria-describedby=\"caption-attachment-702\" style=\"width: 1336px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/upload-your-backup.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-702\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/upload-your-backup.png\" alt=\"upload-your-backup\" width=\"1336\" height=\"610\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/upload-your-backup.png 1336w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/upload-your-backup-300x137.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/upload-your-backup-1024x468.png 1024w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/upload-your-backup-768x351.png 768w\" sizes=\"auto, (max-width: 1336px) 100vw, 1336px\" \/><\/a><figcaption id=\"caption-attachment-702\" class=\"wp-caption-text\">upload-your-backup<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>2. Once backup is uploaded . Now unzip (Extract) by right click on file ( See Screenshot )<\/p>\n<p><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/unzip-backup-file.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-703\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/unzip-backup-file.png\" alt=\"\" width=\"1313\" height=\"601\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/unzip-backup-file.png 1313w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/unzip-backup-file-300x137.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/unzip-backup-file-1024x469.png 1024w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/unzip-backup-file-768x352.png 768w\" sizes=\"auto, (max-width: 1313px) 100vw, 1313px\" \/><\/a><\/p>\n<p>3. If its extracted with sub folder , Move all files from sub-folder to public_html . ( See Below two screenshots )<\/p>\n<p><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/move-file-subfolder-to-public_html.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-704\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/move-file-subfolder-to-public_html.png\" alt=\"\" width=\"1352\" height=\"605\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/move-file-subfolder-to-public_html.png 1352w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/move-file-subfolder-to-public_html-300x134.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/move-file-subfolder-to-public_html-1024x458.png 1024w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/move-file-subfolder-to-public_html-768x344.png 768w\" sizes=\"auto, (max-width: 1352px) 100vw, 1352px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/select-all-and-move-to-public_html.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-705\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/select-all-and-move-to-public_html.png\" alt=\"\" width=\"1333\" height=\"911\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/select-all-and-move-to-public_html.png 1333w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/select-all-and-move-to-public_html-300x205.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/select-all-and-move-to-public_html-1024x700.png 1024w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/select-all-and-move-to-public_html-768x525.png 768w\" sizes=\"auto, (max-width: 1333px) 100vw, 1333px\" \/><\/a><\/p>\n<p>4. Create database on control panel:<\/p>\n<p>Back to the control panel then go to Mysql Manager Next click on Create Database. In this process note down the database name, username and password ,which will require to next step , \u00a0( for cPanel or other control panel , You may need to set PRIVILEGES\u00a0( <a href=\"https:\/\/www.support.webeyesoft.com\/docs\/cpanel-hosting\/how-to-move-website-cpanel-to-cpanel\/#:~:text=Set%20PRIVILEGES%20as%20you%20want\">See this tutorial<\/a>\u00a0 )<\/p>\n<p>See screenshot below<\/p>\n<p><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/database-create.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-707\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/database-create.png\" alt=\"\" width=\"1338\" height=\"582\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/database-create.png 1338w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/database-create-300x130.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/database-create-1024x445.png 1024w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/database-create-768x334.png 768w\" sizes=\"auto, (max-width: 1338px) 100vw, 1338px\" \/><\/a><\/p>\n<p>5. Now again back to file manager open wp-config[dot]php file from public_html and update database , Username and password from last step, and save this file.<\/p>\n<p><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/update-database-username-passwored.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-706\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/update-database-username-passwored.png\" alt=\"\" width=\"1329\" height=\"552\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-database-username-passwored.png 1329w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-database-username-passwored-300x125.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-database-username-passwored-1024x425.png 1024w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-database-username-passwored-768x319.png 768w\" sizes=\"auto, (max-width: 1329px) 100vw, 1329px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>6. Now you need to upload your SQL file to that database using phpmyadmin .<\/p>\n<p>So\u00a0 back to\u00a0 Control panel and go to phpmyadmin and select database that you created for this website and go to import section and upload your .SQL file from your backup .<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2020\/10\/import.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>All Done . If your domain name is new then you need to update new domain name under wp_option table on same database that you just imported\u00a0 .<br \/>\nPlease have a look on below screenshot<\/p>\n<p><a href=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/update-new-domain-name.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-708\" src=\"https:\/\/www.support.webeyesoft.com\/wp-content\/uploads\/2023\/08\/update-new-domain-name.png\" alt=\"\" width=\"994\" height=\"574\" srcset=\"https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-new-domain-name.png 994w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-new-domain-name-300x173.png 300w, https:\/\/www.webeyesoft.com\/blog\/wp-content\/uploads\/2023\/08\/update-new-domain-name-768x443.png 768w\" sizes=\"auto, (max-width: 994px) 100vw, 994px\" \/><\/a><\/p>\n","protected":false},"featured_media":0,"parent":13,"menu_order":28,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-700","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs\/700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/comments?post=700"}],"version-history":[{"count":2,"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs\/700\/revisions"}],"predecessor-version":[{"id":709,"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs\/700\/revisions\/709"}],"up":[{"embeddable":true,"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs\/13"}],"next":[{"title":"How To add Records on DNS from Control Panel","link":"https:\/\/www.webeyesoft.com\/blog\/docs\/others\/how-to-add-records-on-dns-from-control-panel\/","href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs\/714"}],"prev":[{"title":"Setup SMTP with WordPress contact form","link":"https:\/\/www.webeyesoft.com\/blog\/docs\/others\/setup-smtp-with-wordpress-contact-form\/","href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/docs\/695"}],"wp:attachment":[{"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/media?parent=700"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.webeyesoft.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}