Apera Docs

/backup

Save your whole server and put it back exactly.

Needs Administrator Guide: Backups & restore

A backup saves roles (with colors, permissions and order), @everyone, channels (with topics, slowmode, order and every permission), members’ roles and nicknames, bans, emojis and server settings like the name, icon and system channels. Restoring recreates what’s missing, fixes what changed and restores the order — it never deletes things added after the backup, and running it twice makes no duplicates. Restore always asks you to confirm first.

Subcommands

/backup create

Save the server as it is right now

/backup create name:<name>
OptionTypeWhat it does
name requiredtextName for the backup

/backup list

Show this server’s backups

/backup list

/backup auto

Automatic backups and anti-nuke auto-restore

/backup auto [enabled] [every] [keep] [auto_restore] [restore_what]
OptionTypeWhat it does
enabledtrue / falseMake a backup automatically
everytextHow often
Choices: daily (Every day) weekly (Every week) monthly (Every month)
keepnumberHow many automatic backups to keep (1-14)
auto_restoretrue / falseAfter an attack, put things back from the latest backup
restore_whattextWhat auto-restore puts back
Choices: channels (Channels) roles (Roles) both (Channels and roles)

/backup info

Show what a backup contains

/backup info name:<name>
OptionTypeWhat it does
name requiredtextBackup

/backup restore

Put the server back the way a backup saved it

/backup restore name:<name> [scope] [role_ids] [channel_ids]
OptionTypeWhat it does
name requiredtextBackup to restore
scopetextWhat to restore (default: everything)
Choices: all (Everything) roles (Roles (names, colors, permissions, order)) channels (Channels (with their permissions and order)) overwrites (Channel permissions only) members (Members’ roles and nicknames) emojis (Emojis) bans (Bans) settings (Server settings (name, icon, system channels))
role_idstextOnly these roles (IDs, comma separated)
channel_idstextOnly these channels (IDs, comma separated)

/backup delete

Delete a backup

/backup delete name:<name>
OptionTypeWhat it does
name requiredtextBackup to delete

/backup share

Get a code to load this backup on another server

/backup share name:<name>
OptionTypeWhat it does
name requiredtextBackup to share

/backup restore-code

Load a backup from a share code

/backup restore-code code:<code> [scope] [role_ids] [channel_ids]
OptionTypeWhat it does
code requiredtextShare code
scopetextWhat to restore (default: everything)
Choices: all (Everything) roles (Roles (names, colors, permissions, order)) channels (Channels (with their permissions and order)) overwrites (Channel permissions only) members (Members’ roles and nicknames) emojis (Emojis) bans (Bans) settings (Server settings (name, icon, system channels))
role_idstextOnly these roles (IDs, comma separated)
channel_idstextOnly these channels (IDs, comma separated)

Examples

/backup create name:before-event

Save the server now

/backup restore name:latest

Restore everything from the newest backup

/backup restore name:before-event scope:channels

Only channels

/backup auto enabled:True every:Every day auto_restore:True

Daily backups + restore after attacks

/backup share name:before-event

Get a code to copy the layout to another server

Good to know

What /backup looks like in Discord
What /backup looks like in Discord