• Resolved Aaron Beverly

    (@abeverly922)


    Using Updraft Plus 1.9.51.

    Backup feature is working as expected, but when I restore a folder, such as themes, I get

    Moving unpacked backup into place…
    Error message: The directory does not exist (/hermes/bosoraweb118/b435/ipg.lesamichelcom/heart/wp-content/hermes/bosoraweb118/b435/ipg.lesamichelcom/heart/wp-content/themes/)

    What might cause the formulation of this bad path? Must be happening in
    the call to get_wp_filesystem_dir()

    Thanks.

    https://www.ads-software.com/plugins/updraftplus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Aaron Beverly

    (@abeverly922)

    Error message is misleading as the path reported is wrong.

    Error occurs because the themes directory does not exist. Seems like the restore operation should work whether or not the themes directory is there.

    Plugin Author David Anderson

    (@davidanderson)

    Hi Aaron,

    Interesting – why does your themes directory not exist?

    It wouldn’t hurt to add a check for that in UpdraftPlus – but, it’d be useful to know how your site got into that state.

    David

    Thread Starter Aaron Beverly

    (@abeverly922)

    My client, who is using your plugin, attempted to restore his theme folder a couple of months ago and could not do it for some reason. As a test, I renamed the themes folder for a quick backup and attempted to restore. Once I created the themes folder, the restore worked. Not sure what happened to him a couple of months ago. Seems to be working fine now.

    It might be nice to indicate what log files are for restore operations and what ones are for backups so it would be easier to find the log for the restore operation that failed.

    Thanks,

    Aaron

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot restore backups, The directory does not exist’ is closed to new replies.