hermosodocs

restore_site_db

Restore a hosted project's database destructive

Area: LAUNCH PAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Replace a hosted project's whole database with a snapshot (snapshot: an id from list_site_db_backups) or, in production, with how it was at a time in the last 30 days (timestamp, ISO). A snapshot of the database as it is now is taken first, so it can be undone. Files, uploads, secrets and sessions are not touched. Without confirm:true nothing changes; call again with confirm:true once the user says yes. Free.

Parameters

ParameterTypeDescription
namerequiredstringthe project (its hermoso.page name)
snapshotstring
timestampstringISO time, production only
confirmbooleantrue only after the user approved it

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/restore_site_db.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"restore_site_db","arguments":{"name":"<string>"}}}

CLI

hermoso call restore_site_db --json '{"name":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json