> For the complete documentation index, see [llms.txt](https://docs.airwavy.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airwavy.xyz/overview/commands/admin/backup.md).

# Backup

The `/backup` or `-backup` command allows server administrators to manage server backups. You can create, delete, load, and list backups to ensure your server’s settings and configurations are preserved. This command lets you save and restore your server’s roles, channels, and permissions.

{% hint style="danger" %}
You need the **Administrator** permission to use the `/backup` command.
{% endhint %}

## How to Use the Command

1. **Trigger the Command**\
   You can use the command with either the **slash** or **prefix**:
   * `/backup`
   * `-backup`
2. **Select an Option**\
   After triggering the command, you will be prompted to choose one of the following options:

### Option 1: Create

Select **Create** to generate a new backup of your server. This will clone your server’s roles, channels, and permissions. Note that this backup will not include bot settings or any Discord-linked settings other than channel and role configurations.

### Option 2: Load

Select **Load** to restore a previously saved backup. You will be able to choose which backup to load and apply it to your server.

### Option 3: Delete

Select **Delete** to remove a saved backup. You will be prompted to choose which backup you want to delete.

### Option 4: List

Select **List** to view information about a saved backup. This allows you to choose a backup and see details such as the date it was created and the configurations it includes.

## Permissions Needed

To use the `/backup` command, ensure that you have the **Administrator** permission in your server.

***

For further assistance, refer to the bot's help menu or [contact our support server](https://discord.gg/cGNFnsXpwZ).


---

# 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://docs.airwavy.xyz/overview/commands/admin/backup.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.
