• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Wordpress toolkit Backup and Restore function expected behavior

LevelupMedia

Basic Pleskian
Hi,

am I misunderstanding function of wordpress toolkit Backup and Restore on how it should work, I am expecting when I backup site and restore it, it should go back to that version, but what I am seeing is that for example if we install some plugin after backup, than restore earlier version, plugin is still there (but disabled). Why is that, and what happens on database level?
 
Hello,
that is exactly what I am asking as well. It would be great to investigate and to know, if there are other remains which could cause harm. Lets assume a hacked site with uploaded plugin, which would simply stay after a complete rollback and work as an ongoing backdoor..

best regards
 
As a temporary workaround have you tried to remove the contents of the document root where you want to restore files to?

It might be good that the restore function does not do that, because many people are creating additional subdirectories in a document root that is otherwise used for Wordpress. There are even folks who nest Wordpress installations or websites, e.g. create a Nextcloud instance underneath a Wordpress file structure. If the restore function followed your expectiation (remove all existing content), such content that does not originally belong to Wordpress would be erased, too. You have a good point, maybe an option would be needed, e.g. radio buttons where a user can select how the restore function should act.
 
We noticed there are leftovers in the database also, we don't use this functionality anymore. We use backup inside Plesk subscription if needed.

It definitely should backup everything inside wp installation folder and database then restore everything as it was, whatever inside of the folder is.
 
As a temporary workaround have you tried to remove the contents of the document root where you want to restore files to?

It might be good that the restore function does not do that, because many people are creating additional subdirectories in a document root that is otherwise used for Wordpress. There are even folks who nest Wordpress installations or websites, e.g. create a Nextcloud instance underneath a Wordpress file structure. If the restore function followed your expectiation (remove all existing content), such content that does not originally belong to Wordpress would be erased, too. You have a good point, maybe an option would be needed, e.g. radio buttons where a user can select how the restore function should act.
Thank you Peter,
yes, a more granular control would be appreciated.
 
We noticed there are leftovers in the database also, we don't use this functionality anymore. We use backup inside Plesk subscription if needed.

It definitely should backup everything inside wp installation folder and database then restore everything as it was, whatever inside of the folder is.
Thank you for starting this topic,

I thought you mentioned the subscription-backup in the first place, but you referred to a backup-function of the entire toolkit with all its subscriptions, if I understood right? I didn't know about that. It seems to be acting the same way.

But in my case, I referred to the subscription-backup which acts the explained way I experienced.

On my side, I stopped using the third possibility, the domain-backup-function, which adds up, when using the subscription backup and you get the backup of the backup of the backup.. consuming a lot of server space.

Maybe using only the domain-backup would avoid the remnants? Need to test that..
 
Back
Top