SAR Intelligenceby SAR-SOFT

Update WordPress itself, with a fresh backup taken first

Take a backup with your backup plugin, update WordPress to the version offered, follow it to the end and run the database step if one is waiting.

Difficulty
Intermediate
Time
about 30 min
The prompt

Tell me which WordPress version my site runs and which one is offered. Check when the last successful backup was; if it is older than [hours, e.g. 12 hours], take a new one labelled 'Before updating WordPress to [version]' and wait until it is done. Then update WordPress to that exact version, follow the update until it finishes and tell me whether the site still loads. If a database update is pending afterwards, ask me before running it.

Already connected?

If SAR is already in your AI app, this is enough:

Already connected?

Back up, then update WordPress to [version] and tell me if the site still loads.

What happens

  1. The AI app lists the updates WordPress knows of, with the version you are on and the one offered.
  2. It reads which backup plugin the site uses and how old the last good backup is.
  3. If it is too old, a new backup waits for your approval, then runs in the background; the AI app follows it until it is done.
  4. The WordPress update is approved in SAR with your password and runs on the site; the AI app follows it to the end and checks the site still loads.
  5. If WordPress asks for its database step afterwards, that waits for your approval too.

Approvals involved

Worked out from the tools this recipe uses.

  • wordpress_list_updatesAvailable updatesNone
  • wordpress_backup_statusBackupsNone
  • wordpress_backup_nowTake a backupApproval
  • wordpress_get_backup_jobA backup's progressNone
  • wordpress_update_wordpressUpdate WordPressApproval and password
  • wordpress_update_statusWordPress update progressNone
  • wordpress_update_databaseRun the database updateDepends on the change

What you get

WordPress up to date, with a backup from minutes before. SAR cannot undo an update and never restores; if something goes wrong, a person restores from the backup in wp-admin.

Try it on your own site

Install the plugin, add SAR to your AI app and paste the prompt. Free to start.

Connect your WordPress site

Type your site's address and we open its own plugin page, ready to install SAR Intelligence.

Prefer to install by hand? Download the plugin · how to connect it

Not on WordPress, or want to set things up first? Create your free account

Free to start · No credit card