Title: UpdraftPlus Create and restore backup error
Last modified: January 27, 2025

---

# UpdraftPlus Create and restore backup error

 *  Resolved [Andi](https://wordpress.org/support/users/andiastonmartin/)
 * (@andiastonmartin)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/updraftplus-create-and-restore-backup-error/)
 * Hello,
   I have noticed that UpdraftPlus creates a folder during backup, especially
   during restore in Localwp that does not exist on the live website. As a result,
   after the restore in WordPressthis error appears on the plugin page :Warning:
   file_get_contents(C:\Users\andi-\Local Sites\andilocal\app\public/wp-content/
   advanced-cache.php): Failed to open stream: Permission denied in C:\Users\andi-\
   Local Sites\andilocal\app\public\wp-includes\functions.php on line 6893On the
   live website in the wp-content/ folder is the file “ advanced-cache.php ” which
   is correct.The following:1) I have created a backup on the live website2) Imported
   this backup with Restore in Localwp3) But this file is in :C:\Users\andi-\Local
   Sites\andilocal\app\public/wp-content/advanced-cache.phpbut UpdraftPlus has created
   a **folder** in wp-content with the same **name “advanced-cache.php**” and in
   this folder is the correct file.I deleted the folder and only the file “advanced-
   cache.php” in wp-content/and the error was fixed.There seems to have been an 
   error during backup and restore that should be fixed.GreetingsAndi

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

 *  Plugin Support [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * (@vupdraft)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/updraftplus-create-and-restore-backup-error/#post-18270738)
 * I will have a go at replicating this and I will get back to you.
 *  Plugin Support [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * (@vupdraft)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/updraftplus-create-and-restore-backup-error/#post-18319212)
 * Apologies for the delay.
 * I did this test several times but always got the same results.
 * I do have an advanced-cache.php file after restoring but no folder
 * [https://snipboard.io/zJrmbu.jpg](https://snipboard.io/zJrmbu.jpg)
 * I would check that your caching plugin is not adding this file. The advanced-
   cache.php is soley to do with caching, UpdraftPlus does not use this or modify
   it in any way.

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

The topic ‘UpdraftPlus Create and restore backup error’ 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: [vupdraft](https://wordpress.org/support/users/vupdraft/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/updraftplus-create-and-restore-backup-error/#post-18319212)
 * Status: resolved