Apply Discord Backup Restore
discord_backup_restore_applyApplies role and channel create/update operations from a Discord backup conservatively: creates a pre-restore backup, verifies the plan hash, and requires explicit permission for deletes.
Instructions
Conservatively apply role/channel create/update operations from a backup. Creates a pre-restore backup first, rejects an expectedPlanHash mismatch before mutating, and deletes require includeDeletes: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| confirm | No | ||
| backupId | Yes | ||
| targetGuildId | Yes | ||
| includeDeletes | No | ||
| allowCrossGuild | No | ||
| expectedPlanHash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| failed | No | ||
| applied | No | ||
| skipped | No | ||
| warnings | No | ||
| targetGuildId | No | ||
| actualPlanHash | No | ||
| sourceBackupId | No | ||
| expectedPlanHash | No | ||
| preRestoreBackupId | No |