Backup: the backup plugin and its providers
- graal Agentic Platform
- Version 0.30 (current)
- Open source · Apache 2.0
- Source : graalsystems/tranibor-agents@90f3de1
Proof that backups exist and restore, whatever the backup system: an agent checks every schedule and location, and a restore test into an isolated target waits for a person’s approval. The work is split in two kinds of plugins:
backup, the profile plugin. It declares the profilebackup/backup@1(what any backup server must serve) and carries everything that does not depend on the product: the agent, its skill, the template and the evals. It runs no server and reaches no system on its own.- A provider plugin per backup system, today
backup-velero. It runs one MCP server that implementsbackup/backup@1and ships the setup page of its connector.
You install backup and a provider. The agent names the profile, never a product.
What the backup plugin brings
Section titled “What the backup plugin brings”| Part | Name | What it does |
|---|---|---|
| Profile | backup/backup@1 |
12 tools: reads (get_provider, schedules, backups, storage locations, restores, the freshness of each schedule, the storage inventory) and the writes trigger_backup, run_restore_test and cleanup_restore_test, with their governance floor |
| Agent | backup-verifier |
checks that every schedule has a recent good backup and that locations are available, flags gaps, proposes a restore test |
| Skill | restore-testing |
RPO and RTO, what a test restore proves and what it does not |
| Template | backup-nightly |
verify (the agent), approve the restore (a person), report; Red results go to the people of platform-owner |
| Evals | evals/backup-verifier.yaml |
instruction checks, and live cases on a provider’s fake |
| Conformance suite | conformance/ |
the tests a provider’s server runs against itself to prove it serves the profile |
The governance floor is the profile’s, and a provider may raise it, never lower it: a restore test always waits
for a person’s approval and only goes into a target the server’s configuration allows; cleanup_restore_test
undoes it, only for a target the server created. The profile leaves out deleting or editing a backup, schedule
or location, restoring in place, and reading backup contents.
The providers
Section titled “The providers”| Provider | Plugin | What it serves | Setup |
|---|---|---|---|
| Velero | backup-velero |
a Kubernetes cluster that runs Velero, read through the Kubernetes API; restore tests into namespaces that start with a prefix you choose | Connect a cluster running Velero |
Install the backup plugin and a provider
Section titled “Install the backup plugin and a provider”- Install
backupin your organisation, from the console’s Plugins page. It brings the agent, the skill, the template and the evals. The installer plays the evals before it writes anything. - Install a provider plugin,
backup-velero. It requiresbackup: the installer refuses it whilebackupis not installed. It brings a server, so the install waits for a second administrator’s approval in Plugins. The installer checks that the server serves the profile: every tool, the same access, a governance never weaker, compatible schemas. - Configure its connector. The install creates the server’s default instance: a connector named after the
server (
backup-velero),unconfigureduntil its form is filled. Follow the provider’s setup page: what to create on the cluster, then what to type in the form. Secrets are sealed: typed once, never shown again. - Create a project from the template
plugin:backup/backup-nightly, and add the nightly schedule its README gives to the project’s configuration (a template cannot ship a cron).
Several clusters
Section titled “Several clusters”- Two clusters. On Library → Plugins, the server’s Add instance creates another connector of the
same server, for example
backup-velero-dr(a name of 2 to 48 characters, lowercase letters, digits and dashes, unique among the organisation’s connectors). It has its own configuration, sealed secrets, policies and egress. Configure it from the same setup page. The default instance cannot be deleted alone; uninstalling the plugin removes every instance. - Another backup system. A provider plugin for another product installs beside
backup-velero. The agent names the profilebackup/backup@1, not a connector: when a run starts, the platform opens every connector whose server implements the profile and that the project may use, each under its own name (backup-velero__list_schedules, …). - Which one acts. The agent calls
get_provideron every instance first. Each call is governed as a call to that connector: its own operations, policies, approvals and ledger lines. - A limit. One run opens at most 16 instances for one profile by default; the ones left out are named in the run.
Go further
Section titled “Go further”- Profiles and providers and Generic MCP servers, in the guide to building plugins.
- The profile itself, tool by tool:
plugins/backup/profiles/backup.yaml. - To serve the profile for another backup system, run the conformance suite against your server:
plugins/backup/conformance.