Restore a Micro record backup
micro_backup_restoreReplace all current project records with an exact inspected backup, using fresh digest checks to prevent unintended overwrites.
Instructions
Replace all current project records with one exact inspected backup. Requires both the backup digest and a freshly inspected current-record digest, and never rewinds users, purchases, entitlements, products, files, or deployments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Micro project directory; defaults to the server working directory | |
| confirm | Yes | Explicit confirmation to replace every current project record with this exact backup | |
| backupId | Yes | Exact backup UUID from a fresh micro_backups result | |
| backupSha256 | Yes | Exact digest of the selected backup | |
| expectedCurrentSha256 | Yes | Fresh digest of the current record set that may be replaced |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| json | No | ||
| stderr | Yes | ||
| stdout | Yes | ||
| command | Yes | ||
| exitCode | Yes |