{"id":8396,"date":"2024-10-23T11:42:44","date_gmt":"2024-10-23T10:42:44","guid":{"rendered":"http:\/\/getglow.io\/?post_type=wiki&#038;p=8396"},"modified":"2024-10-23T11:42:55","modified_gmt":"2024-10-23T10:42:55","slug":"backup-restore-when-you-cant-access-wordpress-dashboard","status":"publish","type":"wiki","link":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/","title":{"rendered":"Restore a backup when you can&#8217;t access WordPress dashboard"},"content":{"rendered":"\n<p>You have a few options available for restore, if the WordPress dashboard currently isn&#8217;t available:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Restore from a backup that your hosting company has taken<\/li>\n\n\n\n<li>Install a new version of WordPress and UpdraftPlus &#8211; then restore from the dashboard (by connecting your 3rd party storage location, it&#8217;ll bring back all the backups you&#8217;ve taken and from there you can restore)<\/li>\n\n\n\n<li>Manual restore<\/li>\n<\/ol>\n\n\n\n<p>This article will focus on the 3rd option above, manual restore.<\/p>\n\n\n\n<p>Here&#8217;s how to do it:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Unpack a fresh copy of WordPress<\/h2>\n\n\n\n<p>If you purchased the \u201cmore files\u201d add-on with UpdraftPlus, skip to Step 2 below.<\/p>\n\n\n\n<p>If you didn&#8217;t, then you first need to get a fresh copy of WordPress core from <a href=\"http:\/\/www.wordpress.org\" target=\"_blank\" rel=\"noreferrer noopener\">their website<\/a>. So, if you are starting from nothing, then first download and unzip a WordPress zip from <a href=\"http:\/\/wordpress.org\/download\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>You will also need to set up a new wp-config.php file, by editing and renaming the wp-config-sample.php file that is included in WordPress, so that it contains your proper database details. Don\u2019t access WordPress itself in your browser until you\u2019ve finished this entire procedure, though \u2013 edit wp-config.php in a text editor. You will also want to copy any other settings you had in your old wp-config.php \u2013 e.g. multisite settings. (If your backup includes a \u201cwpcore\u201d zip, then you can find your old wp-config.php in there. Don\u2019t copy the old database settings, unless you really do intend to use the same database instead of importing the backup as below).<\/p>\n\n\n\n<p>If your site is moving location (i.e. changing URL), then you will also want to add WP_HOME and WP_SITEURL parameters to the wp-config.php file. See&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Editing_wp-config.php#Blog_address_.28URL.29\">here<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/codex.wordpress.org\/Editing_wp-config.php#WordPress_address_.28URL.29\">here<\/a>. (If you do not, then you will not be able to log in).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Unpack the plugins \/ uploads \/ etc<\/h2>\n\n\n\n<p>Unzip the backed-up zip files (i.e. the archives that UpdraftPlus created and stored) for your uploads, themes, plugins and other files back into the wp-content directory. <\/p>\n\n\n\n<p>If your access to your website is via FTP, then that means you would do this for each of the .zip files you have from UpdraftPlus:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Unzip the zip file on your computer<\/li>\n\n\n\n<li>Log in via FTP to your website\u2019s hosting space, and move into the wp-content directory<\/li>\n\n\n\n<li>Copy the contents of the zip file via FTP into wp-content. If done correctly, then for the \u201cplugins\u201d backup, you will be copying over a folder called \u201cplugins\u201d into wp-content, so its final name is wp-content\/plugins. (The \u201cothers\u201d archive will not follow this pattern \u2013 it can have anything in it)<\/li>\n<\/ol>\n\n\n\n<p>If you had the \u201cmore files\u201d add-on, and have a \u201cwpcore\u201d zip, then unzip that one first. That is the zip that contains the \u201cwp-content\u201d directory that you\u2019ll then be extracting the other zips into.<\/p>\n\n\n\n<p><strong>Note: <\/strong>For larger sites, your backup may be split over multiple zip files.<strong>\u00a0<\/strong>For performance reasons, by default, UpdraftPlus splits the data every 400MB. So, you may have more than one \u201cuploads\u201d zip (with names ending in uploads.zip, uploads2.zip, uploads3.zip, etc.). You need to unzip and upload *all* of these, so that the final wp-content\/uploads folder (in this example) is the resulting of merging all those zips (i.e. unzipping them all on top of each other).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Import your database<\/h2>\n\n\n\n<p>Finally re-install the database. Your web hosting provider will almost certainly provide you with access to a database manager \u2013 often\u00a0<a href=\"https:\/\/www.phpmyadmin.net\/\" target=\"_blank\" rel=\"noreferrer noopener\">phpMyAdmin<\/a>.<\/p>\n\n\n\n<p>If your database was not stored with encryption, then you can simply click on the \u2018Import\u2019 function in your database manager, and upload the database file (the file which ends in db.gz). Then you are finished.<\/p>\n\n\n\n<p><strong>Note:<\/strong> some versions of phpMyAdmin only want to accept a database backup for which the filename ends in the pattern \u201c.sql.gz\u201d. You can achieve this by simply renaming the UpdraftPlus backup \u2013 change the filename ending from \u201cdb.gz\u201d to \u201cdb.sql.gz\u201d before uploading it.<\/p>\n\n\n\n<p>If your database needs decrypting (if the file name ends in gz.crypt) then you need to decrypt it before doing the above step.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have a few options available for restore, if the WordPress dashboard currently isn&#8217;t available: This article will focus on the 3rd option above, manual restore. Here&#8217;s how to do it: 1. Unpack a fresh copy of WordPress If you purchased the \u201cmore files\u201d add-on with UpdraftPlus, skip to Step 2 below. If you didn&#8217;t, [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"template":"","meta":{"_acf_changed":false,"footnotes":""},"wiki-sections":[114],"class_list":["post-8396","wiki","type-wiki","status-publish","hentry","wiki-sections-backups"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Restore a backup when you can&#039;t access WordPress dashboard - Glow<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Restore a backup when you can&#039;t access WordPress dashboard - Glow\" \/>\n<meta property=\"og:description\" content=\"You have a few options available for restore, if the WordPress dashboard currently isn&#8217;t available: This article will focus on the 3rd option above, manual restore. Here&#8217;s how to do it: 1. Unpack a fresh copy of WordPress If you purchased the \u201cmore files\u201d add-on with UpdraftPlus, skip to Step 2 below. If you didn&#8217;t, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/\" \/>\n<meta property=\"og:site_name\" content=\"Glow\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-23T10:42:55+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/\",\"url\":\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/\",\"name\":\"Restore a backup when you can't access WordPress dashboard - Glow\",\"isPartOf\":{\"@id\":\"https:\/\/getglow.io\/#website\"},\"datePublished\":\"2024-10-23T10:42:44+00:00\",\"dateModified\":\"2024-10-23T10:42:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/getglow.io\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Restore a backup when you can&#8217;t access WordPress dashboard\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/getglow.io\/#website\",\"url\":\"https:\/\/getglow.io\/\",\"name\":\"Glow\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/getglow.io\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/getglow.io\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/getglow.io\/#organization\",\"name\":\"Glow\",\"url\":\"https:\/\/getglow.io\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/getglow.io\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/getglow.io\/wp-content\/uploads\/2023\/09\/glow-logo.png\",\"contentUrl\":\"http:\/\/getglow.io\/wp-content\/uploads\/2023\/09\/glow-logo.png\",\"width\":200,\"height\":200,\"caption\":\"Glow\"},\"image\":{\"@id\":\"https:\/\/getglow.io\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/get-glow-app\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Restore a backup when you can't access WordPress dashboard - Glow","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/","og_locale":"en_GB","og_type":"article","og_title":"Restore a backup when you can't access WordPress dashboard - Glow","og_description":"You have a few options available for restore, if the WordPress dashboard currently isn&#8217;t available: This article will focus on the 3rd option above, manual restore. Here&#8217;s how to do it: 1. Unpack a fresh copy of WordPress If you purchased the \u201cmore files\u201d add-on with UpdraftPlus, skip to Step 2 below. If you didn&#8217;t, [&hellip;]","og_url":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/","og_site_name":"Glow","article_modified_time":"2024-10-23T10:42:55+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/","url":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/","name":"Restore a backup when you can't access WordPress dashboard - Glow","isPartOf":{"@id":"https:\/\/getglow.io\/#website"},"datePublished":"2024-10-23T10:42:44+00:00","dateModified":"2024-10-23T10:42:55+00:00","breadcrumb":{"@id":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/getglow.io\/wiki\/backup-restore-when-you-cant-access-wordpress-dashboard\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/getglow.io\/"},{"@type":"ListItem","position":2,"name":"Restore a backup when you can&#8217;t access WordPress dashboard"}]},{"@type":"WebSite","@id":"https:\/\/getglow.io\/#website","url":"https:\/\/getglow.io\/","name":"Glow","description":"","publisher":{"@id":"https:\/\/getglow.io\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/getglow.io\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/getglow.io\/#organization","name":"Glow","url":"https:\/\/getglow.io\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/getglow.io\/#\/schema\/logo\/image\/","url":"http:\/\/getglow.io\/wp-content\/uploads\/2023\/09\/glow-logo.png","contentUrl":"http:\/\/getglow.io\/wp-content\/uploads\/2023\/09\/glow-logo.png","width":200,"height":200,"caption":"Glow"},"image":{"@id":"https:\/\/getglow.io\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/get-glow-app"]}]}},"_links":{"self":[{"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/wiki\/8396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/types\/wiki"}],"author":[{"embeddable":true,"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":2,"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/wiki\/8396\/revisions"}],"predecessor-version":[{"id":8398,"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/wiki\/8396\/revisions\/8398"}],"wp:attachment":[{"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/media?parent=8396"}],"wp:term":[{"taxonomy":"wiki-sections","embeddable":true,"href":"https:\/\/getglow.io\/wp-json\/wp\/v2\/wiki-sections?post=8396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}