How to back up a Discord server
Discord has no backup button and no undo. If an admin account is taken over and your channels are deleted, there is nothing to roll back to unless you saved it beforehand. A server template saves the structure for a new server. A backup taken by your own bot saves more and puts it back into the server you have.
Updated 18. november 202611 min read
On this page
The short version
- Discord can't bring back deleted channels, roles or messages, and neither can its support.
- A server template saves channels, roles and permissions. It can only create a new server.
- A backup with SCNX also saves bans, emojis and optionally messages, and restores section by section. Members can't be backed up by anyone.
What you need
- For a template: the Manage Server permission
- For backups with SCNX: your own bot on SCNX with the Administrator permission, its role above all other roles
- To restore: you are the owner or a co-owner of the server on SCNX
What Discord itself can and can't restore
Deleting on Discord is final. A deleted channel takes its messages with it, a deleted role is removed from everyone who had it, and a deleted server is gone with all of its content. There is no recycle bin, and Discord's support does not restore any of it.
The audit log in your server settings tells you who deleted what. That helps you find the account that did it and remove its permissions. It doesn't bring anything back.
Two things survive most incidents. Your members stay in the server as long as the server itself exists, and so do your bans. What gets lost is the work: channel structure, permission overwrites, role setup, emojis and the messages in the deleted channels. That is the part a backup is for.
The built-in option: a server template
Discord's own tool for this is the server template. It records your categories and channels, your roles and their permissions, and gives you a link.
Create the template
Open Server Settings and go to Server Template. Enter a title and a short description and click Generate Template.
Keep the link outside Discord
Copy the template link into a password manager or a note. If you lose access to the server, a link that only exists in one of its channels is lost too.
Sync it after changes
A template doesn't update itself. When you have added channels or changed roles, come back to the same page and click Sync Template.
Opening the link creates a new server with the same structure. Templates stop there. They can't put anything back into your existing server, and messages, members and bots are not part of them. A template is free and takes one minute, so make one today even if you also use backups.
Template or backup
| Server template | Backup with SCNX | |
|---|---|---|
| Channels, roles, permissions | Yes | Yes |
| Bans | No | Yes, optional and on by default |
| Emojis, stickers, server icon | No | Yes |
| AutoMod rules, onboarding, events | No | Yes |
| Messages | No | Recent messages, on our Unlimited plan |
| Which member has which role | No | On our Professional plan |
| Restores into your existing server | No, it creates a new one | Yes, section by section |
| Runs on its own | No, you sync it by hand | Automatic backups on our Unlimited plan |
Take a backup with your own bot
On SCNX your server's own bot takes the backup. Manual backups and restores work on every plan, including our free Starter plan. If you don't have a bot yet, create one first.
Check the bot's permissions
The bot needs the Administrator permission, and its role has to be above all other roles so that it can read them and later recreate them. In Discord, open Server Settings, go to Roles and drag the bot's role to the top.
Open Backups
Open Backups in your server's dashboard and click Create backup. If something is missing, such as the Administrator permission, the page tells you what to fix first.
Choose what goes in
The sections under Always included are saved every time. Under Also include you tick the optional ones. Sections your plan doesn't cover are listed under Not in your plan.
Choose the encryption
By default the backup is encrypted with your server's key, and you restore it without entering anything. On our Professional plan you can use a password instead. Take the generated one and store it in a password manager.
Start it and let it run
Click Create backup. The bot starts right away and keeps working normally while it reads your server. On a busy server ten minutes is normal, and you can close the window.
The finished backup appears in the list with its date, its size and its sections. Open it to see what is in each section, and which ones are missing and why.
What is in a backup
| Section | What it holds |
|---|---|
| Server settings | Always included. Name, verification level, notification and filter settings, system and rules channels |
| Roles | Always included. Names, colors, permissions, icons and their order |
| Channels and channel permissions | Always included. Categories, topics, slowmode, permission overwrites, voice settings and forum tags |
| Emojis, stickers and sounds | Always included, together with the server icon and banner |
| AutoMod rules, onboarding, welcome screen, scheduled events | Always included |
| Bans | Optional and on by default, so a restore never lets banned accounts back in |
| Messages | Optional, on our Unlimited plan. Recent messages of text and announcement channels, with embeds and pins |
| Member roles | Optional, on our Professional plan. Which member had which role |
| Open forum posts | Optional, on our Professional plan. Posts that are still open, with their messages. Archived posts are never saved |
Messages and forum posts make a backup much larger and slower. Leave them out if the structure is what you care about. Saving messages also needs the Message Content intent, which SCNX switches on when it creates your bot.
Backup+ is an add-on that works with any plan and unlocks the optional sections, password protection and export without changing your plan. Under Your backup limits the Backups page shows what your server currently gets.
Automatic backups
A server changes every week, so a backup from last spring restores channels and roles you have since replaced. On our Unlimited plan and above, the bot can take backups on its own.
- Switching it on
- On the Backups page, turn on Create backups automatically and pick the number under Backups per day. The first one runs within 24 hours.
- When they run
- SCNX sets the times and spreads them across the day. You can't choose them yourself.
- Where they go
- Each backup uses one of your slots. When all slots are full, the oldest automatic backup is replaced. Manual backups are never replaced, so if they fill every slot, automatic backups pause until you delete one.
- If the bot is offline
- A backup that is due while the bot is offline is skipped and not made up later.
Restore only what broke
Most incidents don't destroy everything. Someone deletes the roles, or a bot wipes three categories. Loading the whole backup would overwrite the parts that are fine, so a restore asks you about every section separately.
Open the backup and confirm it is you
Click the backup and choose Restore backup. Only the owner and co-owners can do this, and SCNX asks you to confirm your identity first: with two-factor authentication if your account has it, otherwise by logging in with Discord again.
Choose what happens to each section
Every section starts on Only add what's missing, which brings back what is gone and deletes nothing. Replace everything in this section makes the section match the backup and deletes anything that isn't in it. Skip this section leaves it alone.
Review
Nothing has changed yet. The second step lists what your choices will do, section by section, and says clearly whether anything on your server will be deleted.
Confirm
If your choices delete anything, you type the server's name. Then the bot works through the sections one after another. You can watch the progress and use Stop restore at any time. What has been changed up to that point stays.
Read the report
The Restore report lists per section what was created, updated, deleted, kept or failed. Discord has no undo, so this report is your record of what changed.
- Move the bot's role to the top first
- Discord only lets a bot create or change roles below its own. Roles above the bot's role can't be restored, and channel permissions that use them may fail.
- Some things are never deleted
- Whatever you choose, a restore keeps the bot's own role, roles above it, roles that belong to other bots, and @everyone.
- Community channels need a Community server
- If the target server isn't a Community server, announcement channels come back as text channels, stage channels as voice channels, and onboarding and the welcome screen are skipped. Enable Community first if you want them as they were.
- Restoring into another server
- Choose Restore to a different server to load the backup into another server you own on SCNX. That server needs its own bot, and the bot must be running. This is how you rebuild after a server was deleted. The members still have to join again.
Who can read a backup
A backup holds a lot about your community: every channel, every role and, if you include them, messages. On SCNX each backup is encrypted on your bot's host before it is uploaded.
With the server's key, restoring needs no password, and automatic backups always work this way. A backup protected with your own password can't be opened by anyone without it. We never store the password, which also means we can't recover it for you.
On our Professional plan, Export backup downloads a backup as a readable file. Treat that file like the server itself: it contains everything in the backup. An exported file can't be imported back into SCNX.
One consequence of the server key is easy to miss. If you delete your bot from SCNX, the key is destroyed with it, and the backups that were encrypted with it are deleted. Export what you want to keep before you delete a bot.
What no backup brings back
Members are the part no tool can save, because nobody can be made to rejoin a server. If your server is deleted, you can rebuild the structure in a new one, but everyone has to come back through an invite. A place outside Discord where you can reach your community, such as a website or a social account, is worth having for that day.
A backup is also a copy of one moment. Channels created after it and messages written after it are not in it. That is the argument for automatic backups.
Backups are not a way around Discord's decisions. If Discord's Trust and Safety team removes a server, restoring it elsewhere breaks our terms and Discord's.
When something doesn't work
- The page says your bot isn't taking backups yet
- The bot runs an old version. Restart it from its status card so it installs the latest one. If the page mentions the bot's host instead, it offers a button to move the bot to a host that supports backups.
- A section is marked "Not included"
- Open the backup and read the reason next to the section. The usual ones: you turned the section off, your plan didn't cover it, the bot lacked the Administrator permission, or the Message Content intent was off.
- The backup shows "Failed"
- A failed backup uses no slot. Make sure the bot is online and has the Administrator permission, then create it again.
- All backup slots are in use
- Delete a backup you no longer need. With automatic backups on, the oldest automatic one is replaced for you, and you only have to delete something to make room for a manual backup.
- Roles failed during a restore
- The bot's role was not at the top. Move it up in Discord's role list and run the same restore again with Only add what's missing.
- The password is not accepted
- Passwords for backups can't be reset or recovered. Check for a wrong keyboard layout or a missing character. Without the password the backup stays closed.
Other ways to do it
There are bots made only for backups, and they work in a similar way: you create a backup with a command and load it when needed. Compare what each one saves, whether it can restore single parts, and where the data is kept. Whichever tool you use, ask where backups are stored and who can open them before you include messages.
If you can code, open-source libraries can export a server's structure to a file. You then own the file and the job of keeping it current and safe.
Common questions
- Does Discord back up my server?
- No. Discord has no backup and no undo for deleted channels and roles. Server templates are the closest built-in feature, and they only create new servers.
- Can Discord support restore a deleted channel or server?
- No. Once a channel or a server is deleted, its content is gone, and support can't bring it back. The audit log only shows who did it.
- Are backups on SCNX free?
- Manual backups and restores work on every plan. Automatic backups and saved messages are part of our Unlimited plan. Member roles, open forum posts, password protection and file export are part of our Professional plan or the Backup+ add-on.
- Can I restore a backup into a different server?
- Yes, into another server you own on SCNX, as long as that server has its own bot and the bot is running.
- Are messages saved?
- Optionally. On our Unlimited plan a backup can include recent messages of text and announcement channels, with embeds and pins. Only a recent part of each channel is saved.
- Can a backup bring my members back?
- No tool can do that. A backup can save which member had which role, on our Professional plan, and give the roles back to members who are in the server. People who left have to join again.
- How long does a backup take?
- Small servers take a few minutes. A busy server with messages can take ten minutes or more, because Discord limits how fast a bot can read messages. Your bot keeps working in the meantime.
- How often should I back up?
- After every bigger change to channels or roles, and before you give someone new the Administrator permission. If your server changes every week, automatic backups do this for you.
Start with a free bot
Log in with Discord, add your server and create your bot. The dashboard walks you through each step.
Get started for freeFree on our Starter plan. A short ad video every 14 days keeps the bot online.