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

Start free trial

Get an UpdraftPlus Backup

A backup set is not one file. It is a group of archives — one for the database, usually several for files — that only mean anything together.

updraftplus/get-backup opens one set up: what it contains, which archive files it is made of, how big they are, and where they sit.

At a glance

Abilityupdraftplus/get-backup
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 is the call to make immediately before a restore. A set missing an archive it should have is a set that will restore incompletely, and finding that out beforehand is very much cheaper than finding out afterwards.

Component names map to what would be replaced on restore — db, plugins, themes, uploads, others. The restore ability can be pointed at a subset of them.

The id must be exactly the one updraftplus/list-backups returned. It is opaque and plugin-owned; do not construct or normalise it.

Input

NameTypeRequiredWhat it is
idstringYesBackup identifier, exactly as returned by updraftplus/list-backups.

What comes back

NameTypeWhat it is
backupobjectThe set in full: timestamp, components, archive files, sizes and location.
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 exactly is in the backup from Monday night?

It resolves to one call:

{
  "ability": "updraftplus/get-backup",
  "parameters": {
    "id": "1758672000"
  }
}

Worth knowing

  • Read this before restoring. An incomplete set restores incompletely.
  • Size is worth a glance — a database archive far smaller than usual is a sign the backup ran against an empty or partial database.
  • Remote copies are not described here. This reads what is on this server.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading