https://github.com/ashokshau/mongodbbackupbot
A Telegram bot for MongoDB backups and imports using PyTDBot. Supports .gz and .json formats, with Docker integration for MongoDB tools.
https://github.com/ashokshau/mongodbbackupbot
backup db-backup mongo-backup mongodb-atlas mongodb-database pytdbot telegram telegram-bot tg tgbot
Last synced: 3 months ago
JSON representation
A Telegram bot for MongoDB backups and imports using PyTDBot. Supports .gz and .json formats, with Docker integration for MongoDB tools.
- Host: GitHub
- URL: https://github.com/ashokshau/mongodbbackupbot
- Owner: AshokShau
- License: mit
- Created: 2025-05-07T17:19:59.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-06-27T01:21:03.000Z (3 months ago)
- Last Synced: 2025-06-27T02:26:07.029Z (3 months ago)
- Topics: backup, db-backup, mongo-backup, mongodb-atlas, mongodb-database, pytdbot, telegram, telegram-bot, tg, tgbot
- Language: Python
- Homepage: https://t.me/FallenProjects
- Size: 83 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# MongoDB Backup Bot 📦
A Telegram bot built using [PyTDBot](https://github.com/pytdbot/client) to backup and restore MongoDB databases.
## Features
- 🔐 Backup MongoDB databases via `/mongo `
- 💾 Supports `.gz` (default) and `.json` formats
- 📥 Import backups by replying to a file with `/mongo {import} `
- 🐳 Docker-ready with pre-installed MongoDB tools
- ⚡ Fully asynchronous and lightweight## Commands
- `/mongo ` — Create a `.gz` backup
- `/mongo {json} ` — Create a `.json` backup
- `/mongo {import} ` — Restore by replying to a `.gz` or `.json` backup