Calagopus includes a built-inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/calagopus/panel/llms.txt
Use this file to discover all available pages before exploring further.
import CLI command that reads your existing Pterodactyl (or Pelican) database and migrates the data into Calagopus. The import process is non-destructive — it does not modify or delete your source panel. You can run Pterodactyl and Calagopus side-by-side until you are ready to cut over.
What gets imported
The import command reads directly from the source panel’s MySQL database and migrates the following records:- Settings (app name, URL, SMTP configuration)
- Users and SSH keys
- Locations and nodes (daemon tokens are re-encrypted with the Calagopus encryption key)
- Nests, eggs, and egg variables
- Servers and their environment variables, allocations, and schedules
- Database hosts and per-server databases
- Server backups (metadata only; backup files on Wings nodes are not moved)
Before you start
Back up your Pterodactyl database
Before running any import, take a full backup of the Pterodactyl database. The import is read-only against the source, but having a backup is essential if you need to roll back.
Deploy and configure Calagopus
Follow the quickstart guide to bring up a fresh Calagopus instance. Make sure the panel starts successfully and migrations have run before importing.
The Calagopus panel must be configured and running before you execute the import command. The command requires a valid Calagopus environment to connect to.
Ensure network access between containers
If you are running Calagopus in Docker and Pterodactyl on the same host, make sure the panel container can reach the MySQL host. The official This allows the panel container to reach services on the host machine using the hostname
compose.yml includes an extra_hosts entry for this:compose.yml
host.docker.internal.Run the import
From Pterodactyl
Theimport pterodactyl command reads the Pterodactyl .env file to discover the source database credentials and APP_KEY (used to decrypt encrypted values such as node tokens and database passwords).
/var/www/pterodactyl/.env. If your installation is in a different location, pass the path with --environment:
From Pelican
Pelican is another Pterodactyl-based panel. Use theimport pelican command instead. It defaults to /var/www/pelican/.env and supports both MySQL/MariaDB and SQLite source databases.
Non-Docker installations
If you installed Calagopus without Docker, run thepanel binary directly:
What happens during import
The command streams each source table in batches, prints a progress bar per table, and inserts records into the Calagopus database usingON CONFLICT DO NOTHING — meaning re-running the import is safe and will not create duplicates.
Node daemon tokens are decrypted using the Pterodactyl APP_KEY and then re-encrypted with the Calagopus APP_ENCRYPTION_KEY. Bcrypt password hashes are migrated as-is; users can log in with their existing passwords immediately after import.
After the import
Verify your data
Log into the Calagopus admin panel and check that users, nodes, and servers appear as expected. Spot-check a few servers by opening them and reviewing their environment variables.
Test Wings connectivity
Navigate to Admin → Nodes and confirm that each node shows as connected. Calagopus uses the same Wings API as Pterodactyl, so no Wings reconfiguration is required.
Create a new admin user if needed
Imported users retain their existing passwords but lose any Pterodactyl admin API keys. Create a fresh admin account if required: