Skip to content

A Telegram bot for MongoDB backups and imports using PyTDBot. Supports .gz and .json formats, with Docker integration for MongoDB tools.

License

Notifications You must be signed in to change notification settings

AshokShau/TgMongoBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB Backup Bot 📦

A Telegram bot built using PyTDBot to backup and restore MongoDB databases.

Stars Forks Last Commit Repo Size Python License Issues PRs CI Status

Features

  • 🔐 Backup MongoDB databases via /mongo <URI>
  • 💾 Supports .gz (default) and .json formats
  • 📥 Import backups by replying to a file with /mongo {import} <URI>
  • 🐳 Docker-ready with pre-installed MongoDB tools
  • ⚡ Fully asynchronous and lightweight

Commands

  • /mongo <mongodb_uri> — Create a .gz backup
  • /mongo {json} <mongodb_uri> — Create a .json backup
  • /mongo {import} <mongodb_uri> — Restore by replying to a .gz or .json backup

About

A Telegram bot for MongoDB backups and imports using PyTDBot. Supports .gz and .json formats, with Docker integration for MongoDB tools.

Topics

Resources

License

Stars

Watchers

Forks