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 |