Moving rConfig to a new server, OS or Docker
If this is you
rConfig itself isn’t changing edition or major version, but the host is: new hardware, a newer operating system, a move to a VM or the cloud, or a move off a self-managed container. You want the same devices, history and settings on the new host.
The recommended route
Build the new host with the same rConfig version as the old one, then restore the old install onto it and cut over. A move is a backup and restore onto a different host, so everything that matters is in the four parts of a complete rConfig backup.

What comes across and what doesn’t
| Part | Where it lives on a standard Pro or Vector install | Why it matters |
|---|---|---|
| Database | The MySQL, MariaDB or PostgreSQL database named in .env |
Devices, tasks, policies, users, integrations and compliance history |
| Storage | /var/www/html/rconfig8/current/storage/app/rconfig/ |
Downloaded configurations, templates and reports |
.env |
/var/www/html/rconfig8/persistentData/.env, read through the symlink current/.env |
Database, mail and application settings |
APP_KEY |
Inside .env |
Decrypts stored credentials and other secrets |
The install lives in /var/www/html/rconfig8/current, a symlink to the active release, while .env sits in persistentData so it survives each release. Copy the real file, not the symlink.
What doesn’t come across is anything outside rConfig: the host’s firewall rules, its TLS certificate and web server configuration, and any access your devices grant to the old server’s address.
Decisions to make first
- Keep
APP_KEYidentical. It decrypts stored device credentials and other secrets. A new key on the new host leaves every credential unreadable, and there is no way to recover them without the old key. Never runphp artisan key:generateon the new host. The.envand keys guide explains why, for HA pairs and moves alike. - Match versions. Install the same rConfig version on the new host, restore, then upgrade if you want to. Restoring an older database under newer code can leave migrations half-applied.
- Check the platform. The new OS, PHP, database and Redis versions must be supported. See OS configuration.
- Choose the install type deliberately:
| Moving to | Route |
|---|---|
| A server or VM | A standard install, then restore. The usual production path. |
| rConfig’s official Docker deployment | A supported production path with rConfig’s published images. The docs have no dedicated procedure for moving an existing install into it, so carry the same four parts across. |
| Off a self-managed container | Export the database, copy the configuration files from the Docker volumes, install on a server and import both. See Docker Deployments. |
- Plan device access. If devices or AAA servers only accept management connections from the old server’s address, the new address needs the same access before cutover.
The steps
rConfig docsBackupsHow to back up and restore an rConfig V8 server now that the built-in system backups feature has been removed in V8.4.1.Read the docs
rConfig docsrConfig V8 Pro Installation Guide (Linux)Step-by-step rConfig V8 Pro installation guide for Linux: bash installer, prerequisites, database setup, verification, and troubleshooting.Read the docs
rConfig docsDocker DeploymentsDocker-based deployments of rConfig V8: challenges, limitations, appropriate use cases, best practices, troubleshooting, and support considerations.Read the docs
Uplink guideKeep .env and APP_KEY in step on rConfig HA nodesWhy both rConfig HA nodes need an identical .env and APP_KEY, what lives there and what lives in the database, and how to keep the two copies in step.Read the guide
How to know it worked
- You can sign in, and the device list, history and scheduled tasks match the old server.
- A test backup of a device with stored credentials succeeds. A credential error on every device means the
APP_KEYdoesn’t match. - Scheduled backups run on the new host for a full cycle before the old one is retired.
- Security Center runs clean on the new host, including file permissions on
.envand the storage folder.