Mataru
matarudocs

Security

Backup

Create, manage, and restore server backups for roles, channels, and permissions.

DocumentationSecurityBackup

Overview#

The backup system snapshots your server's roles, channels, categories, and permission overwrites. Backups can be restored at any time to recover from a nuke or accidental changes. Each backup is named for easy identification and stored persistently.

Restoring a backup creates or updates roles and channels to match the snapshot, but does not delete existing roles or channels that aren't in the backup. The bot requires Administrator permission to restore backups.
Only the Server Owner and Extra Owners can use backup commands. Creating and loading backups will ask for confirmation before proceeding.

Backup Commands#

!backupCreate, list, remove, and restore server backupsServer Owner
Syntax!backup <list|create|remove|load> [name]
Examples
!backup create my-template!backup list!backup load my-template
Aliases
bk
SubcommandDescription
!backup listView all saved backups with timestamps, role counts, and channel counts
!backup create <name>Snapshot current roles, channels, categories, and permissions under a name
!backup remove <name>Permanently delete a saved backup (confirmation required)
!backup load <name>Restore a backup — creates/updates roles and channels (confirmation required)

Nukehooks#

Scan all text channels and delete every webhook message — even from webhooks that have already been deleted. Useful for cleaning up after a webhook spam attack.

The bot scans up to 100 messages per channel across up to 5 batches. Messages older than 14 days are deleted individually since Discord's bulk-delete API only supports messages within 14 days.
!nukehooksDelete all webhook messages server-wideServer Owner
Syntax!nukehooks
Aliases
nwhcleanwebhooks