Deployment Architecture

Migrate an index

daniel333
Builder

All,

Our current indexer is our of physical space. We mounted some storage and I'd like to move an index over to the new mount point.

Is there a procedure for this?

My plan was
1) Shutdown Splunk server
2) Copy index over
3) Edit the index.conf to point to the new locations
4) start splunk

Anything I'm missing?

Tags (3)
0 Karma

ChrisG
Splunk Employee
Splunk Employee

There is documentation for this in the Managing Indexes and Clusters manual, see Move the index database.

lguinn2
Legend

That's it. Just be sure to preserve the ownership and permissions for all the files, and be sure to copy all subdirectories.
In Linux, cp -rp should do it...

Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...