<?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 Is there a way to restore hot buckets? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66685#M22411</link>
    <description>&lt;P&gt;Nope, didn't know about the proper procedure for backing up database and NOT being able to backup hot buckets (now I know: roll to warm, backup the warm...etc.).&lt;/P&gt;

&lt;P&gt;Ok, assuming we &lt;EM&gt;thought&lt;/EM&gt; we were getting backups, and we have data backed up from the hot buckets (or so it appears; about 17 gig worth). We have no warm or cold buckets backed up.&lt;/P&gt;

&lt;P&gt;Are we completely hosed now that we had a catastrophic fail/rebuild of our main server?&lt;/P&gt;

&lt;P&gt;Is there any way to recover the data from what appears to be backed up hot-buckets? We've tried various forms of voodoo and yoga poses, but none work so far...&lt;/P&gt;

&lt;P&gt;Thanks, look forward to the news (DSS inspection starts Monday, updating my resume this evening...).&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2011 04:31:21 GMT</pubDate>
    <dc:creator>Michael</dc:creator>
    <dc:date>2011-03-24T04:31:21Z</dc:date>
    <item>
      <title>Is there a way to restore hot buckets?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66685#M22411</link>
      <description>&lt;P&gt;Nope, didn't know about the proper procedure for backing up database and NOT being able to backup hot buckets (now I know: roll to warm, backup the warm...etc.).&lt;/P&gt;

&lt;P&gt;Ok, assuming we &lt;EM&gt;thought&lt;/EM&gt; we were getting backups, and we have data backed up from the hot buckets (or so it appears; about 17 gig worth). We have no warm or cold buckets backed up.&lt;/P&gt;

&lt;P&gt;Are we completely hosed now that we had a catastrophic fail/rebuild of our main server?&lt;/P&gt;

&lt;P&gt;Is there any way to recover the data from what appears to be backed up hot-buckets? We've tried various forms of voodoo and yoga poses, but none work so far...&lt;/P&gt;

&lt;P&gt;Thanks, look forward to the news (DSS inspection starts Monday, updating my resume this evening...).&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 04:31:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66685#M22411</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2011-03-24T04:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to restore hot buckets?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66686#M22412</link>
      <description>&lt;P&gt;I don't have a real answer for this, but would recommend opening a support case.  If anyone has a chance of patching your buckets to make them usable, the skill would be there.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2011 04:51:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66686#M22412</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2011-03-24T04:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to restore hot buckets?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66687#M22413</link>
      <description>&lt;P&gt;Michael,&lt;BR /&gt;
this might probably best handled by splunk support but here is a quick response:&lt;/P&gt;

&lt;P&gt;If you have the data backed up, as you seem to be saying - you have 17 gigs of HOT buckets - then you should have some directories that look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;hot_v1_2
hot_v1_3
hot_v1_4
hot_v1_5
hot_v1_6
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then if you have these directories all you should need to do is install the EXACT same version of splunk you had prior to fail&lt;BR /&gt;
Create a new index, call it BACKUP and STOP splunk. 
Then browse to &lt;CODE&gt;/splunk/var/lib/splunk/BACKUP/db/&lt;/CODE&gt; and paste the above hot directories.
Make absolutely sure that no hot buckets have the same id (the id is the 2-6 number)&lt;BR /&gt;
Start splunk and you SHOULD be able to see your old data..&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2011 04:30:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66687#M22413</guid>
      <dc:creator>Genti</dc:creator>
      <dc:date>2011-03-25T04:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to restore hot buckets?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66688#M22414</link>
      <description>&lt;P&gt;Thanks Genti for the idea. Here's what we ended up doing. Using a separate box (not our main indexer) we installed the same version of Splunk. &lt;/P&gt;

&lt;P&gt;Splunk stop.&lt;/P&gt;

&lt;P&gt;Copied the hot_v1_1, etc. directories into ../splunk/var/lib/splunk/defaultdb/db.&lt;/P&gt;

&lt;P&gt;Then I manually edited  .metaManifest to make sure there was a line for each instance of hot directory, i.e.:&lt;/P&gt;

&lt;P&gt;/opt/splunk/var/lib/splunk/defaultdb/db/hot_v1_1
/opt/splunk/var/lib/splunk/defaultdb/db/hot_v1_2
 etc.&lt;/P&gt;

&lt;P&gt;Then edited .bucketManifest to include a line for each hot directory (these apparently get transformed by Splunk once you start it back up):&lt;/P&gt;

&lt;P&gt;i.e.:
1 : hot_v1_1
2 : hot_v1_2&lt;/P&gt;

&lt;P&gt;Splunk start.&lt;/P&gt;

&lt;P&gt;After their conversion, they looked something like:&lt;/P&gt;

&lt;P&gt;1 : db_1296702713_1295776921_1
2 : db_1296397258_1296021601_2&lt;/P&gt;

&lt;P&gt;Worked like a champ!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2011 02:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Is-there-a-way-to-restore-hot-buckets/m-p/66688#M22414</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2011-03-29T02:12:17Z</dc:date>
    </item>
  </channel>
</rss>

