LogoAntiRaid

Restore Backup

Guide on how to restore a backup to your Discord server

Introduction

The restore backup command allows you to restore a previously created backup to your Discord server. This will recreate all backed-up server settings, roles, channels, and optionally messages based on the backup's contents.

Usage

This command can be used by users with the "backup.restore" permission by running /backups restore

Image

Response

When a backup is successfully restored, you'll receive confirmation with the following information:

FieldDescription
StatusThe status of the restore operation
Restored atThe timestamp when the backup was restored
DetailsSummary of what was restored (channels, roles, settings, etc.)

Customization options

PropTypeDefault
backup_id
string
-
password?
string
-
channels_only?
boolean
-
roles_only?
boolean
-
settings_only?
boolean
-
include_messages?
boolean
-
delete_channels?
boolean
-
delete_roles?
boolean
-

Steps to restore a backup

Get your backup ID

Use /backups list to find the ID of the backup you want to restore

Run the restore command

Use /backups restore backup_id:(your backup id) with any desired options

Wait for completion

The restore process may take a few minutes depending on the backup size

Verify the restoration

Check that all channels, roles, and settings have been restored as expected

Important Notes

  • Make sure you have the necessary permissions in the server before attempting to restore
  • If the backup is password protected, you'll need to provide the correct password
  • Consider using the selective restore options (channels_only, roles_only, settings_only) if you only want to restore specific parts
  • Be careful with the delete_channels and delete_roles options as they will remove existing server content
  • Some elements like server boosting status and server-specific emoji may not be included in the backup

Last updated on