Legacy Migration
Bring the legacy botThe old v3.4.3 bot that ran from a config.json file's config.json into the selected server through Backup's import wizard, then review any feature that the current checks keep off.
Why Migrate?
- Brings your existing rules across in one step, so you don't retype 19 features by hand.
- Moves webhook URLs, signing secrets, and the Bot TokenThe bot's password for Discord, from the Developer Portal out of a plain file and into encrypted storage.
- Checks each feature's settings before anything turns on, so a feature with broken settings stays off instead of failing in Discord.
Before You Import
- Back up first — Keep a copy of
config.json, and back up the applianceOne container that holds the bot, panel, worker, and database as described in Storage and Backups, because the wizard replaces settings. - Discover the server — Start the bot and add it to the server, so the server appears in the server menu, because the import works on the selected server.
- Match the server — When the file has
settings.discord.guild.guild-id, it has to match the selected server, or the import stops with "This config.json belongs to another Discord server. Switch to that server first." - Check the token — The import replaces the Bot TokenThe bot's password for Discord, from the Developer Portal whenever the file has
settings.discord.token, so remove an old token from the file first if you don't want it.
How config.json Is Staged
The wizard checks each recognized section with the same settings and real secret values that a feature save uses. A valid, supported feature follows Turn on features that pass checks, while every other recognized feature is still imported but stays off until you fix it on its feature page.
The untouched v3.4.3 config-sample.json imports successfully. Its five incomplete sample sections stay off, for these reasons.
| Section | Why it stays off |
|---|---|
anti-raid | auto-ban.channel has no alert channel. |
broadcast-alerts | The sample event rules have no destination channels. |
sync-roles | Reusing the same placeholder Role ID makes the sample dependency graph cyclic. |
toggle-perms | The legacy user-or-role-id entries do not say whether their target is a member or role. |
web-applications | The reCAPTCHA values are empty, webhook signing secrets are absent, and paths such as path.to[0].sample-text do not match the supported dot format. |
Other incomplete legacy settings behave the same way: they don't reject the whole import, but they can't run until they pass the current checks. Malformed JSON, a mismatched Server IDThe number Discord uses to name a server, and files over 750,000 characters still reject the source.
- Text-only messages — Direct messages, auto-reply responses, and scammer and impersonator alerts need
content, and a feature with only a legacy embed stays off. - Empty credentials — Enter reCAPTCHAGoogle's checkbox that keeps bots off the invite page keys and signing secretsShared secret that proves a webhook request is yours on the affected feature page before turning it on.
- Time zonesThe zone a schedule's times are read in; UTC by default — Schedules use each rule's own
time-zoneand default to UTC, while the legacysettings.time-zoneis stored but not used.
Run the Import
Only the OwnerThe first account; it can do everything and can't be removed and AdministratorsRole that can change everything, including users can open Backup and run the import from a browser sessionYour browser's sign-in, good for 24 hours.
- Select the server in the server menu.
- Open Backup under Settings, then select Import….
- In Source, choose An older config.json, then select your file of up to 750,000 characters.
- Optionally select Turn on features that pass checks, so valid, supported features go on during the import. Leave it clear to review every feature first.
- In Settings, compare In the file with Here. Needs attention after import lists features that are imported switched off until you fix them, and Not brought over lists the older data this import leaves out.
- Check Review, select Import, and complete Confirm it’s youA fresh sign-in check before an export or import with your password and authenticator code, when enabled, or a passkeySign in with Face ID, Touch ID, or a security key.
- Wait for Importing to finish, then select Done.
Export and Import shows the complete wizard and its security model.
Review and Importing
- Settings — Shows whether the file includes the connection, how many features it brings to the selected server, and what is already here. Imported features that need repairs are listed by display name under Needs attention after import.
- Needs attention after import — Lists each feature that was imported switched off, and says to fix its settings on the Features page before turning it on.
- Not brought over — Lists unsupported sections and skipped legacy values with specific labels. Records that always stay local are covered by a note on Review instead.
- Review — Separately counts features that turn on and features that stay off until fixed. When Turn on features that pass checks is clear, a note confirms that imported features stay off until you turn them on.
- Importing — Applies the connection and features together, then shows each section as imported.
The database keeps the detailed legacy report, including imported, enabled, invalid, and skipped feature names and the compatibility warnings.
What the Import Replaces
danger
A successful import replaces every feature for the selected server and clears the features the file doesn't contain. It also deletes every secret stored for that server, including secrets you entered on feature pages, and it replaces the Bot TokenThe bot's password for Discord, from the Developer Portal for the whole applianceOne container that holds the bot, panel, worker, and database when the file contains one.
These writes share one PostgreSQL transaction. If any database write fails, the previous features, secrets, report, and Bot TokenThe bot's password for Discord, from the Developer Portal remain unchanged.
- RevisionA counter that makes the bot reload its latest settings — Increases, so a running bot reconnects with the imported settings.
- The invite page design — Stays as it is, because the import doesn't touch it.
What Is Dropped
- Market data — The
api-fetchsection and its API keys. - Twitter and X — The
twitter-feedsandx-feedssections, thesettings.twittercredentials, andtwitter-accountcopier destinations. - Copier rules without destinations — A copier rule left with no destination after Twitter destinations are removed.
- Unknown sections — Top-level sections that don't match a feature, which the report lists under Sections skipped.
- Unknown keys — Keys a feature doesn't use, which stay in the stored settings but don't appear in the form, where they do nothing.
- Legacy settings —
settings.log-levelis dropped, while prefix commandAn old !command; slash commands replace it settings such asbase-commandsstay in the stored settings, hidden from the form, and do nothing.
Secrets
The import moves these values into encrypted secretsA saved credential the panel encrypts and never shows again for the selected server.
- Bot TokenThe bot's password for Discord, from the Developer Portal —
settings.discord.token, which becomes the applianceOne container that holds the bot, panel, worker, and database's Bot TokenThe bot's password for Discord, from the Developer Portal instead of a server secret. - reCAPTCHAGoogle's checkbox that keeps bots off the invite page — The invite pageA public page that hands out short-lived Discord invites's
secret-key. - Signing secretsShared secret that proves a webhook request is yours — Each
map-webhooksroute'ssigning-secret. - Webhook URLs — Message copier and message proxy webhook URLs.
- HTTPS files — The
https-serverca,cert, andkeyvalues, which the rewrite stores but doesn't use.
The Invite Page
The import doesn't read invites.ejs any more, so a customized template doesn't carry over. The invite path, the invite limits, and the reCAPTCHAGoogle's checkbox that keeps bots off the invite page keys from web-applications do import.
To bring a customized page across, open Features, select Web applications, and set the invite page's title, description, button, footer, colors, logo, and banner, as described in Web Applications.
After Importing
- Open each feature listed under Needs attention and fix the fields its page marks.
- Enter any secret that was empty in the file.
- Turn the features on one at a time, if you left Turn on features that pass checks off.
- Check the configuration issuesWhy a feature stayed off the last time the bot connected on the Overview page after each change, and the Web log for web applications.
Twitter and X
The rewrite has no Twitter or X integration. The import skips those sections and credentials without storing them, and the Feature Matrix lists every other change.