discord_restore_structure
Restore a Discord server structure from a backup by previewing changes first, then creating only missing roles, categories, and channels without deleting or renaming existing items.
Instructions
Restore a structure backup into a server. PREVIEWS BY DEFAULT: returns exactly what would be created; re-call with confirm:true to apply. ADDITIVE ONLY: it creates roles, categories and channels that are missing and never deletes or renames anything, because a restore that removes entities turns a stale backup into a wipe. Permission overwrites are re-applied by matching role NAMES from the backup to the live server's roles; member-specific overwrites are skipped, since user IDs differ across servers. Requires Manage Channels and Manage Roles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | Yes | ||
| confirm | No | Set true to actually create. Default false returns a preview. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| include_roles | No | Also create missing roles. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| notes | Yes | ||
| failed | Yes | ||
| applied | Yes | ||
| created | Yes | ||
| planned | Yes | ||
| skipped | Yes |