Title: Error when restoring theme
Last modified: November 1, 2023

---

# Error when restoring theme

 *  Resolved [angelicajasmin](https://wordpress.org/support/users/angelicajasmin/)
 * (@angelicajasmin)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-when-restoring-theme/)
 * Hi,
 * I’m trying to restore our theme as far back in time as I have backups though 
   I believe that I somehow have accidentially deleted the “mother theme” of the
   theme we’re using. When trying to restore, all I get is restore failed with this
   log:
 * 0000.002 () Opened log file at time: Wed, 01 Nov 2023 15:16:03 +0000 on [https://arkinova.se](https://arkinova.se)
   0000.003 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.23.10 WP: 6.3.2 PHP: 8.1.24 (apache2handler, FreeBSD s834.loopia.se 13.2-RELEASE-
   p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64) MySQL: 10.6.15-MariaDB-log (max packet
   size=67108864) WPLANG: sv_SE Server: Apache/2.4.57 (FreeBSD) mpm-itk/2.4.7-04
   PHP/8.1.24 safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 82.2M
   | 84M) multisite: N openssl: OpenSSL 1.1.1t-freebsd 7 Feb 2023 mcrypt: N LANG:
   en_GB.UTF-8 ZipArchive::addFile: Y 0000.004 () Free space on disk containing 
   Updraft’s temporary directory: 46246019 MB 0000.014 () Restore setup, now closing
   connection and starting restore over AJAX. 0000.002 () Opened log file at time:
   Wed, 01 Nov 2023 15:16:04 +0000 on [https://arkinova.se](https://arkinova.se)
   0000.003 () UpdraftPlus WordPress backup plugin ([https://updraftplus.com](https://updraftplus.com)):
   1.23.10 WP: 6.3.2 PHP: 8.1.24 (apache2handler, FreeBSD s834.loopia.se 13.2-RELEASE-
   p4 FreeBSD 13.2-RELEASE-p4 GENERIC amd64) MySQL: 10.6.15-MariaDB-log (max packet
   size=67108864) WPLANG: sv_SE Server: Apache/2.4.57 (FreeBSD) mpm-itk/2.4.7-04
   PHP/8.1.24 safe_mode: 0 max_execution_time: 900 memory_limit: 256M (used: 73.6M
   | 76M) multisite: N openssl: OpenSSL 1.1.1t-freebsd 7 Feb 2023 mcrypt: N LANG:
   en_GB.UTF-8 ZipArchive::addFile: Y 0000.004 () Free space on disk containing 
   Updraft’s temporary directory: 46246018.7 MB 0000.012 () Ensuring WP_Filesystem
   is setup for a restore 0000.017 () WP_Filesystem is setup and ready for a restore
   0000.020 () Restore job started. Entities to restore: themes. Restore options:{“
   updraft_encryptionphrase”:””,”updraft_restorer_wpcore_includewpconfig”:false,”
   updraft_incremental_restore_point”:-1} 0000.027 () PHP event: code E_WARNING:
   mkdir(): File exists (line 558, wp-admin/includes/class-wp-filesystem-direct.
   php) 0000.031 () Error message: Existing unremoved folders from a previous restore
   exist (please use the “Delete old folders” button to delete them before trying
   again): /www/webvol9/vk/kaqhtv0al1icamz/arkinova.se/public_html/wp-content/updraft/
   themes-old 0000.033 () Restore failed… 0000.034 () Error message: Existing unremoved
   folders from a previous restore exist (please use the “Delete old folders” button
   to delete them before trying again): /www/webvol9/vk/kaqhtv0al1icamz/arkinova.
   se/public_html/wp-content/updraft/themes-old 0000.035 () Restore failed
 * Can anything be done so that I can restore the theme? Please help.
 * Regards

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [pbevanudp](https://wordpress.org/support/users/pbevanudp/)
 * (@pbevanudp)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/error-when-restoring-theme/#post-17167427)
 * Hello
   The log is complaining about ‘old folders’ having not been removed. These
   folders are used just prior to a restoration in case anything goes wrong. You
   should see a button called Delete old folders – you will need to click this before
   retrying the restoration.
 *  Thread Starter [angelicajasmin](https://wordpress.org/support/users/angelicajasmin/)
 * (@angelicajasmin)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-restoring-theme/#post-17401547)
 * Sorry for the very late response, haven’t had time to look into this until now,
   but won’t deleting the old folders delete the info I need in restoring a very
   old version of the theme?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when restoring theme’ is closed to new replies.

 * ![](https://ps.w.org/updraftplus/assets/icon-256x256.jpg?rev=1686200)
 * [UpdraftPlus: WP Backup & Migration Plugin](https://wordpress.org/plugins/updraftplus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/updraftplus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/updraftplus/)
 * [Active Topics](https://wordpress.org/support/plugin/updraftplus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/updraftplus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/updraftplus/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [angelicajasmin](https://wordpress.org/support/users/angelicajasmin/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/error-when-restoring-theme/#post-17401547)
 * Status: resolved