Back up and restore a server with Gaia
Create configuration backups by hand or daily, see what they contain, and run a full restore safely.
On this page
Gaia can save a snapshot of a server's structure: roles, channels, permissions, member roles and Gaia's own settings. You can restore it onto the same server or another one.
A restore replaces the destination server's channels and roles. It is not a merge. Read Restore a backup before you start one.
Create a backup#
- Type
/adminand open Backups. - Click Create Backup and confirm.
Gaia reports Backup Created with the number of roles, channels and members. Each server keeps at most two backups. The new one is written and checked before the oldest is removed.
If Discord rate-limits Gaia while it reads the member list, you see Backup Failed and no backup is made. Try again a little later.
Daily automatic backups#
- Open Backups in
/admin. - Click Enable Automatic.
Gaia then makes one backup a day at BACKUP_HOUR in TIMEZONE, by default 03:00 Europe/Ljubljana. See Configuration. If Gaia was offline at that time, it makes one backup after it starts again, not several.
What a backup contains#
| Included | Not included |
|---|---|
| Categories, text, voice, announcement, stage, forum and media channels | Messages and direct messages |
| Permission overwrites | Members themselves |
| Roles, except managed and integration roles | Managed and integration roles |
| Which roles each member has | Invites, boosts, webhooks and integrations |
| Selected server settings, including Community | Other bots' data |
| Gaia's configuration for the server | Active mutes and active voice rooms |
A backup is not a byte-for-byte copy of the server. Each one has a version, a SHA-256 integrity check and a size limit of 25 MB.
View or delete a backup#
- Click View Backups and pick a backup.
- Gaia shows its date, the counts of roles, channels, member assignments and overwrites, its size and anything it could not capture.
- To delete it, click Delete Backup, then Confirm Delete. This cannot be undone.
Restore a backup#
Gaia needs Manage Channels, Manage Roles and Manage Server to restore. Invite it with the permissions number 2436033587 if you plan to restore. See Install Gaia.
- Click Restore Backup and pick a backup.
- Read the Full Server Restore warning. It names the source and destination and the number of roles, channels, overwrites and member assignments.
- To go ahead, click the red button that begins with I Understand.
Gaia then:
- Makes a fresh safety backup of the destination and checks it. Nothing is deleted before that succeeds.
- Deletes the destination's channels and the roles it can manage.
- Creates the roles and channels from the backup, sets Community and permissions, and replaces member roles where it can.
- Restores Gaia's settings, pointing them at the new roles and channels.
- Checks the result and reports it.
Illustration generated with AI and checked by Maj Kovačič.
These are kept: @everyone, managed and integration roles, Gaia's own role, objects Discord protects, active Gaia voice rooms and roles above Gaia.
The result is one of Restore Completed, Restore Completed With Warnings, Restore Partially Failed or Restore Aborted Before Destructive Changes. It shows the safety backup ID and lists warnings and failures. Gaia also sends you a direct message when it finishes.
If Discord rejects some steps, the restore can be partial and cannot be rolled back automatically. Use the safety backup if you need to go back.
Only one restore can run on a server at a time, and backups pause while it runs. If Gaia stops during a restore, it marks the restore as interrupted when it starts again and does not retry it.
Backups made by older Gaia versions did not record Community state. If such a backup contains announcement channels, Gaia refuses to restore it. Create a fresh backup first.
Who can see which backups#
- You need Discord Administrator on the server where you open
/admin. - To restore a backup from another server, you also need Administrator on that server right now.
- If Gaia has left the source server, only the person who created a manual backup can still use it.
When Gaia leaves a server, that server's backups are kept for 30 days and then deleted. They contain member IDs and role assignments, so treat them as carefully as the database.
Source: Gaia v1.0.1 README, docs/BACKUP_LIVE_TEST.md, src/services/backup_service.rs and src/services/admin_ui.rs, checked 4 November 2026. Where the README and the code differ about restore, this page follows the code.