• Resolved LordDunvegan

    (@lorddunvegan)


    Dear Alex

    I am trying to restore a file to another server which is used for test purposes.

    1. I used the email link to the restore. Used custom settings to define the log-in details to the remote database and sFPT to restore the files. When I click “Connect”, nothing happens.
    When I click “Check”, nothing happens. Ditto when I click “Restore Now”.

    2. I compressed the file and used wget to transfer it to /var/www/html/wp-content/darwin-backup on the second server. I then ran the emailed restore command against the second server and it comes back with “Access Denied”

    What am I doing wrong? The same version of Darwin Backup is on both servers 1.1.21

    All the best

    Richard

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    Hello Richard,

    You don’t need to compress the file, just upload it as is to the /var/www/html/wp-content/darwin-backup and go to the Darwin Backup / All Backups – it should appear in the list, then click Restore.

    Please let me know how it worked. Then I will tell you a simpler way to do a restore )

    Thread Starter LordDunvegan

    (@lorddunvegan)

    Dear Alex

    I had to Tar/UnTar the file as wget does not support transfer of a .php file. Tried renaming the file and copying it which was much faster. Access denied problem has gone, but using default settings, nothing happens when I press “Restore Now”

    Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    Ok, I will get back to you soon.

    Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    Sorry for late answer, I was in transit today. So my bet is that you trying to wget the archive by the link you’ve got in the email directly from the remote host. It should not and will not work like that – it is insecure to allow to download archives of your site, because wget is not authorized in wordpress, or please correct me if I am wrong in my suppositions. The process should be as follows:

    1. Download archive to your computer
    2. Upload the file to remote server
    3. Point your browser to it, you don’t even need WordPress installed

    WBR,
    Alex

    Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    Hello Richard,

    Any news?

    WBR,
    Alex

    Thread Starter LordDunvegan

    (@lorddunvegan)

    Sorry Alex, I was in meetings all yesterday. The reason I am using WGet is because the backup files are around 1.7Gb and to copy them to my local PC and upload them again would take around 1 day with my current internet connection. WGet takes less than 10 seconds to move form server to server.

    I am not sure that changing the suffix to enable the copy and then renaming the file once copied should make any difference to it. I ensure that I chown the file to www-data:www-data, but nothing happens when I press restore.

    I can try and set up an FTP server between the two and move files that way.

    The matter is becoming more urgent as the test server keeps getting database connection errors which is causing delays in deployment.

    All the best

    Richard

    Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    Can you please contact me privately at aguidrevitch at gmail.com ?

    Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    The problem was in broken CloudFlare javascript minifier, reproducible only over HTTPS. Addressed in 1.1.23

    Plugin Author Aleksandr Guidrevitch

    (@aguidrevitch)

    Thank you, @lorddunvegan, for reporting this one and helping me investigate. Really appreciated

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Restore Access Denied’ is closed to new replies.