Skip to main content
Installation

Upgrade and backup

Where each kind of state lives, what survives an upgrade, how to back up and migrate, how to downgrade.

Where state lives

WhatWhereSurvives upgrade
LLM / embeddings / channel / ticket / threat-intel secretsstorage/passwords (Splunk-encrypted)Yes
Local configurationlocal/copilot.conf, local/app.confYes (the installer never overwrites local/)
Licence, heartbeat session, feature keysstorage/passwords + local/app.conf [license]Yes
Conversations, knowledge base, solutions, triage results, assets / identities, report archive, baseline rules and results, notification config and deliveries, preferences and dispositions, MCP token hashes, ticket recordsKV store copilot_* collectionsYes (replicated in a cluster)
Auditindex=_internal sourcetype=copilot:auditPer _internal retention
Deployed detection rules, searches saved as Reports, configs written by data onboardingsavedsearches.conf in the search app / the target app's local/props.confIndependent of the app
Sealed detection enginebin/detection_core.sealedReplaced with the package

Upgrade

Install the new .spl over the old one and restart. default/ is replaced; local/ and the KV store are untouched. Afterwards:

  1. Check the engine card on Settings → AI settings; the selfcontained package refreshes bin/lib/, replacing anything vendored by hand.
  2. Check the licence page. An online licence picks up any new feature keys at its next heartbeat; an offline licence has its feature set baked in, so a new paid feature needs a re-signed .lic.
  3. New KV collections are declared in default/collections.conf and created on first use. Field-type corrections in collections.conf (1.6.0 changed timestamps from number to string) apply with the package; old documents stay as they are.
  4. Hard-refresh the browser once; Splunk Web caches static assets until the app build number changes.

Do not deactivate the licence before upgrading. Deactivation returns the online seat to the server and clears the local feature keys; the upgrade itself does not need it.

Backup

  • KV store: Splunk's splunk backup kvstore, or export each storage/collections/data/<collection> over REST; a cluster already replicates it.
  • Configuration and secrets: the whole etc/apps/rst_splunk_ai_copilot/local/ plus etc/passwd (storage/passwords ciphertext is bound to the instance's splunk.secret; moving to another instance needs splunk.secret too).
  • Licence fingerprint: the server GUID in etc/instance.cfg plus the host's /etc/machine-id. Restoring onto a machine where these differ means re-activation (deactivate on the old machine first, or ask sales to release the seat).

Migrating to a new search head

  1. Install the same app version on the new machine.
  2. Copy local/, etc/passwd and splunk.secret (or re-enter the secrets in the UI).
  3. Import the KV collections.
  4. Deactivate on the old machine, activate on the new one.

Downgrade

Install the older .spl over the current one. Collections and configuration keys added by a newer version are ignored by the older one; documents carrying unknown fields are simply not read. Versions before 1.6.0 use a different set of routes, so bookmarks break.

On this page