Get Backup is a WordPress ability from JetBackup — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Get Backup

Read-only

Get a single backup snapshot by id.

Requires the JetBackup plugin on WordPress 6.9+ for the Abilities API (abilities are registered only when the wp_register_ability() function exists), and JetBackup's own 'Abilities API' toggle must be turned on under Settings > Security. Every ability is additionally gated by JetBackup's permission callback: the caller must be logged in and hold the WordPress 'manage_options' capability (and be a network admin on multisite), and if JetBackup's MFA is enabled and abilities aren't explicitly allowed to bypass it, the caller must also have passed MFA validation.

What it does

This ability returns the full detail JetBackup holds for a single backup snapshot, identified by its numeric id: unique_id, the destination it's stored on (id and name), name, backup_type, storage engine, what it contains, its structure, the schedules that produced it, notes, stored parameters, creation time, a human-readable size, whether it's locked from cleanup, and its deleted flag. It fails if no id is provided or if the id doesn't match an existing, non-deleted snapshot. This lets an AI assistant pull up one backup's full record without listing and filtering the whole snapshot table.

See it in action

You ask your AI assistant

"Get the full details for backup snapshot 128, including its size and which schedules created it."

Inputs

Name Type Required Description
_id integer Yes ID of the backup snapshot to retrieve. Minimum 1.

Returns

An object with the full snapshot detail: id, unique_id, destination_id, destination_name, name, backup_type, engine, contains, structure, schedules, schedules_names, notes, params, created timestamp, human-readable size, locked flag, and deleted flag.

Permission

The current user must be logged in and hold the WordPress 'manage_options' capability (network admin on multisite), with JetBackup's Abilities API setting enabled.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.