LogoAntiRaid

Create Backup

guide on how to create a backup for your discord server

Introduction

The backup command allows you to create a backup of your Discord server. This includes server settings, roles, channels, and optionally messages. Backups are useful for safeguarding your server data and can be restored in case of accidental deletions or other issues.

Usage

This command can be used by "backup.create" user just by running /backups create

Image

Response

FieldDescription
Backup IDThe unique identifier for the backup.
Created atThe time at which the backup was created
Download urlThe url to download a backup

Customization options

PropTypeDescription
messages?
boolean
Whether to include messages in the backup (up to 500)
attachments?
boolean
Whether to include attachments in the backup. Requires "messages" to be enabled
channels?
string
Channels to backup messages from (comma separated), otherwise all channels
backup_guild_assets?
string
What assets to back up in comma-separated form (icon,splash,banner)
rollover_leftovers?
boolean
Roll over leftover message quotas to other channels. May make backups slower
ignore_message_backup_errors?
boolean
Whether to ignore errors while backing up messages or not and skip these channels
max_messages?
integer
The maximum number of messages to backup
per_channel?
integer
The number of messages per channel to backup
special_allocations?
string
Specific channel allocation overrides. Format: channel_id=number,channel_id=number
password?
string
Password to encrypt the backup with. If not provided, the backup will not be encrypted

Last updated on