30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

List UpdraftPlus Backups

updraftplus/list-backups returns the sets on this server, newest first, with what each one holds and how large it is.

The identifier it returns is what every other ability in this group takes — reading one set, deleting one, restoring from one.

At a glance

Abilityupdraftplus/list-backups
ToolsetUpdraftPlus — toolset/updraftplus
GroupUpdraftPlus › Backup sets
RequiresUpdraftPlus, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

This reads the local store. A set that was uploaded to remote storage and then pruned off this server will not appear here, which means an empty list does not prove there are no backups anywhere. updraftplus/get-status reports which destinations are configured.

Each entry says what it contains — database, plugins, themes, uploads, others. A set with only the database is a perfectly reasonable thing to have and a very unreasonable thing to restore from when the problem is a deleted upload.

Page through with limit and offset on sites that keep a long retention.

Input

NameTypeRequiredWhat it is
limitintegerNo — defaults to 20, max 100How many sets to return.
offsetintegerNo — defaults to 0Where to start, for paging.

What comes back

NameTypeWhat it is
backupsarrayOne entry per set: id, when it was taken, age, components, size and label.
countintegerHow many sets were returned.
totalintegerHow many sets exist on this server.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What backups do we have, and how old is the newest one?

It resolves to one call:

{
  "ability": "updraftplus/list-backups",
  "parameters": {
    "limit": 10
  }
}

Worth knowing

  • Local only. An empty list is not proof that no backup exists — check the remote destinations in updraftplus/get-status.
  • Check the components before planning a restore. Not every set holds everything.
  • The id is opaque and belongs to the plugin. Pass it through unchanged.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading