DiscordDataMirror Documentation
Welcome to the official documentation for DiscordDataMirror โ a powerful, open-source solution for monitoring, archiving, and exploring Discord server data.

What is DiscordDataMirror?
DiscordDataMirror is a self-hosted application that creates a complete, searchable backup of your Discord servers. It runs as a background service, continuously monitoring and recording:
- ๐ Messages โ Every message, edit, and deletion
- ๐ฅ Members โ User profiles, nicknames, roles, and join history
- ๐ Channels โ Text, voice, forums, threads, and categories
- ๐ญ Roles โ Permissions, colors, and hierarchies
- ๐ Attachments โ Images, files, and embeds (with optional local caching)
- ๐ฌ Reactions โ Who reacted with what emoji
- ๐งต Threads โ Archived and active thread content
All data is stored in PostgreSQL and accessible through a beautiful Blazor dashboard.
Who Is This For?
๐ข Community Managers & Server Admins
Preserve your community's history. Never lose important discussions, announcements, or memories when Discord's retention limits kick in or when users delete their messages.
๐ฌ Researchers & Analysts
Study Discord communities with full historical data access. Export messages for sentiment analysis, activity patterns, or community health metrics.
๐ก๏ธ Moderation Teams
Track deleted messages and user behavior across time. Maintain an audit trail for moderation decisions.
๐พ Data Archivists
Create complete backups of Discord servers for long-term preservation. Protect against data loss from server deletions or Discord policy changes.
๐จโ๐ป Developers
Learn from a production-quality .NET Aspire application with Domain-Driven Design, CQRS, and clean architecture patterns.
Key Features
| Feature | Description |
|---|---|
| Real-time Sync | Messages are captured instantly via Discord's gateway API |
| Historical Backfill | Initial sync fetches all accessible message history |
| Full-text Search | Find any message across all servers instantly |
| User Tracking | See a user's activity across all monitored servers |
| Thread Support | Captures ephemeral and archived thread content |
| Attachment Caching | Optionally download and store attachments locally |
| Cross-Server Identity | Link the same person across different accounts |
| Modern Dashboard | Clean, Discord-like interface for browsing data |
| Docker Ready | Deploy anywhere with Docker Compose |
| .NET Aspire | Built-in observability, health checks, and service discovery |
Quick Links
- ๐ Getting Started โ Set up DiscordDataMirror in 10 minutes
- โ๏ธ Configuration โ All configuration options explained
- ๐ค Bot Setup โ Create and configure your Discord bot
- ๐ณ Deployment โ Production deployment with Docker
- โ FAQ โ Frequently asked questions
- ๐ง Troubleshooting โ Common issues and solutions
Screenshots
Dashboard Overview

Channel Browser
Message Viewer
Sync Status

Technology Stack
- .NET 10 โ Latest .NET runtime
- Aspire 13.1 โ Cloud-native orchestration and observability
- Blazor Server โ Real-time reactive UI
- PostgreSQL 17 โ Reliable, scalable database
- Discord.Net โ Official Discord API wrapper
- MediatR โ CQRS and pipeline behaviors
- Entity Framework Core โ Database ORM
- MudBlazor โ Material Design components
License
DiscordDataMirror is open source under the MIT License.
Support
- ๐ Report Issues
- ๐ฌ Discussions
- โญ Star on GitHub