Support » Plugin: UpdraftPlus WordPress Backup Plugin » Could Not Restore Backup

  • Resolved lanreolukosi

    (@lanreolukosi)


    Plugin Version 1.12.30.

    Hello,

    I tried restoring my wordpress from an old backup (Google Drive) and on getting to Others, I got the following error…

    Others
    
    Unpacking backup... (backup_2016-09-02-0752_Sterling_Virtual_Offices_85b9f5d8f93f-others.zip, 47.7 Mb)
    Error message: Could not move old files out of the way. You should check the file ownerships and permissions in your WordPress installation (/****/****/****/wp-content/gallery)
    Restore failed... 
    • This topic was modified 4 years, 5 months ago by lanreolukosi.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    This error indicates that UpdraftPlus (via WordPress) does not have write access to the indicated directory.
    You will need to check the file permissions for the ‘wp-content/gallery’ directory, and ensure that WordPress has read/write access.

    Smashing Magazine has a clear guide on the necessary file permissions and ownerships required for WordPress:
    https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/#file-and-folder-ownership-for-wordpress

    I have the same error now for some reason in-spite of having used this plugin for years. Exactly what file permissions are required for an Updraft backup? I could not determine this from the article you cited.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    UpdraftPlus needs read and write access to the directory:

    • Files should be 664
    • Foldes should be 775

    You will also need to check that the server user account that PHP runs on is the owner of the directory/files (or is part of the same group as the owner account). Your hosts should be able to help you determine the ownership and permissions

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Could Not Restore Backup’ is closed to new replies.