Complete Server Archival with Interactive Viewer & Multiple Export Formats
Features โข What's New in v2.0 โข Quick Start โข BackupViewer โข Commands
Discord Server Backup Bot is a powerful, fully-featured Discord bot designed for server administrators who need complete, reliable backups of their community data. With v2.0, we've revolutionized how you archive, view, and restore server information.
โจ Go beyond simple backups - Save everything: messages, embeds, roles, members, emojis, and media. Then explore it all with our beautiful interactive viewer.
- โ Full message backup including attachments (images, videos, files)
- โ Custom emoji preservation - Save all custom server emojis
- โ Complete member export - Roles, IDs, join dates, and more
- โ Server configuration backup - Roles, channels, and server info
- โ Real-time progress - Live progress bar every 2 seconds
- โ Well-organized structure - Easy-to-browse backup folders
- JSON Format - Structured data perfect for embeds, reactions, and rich content
- Database Format - Optimized for massive servers with millions of messages
- TXT Format - Human-readable, universal compatibility
- FULL Mode - Complete everything: messages, embeds, reactions, attachments, metadata, roles, permissions
- FAST Mode - Quick backup of essentials (messages + basic data, no embeds)
Browse your backups exactly like Discord! Open
BackupViewer.htmlin any browser and explore your server backups with a beautiful Discord-like interface. Perfect for previewing and auditing your data.
- Discord-like UI - Familiar interface that feels native
- Easy Navigation - Browse channels and messages intuitively
- Search & Filter - Find exactly what you're looking for
- Rich Preview - View embeds, media, and metadata
- !restorebackup - Bring your server back to its former glory
- Restore messages, embeds, roles, permissions, and configuration
- Only works with v2.0+ backups (version guaranteed)
- Full Discord embed backup and viewing
- Rich content preservation (colors, fields, thumbnails, images)
- Perfect embed restoration
| Feature | Before | After |
|---|---|---|
| Export Formats | Text Only | JSON, Database, Text |
| Backup Modes | All-or-nothing | Full or Fast Smart Modes |
| Embed Support | โ Not supported | โ Complete embed backup |
| Data Viewer | โ Manual file browsing | โ BackupViewer.html interactive UI |
| Restore Option | โ Not available | โ !restorebackup command |
| Metadata | Basic | Comprehensive backup_metadata.json |
| Speed | Single mode | Fast mode for quick saves |
# Install dependencies
pip install -U discord.py
# Replace TOKEN with your bot token in bot.py and run
python bot.py- Invite with Administrator permissions
- Enable Server Members Intent and Message Content Intent in Developer Portal
!backup
๐พ Boom! Your server is now backed up.
!backup [format] [mode]
Format (optional - default: txt)
json Structured JSON format - best for embeds & metadata
db Database format - optimized for huge servers
txt Human-readable text - universal compatibility
Mode (optional - default: full)
full Complete backup: ALL messages, embeds, attachments, metadata, roles
fast Quick backup: Messages & essentials only (no embeds, ~60% faster)
!backup # Full backup in TXT format (safest default)
!backup json # Full backup in JSON (best for embeds)
!backup db # Database format, full mode (large servers)
!backup json fast # Quick JSON backup (speed priority)
!backup txt full # Complete text backup (maximum data)-
Full Mode (
full) โจ- All messages with complete metadata
- Discord embeds, reactions, mentions
- All attachments and media files
- Member list with roles and join dates
- Server configuration and permissions
- Emojis and server settings
-
Fast Mode (
fast) โก- All messages and basic metadata
- Member information
- Server structure
- Skips: Embeds, detailed metadata, heavy processing
!restorebackup
Requirements:
- Backup folder must exist in the bot's directory
- Backup created with v2.0 or later
- Bot needs appropriate channel permissions
What Can Be Restored:
- ๐จ Messages and conversation history
- ๐จ Embeds and rich content
- ๐ Attachments and media files
- ๐ฅ Roles and member permissions
- โ๏ธ Server configuration
The ultimate tool for exploring your Discord backups. Open BackupViewer.html in any web browser and experience your server data with a Discord-like interface.
-
Locate your backup folder
- Created by the bot as
backup_ServerName_YYYYMMDD_HHMMSS/
- Created by the bot as
-
Open BackupViewer.html
- Double-click or open in your browser
- Select your backup folder from the prompt
-
Explore Your Data
- Browse channels like in Discord
- View messages with full formatting
- See embeds, images, and media
- Search for specific content
- Review member information
- ๐จ Beautiful UI - Matches Discord's design language
- ๐ฑ Responsive - Works on desktop, tablet, mobile
- ๐ Powerful Search - Find messages, members, content
- ๐ Data Preview - Full embed and attachment rendering
- ๐พ No Upload Required - Everything stays local
- ๐ Fast - Instant access to your backup data
backup_ServerName_YYYYMMDD_HHMMSS/
โ
โโโ ๐ server_info.txt Server name, ID, owner, settings
โโโ ๐ roles.txt All server roles and permissions
โโโ ๐ member_list.txt Complete member list with data
โโโ ๐ backup_metadata.json [v2.0] Format info, mode, timestamp
โ
โโโ ๐ emoji/
โ โโโ custom_emoji1.png
โ โโโ custom_emoji2.gif
โ
โโโ ๐ logs/ [v2.0] New structure for messages
โ โโโ general.txt
โ โโโ announcements.txt
โ โโโ random.txt
โ
โโโ ๐ media/ Attachments organized by channel
โ โโโ general/
โ โ โโโ image1.jpg
โ โ โโโ video.mp4
โ โโโ announcements/
โ
โโโ ๐ embeds/ [v2.0] NEW! Discord embed data
โโโ general_embeds.json Embed objects with full metadata
โโโ announcements_embeds.json Colors, fields, thumbnails, etc
โโโ random_embeds.json
- Python 3.8 or higher
- discord.py v2.x (latest recommended)
- Administrator permissions on target Discord server
- Intents enabled:
- โ Server Members Intent
- โ Message Content Intent
# Clone or download the repository
git clone https://github.com/HighMark-31/discord-server-backup-bot.git
cd discord-server-backup-bot
# Install Python dependencies
pip install -U discord.py
# Configure your bot token in bot.py
# Then run:
python bot.py- Basic message backup
- Text output only
- No viewer tool
- No restore function
- ๐ฏ Multiple export formats (JSON, DB, TXT)
- โก Smart backup modes (Full, Fast)
- ๐ Interactive BackupViewer with Discord-like UI
- ๐ Restore functionality
- ๐ Full embed support
- ๐ Enhanced metadata
- ๐ Better performance and organization
This project is distributed under a custom license that allows usage and modification only if original credits to Highmark.it remain intact.
See the LICENSE file for full details.
Love the bot? Show your support!
- Star this repo on GitHub
- Leave a review on Trustpilot
- Report bugs via GitHub Issues
- Suggest features in Discussions
| Platform | Link |
|---|---|
| Website | https://highmark.it |
| GitHub | HighMark-31/discord-server-backup-bot |
| Review | Trustpilot |