updraftplusUpdraftPlus Abilities
Backup integration. Site backup and restore.
manage_options 4Available Tools (4)
up_get_backupsmanage_optionsList known UpdraftPlus backup sets, newest first. Each entry reports its backup time, which components it contains (database, plugins, themes, uploads, others), the total size on disk of the local archives, and whether the set looks complete. Use this to answer "is there a recent recoverable backup?" before risky maintenance. Does not expose remote-storage credentials.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of backup sets to return (default 20, max 50)."
}
}
}up_get_last_backupmanage_optionsGet a summary of the most recent UpdraftPlus backup run: when it ran, whether it succeeded, which components were included, and any recorded errors. Reads the updraft_last_backup option.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}up_get_backup_statusmanage_optionsCheck whether an UpdraftPlus backup is currently running. Returns a running flag and, when a job is active, UpdraftPlus's own status token describing why it is still considered in progress.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}up_start_backupmanage_optionsStart a new UpdraftPlus backup now (runs asynchronously via WP-Cron, exactly as the "Backup Now" button does). A backup consumes real disk, CPU, and network, so this is a two-part confirmation: call without confirm to receive a preview of what would run and write nothing; call with confirm=true AND confirm_components matching the components value to actually start it. Refuses if a backup is already running.
Parameter Schema3 parameters
{
"type": "object",
"properties": {
"components": {
"type": "string",
"description": "What to back up: full (files + database), files, or database. Defaults to full.",
"enum": [
"full",
"files",
"database"
]
},
"confirm": {
"type": "boolean",
"description": "Must be true to actually start the backup. Omit or false to receive a preview instead. That preview is the intended first call."
},
"confirm_components": {
"type": "string",
"description": "Repeat the components value. Required alongside confirm=true; cannot be satisfied without having read the preview.",
"enum": [
"full",
"files",
"database"
]
}
}
}