Discord backup has several different meanings. An account-data export, a channel or DM transcript, a server-structure backup, and a real-time logger preserve different things.

The practical answer is to match the method to the material you need: request Discord's official Data Package for your own messages and attachment links, use a channel or DM exporter when you need a readable transcript or an attachment-file export, and use server tools or the API when you need ongoing channel coverage. Do not treat a message record or CDN link as proof that the attachment file itself has been downloaded and preserved.

Discord archives are one job; public social content is another. SocialGuardian automatically backs up public posts, stories, and videos from major social platforms every day. Set up a SocialGuardian backup

What a Discord backup can contain

Discord's official Data Package is a ZIP folder of JSON files containing account data, including messages, current servers, activity, and more. The JSON files can be opened in a text editor or browser. See Discord's Data Package description

The package is account-centered, not a promise to copy every message visible in every server. Discord says the Messages folder contains messages that you have sent on Discord, excluding Customer Support and Trust & Safety correspondence. Discord describes the Messages folder

Discord separates those messages into folders for Direct Messages, Group Messages, and server channels, with a JSON mapping of channel IDs to channel names. Each message record includes an ID, timestamp, contents, and a CDN link for images or files included in your message. Read the export structure in Discord's help article

That distinction matters for attachments. The official Data Package evidence describes a CDN link in the message record; it does not document a downloaded copy of the attachment file itself. Discord's message and Attachment objects also expose fields such as filename, content type, byte size, and URL. Those are attachment records and links, not by themselves verified file bytes. Review Discord's message and attachment fields

If you need the file itself, use a route that explicitly claims attachment export, download the resulting export, and open the downloaded file as part of verification. The DiscordKit Firefox listing makes those attachment-export and download claims, but they are third-party listing claims rather than a guarantee from Discord's Data Package. Review the DiscordKit listing

Option 1: Request Discord's official Data Package

Use this route for your own messages in DMs, group messages, and server channels, plus the attachment links recorded in those messages. It does not by itself establish that the attached file bytes have been downloaded.

Desktop or browser steps

  1. Press the cogwheel.
  2. Select Data & Privacy and scroll to Request your data.
  3. Press Request Data.
  4. Select which data to request.
  5. Press Request My Data and confirm.

Those steps come from Discord's desktop/browser instructions. Check the official request workflow

Mobile steps

  1. Tap your avatar icon in the bottom-right corner.
  2. Open Settings with the upper-right cogwheel.
  3. Select Data & Privacy.
  4. Choose Request all of my data.
  5. Select the data and submit Request My Data.

Discord documents this mobile path separately. Check Discord's mobile instructions

Timing and coverage limits

Discord says a data request can take up to 30 days. The download link is sent to the email address associated with the account and remains active for 30 days. See Discord's timing details

Request the package before leaving a server you may need: Discord says a server left before the request may not be included. The package includes servers you belong to when you request it and some recently departed servers. Read Discord's coverage warning

Option 2: Export a channel or DM as chat history

A browser exporter can be more convenient when your immediate goal is a readable transcript for one channel or direct message. The DiscordKit Firefox listing claims CSV, HTML, JSON, or TXT export, custom date ranges, attachment export, and local browser processing without a Discord login or server upload. These are listing claims, not Discord's own Data Package workflow. Review the DiscordKit listing

The listed export steps

  1. Install the DiscordKit Discord chat exporter.
  2. Open Discord and navigate to a channel or direct message.
  3. Click the extension icon.
  4. Choose an export format and date range.
  5. Export and download the chat history.

The listing says its free version exports up to 200 Discord messages and that additional exports require an upgrade. Check the listing's limit and workflow

When attachment bytes matter, treat the listing's attachment-export claim as the beginning of the check, not the end: export and download the result, then open the downloaded attachment file and compare it with the record you retained. The listing claims attachment export and local browser processing, but it does not establish a complete-history guarantee or permanent attachment availability. Review the exporter claims

If your archive also includes public posts, photos, videos, reels, stories, captions, and metadata, SocialGuardian is built to back up that social content across supported networks. Choose profiles to back up

Option 3: Cover server channels with a bot or API

Server tools are a different category from a personal Data Package or a DM export. Check the exact permissions, message scope, attachment behavior, and restore behavior before relying on one.

Server backup commands

Xenon's advertised workflow is:

  1. Invite the bot and give it administrator permission.
  2. Run /backup create.
  3. Later, run /backup load.

The same page says Premium adds messages, threads, forum posts, bans, and member data; attachments are not explicitly promised in the saved description. Review Xenon's advertised workflow

So /backup load should not automatically be read as a guarantee that message text and attached files are restored. The documented workflow covers create/load commands and a Premium message feature, but it does not establish attachment-file preservation. Check the Xenon details

Real-time logging

Quark describes a server logging setup for activity that can be captured going forward:

  1. Invite Quark.
  2. Use /logging to choose log channels.
  3. Leave it active to log edits, deletions, and voice activity 24/7.

Review Quark's setup description

This is useful for future server activity, but it is not the same as a historical DM export. Configure it before the event you want to capture; the documented setup is about ongoing logging rather than a complete backfill of every prior conversation. Read Quark's logging description

API access and permissions

Discord's Get Channel Messages endpoint returns messages newest to oldest. It accepts one of before, after, or around at a time, and its limit ranges from 1 to 100 with a default of 50. Read the Get Channel Messages documentation

For a guild channel, Discord says the current user needs VIEW_CHANNEL and READ_MESSAGE_HISTORY; if READ_MESSAGE_HISTORY is missing, no messages are returned. Discord's permission reference defines VIEW_CHANNEL as including reading messages in text channels and READ_MESSAGE_HISTORY as allowing message-history access. Read the endpoint requirements Read Discord's permission definitions

The practical implication is narrow: an API archive needs access to each channel it reads, while a bot-based server backup can request broader access. The official Data Package route above is separate from these channel-permission steps.

How to preserve messages and attachments before they disappear

The safest time to preserve a message or attachment is before it is deleted or becomes unavailable. Discord says a manually deleted message is no longer stored and is not included in the user's Data Package. Read Discord's deletion note

Discord also says ephemeral attachments are automatically removed after a set period and are guaranteed to be available only while the message exists. Read Discord's attachment documentation

A practical preservation and retrieval check is:

  1. Keep the original ZIP or export unchanged.
  2. Open the JSON or transcript in the format you selected.
  3. Check a known message for its ID, timestamp, contents, and attachment record.
  4. For an attachment record, check the filename, size, and URL fields Discord documents for attachments.
  5. If you need the attachment file itself, use an export route that claims attachment export, export and download the chat history, and locate the resulting attachment file. The DiscordKit listing documents the export/download workflow and claims attachment export. Review the DiscordKit workflow
  6. Open the downloaded attachment file with an appropriate viewer. Confirm that the file itself opens, then compare its filename and size with the retained attachment record.
  7. Repeat the check for at least one DM or group-message folder and one server-channel folder when those categories matter to you.

The fields in steps 2-4 are documented by Discord's Data Package and message-object references. Steps 5-6 test the separate file-preservation requirement: a JSON record and CDN URL are not enough if the goal is a usable local copy. Review the Data Package fields Review the message and attachment fields

If the message has already been manually deleted, the official Data Package will not restore it. If an attachment is ephemeral, its documented availability is tied to the message's existence. Read Discord's deletion and ephemeral-attachment notes Read Discord's attachment documentation

A practical Discord archive plan

Use this decision table to keep the archive type aligned with the goal. Every capability below is limited to what the cited source describes.

Goal Suitable documented route Boundary to record
Your own messages across DMs, group messages, and server channels Discord's ZIP Data Package contains JSON files; messages are separated into DM, group-message, and server-channel folders. Discord Data Package The Messages folder contains messages you sent, and a request can take up to 30 days. Discord Data Package
A readable export of one channel or DM, including a claimed attachment-export route DiscordKit's listing describes CSV, HTML, JSON, TXT, date ranges, and attachment export. DiscordKit listing The listing says the free version exports up to 200 messages; download and open an attachment to verify the file itself. DiscordKit listing
Server backup commands Xenon documents /backup create and /backup load. Xenon The workflow requires administrator permission; the saved description says Premium adds messages and does not explicitly promise attachment preservation. Xenon
Ongoing server event logging Quark documents inviting the bot, choosing log channels with /logging, and logging edits, deletions, and voice activity 24/7. Quark This documented setup is for ongoing server logging, not a documented DM archive. Quark

For cadence, use the schedule your selected tool actually documents. VaultCord advertises automatic backups every hour and scheduled daily backups, while Quark describes continuous 24/7 logging. Review VaultCord's advertised cadence Review Quark's logging description

For a personal archive, start with the official Data Package. Add a scoped channel or DM export when you need a readable transcript or downloadable attachment files, then retrieve and open the files you need. Use a server logger or backup tool only after checking its permissions and whether its documented scope matches your recovery goal.

Public social content can sit beside your Discord archive: SocialGuardian backs up content from Instagram, TikTok, YouTube, X, Facebook, LinkedIn, Twitch, and Pinterest in one place. Start a SocialGuardian backup

FAQ

Can you back up Discord messages and attachments?

Partly. Discord's Data Package is a ZIP of JSON files containing your messages and a CDN link for images or files included in those messages; that official description does not document a downloaded copy of the attachment file itself. For file bytes, the DiscordKit listing claims attachment export and chat-history download, so download the result and open the attachment file to verify it. Discord Data Package DiscordKit listing

How do I export Discord chat history?

For an official account export, request Discord's Data Package through Data & Privacy and Request your data. For a scoped channel or DM transcript, the DiscordKit listing's steps are install, open the channel or DM, click the extension, choose format and date range, then export and download. Discord Data Package DiscordKit listing

Can Discord server backups restore messages?

A server backup command is not automatically a message-and-attachment archive. Xenon's documented workflow includes /backup create and /backup load, and its page says Premium adds messages; the saved description does not explicitly promise attachment preservation. Xenon

How can I preserve deleted Discord messages and attachments?

Preserve them before deletion or expiry, download any required attachment file, and verify that the downloaded file opens. Discord says a manually deleted message is no longer stored and is excluded from the user's Data Package. Discord also says ephemeral attachments are automatically removed after a set period and are guaranteed to be available only while the message exists. Discord Data Package Discord attachment documentation DiscordKit listing

Does Discord's Data Package include message content?

It includes the messages you have sent, and Discord says each transcript message includes its contents, ID, timestamp, and a CDN link for images or files included in the message. Discord Data Package

What is safest for archiving Discord DMs and server channels?

Start with Discord's official Data Package for your own messages: it separates Direct Messages, Group Messages, and server channels. If you need a readable, scoped transcript or attachment-file export, the DiscordKit listing describes channel/DM export, local browser processing without a Discord login or server upload, and attachment export; download and open the file you need rather than relying only on its link. Discord Data Package DiscordKit listing

How often should I back up a Discord server?

Use a cadence explicitly offered by the tool you choose. VaultCord advertises hourly automatic backups and scheduled daily backups; Quark describes continuous 24/7 logging. VaultCord Quark

Can I back up Discord messages without giving a bot administrator access?

The official Data Package instructions describe requesting account data through User Settings rather than inviting a bot. For channel API access, Discord documents VIEW_CHANNEL and READ_MESSAGE_HISTORY requirements; Xenon's advertised bot workflow explicitly says to give the bot administrator permission. Discord Data Package Discord message documentation Xenon