Skip to content

Backups

iHorizon allows you to backup your Discord servers: server settings (with the icon, banner and invite background), roles, channels and their permissions, emojis, stickers, bans, AutoMod rules and events can be saved, and optionally the last 100 messages of each channel and the members' nicknames and roles. Each backup gets a unique identifier (similar to a Discord user ID). Keep in mind that this identifier can only be used by the person who created the backup.

Full guide

What a backup holds and what it doesn't, what a load deletes and in which order, what can fail, and how backups and AuthRestore bring a nuked server back: Disaster recovery.

Who can use the backup system

Until /backup manage has been run once, only the server owner can create or load backups; administrators are refused. Run /backup manage to open it up to all administrators.

What a backup contains

/backup create and /backup load open a panel where you choose the parts to save or restore: server settings, roles, channels, channel permissions, emojis, stickers, bans, AutoMod rules, events, messages and members. Messages and members are off by default.

What a restore deletes

/backup load deletes what you selected, then restores it. Roles are matched by name and updated, so members keep them; roles missing from the backup are removed only when channels are restored too. Attachments of restored messages are best-effort, because Discord file links expire. On a server without Community, announcement and forum channels come back as text channels, and stage channels as voice channels. When channels are restored, the result is sent to you by DM because the channel you ran the command in is deleted.

Automatic backups

/backup schedule is reserved to the server owner. Choose a frequency, from every day to every year, and the parts to save. The first automatic backup is made one period after you save the schedule. Automatic backups go to the owner's account and count toward the limit of 20. The latest 5 automatic backups of each server are kept. A manual backup is never removed to make room: if the limit is full of manual backups, the run is skipped and the owner gets a DM. More in Automatic backups.

iHorizon provides several commands to manage your server backups. For more information on backup commands, please consult our command search engine at: πŸ”— https://www.ihorizon.org/search


/backup

Subcommand for backup category!

Subcommands


/backup create <save-message>

Prefix+backup-createAlias+bcreate

Create a backup!

Option Type Required Description Choices
save-message String Yes Do you want to save message(s) ? Yes β†’ yes
No β†’ no

Requires the Administrator permission

Only members with the Administrator permission can use this command.

This command allows you to create backups of the server where the command is executed. This command depends on /backup manage to know who has permission to perform server backups; as long as it has never been run, only the server owner can create a backup. The command opens a panel where you pick what to save; selecting Messages saves up to 100 messages per channel. Each user can hold up to 20 backups. After executing the command, the bot will provide a unique identifier that can be used. The backup holds the parts you selected (by default everything except messages and members) as they are at the time the command is executed.

Back up regularly

If your server changes often (new channels, roles, settings), let iHorizon do it for you: /backup schedule creates a backup automatically, from every day to every year, and keeps the 5 most recent ones.


/backup list

Prefix+backup-list

List your backup(s)!

This command allows you to list all backups of all servers created by you. You can see the server name and the number of saved categories and channels. Results are paginated 5 per page, newest first, each marked Manual or Automatic, with navigation buttons that stay active for five minutes.

Output of the /backup list command


/backup load <backup-id>

Prefix+backup-load

Load your backup to initialize!

Option Type Required Description Choices
backup-id String Yes Whats is the backup id? -

Requires the Administrator permission

Only members with the Administrator permission can use this command.

This command allows you to load a backup onto a server, and the bot will send you a configuration message.

Output of the /backup load command

Pick the parts to restore in the menu (only those the backup holds are offered), then click Wipe and restore to start; Cancel stops here. Only you can use the panel, for 3 minutes. Step by step: Loading a backup safely.

Loading a backup erases the server first!

Loading does not merge anything: for each part you select, iHorizon first deletes what the server has now, then restores the backup. Channels: every channel, category and webhook is deleted. Emojis, stickers, AutoMod rules: all deleted. Bans: every ban is lifted, then the backup's bans are put back. Roles: those missing from the backup are deleted only when channels are restored too. The full list: What gets deleted first.

Once you click "Wipe and restore", there is no way to undo the action! We therefore recommend creating a backup (with /backup create) which will give you a different identifier for the current server configuration.

Before using the /backup load command...

To load a backup onto your server using the /backup load command, you must first execute the /backup manage command with the option that suits you. Until then, only the server owner can load a backup. This is a security measure to prevent malicious users from performing server "raids" using our backup system.

You can only load a backup that you created; someone else's identifier will be refused. The backup does not have to come from this server, which is what makes it possible to clone a server you backed up elsewhere.

iHorizon needs the Administrator permission

The bot itself must have the Administrator permission on the server to restore a backup, otherwise the command stops with an error.


/backup delete <backup-id>

Prefix+backup-delete

Delete your backup from the list

Option Type Required Description Choices
backup-id String Yes The ID of your backup you want to delete from the list -

Deletes a server backup from iHorizon's database. Specify the backup identifier and iHorizon shows you the backup it is about to remove, with a confirmation button: nothing is deleted until you confirm, and the prompt expires after 30 seconds. You can only delete backups you created yourself.


/backup manage <only_guild_owner>

Prefix+backup-manager

Manage the backup system into this guild

Option Type Required Description Choices
only_guild_owner String Yes Make the backup system only working for guild owner Only owner β†’ owner
All admin(s) β†’ admin

Server owner only

Only the server owner can use this command.

This command configures the server backup system to determine who can perform server backups. Two options are available: Only owner and All admin(s). The first option allows only the server owner (not all admins) to perform backups, while the second option allows the owner and server administrators to perform backups. Being on the server's iHorizon owner list (/owner) doesn't count: only the Discord server owner is meant here.