I am long-term UpdraftPlus Premium user but new to MainWP.
I would like to have UpdraftPlus make automatic updates before updating plugins or themes.
It seems this features is not working, there are already other closed tickets:
(as a new user I can only post 2 links)
As Bogdan explained in of the previous threads, the “Backup before Updates” feature is not fully compatible with the MainWP plugin. Basically, the UpdraftPlus doesn’t fire because it doesn’t detect that the update process has started.
As of right now, there is nothing on our side that could be done to change this behavior, but we are planning to revisit this and see if something changes in one of the future versions.
My thought was the following:
As I trigger the plugin update via MainWP, MainWP knows about the update process and could manually trigger a backup before actually updating.
So MainWP would not use the build in ‘automatic update’ function from UpdraftPlus, but rather make the backup programatically.
The actual implementation is more complicated than it may seem. One consideration is that we would have to wait until the backup is completed before making updates, which could cause delays in the update process and impact the user experience.
You can read @bogdan’s reply to a similar question regarding WPVivid and the complexities of the problem:
That being said, we appreciate your input and will certainly return to this issue at a future date to investigate the possibility of implementation.