basemodo restore
Put an App's data back as a Backup holds it.
basemodo restore [OPTIONS] <BACKUP>Its volume (the database and every file under /data) becomes what it was when the Backup was taken: everything written since is gone, so take a Backup first if it may be needed. The Backup stays, and the App runs again afterwards. Restoring a deleted App's last Backup brings the App back.
Arguments
BACKUP(required): The Backup to restore: its id, asbasemodo backupslists it orbasemodo backup --jsonprints it.
Like every command, it also takes the global options --json and --api-url.
Examples
Find the Backup to go back to, then restore it:
basemodo backupsbasemodo restore 0b6f3c1e-6f3a-4d55-9d43-5b8a1f0e2c11Output
With --json, it prints {"app", "backup"}. A Backup that does not exist or expired is an error with code backup_not_found.
From an agent
The local MCP serves it as the tool restore. It changes things, so an agent's client may ask you before it runs. Its arguments are the command's, named as JSON keys: backup (text). It answers what the command prints with --json.