{"id":23693423,"url":"https://github.com/alyetama/discord-backup-bot","last_synced_at":"2026-03-14T15:09:15.975Z","repository":{"id":43204914,"uuid":"510592862","full_name":"Alyetama/Discord-Backup-Bot","owner":"Alyetama","description":"A Discord bot to back up your server messages data with one command","archived":false,"fork":false,"pushed_at":"2022-07-07T03:04:25.000Z","size":55,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-23T07:31:59.624Z","etag":null,"topics":["backup","bot","discord","export","messages-backup","python"],"latest_commit_sha":null,"homepage":"https://alyetama.github.io/Discord-Backup-Bot/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Alyetama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-05T05:00:58.000Z","updated_at":"2024-11-04T23:49:55.000Z","dependencies_parsed_at":"2022-08-31T23:01:37.504Z","dependency_job_id":null,"html_url":"https://github.com/Alyetama/Discord-Backup-Bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Alyetama/Discord-Backup-Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FDiscord-Backup-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FDiscord-Backup-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FDiscord-Backup-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FDiscord-Backup-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alyetama","download_url":"https://codeload.github.com/Alyetama/Discord-Backup-Bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alyetama%2FDiscord-Backup-Bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279897725,"owners_count":26240833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","bot","discord","export","messages-backup","python"],"created_at":"2024-12-30T03:52:01.434Z","updated_at":"2025-10-19T20:07:04.078Z","avatar_url":"https://github.com/Alyetama.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Backup Bot\n\n🚀 A Discord bot to automatically back up your server messages data[^1]\n\n[![Supported Python versions](https://img.shields.io/badge/Python-%3E=3.6-blue.svg?logo=python)](https://www.python.org/downloads/) [![PEP8](https://img.shields.io/badge/Code%20style-PEP%208-orange.svg?logo=python)](https://www.python.org/dev/peps/pep-0008/) [![Discord.py](https://img.shields.io/badge/Discord.py-\u003e=2.0.0a-yellow.svg?logo=python)](https://www.python.org/dev/peps/pep-0008/) [![GitHub License](https://img.shields.io/badge/License-MIT-red.svg)](https://github.com/Alyetama/Discord-Backup-Bot/blob/main/LICENSE)\n\n[![Docker Build](https://github.com/Alyetama/Discord-Backup-Bot/actions/workflows/docker-build.yml/badge.svg)](https://github.com/Alyetama/Discord-Backup-Bot/actions/workflows/docker-build.yml) [![Docker Hub](https://badgen.net/badge/icon/Docker%20Hub?icon=docker\u0026label)](https://hub.docker.com/r/alyetama/discord-backup-bot)\n\n[![Discord](https://img.shields.io/badge/Invite%20To%20Your%20Server-%237289DA.svg?style=for-the-badge\u0026logo=discord\u0026logoColor=white)](https://discord.com/api/oauth2/authorize?client_id=993789756955705375\u0026permissions=117760\u0026scope=bot)\n\n## Commands\n\n- To backup all channels:\n\n\u003e !backup all\n\n- To back up a specific channel, you can use:\n\na. The channel ID:\n\n\u003e !backup 992974919547756566\n\nb. or the channel mention:\n\n\u003e !backup #general\n\n## Required Permissions\n\n### Bot\n\n`Read Messages`, `Send Messages`, `Embed Links`, `Attach Files`, `Read Message History`.\n\n\n### User\nOnly members with `Administrator` permission can use the bot.\n\n---\n\n## Self-Hosting \u0026 Development\n\n### Requirements\n- 🐍 [python\u003e=3.6](https://www.python.org/downloads/)\n\n### ⬇️ Installation\n\n```sh\ngit clone https://github.com/Alyetama/auto-discord-server-backup.git\ncd auto-discord-server-backup\npip install -r requirements.txt \u0026\u0026 rm -rf src\n```\n\n### ⌨️ Usage\n\n- Rename `.env.example` to `.env`, then edit it with your favorite text editor to add your bot token.\n- Then, run:\n\n```sh\npython bot.py\n```\n\n### 🐳 Docker\n\n```sh\ndocker run -d -e BOT_TOKEN=\"xxxxxxxxxxxxx\" alyetama/discord-backup-bot:latest\n```\n\n\n### 🔧 Advanced (Docker-Compose)\n\nOptional: You can use the Docker-Compose file to host the bot, a self-hosted S3-compatible Object Storage to upload the backup data ([MinIO](https://github.com/minio/minio)), and a URL shortner to shorten the presigned URLs ([Polr](https://github.com/cydrobolt/polr)).\\\nFirst, uncomment and set the optional environment variables in the `.env` file, Then, run:\n\n```sh\ndocker-compose up -d\n```\n\n[^1]: ⚠️ The backup files are meant for archival purposes. You **cannot** restore your server using the backup files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyetama%2Fdiscord-backup-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falyetama%2Fdiscord-backup-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falyetama%2Fdiscord-backup-bot/lists"}