Backups
A backup is a snapshot of a server's structure: its settings, roles, channels, permissions, emojis and so on, at the moment it was made. iHorizon keeps it in its own database, outside the server, so it survives whatever happens to the server, even its deletion. You can then load it on the same server, or on another one.
What a backup holds
When you create a backup, you choose which parts it holds. Each part is saved, and later restored, as a whole:
| Part | What is saved | Default |
|---|---|---|
| Server settings | Name, icon, banner and invite background (the images themselves), verification level, explicit content filter, default notifications, description and language, boost progress bar, system messages options, the system, rules, updates and safety alerts channels, AFK channel and timeout, widget, welcome screen | ✅ |
| Roles | Every role except those managed by a bot or an integration: name, colours, icon, separate display, mentionable, permissions, order, and the permissions of @everyone |
✅ |
| Channels | Categories, text, announcement, forum, media, voice and stage channels, in order: topic, NSFW, slowmode, bitrate, user limit, region, video quality, forum tags and layout, and their threads | ✅ |
| Channel permissions | The permission overwrites of each channel and category, for roles (by name) and for members | ✅ |
| Emojis | Every custom emoji, with its image | ✅ |
| Stickers | The server's stickers, with their image (except Discord's animated Lottie stickers) | ✅ |
| Bans | Every banned user and the reason | ✅ |
| AutoMod rules | Discord's native AutoMod rules: triggers, keywords, actions, exempt roles and channels | ✅ |
| Events | Scheduled events: name, description, dates, place or channel | ✅ |
| Messages | The last 100 messages of each channel and each thread, with embeds, files and pins. Selecting it selects Channels too | ❌ |
| Members | The nickname and roles of every human member on the server | ❌ |
Messages and Members are off by default: they are heavy, and they hold your members' content. Tick them when you want them.
A part that couldn't be read isn't saved
If iHorizon can't read a part (Discord refused, an image wouldn't download), the backup is still created without it, and says so: "Could not be saved, so it will not be restored:" followed by the parts. Such a part is never offered at load time, so it can't wipe your server and put nothing back. If nothing could be read, no backup is created at all.
What a backup never holds (webhooks, invites, other bots, iHorizon's own settings…) is listed on What iHorizon can't recover.
Whose backup is it?
A backup belongs to the person who created it, not to the server:
- It is listed in their
/backup list, whichever server it came from, and only they can load or delete it. Anyone else who types its ID is told "This is not your backup!". - Each person can hold 20 backups in total, all servers together. At 20,
/backup createrefuses: "You have reached the limit of 20 backups. Delete one with/backup deletefirst." - It stays with them when they leave the server, and when the server is deleted.
- Since a backup isn't tied to a server, its owner can load it on another server, as long as they're allowed to load backups there. That's how you clone a server, or rebuild one that was deleted.
Automatic backups belong to the server owner
Backups made by /backup schedule go to the server owner's list and count toward their 20. If someone else on your staff should be able to restore, they need a manual backup of their own.
Who may create a backup
Two locks apply, both on creating and on loading:
- The Discord permission:
/backup create,/backup loadand/backup scheduleneed Administrator (or a command rule onbackup). - The server owner's choice: until
/backup managehas been run, only the Discord server owner can create or load backups. Administrators get: "Access denied. This command is reserved for the server owner."
The server owner opens it with /backup manage:
only_guild_owner |
Who may create and load backups |
|---|---|
| Only owner | The Discord server owner only (also the behaviour before /backup manage is ever run) |
| All admin(s) | The server owner and every member who passes the Administrator check above |
Think twice before opening backups to administrators
An administrator who can load backups can wipe the server's channels in one click, with their own backups, even one made on another server. Protection doesn't see it: it's iHorizon acting. Keep Only owner unless you trust every administrator with the whole server.
Create a backup
/backup create opens a panel. Pick the parts in the menu (or Select everything), then Create the backup:
Only the person who ran the command can use the panel, and it expires after 3 minutes. Creating can take a while on a big server, longer with Messages. When it's done, the panel shows the ID:
The creation is also written to iHorizon's logs channel ("Backup Logs"). One backup operation runs at a time per server and per person: a second one gets "A backup operation is already running, try again in a moment."
List and delete your backups
/backup list shows your backups, from every server, newest first, five per page: server name, Manual or Automatic, date, ID, number of categories and channels, and an icon for each part it holds.
/backup delete backup-id:… shows the backup and asks for confirmation (Yes, delete this backup or Cancel Action, 30 seconds). A deleted backup is gone for good.
Neither command needs a permission: they only ever touch your own backups.
Automatic backups
/backup schedule makes iHorizon back the server up on its own. It's reserved to the Discord server owner; anyone else gets "Only the server owner can schedule automatic backups."
Choose the frequency (Every day, Every 3 days, Every week, Every 2 weeks, Every month, Every 3 months, Every 6 months, Every year) and the parts, then Save the schedule. Turn off stops it; the backups already made stay.
How it runs:
- The first automatic backup comes one period after you save, not right away: a daily schedule saved at 18:10 runs tomorrow around 18:10. Saving the schedule again restarts that countdown. Make a manual backup now if you have none.
- iHorizon checks the schedules every few minutes, so a run can be a few minutes late. A run due while iHorizon is offline happens when it's back.
- Each run is a normal backup in the owner's list, marked Automatic.
- The 5 most recent automatic backups of the server are kept. Once a new one is saved complete, the oldest automatic one of this server is deleted. Manual backups and the automatic backups of your other servers are never touched.
- A manual backup is never deleted to make room. If the owner's 20 slots are full and there is no automatic backup of this server to replace, the run is skipped and the owner gets a DM:
- A run that fails, or that couldn't read every part, is thrown away (it would be an incomplete copy) and the owner gets a DM: "The automatic backup of Pixel Haven failed. It will be tried again at the next scheduled time."
- One DM per problem: a daily schedule stuck on a full list doesn't DM you every day. The next DM comes when the problem changes, or comes back after a run that worked.
The schedule follows the server owner
A schedule is tied to the owner who saved it. If the server changes hands, it stops by itself: the new owner sets their own with /backup schedule. The old automatic backups stay in the former owner's list.
Which parts to schedule
Schedule everything you'd want back after a nuke, Members included: it's what gives members their roles back. Messages make each run much heavier; leave them for an occasional manual backup if you care about them.