<?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: What is the best practice for restoring from archive? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13698#M1254</link>
    <description>&lt;P&gt;You can restore archived data by moving the archive into the thawed directory, $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb. &lt;/P&gt;

&lt;P&gt;further details here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Restorearchiveddata" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Restorearchiveddata&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2010 04:14:44 GMT</pubDate>
    <dc:creator>piebob</dc:creator>
    <dc:date>2010-05-18T04:14:44Z</dc:date>
    <item>
      <title>What is the best practice for restoring from archive?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13696#M1252</link>
      <description>&lt;P&gt;I have data that was archived that I want to access.  How do I go about restoring my archived data so that it is searchable again?&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2010 03:54:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13696#M1252</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-05-18T03:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for restoring from archive?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13697#M1253</link>
      <description>&lt;P&gt;Assuming you are doing this in version 4.1, let's say you have the following archived bucket:  &lt;/P&gt;

&lt;P&gt;db_1274129994_1273525194_0&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Move the bucket to the designated index's thaweddb.  For example, if you are restoring to the main index, move it to:  $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# cp -r db_1274129994_1273525194_0 $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb/temporary-db_1274129994_1273525194_0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;Note that, while unlikely, make sure that there isn't a bucket naming conflict.  In other words, there should be no existing bucket with the same name in that directory.  If so, rename the bucket by changing the bucket id (in the example above, the bucket id is 0.)&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Run the following command from CLI and specify the admin username:password to force Splunk to recognize the restored data.&lt;/LI&gt;
&lt;/OL&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; # $SPLUNK_HOME/bin/splunk _internal call /data/indexes/main/rebuild-metadata-and-manifests -auth admin:changeme
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 May 2010 04:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13697#M1253</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-05-18T04:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for restoring from archive?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13698#M1254</link>
      <description>&lt;P&gt;You can restore archived data by moving the archive into the thawed directory, $SPLUNK_HOME/var/lib/splunk/defaultdb/thaweddb. &lt;/P&gt;

&lt;P&gt;further details here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Admin/Restorearchiveddata" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/Admin/Restorearchiveddata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2010 04:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13698#M1254</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2010-05-18T04:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for restoring from archive?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13699#M1255</link>
      <description>&lt;P&gt;how whould that work on 4.3.x... still this way or did it change and you have to put the bucket somewhere else?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 13:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13699#M1255</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-04-26T13:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best practice for restoring from archive?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13700#M1256</link>
      <description>&lt;P&gt;There's still a thaweddb in 4.3 so I will assume that this works the same way.&lt;/P&gt;</description>
      <pubDate>Tue, 01 May 2012 18:29:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-best-practice-for-restoring-from-archive/m-p/13700#M1256</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2012-05-01T18:29:32Z</dc:date>
    </item>
  </channel>
</rss>

