Knowledge Management

Why is the previous data not accessible after changing the Splunk_DB location?

arsalanj
Path Finder

Hi there,

I used this article "https://docs.splunk.com/Documentation/Splunk/7.2.6/Indexer/Moveanindex" to move my indexes to a new location in a *nix machine.
I followed the instructions and Splunk services started successfully without any errors.
However, I can't see any of my data prior to the index move.
The new DB path is correct in $SPLUNK_HOME/etc/splunk-launch.conf file.
The $SPLUNK_DB variable exists.

Any ideas of what might went wrong?

Thanks.

0 Karma
1 Solution

arsalanj
Path Finder

It worked!

So, for anyone reading this post, I'm not sure that that it will work for you if you just copy the files over to the new destination, as mentioned in the documentation.

View solution in original post

0 Karma

arsalanj
Path Finder

It worked!

So, for anyone reading this post, I'm not sure that that it will work for you if you just copy the files over to the new destination, as mentioned in the documentation.

0 Karma

arsalanj
Path Finder

I deleted the content of the new index and copying files over using rsync this time.
I will update this case soon.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...