> For the complete documentation index, see [llms.txt](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/miscellaneous-features/server-backups.md).

# Server Backups

Here is a comprehensive guide how to setup server backups within your Discord server using AllinOne.

### What gets backed up?&#x20;

* ✅ **Channels** (all types: text, voice, announcements, forums, categories)
* ✅ **Threads & Forum Posts**
* ✅ **Messages** (up to 100 per channel)
* ✅ **Roles**
  * Role names, colors, positions
  * Permissions&#x20;
  * Role icons and emojis
* ✅ **Member Data**
  * Role assignments for all members
* ✅ **Emojis**
* ✅ **Attachments /** **Files**
  * Up to 300kb per attachment / up to 2mb per server / 700KB max backup

### Before we get started.

* ## **Make sure AllinOne Role has Administrator Permissions and access to hidden channels! Or they wont backup.**<br>

  <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FQSCuh3D2yuh18LFRhhIW%2Fimage.png?alt=media&amp;token=9817eb1e-0f4f-4aaa-bd8f-a6636fd0c261" alt=""><figcaption></figcaption></figure>

* Also keep in mind, this will delete and restore channels, but channel ids, and message ids will be different. Make sure when the bot is finished restoring, you go through and re-enable your setting you have within the bot. For example, your temp voice, join to create and control panel will not work.&#x20;

### Setup

1. Start by using the `/setup` command within your discord and click "Miscellanous Features"\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FFCFVLYT4UYoiw499wz7X%2Fimage.png?alt=media\&token=56bbc52d-ab04-4226-869f-9e6c2aa49745)
2. From there hit the "Server Backups" button\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FSQXNuL9aAkFoQEDIb4NQ%2Fimage.png?alt=media\&token=3ce70de0-2e78-4cb7-aaea-2c139d606be5)
3. Select "Enable Backups"\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FevO8PSEvPl9ggbUXFuKv%2Fimage.png?alt=media\&token=8d2c6e9e-9036-4ed3-8f5d-5a08209ca17d)
4. Now you're going to select which channel you want Server Backup Notifications\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2Fa2chufTgNacopid49P6W%2Fimage.png?alt=media\&token=b6853a79-c51f-416d-8af9-7197f0212724)
5. Now backups are enabled\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FiwVsACqPjqkSfOKmyKTg%2Fimage.png?alt=media\&token=c3ff7127-01c4-4f9d-8d67-28362568c193)

### Setting up automated backups

1. Head back to the Server Backups under Misc. Features
2. From there select "Toggle Auto Backups" \
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FtS1jAfw1wIRizdpVGSYd%2Fimage.png?alt=media\&token=030bca23-5442-4648-857b-e573d8f9108f)
3. Once enabled head back to settings\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FwWlDMWHEp4Wg6aDKtWfg%2Fimage.png?alt=media\&token=14228ccc-8f28-44ea-8915-9e2fba275fab)
4. Select "Set Backup Interval" \
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FMOYMNLmGTGmFKxb94b2V%2Fimage.png?alt=media\&token=78703486-ebd8-4e1e-beb7-14e6cf27944c)
5. From there you have options to chose from. Select what you would like! \
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2F6c5FYdDwfL4ecSmIuZzL%2Fimage.png?alt=media\&token=1b55fce5-8b41-43bd-894f-48f0f93f226e)

* Everyone has a max of **5 backups** per Discord serve&#x72;**.**&#x20;
* Here is what it looks like when your server is backed up. \
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FEQfqfJVilxlo0vkeHDzE%2Fimage.png?alt=media\&token=f93f463e-df8f-434a-8751-4503107c4f1f)
* Keep in mind, it will auto rotate from oldest - newest backups with automated backups. So your oldest backup always autodeletes for the newest.&#x20;

### Commands

* `/viewbackups` - From here you can view your Discord servers backups we have stored. \
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FaBjfoeBJDYiO8pP3SaHk%2Fimage.png?alt=media\&token=666d246e-9d35-4981-b097-7ff5a4c702ba)
* `/restore {id}` - Chose one of your five backups you have available. \
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FNZL2DPxHp4fajbg0Wd1Y%2Fimage.png?alt=media\&token=6e6bb5e9-e615-4c7c-9809-594609a64bbf)<br>
* `/backup` - Backup your server\
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2Ftg5lckoJuhcEMJ3xMbhV%2Fimage.png?alt=media\&token=ff270422-e5f4-43cd-8e4a-fdd00edee872)

### Additional Features:

* Set which roles that can backup/restore your Discord server - default: Administrators only. \
  \
  ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FZYfxXwYlwFJDHKT2WZhk%2Fimage.png?alt=media\&token=616612a9-1ee5-4743-bd1c-0ee80c841d8c)
* If you have suggestions or want to report bugs use the /aioreport command in your Discord, we are listening!

### Additional Notes:

* Keep in mind each guild is allocated up to 2mb with 700kb max per backup.

### Dashboard Settings:

Want to change what gets backed up? Well access the [dashboard](https://dashboard.allinonebot.cc/) to configure.&#x20;

1. After signing in and choosing your guild, head to "Server Backup Module"

2. From there you can view your current backups, view the settings for the backups, and edit your config.<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2Fvky4ozsEsQ9VlJNvZZQt%2Fimage.png?alt=media&amp;token=09caa9e9-82bb-4728-bdb4-5938f4c4ff72" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FMj6nBZ0QnsAnFHWXpehS%2Fimage.png?alt=media&amp;token=a75bf8ff-fdf4-4c0a-b698-ce22a1a5a1a9" alt=""><figcaption></figcaption></figure>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2F7yZtfwckC9ZDDbvrIJrA%2Fimage.png?alt=media&amp;token=cf44ea87-5ce0-4d22-9a87-d34afcbe55fe" alt=""><figcaption></figcaption></figure>

3. Clicking the "🔒" setting will prevent the backup from automatically being deleted.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/miscellaneous-features/server-backups.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
