From a457330151a3794bb3accaa7b1f59c02f78cdfa1 Mon Sep 17 00:00:00 2001 From: "Scott R. Shinn" Date: Sun, 28 Jun 2026 13:26:34 -0400 Subject: [PATCH] Expand manager backup and migration guide (#154) Add step-by-step backup, restore, and verification procedures and link from the installation section. Also addresses backup guidance in #80. Closes #154 Assisted-By: Auto --- docs/manual/installation/index.rst | 3 +- docs/manual/notes/manager_backup.rst | 93 ++++++++++++++++++++++------ 2 files changed, 76 insertions(+), 20 deletions(-) diff --git a/docs/manual/installation/index.rst b/docs/manual/installation/index.rst index 11ffe26e..1ce4571a 100644 --- a/docs/manual/installation/index.rst +++ b/docs/manual/installation/index.rst @@ -22,5 +22,4 @@ The best installation tutorial is available in the `OSSEC book `` or + ```` on each agent, or use DNS that resolves to the new host. +5. Start OSSEC: ``/var/ossec/bin/ossec-control start`` +6. Verify agents reconnect: ``/var/ossec/bin/agent_control -l`` — agents should + show as **Active** within a few minutes. + +.. note:: + + You do not need to re-enroll agents if ``client.keys`` and ``queue/rids/`` were + copied intact and the manager identity is unchanged. + +Verification +------------ + +* ``/var/ossec/bin/ossec-control status`` — all required daemons running +* ``/var/ossec/bin/agent_control -l`` — expected agents active +* Review ``/var/ossec/logs/ossec.log`` for authentication or rule errors