Splunk Enterprise

How to move index buckets from one host to another

highsplunker
Contributor

Hey guys,

could you please help and clarify this paragraph from the docs:


https://docs.splunk.com/Documentation/Splunk/8.1.1/Installation/MigrateaSplunkinstance
“When you copy individual bucket files, you must make sure that no bucket IDs conflict on the new system. Otherwise, Splunk Enterprise does not start. “


I’m not quite sure how this can happen?

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

As the documentation says, to avoid collisions rename the copied (copy rather than move avoids the need to move back) buckets on the target system.  The last set of digits in the bucket name is the bucket ID so make sure those are always unique within an index.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

As the documentation says, to avoid collisions rename the copied (copy rather than move avoids the need to move back) buckets on the target system.  The last set of digits in the bucket name is the bucket ID so make sure those are always unique within an index.

---
If this reply helps you, Karma would be appreciated.

richgalloway
SplunkTrust
SplunkTrust

It can happen if buckets are copied from one Splunk instance to another, which may have existing buckets on it.

It is not a concern when moving data to a brand-new instance.

---
If this reply helps you, Karma would be appreciated.

highsplunker
Contributor

Hello Rich!

(I don't have the problem, but I'm preparing to move some old index data, and I read this page. That's why I'm asking, disturbed a little bit.)

If I'm correct the quick remedy is to remove back those new folders I placed in db storage of my new Splunk server. I mean its bad to have the instance down.

But how can I avoid the collision? Maybe by appropriate naming of new buckets or directories?

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...