What a Wazuh server migration involves and how much effort it takes
A team moving a running Wazuh deployment to new servers or a new data center can keep its agent connections and alert history if it treats the move as a planned migration rather than a rebuild. Most of the work is planning, backup, verification and cutover. Very little of it is new build. The effort depends mainly on three things: how big the deployment is, how it is laid out today (all-in-one host, separate nodes or a cluster), and how many agents must reconnect. A single host with a few hundred agents is a different job from a multi-node indexer with thousands of endpoints across several sites, and the plan should be sized from your own inventory rather than from a generic estimate.
Wazuh has four components, and the move touches each one differently. The Wazuh indexer stores alerts and holds the historical data you need to keep. The Wazuh server analyzes agent data with its decoders and rules, and it holds the agent registry, keys and configuration that determine whether endpoints can reconnect. The Wazuh dashboard is a web interface with little state of its own, but its settings and users must carry over. The Wazuh agents on endpoints hold their own keys and must be able to reach the new server address. Each component needs its own inventory, backup check and verification step, so a plan that covers only the server or only the data will leave a gap.
Before scheduling anything, confirm the exact Wazuh version on each component and the version your target hosts will run, since the move must keep the two aligned. Check the Wazuh release notes for the current 4.14 patch level and any changes that affect backup or restore. Ask your team or vendor to confirm the supported backup method for each node, how long a full restore takes in your environment, and how many agents can be checked against the new server before you commit to cutover. Those answers, not a template, set the effort and the risk for your migration.
Which parts of a Wazuh installation carry over and which need rebuilding
This table maps each part of an existing Wazuh installation to how it moves to the new host: copied as files, re-created, re-issued or verified after restore. Read it as a checklist against the vendor backup guide for the exact version you run, since file paths and restore steps change between releases.
| Component | How it moves | What to verify after restore |
|---|---|---|
| Indexer data and alert snapshots | Restored from indexer snapshots or backups taken with the vendor procedure; not a plain copy of data directories | Index counts, document totals and a sample of recent alerts match the source before cutover |
| Server configuration files | Copied as files, including the server configuration and custom rules and decoders, after confirming the paths for your version | Server starts cleanly, rules and decoders load, and wazuh-logtest returns expected results |
| Agent keys and enrollment | Restored with the server key store so existing agents keep their identities and reconnect | Agents show as active on the new server without re-enrollment; spot-check agents on each operating system you run |
| Certificates and TLS material | Re-issued or restored for the new hostnames and IP addresses, then referenced in the configuration | Browser, API and agent connections validate the certificate chain; no trust warnings on the new names |
| Dashboard settings, saved objects and users | Exported and imported per the backup guide; SSO and local user configuration may need re-linking to the new host | Users can sign in, saved searches and dashboards appear, and role mappings still grant the expected access |
| Agent configuration and groups | Group definitions and shared configuration are re-applied from the server backup; check group membership against the source | Each group shows the expected agents, and centralized configuration applies on the next check-in |
| Network endpoints and ports | Re-created: firewall rules, load balancer targets, DNS records and any agent manager address settings must point to the new host | Agents and syslog or API sources reach the new ports from their own networks; no alert gap during cutover |
| Vulnerability content and offline repositories | Re-downloaded from the vulnerability source or copied into the offline repository on the new host | Vulnerability detection populates and the content date matches what your environment expects |
Documented backup, installation and recovery paths for the move
A move to new hardware can follow several documented routes, and each one carries a different part of the installation. Most teams combine a backup of the existing server with a fresh installation on the new hosts, then restore state in a planned order. The cards below separate what each route moves from what the team still has to decide and verify.
Vendor backup guide
The vendor backup guide is the starting point for capturing the configuration and data that define the current deployment. Work from the guide version that matches your installed release, not from memory of an older procedure. Confirm which files it covers, such as server configuration, agent keys and custom rules, and which it leaves out. Record anything it does not cover so the team can capture it separately before the old host is switched off.
Wazuh release notesStep-by-step installation on new hosts
The step-by-step method installs each component on its own host, which suits a move that keeps the same layout. Install the indexer, server and dashboard on the new hosts at the same release as the source system, so restored files match the software that reads them. Check version parity before any restore. The team still owns host sizing, certificates, network rules and the decision to keep or change host names.
Deployment optionsAll-in-one installation for small layouts
The all-in-one method installs every component on a single host, which fits a move from one server to one new server. It moves the layout quickly, but it does not split roles, so it is a poor choice if the new site should run separate indexer or server nodes. Decide the target layout before choosing this route. Plan to validate the restored data on the new host before pointing agents at it.
Offline installation guide for isolated networks
If the new data center has no internet access, the offline installation guide covers installing without a live connection. Vulnerability detection can use an offline vulnerability repository instead of the Wazuh Cyber Threat Intelligence platform, so plan how that repository will be refreshed. Stage every package and dependency before the cutover window. Confirm with the vendor which update channels remain unavailable after the move.
Vulnerability detection docsIndexer snapshots for alert data
Indexer snapshots are the documented way to preserve stored alert data from the old indexer. Snapshots carry indexed alerts and their history, which the configuration backup does not hold. Confirm the snapshot repository location is reachable from both the old and new indexers, and test a restore of a small index before the full transfer. The team owns repository storage, its access controls and retention of the snapshot files.
API and automation options
The Wazuh API exposes read and management functions that a team can script to record agent inventory, group membership and configuration state before the move. Use the documented API endpoints to export that state as a reference list, then compare it after the cutover. Do not assume an API call restores data. The team writes and tests any scripts, stores their output securely, and decides what counts as a complete check.
Old host stays live until the new server proves itself
The move starts with an inventory and a vendor backup on the old host, then files and indexed alert snapshots are staged and new hosts are built at the same Wazuh version. After restore and verification, a small test group of agents points at the new server while the old host keeps running. If verification fails at any point, the team returns agents to the old server. Only a confirmed parallel run leads to cutover and, after a further confirmed period, decommissioning of the old host.
Phases of the move, with the rollback point before cutover.
The cutover order for moving Wazuh to new hardware
This sequence moves a Wazuh installation to new hosts while keeping a verified copy of the old server running until the team accepts the new one. Each step ends with a check that tells the team whether it can move on.
Inventory components, versions and agent counts
The migration lead records every Wazuh component on the old environment: the indexer, server, dashboard and any cluster nodes, plus the exact version of each, the operating systems they run on, and the number of enrolled agents per group. The team also lists custom decoders, rules, CDB lists, integrations, SSO settings and certificates, since these must come across with the data. Confirm the target version you plan to install against the release notes for your release line before any hardware is ordered or configured. The step is done when the inventory is reviewed by the platform owner and matches what the old hosts actually run.
Take a complete backup using the vendor guide
Follow the backup procedure in the Wazuh documentation for every central component, covering configuration files, keys and certificates, custom content, and indexed data. Store the backup off the old host and confirm it is readable on a separate system before anything else changes. Record checksums for the archive so later copies can be verified. The step is done when the backup restores in a test location or the team has documented why a specific item could not be captured and how it will be handled.
Stage files and indexed alert snapshots on new hosts
Build the new hosts with the agreed operating system and the matching Wazuh packages, then copy configuration, certificates, custom rules and decoders, and the indexed alert snapshots onto them. Keep the staging copy separate from the live data path so the old server keeps receiving events without interference. Note any file ownership, permission or path differences, because they cause the most common restore failures. The step is done when every staged item is listed against the inventory and the file counts and checksums match the backup.
Install matching versions and restore the data
Install the same Wazuh version on the new hosts as the old environment runs, then restore configuration and indexed data according to the vendor backup guide. Restores across mismatched versions are not a supported path, so confirm the version match against the release notes before starting. Restore central components in the order the documentation gives, and keep the services stopped until each restore is checked. The step is done when every restored service starts cleanly and reports the expected version.
Verify dashboard login, indexer health and alert flow
Sign in to the dashboard on the new host with an administrator account and with an SSO user if SSO is configured. Check indexer cluster health, confirm that restored alerts and indices are searchable, and confirm that new test events from a sample agent appear in the dashboard. Review server logs for errors and compare restored counts with the inventory. The step is done when login, health, search and a fresh test alert all succeed and the results are written down.
Reconnect a test group of agents
Choose a small group of agents that represent different operating systems and groups. Point them at the new server address using the agent keys carried over from the old environment, so they reconnect without re-enrollment. Confirm each agent shows as active on the new server, receives its group configuration, and sends events. Keep a rollback path for these agents in case a key or address does not match. The step is done when every test agent reports as active with current configuration and no unexplained errors.
Run old and new servers in parallel
Leave the old server running and receiving events while the new one collects from the test group and then from a wider group. Compare alert volumes, agent counts and key rules between the two systems for the agreed period. Look for missing events, duplicated alerts and agents that flap between servers. The period length should be set by the team against its own risk and reporting needs, not a fixed figure. The step is done when the team agrees that the new server shows the same alerting behavior as the old one.
Cut over agents and freeze the old server
Move the remaining agents to the new server address in controlled batches, using the central configuration or the agreed deployment method, and track each batch against the agent inventory. After the last batch, stop the old server from accepting new agent connections while keeping its data available for reference. Confirm the agent count on the new server matches the inventory. The step is done when all agents report to the new server and the old one receives no new events.
Decommission the old host after sign-off
Once the security operations, platform and compliance owners have signed off on the new environment, retain the final backup and old data for the period your records policy requires, then shut down and remove the old host. Update the asset inventory, DNS entries, monitoring and documentation to reflect the new layout. The step is done when the sign-off record is filed, the retention copy is verified, and the old host is removed from every system that referenced it.
How agent keys and enrollment let endpoints reconnect after the move
Agents reconnect after a server move only if the server still recognizes them, and that recognition lives in the agent keys stored on the Wazuh server. Each agent is registered with the manager, which holds the key material that lets the agent authenticate when it connects. A new server built from scratch has no record of those agents, so unless the key store comes across with the server backup, every agent will be rejected or will appear as never enrolled. Treat the key store and the registration data as part of the server state, not as an optional extra. The vendor backup guide lists the exact files to copy and to restore with the same ownership and permissions, so your runbook should follow that list line by line rather than a memory of it.
The most common failure is an address change. Agents hold the address of the server they were enrolled against in their configuration, so if the new server uses a different hostname or IP and nothing points the old name at it, agents will retry the old address and stay disconnected even though the keys are intact. Keys restored to a server that agents cannot reach produce the same symptom as missing keys, which is why the two must be separated during diagnosis. Confirm the address plan before cutover, and decide whether agent configuration will be updated centrally or whether DNS will carry the change. Confirm with your own environment how many agents point at the old name and which groups hold them.
After cutover, check the agent list in the dashboard or through the API and confirm that agents you expect to be active show as active, comparing counts against your pre-move inventory. Watch for agents that stay disconnected after the first reconnect window, and sort them by group, operating system and network segment, since a pattern usually points to a firewall rule, a DNS record or a key problem on one segment. Re-enroll an agent rather than restoring its key when the key is missing or does not match, when the host was rebuilt or cloned, or when the agent has been offline long enough that its record is stale. Record each re-enrollment decision so the audit trail shows why an endpoint's identity changed.
Which move pattern fits the new hardware, data center or air-gapped network
When the new server sits on the same network segment and keeps its addresses and DNS names, the plan changes the least. Agents keep reaching the Wazuh server at the names and addresses they already use, so the main work is copying state accurately and keeping the cutover short. The deployment options page lists the installation methods you can use to build the replacement host.
- Addressing: Keep the same IP address, or move the DNS record for the server name at cutover, and confirm that agents resolve the name you expect.
- Certificates: Reuse the existing certificates and keys if their subject names still match the server, otherwise plan reissue before the cutover window.
- Updates and vulnerability data: Confirm the new host can reach the update repositories and the vulnerability data source you use, or prepare an offline repository in advance.
- Parallel run: Keep the old server available for rollback and run both only as long as your alert review requires.
- Build method: Match the new host's installation method to your current layout and confirm the version matches the running release before you copy data.
Before retiring the old server, confirm that agents report to the new host and that alerts from the first hours reach the dashboard.
A move to a different data center usually changes the server address, the DNS zone, the firewall path between agents and the server, and the outbound route for updates. Every one of these affects how agents find the server after cutover, so the plan has to address them before any data moves. Treat the new site as a new network design, with the existing server as the source of truth for configuration and keys.
- Addressing and DNS: Decide whether the server name will point to the new address, and lower the DNS record lifetime ahead of the cutover so the change propagates predictably.
- Agent reconnection: Confirm how your agents learn the new server address, whether through their configuration or through the management path you already run, and test that path on a small agent group first.
- Certificates: Expect the server names and addresses in the certificates to change, so plan new certificates for the new names and deploy the trust material to agents as part of the change.
- Firewall and egress: Open the agent ports between the agent networks and the new server, and allow outbound access from the new site to the update and vulnerability data sources.
- Parallel run: Allow more time than a same-network move, since agents across several segments may reconnect at different points.
Confirm with your network team that every agent segment can reach the new server before you switch the DNS record.
An air-gapped network cannot reach the internet, so the server, the agents and the vulnerability data all have to be supplied from inside the enclave. The Wazuh offline installation guide covers installing into a network without internet connectivity, and the vulnerability detection capability can use an offline vulnerability repository in place of the Wazuh Cyber Threat Intelligence platform. The deployment options page lists the offline guide alongside the other installation methods.
- Packages and media: Stage the installation packages and any repository content on the connected side, verify them, and transfer them through the media process your security team approves.
- Vulnerability data: Build an offline vulnerability repository and keep it current through your transfer process, since the server cannot fetch updates on its own.
- Certificates: Generate certificates from your internal certificate authority or the process the offline guide describes, and distribute trust material to agents through the internal channel.
- Agent updates: Host agent packages on an internal source so agents can update without internet access.
- Time for the parallel run: Plan longer transfer and verification cycles, because each update or data refresh depends on a physical or approved transfer.
Before cutover, confirm that the offline repository, agent packages and certificates all work from inside the enclave without any outbound connection.
What makes a Wazuh server move cost more or take longer
This table lists the factors that change how much work a Wazuh server move takes, whether each one is paid once or keeps costing money, and what to request in a quote. Read each row against your own environment, since the same driver can be minor in one estate and dominant in another. The main takeaway is that agent count, indexer data volume and the number of custom detection and integration items usually matter more than the move itself.
| Driver | Why it changes cost or effort | What to ask for in a quote |
|---|---|---|
| Number of agents and operating systems | Each operating system family needs its own check that agents reconnect after the move, and agent counts set how long reconnection and verification take. Mixed Linux, Windows, macOS and legacy Unix estates add more test cases. | A per-OS breakdown of agent counts, the reconnection check method for each group, and who performs the verification. |
| Indexer data volume and retention | Larger indexed alert stores take longer to snapshot, transfer and validate. Retention settings decide how much history must be carried over versus left behind in an archive. | Current index size, retention policy, the snapshot and restore method, and what validation of restored data is included. |
| Single-host versus multi-node layout | A single host is one set of files and services to stage. Separate indexer, server and dashboard nodes add per-node configuration, certificate and service steps, and the order of cutover across nodes matters. | A node-by-node inventory with the cutover sequence and rollback point for each node. |
| Custom rules, decoders and CDB lists | Custom content must be copied, checked for syntax and tested against current log samples. Content written against an older release can behave differently and needs review. | The count of custom decoders, rules and lists, the test method (for example, log samples run through wazuh-logtest), and who reviews the results. |
| Integrations that must be re-tested | Forwarders, API consumers, SOAR playbooks and alerting paths that point at the old server need new endpoints or credentials and a test of each data path. | A list of every integration with its endpoint, owner and the test that proves alerts still flow end to end. |
| SSO configuration | Identity provider redirect URLs, certificates and role mappings often name the old server. Changing them is a coordinated task with the identity team, and the fallback admin account must still work. | Confirmation of the identity provider settings to update, who holds administrative access to the provider, and the login test plan. |
| Network and certificate changes | New addresses, DNS names and firewall rules affect agents, dashboard users and integrations. Certificates issued for the old names must be reissued or trusted on the new path, and agents may need a changed server address. | The list of DNS, firewall and certificate changes, who approves them, and how agents are pointed to the new address. |
| Length of the parallel run | Running old and new servers side by side keeps coverage during transition but doubles some hosting and monitoring effort and needs a clear end date. Shorter parallel runs reduce cost but raise the risk of alert gaps. | The parallel run length the vendor proposes, the comparison method for alert counts, and the exit criteria for retiring the old server. |
| Size of the change window | A narrow window forces faster staging and cutover work and more pre-move rehearsal. A wider window allows staged agent reconnection but may extend the period the team is on call. | The approved window, the rehearsal plan, the rollback trigger, and whether staffing outside business hours is included. |
What usually goes wrong during a Wazuh server move and how to prevent it
Most failed Wazuh server moves come from a small set of avoidable gaps: a mismatched version, agents that cannot authenticate, alerts that stop flowing, or an old server that keeps accepting writes. Each risk below maps to a step in the backup, staging or parallel-run stage, so the checks happen before the cutover window rather than during it.
Restoring onto a different version
A backup taken from one Wazuh release and restored onto another can fail to start, or start with configuration and index formats the new packages do not expect. Before staging, record the exact installed versions of the indexer, server, dashboard and agents on the source host, and install the same versions on the new hardware. Confirm the upgrade path with the release notes for your release line before changing anything. Keep the source version recorded in the cutover runbook so that any rollback restores the same state.
- Current release line
- 4.14
Lost or mismatched agent keys
Agents authenticate to the server with keys issued at enrollment. If the key store is not copied, or the copied keys do not match the new host's identity, agents appear disconnected and alerts stop arriving from them. In the backup stage, archive the agent key material and the client keys file alongside the configuration. In staging, confirm that a test agent reconnects to the new server before the cutover, and keep a list of agents to re-enroll if any do not return.
Alert gaps during cutover
Agents keep generating events while the old server is stopped and the new one is not yet receiving. Events that arrive during that window can be buffered on the agent, dropped or delayed depending on agent configuration and outage length. Plan the cutover order so agents are pointed at the new server in a single controlled change, and compare alert timestamps on both sides afterward. Ask your team to confirm the buffering behavior of your agent version before the window is scheduled.
Incomplete indexed data
Alerts and archives live in the Wazuh indexer, and a file-level copy of the data directory can be inconsistent if the indexer is running. Use the snapshot method documented for your indexer version and verify restored document counts for key indices against the source. Confirm that the snapshot repository path is reachable from the new indexer nodes and that index settings and templates are restored with the data. Record the counts in the runbook so the parallel run has a reference point.
Certificate and DNS mismatches
Certificates issued for the old hostname or IP will fail verification once agents and the dashboard point at the new address. Agents and the dashboard can also keep resolving the old name through cached DNS or hard-coded addresses in configuration. Before cutover, check which names the certificates cover, reissue or add the new names where your PKI requires it, and lower DNS TTLs in advance. Test name resolution and TLS handshakes from a representative agent network segment during staging.
Old server left writable
After cutover, the old server can still accept agent connections, receive API calls or run scheduled jobs that write to its own indexes. This splits the alert record and can cause agents to report to two places. Once the new server is confirmed, stop the services on the old host, disable its agent-facing ports and remove or revoke its load balancer or DNS entries. Keep the old host powered off but intact until the retention period in your runbook ends.
Questions buyers ask before moving Wazuh to a new server
What does it cost to move Wazuh to a new server?
The cost is set by the written scope, not by a list price, because DeployOpen does not publish one. The main drivers are how many indexer, server and dashboard nodes move, how much indexed alert history must come across, how many agents must reconnect, and how many environments (test, staging, production) need a rehearsal. Your own team's time for change approvals and access requests is a cost too, even when no outside fee applies. Ask any quote to separate the one-time migration work from recurring items such as post-cutover support or retainers, and to state which environments and data volumes it assumes.
How long does a Wazuh server move take?
The honest answer depends on three things: how many agents report in, how much data the indexer holds, and whether the target layout matches the source. A single-host installation with a small agent count and a clean target is a very different job from a multi-node deployment with years of indexed alerts. Data copy time grows with index size and network throughput, and each verification pass adds time. Ask for a timeline that lists the rehearsal, the cutover window and the rollback point as separate items, so you can see which step drives the schedule.
What must our team provide before a Wazuh migration starts?
Before work starts, the team needs an inventory of current components, versions, certificates, ports and agent counts, plus the list of custom rules, decoders and configuration files that must carry over. You also need change windows agreed with the business, network access between the old and new hosts and to the agents, and written approvals from the people who own the systems and the data. Access to backups and a named owner for the go or no-go decision reduce delays. Confirm each item against your own environment before the scope is signed.
Can our own team move Wazuh using the vendor backup guide?
Yes, many teams do, provided they have engineers who can work through the vendor's backup and restore documentation under change control. The guide covers the steps, but it does not decide your cutover order, your rollback criteria or how to confirm that agents and alerts survived the move. Those decisions carry the risk. A partner typically adds a rehearsal on a copy of production, a checklist tied to your environment and a verification pass afterward. Compare the cost of those activities with the cost of an outage or a gap in monitoring.
Do agents need to be re-enrolled after the Wazuh server moves?
Often not, if the agent keys and the server identity are carried over correctly. Agents authenticate with keys issued during enrollment, so the migration must preserve those keys and the configuration that points agents at the new address. If the server name, certificates or network path change without a matching update, agents will stop reporting and need manual action. Confirm during planning which keys, certificates and agent configuration files must be copied, and test a small group of agents before moving the rest.
How does a parallel run prevent an alert gap?
A parallel run keeps the old and new environments receiving the same agent data for a period, so you can compare alerts before the old system is retired. Agents can be pointed at both sides, or a copy of the event stream can be sent to the new server, depending on your layout. The comparison checks that expected rules fire, dashboards show the same agents and nothing is lost in transit. Plan the length of the overlap with your security operations team, because it adds cost in duplicate capacity and needs clear ownership of which side is authoritative.
What happens if verification fails during the cutover?
A failed check should trigger the rollback point you agreed before the window opened. In practice that means keeping the original environment intact and reachable until the new one passes, and pointing agents back to the old server if they stop reporting or alerts are missing. Define the pass and fail criteria in advance, such as agent counts, alert continuity and dashboard access, so the decision is not made under pressure. Ask the quote to state how rollback is tested and who is authorized to call it.
How DeployOpen scopes, delivers and supports a Wazuh server move
DeployOpen plans a Wazuh server move as a fixed-scope engagement inside your own infrastructure, starting from a written inventory of components, agents and data. The work follows the vendor backup guide, is tested on a staging copy before cutover, and ends with documentation your team can run without us.
How we scope
- Inventory of indexer, server, dashboard and agent hosts, versions and current deployment layout
- Written list of files, keys, certificates and indexed alert data that must move
- Agreed cutover window, rollback point and acceptance checks before work starts
How we build
- Staging rebuild of the target servers with a restored copy of configuration and keys
- Test run of agent reconnection using preserved keys and a sample of endpoints
- Rehearsed cutover order with timed steps, checkpoints and a tested rollback path
How we hand over
- Runbook covering the final file staging, key restore, snapshot restore and cutover steps
- Verification record showing agent check-ins, dashboard access and alert continuity
- Notes on post-move tasks such as retiring old hosts and confirming backup schedules
How we support
- Post-cutover review of agent status and alert flow with your operations team
- Ongoing support, upgrades and continuous testing are available as a retainer
- Retest of changed components after any later Wazuh patch release you adopt

