<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to migrate indexed buckets to a different index on a new machine? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91089#M1522</link>
    <description>&lt;P&gt;Some extra details on the migration of indexes to a new indexer.&lt;/P&gt;

&lt;P&gt;If you just want to move your indexed data from the old standalone indexer to a new indexer cluster, this is an easy procedure of copying files.&lt;/P&gt;

&lt;P&gt;Usually the indexes to migrate are : &lt;BR /&gt;
- main ($SPLUNK_HOME/var/lib/splunk/defaultdb on the disk by default)&lt;BR /&gt;
- summary ($SPLUNK_HOME/var/lib/splunk/summary on the disk by default)&lt;BR /&gt;
and any other custom indexes you may have.&lt;/P&gt;

&lt;P&gt;first create the indexes on the new indexers and start splunk once (to create the folders)&lt;/P&gt;

&lt;P&gt;For each index you want to migrate, you will find buckets folders in the /db and /colddb folders that you will have to copy to the new location (or distributed them one by one on a different indexer to distribute the volume). &lt;BR /&gt;
Bucket folder names are db_&lt;EM&gt;_&lt;/EM&gt;&lt;EM&gt;&lt;ID&gt; or hot_v1&lt;/ID&gt;&lt;/EM&gt;&lt;ID&gt;, the last number is an unique id, that increments. In each index, all buckets must have a unique ID.&lt;/ID&gt;&lt;/P&gt;

&lt;P&gt;You may not need to do anything if the destination indexes are empty. But if you are merging buckets from indexes, or splitting then over several indexers, you want to avoid duplicated of the id. The easy way is to increment the id in a range higher than the existing ones.&lt;/P&gt;

&lt;P&gt;In case of duplicate id, a warming will be recorded in splunkd.log at start and the index will be disabled. If it happens, just fix the id, re-enable the  index and start/&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 12:55:05 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2020-09-28T12:55:05Z</dc:date>
    <item>
      <title>Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91085#M1518</link>
      <description>&lt;P&gt;I have seen an answer to part of my question (whether I can copy the contents of an index to another server) in the answer below:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://splunk-base.splunk.com/answers/3516/how-do-i-migrate-my-splunk-data-to-a-new-machine" target="_blank"&gt;http://splunk-base.splunk.com/answers/3516/how-do-i-migrate-my-splunk-data-to-a-new-machine&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;But I have a further query on this: Is it possible to migrate the data from an old server under a certain index (eg. defaultdb) to a new server into a different index (say eg. migrateddb)?&lt;/P&gt;

&lt;P&gt;Does the indexed data in the buckets (eg. /opt/splunk/var/lib/splunk/defaultdb/db/db_1318590087_1318108850_7491) contain anything that ties them to that specific defaultdb index name?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:58:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91085#M1518</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2020-09-28T09:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91086#M1519</link>
      <description>&lt;P&gt;I would suspect not but I'm intrigued to know now - hadn't thought of that before &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2011 13:39:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91086#M1519</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2011-10-13T13:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91087#M1520</link>
      <description>&lt;P&gt;There is no information about the index in the buckets, you can migrate a bucket manually to a :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;new indexer&lt;/LI&gt;
&lt;LI&gt;new index folder&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Recommendations are :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;roll your hot buckets to warm before (easier to manipulate after)&lt;/LI&gt;
&lt;LI&gt;When merging buckets in the same folder, &lt;STRONG&gt;check the buckets ID&lt;/STRONG&gt; of the existing and imported buckets to avoid duplicates ID.
the ID is the last number of each bucket folder : db_xxx_xxx_&lt;ID&gt; or hot_v1_&lt;ID&gt; 
you can re-enumerate the IDs of the new buckets at the end of the existing range, or in a completely new range (like 100 units further) &lt;/ID&gt;&lt;/ID&gt;&lt;/LI&gt;
&lt;LI&gt;don't migrate 64bit to 32bit, some buckets may be larger that the system file size capacity&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:58:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91087#M1520</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T09:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91088#M1521</link>
      <description>&lt;P&gt;Just the answer I was looking for, cheers.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2011 15:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91088#M1521</guid>
      <dc:creator>Glenn</dc:creator>
      <dc:date>2011-10-13T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91089#M1522</link>
      <description>&lt;P&gt;Some extra details on the migration of indexes to a new indexer.&lt;/P&gt;

&lt;P&gt;If you just want to move your indexed data from the old standalone indexer to a new indexer cluster, this is an easy procedure of copying files.&lt;/P&gt;

&lt;P&gt;Usually the indexes to migrate are : &lt;BR /&gt;
- main ($SPLUNK_HOME/var/lib/splunk/defaultdb on the disk by default)&lt;BR /&gt;
- summary ($SPLUNK_HOME/var/lib/splunk/summary on the disk by default)&lt;BR /&gt;
and any other custom indexes you may have.&lt;/P&gt;

&lt;P&gt;first create the indexes on the new indexers and start splunk once (to create the folders)&lt;/P&gt;

&lt;P&gt;For each index you want to migrate, you will find buckets folders in the /db and /colddb folders that you will have to copy to the new location (or distributed them one by one on a different indexer to distribute the volume). &lt;BR /&gt;
Bucket folder names are db_&lt;EM&gt;_&lt;/EM&gt;&lt;EM&gt;&lt;ID&gt; or hot_v1&lt;/ID&gt;&lt;/EM&gt;&lt;ID&gt;, the last number is an unique id, that increments. In each index, all buckets must have a unique ID.&lt;/ID&gt;&lt;/P&gt;

&lt;P&gt;You may not need to do anything if the destination indexes are empty. But if you are merging buckets from indexes, or splitting then over several indexers, you want to avoid duplicated of the id. The easy way is to increment the id in a range higher than the existing ones.&lt;/P&gt;

&lt;P&gt;In case of duplicate id, a warming will be recorded in splunkd.log at start and the index will be disabled. If it happens, just fix the id, re-enable the  index and start/&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:55:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91089#M1522</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2020-09-28T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91090#M1523</link>
      <description>&lt;P&gt;Check this,&lt;/P&gt;

&lt;P&gt;&lt;A href="http://wiki.splunk.com/Community:MoveIndexes"&gt;http://wiki.splunk.com/Community:MoveIndexes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 21:51:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91090#M1523</guid>
      <dc:creator>vasanthmss</dc:creator>
      <dc:date>2015-03-12T21:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91091#M1524</link>
      <description>&lt;P&gt;That's the easy part.  The hard part is moving from one index cluster to another. &lt;/P&gt;

&lt;P&gt;How would we move indexed data from a large production index cluster to a smaller development index cluster.   The idea here is to be able to make changes in a lower environment before modifying production.  Especially with Enterprise Security, we would make changes, see the impact, (e.g. did it work, what did it do to the indexer host, etc), then copy those changes to production. &lt;/P&gt;

&lt;P&gt;So we would want to copy indexes from one cluster to another, but only a subset; maybe 90 days worth?  &lt;/P&gt;

&lt;P&gt;Is there a documented process for this/ &lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 17:38:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/91091#M1524</guid>
      <dc:creator>jaxjohnny2000</dc:creator>
      <dc:date>2019-01-14T17:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/634944#M12464</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/138520"&gt;@jaxjohnny2000&lt;/a&gt;&amp;nbsp;Did you ever get clarity on your issue?&amp;nbsp; I am have the same problem.&amp;nbsp; I need to migrate about 8 months worth of data (buckets) from one indexer cluster to another indexer cluster.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 15:46:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/634944#M12464</guid>
      <dc:creator>coreyCLI</dc:creator>
      <dc:date>2023-03-17T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to migrate indexed buckets to a different index on a new machine?</title>
      <link>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/635774#M12478</link>
      <description>&lt;P&gt;I don't know if you noticed but this thread is already 12 years old and the post you're asking about is 4 years old. You have better chance of getting a response by writing a new question (maybe pointing to this old thread for reference) instead of digging up such ancient history &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 18:28:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Is-it-possible-to-migrate-indexed-buckets-to-a-different-index/m-p/635774#M12478</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-03-23T18:28:48Z</dc:date>
    </item>
  </channel>
</rss>

