Title: Failed restoration
Last modified: June 6, 2020

---

# Failed restoration

 *  Resolved [reachingout](https://wordpress.org/support/users/reachingout/)
 * (@reachingout)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-restoration/)
 * Hi.
 * I get this error when restoring:
    Move /home/botasoci/public_html/wp-content/
   languages -> /home/botasoci/public_html/wp-content/languages-old: Failed. Destination
   Directory UID=1090, GID=1093. Effective/real user IDs of the current process:
   1090/1090. Effective/real group IDs of the current process: 1093/1093.
 * I get this error even when the _languages-old_ is deleted before restoring.
    
   I have set the permission to 775 and 664, or 755 and 664, for _languages_ but
   still when restoring the newly created _languages-old_ gets the permisions 755
   and 644 automaticly. So I do not know what to do?

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

 *  Thread Starter [reachingout](https://wordpress.org/support/users/reachingout/)
 * (@reachingout)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-restoration/#post-12950976)
 * And I am always getting a pop-up from WordPress to log-in while restoring (which
   later failes on above mentioned error). That is strange beacuse I am obviously
   logged in while doing the restoration.
 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-restoration/#post-12955140)
 * Hi,
 * To help us work out the cause of your problem, can you please send us a copy 
   of the restoration log only?
    You can find this log in the ‘wp-content/updraft’
   directory of your site via FTP. Please copy the contents into an online tool (
   such as [http://pastebin.com/](http://pastebin.com/) ) and post the link here.
 * Best Wishes,
    Bryle
 *  Thread Starter [reachingout](https://wordpress.org/support/users/reachingout/)
 * (@reachingout)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-restoration/#post-12955794)
 * Hi,
 * Ok, you can see the log files under:
    [https://1drv.ms/u/s!ApPhP1_jV40zgxRWFJqJolLgkRaj?e=fdxYV1](https://1drv.ms/u/s!ApPhP1_jV40zgxRWFJqJolLgkRaj?e=fdxYV1)
 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-restoration/#post-12960311)
 * Hi,
 * Thanks for sending the log.
 * It appears that the restoration has been timed out or killed off while restoring
   the database. Can you please check your host/server admin? The PHP error log 
   should have the exact information as to why the process could not complete.
 * Regards,
    Bryle
 *  Thread Starter [reachingout](https://wordpress.org/support/users/reachingout/)
 * (@reachingout)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/failed-restoration/#post-12961947)
 * Hi,
 * Maybe I discovered something now. When i log the error, I can see this in my 
   debug.log file:
    [09-Jun-2020 17:56:31 UTC] PHP Warning: copy(): The first argument
   to copy() function cannot be a directory in /home/botasoci/public_html/wp-admin/
   includes/class-wp-filesystem-direct.php on line 281
 * So, it complains on this row:
    $rtval = copy( $source, $destination );
 * I have updated my above link to also include the file
    debug.log and class-wp-
   filesystem-direct.php
 *  Thread Starter [reachingout](https://wordpress.org/support/users/reachingout/)
 * (@reachingout)
 * [6 years ago](https://wordpress.org/support/topic/failed-restoration/#post-13001759)
 * Hi,
 * I have been in contact with my host/server admin.
    They said that from what they
   can see the database restore actually gets completed. The problem is when the
   plugin tries to restore the “Others” component of the website. The highlighted
   error says:
 * Move /home/botasoci/public_html/wp-content/languages -> /home/botasoci/public_html/
   wp-content/languages-old: Failed. Destination Directory UID=1090, GID=1093. Effective/
   real user IDs of the current process: 1090/1090. Effective/real group IDs of 
   the current process: 1093/1093.
 * This is their back-end error logs:
 * Furthermore, they wrote:
    “We’ve already tried resetting the folders/files permission
   of the entire user directory and manually checking “/home/botasoci/public_html/
   wp-content/languages” we only see 755/644 perms which is what’s usually works
   in the industry. We recommend touching base with Updraft Support once again and
   provide them the above details. Check if they require the folder/file perms to
   be updated to something else otherwise how to bypass the detected error. Please
   let us know how it goes and if there is anything else we can assist you with.”
 * They also gave these two attachments:
    updraft restore error.PNG updaft full 
   error.txt you can find them in: [https://1drv.ms/u/s!ApPhP1_jV40zgxRWFJqJolLgkRaj?e=fdxYV1](https://1drv.ms/u/s!ApPhP1_jV40zgxRWFJqJolLgkRaj?e=fdxYV1)
 *  Plugin Contributor [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * (@bcrodua)
 * [6 years ago](https://wordpress.org/support/topic/failed-restoration/#post-13072066)
 * Hi,
 * Apologies for the late reply.
 * There appears to be a file permission issue, meaning UpdraftPlus or WordPress
   does not have the correct read or write permission to a certain folder or file.
 * The following article on Smashing Magazine is a good guide as to the file permissions/
   ownerships that are required for WordPress: [https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/#file-and-folder-ownership-for-wordpress](https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/#file-and-folder-ownership-for-wordpress)
 * Regards,
    Bryle

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

The topic ‘Failed restoration’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [bcrodua](https://wordpress.org/support/users/bcrodua/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/failed-restoration/#post-13072066)
 * Status: resolved