export_backup
Create a full-tree backup export to disk before bulk writes, enabling recovery if a bulk operation fails.
Instructions
Write a full-tree export to disk. Take one before any bulk write.
Cheap insurance: a few seconds and one file. A bulk write that goes wrong cannot always be undone transaction by transaction; a dump can be re-imported.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "export_backup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | No | A new file in an existing directory; an existing file is never replaced. Omit for a timestamped file in the cache directory. | |
| export_format | No | 'gramps' (Gramps XML, lossless -- use this for a safety dump), 'ged', 'json', or 'csv'. | gramps |