Hi @renehermi ,
I’ve tested the standalone installer on a client’s web system with WP-Staging Pro. It’s not very different from how a certain competing plugin works (it won’t be named here), which is fine because it does a full restore from scratch, as it should.
Any full restore done from WP-Staging should work the same way your standalone installer works.
In this case, the option of installing a clean WordPress, activating Wp-Staging on the site, uploading a backup and restoring it is very similar.
But sorry, I don’t find much sense in that previous answer you gave me about security, the “why” certain files are not saved in the backup…
Security must be handled by each individual, and if the plugin adds more security with an encrypted file, even better (as is the case with WP-Staging and its .wpstg extension), but it should not hinder the work to be done. The “.wpstg” file is already very secure, it cannot be easily reviewed.
I noticed that the restore also does not replace “functions.php” of the child-theme. But you say that it should completely replace “wp-content/”, so something is not right…
I understand that for a superficial restore, this form of replacement would be fine, but for a complete restore it is not.
A complete restore needs to delete absolutely everything, and copy back the files that are in backup, and the same should be done with the database.
We could skip the “wp-admin” and “wp-includes” folders, but “wp-content” and the files at the “/” level should be completely deleted, there should be no garbage left in a well-done restore.
I think that they should add to the restore dialog box, the ability to “REPLACE / DELETE” existing files/data.
Saludos!