Support » Plugin: WP Staging - DB & File Duplicator & Migration » Does the clone site update automatically?

  • Resolved natip100

    (@natip100)


    I was curious about whether or not the clone site syncs to the live site or if there is a way to do this? I just cloned and setup my clone site. The only problem is that every time I do this, I have to un-optimize my Wordfence firewall on my main site and then re-optimize the clone Wordfence and the main site Wordfence. This is very process intensive since I have Siteground hosting and need to un-optimize/optimize both manually. I would also not really consider it a solution to exclude the Wordfence directory from my clones since that would leave that clone directory unprotected from attacks. If someone gains access to my clone site, they, by nature of definition, would have access to my main site content info.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Hello @natip100

    you can use the UPDATE button to copy over all data from the production site to the live site. This will overwrite your staging site, so take care when you use that feature.

    > The only problem is that every time I do this, I have to un-optimize my Wordfence firewall on my main site and then re-optimize the clone Wordfence and the main site Wordfence

    What do you mean by un-optimize? Is this a WordFende feature?

    What happens if you don’t un-optimize? Please give me know exact error you get.

    natip100

    (@natip100)

    Hello, Thank you so much for this. I found the update button but I am having a hard time excluding the overwriting of certain files. You can go over to this support topic to get a detailed idea of the Wordfence clone site setup requirements for Siteground sites or any other hosts where manual Wordfence configuration is required. Apparently the folders/files affected that would need to be wordfence-waf.php (and any of its subdirectories) and the php.ini file too. There is also an auto_prepend_file declaration involved with this and idk if that would mess anything up when updating the cloned site or if I’d need to exclude anything else.

    I am having a hard time finding these files and their directories on the folder/file exclude list for the update settings. Any way you could point their location out to me? And any way you could clarify if the auto_prepend file setting would be an issue with the firewall for updating the cloned site?

    Plugin Author Rene Hermenau

    (@renehermi)

    Hi @natip100
    I see. You need a filter to exclude certain files from the cloning/updating.

    At the moment WP Staging only gives you the option to exclude specific folders and it does not allow you to exclude certain files. So this is something we need to implement.

    I will add your request on our to-do list but beg for your understanding that I can not provide you with an ETA for this.

    Stay healthy!

    René

    natip100

    (@natip100)

    Oh okay then, thank you for the update. This is rather disappointing and it sort of breaks the plug-in for me and probably for many others too. Wordfence is one of the most popular plugins for security and many hosts require manual setup for firewall optimization like I do. Excluding files would be required since I don’t want to have to spend half an hour re configuring my firewall every time I want to update my clone site. I hope that they fix this soon then.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.