<?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: Splunk Backup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121729#M32774</link>
    <description>&lt;P&gt;Hi alacercogitatus,&lt;/P&gt;

&lt;P&gt;Thanks for your reply.&lt;/P&gt;

&lt;P&gt;I have splunk on windows and the Splunk was re-installed on the same machine. So I only have these 3 folders from the previous splunk instance now: defaultdb, search and users.&lt;/P&gt;

&lt;P&gt;Please suggest how to get the indexed data into new installation.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2013 13:05:15 GMT</pubDate>
    <dc:creator>lohit</dc:creator>
    <dc:date>2013-10-30T13:05:15Z</dc:date>
    <item>
      <title>Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121727#M32772</link>
      <description>&lt;P&gt;I am facing problems with restoring splunk.&lt;/P&gt;

&lt;P&gt;I require the searches, indexed data and users created on one installation of splunk to reflect on a fresh installation of splunk.&lt;/P&gt;

&lt;P&gt;The steps I followed are:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;For restoring data, I copied “defaultdb” folder from Splunk/var/lib/splunk/defaultdb ; “search” folder from Splunk/etc/apps ; “users” folder from Splunk/etc after stopping the splunk services.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Then, after stopping the splunk services on the fresh installation,  I replaced the existing “users” and “search” folders with the ones I had copied. But, the saved searches and users did not reflect in Splunk.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Also, when I replaced defaultdb (after stopping the splunk services) in the fresh installation, splunk did not start and it says that splunkd started and then stopped. &lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Let me know where am I making a mistake and how to correct it.  I need it urgently. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 08:22:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121727#M32772</guid>
      <dc:creator>lohit</dc:creator>
      <dc:date>2013-10-30T08:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121728#M32773</link>
      <description>&lt;P&gt;When I transfer copies of Splunk, I take entire backups of etc and var. Make sure they are the SAME version! I'm assuming a &lt;CODE&gt;*nix&lt;/CODE&gt; system based on the direction of your slashes in the question.&lt;/P&gt;

&lt;P&gt;So on your command line on the old system.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;cd $SPLUNK_HOME&lt;BR /&gt;
tar cvfz splunk_backup.tgz etc var&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;On the new system:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;cd $SPLUNK_HOME&lt;BR /&gt;
tar xvfz splunk_backup.tgz&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;And chose the option to overwrite everything if requested.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 11:20:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121728#M32773</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2013-10-30T11:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121729#M32774</link>
      <description>&lt;P&gt;Hi alacercogitatus,&lt;/P&gt;

&lt;P&gt;Thanks for your reply.&lt;/P&gt;

&lt;P&gt;I have splunk on windows and the Splunk was re-installed on the same machine. So I only have these 3 folders from the previous splunk instance now: defaultdb, search and users.&lt;/P&gt;

&lt;P&gt;Please suggest how to get the indexed data into new installation.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:05:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121729#M32774</guid>
      <dc:creator>lohit</dc:creator>
      <dc:date>2013-10-30T13:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121730#M32775</link>
      <description>&lt;P&gt;You can copy the contents of defaultdb/db and defaultdb/colddb to the same location on the new install.&lt;BR /&gt;
You need to make sure that there are no duplicate unique IDs or you will get an error when you restart Splunk.  The unique ID is the last set of numbers of the db folders after the last underscore, and you can change them by hand to whatever you want, just make sure no two are the same.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 13:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121730#M32775</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-10-30T13:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121731#M32776</link>
      <description>&lt;P&gt;Thank you lukejadamec,&lt;BR /&gt;
Changing the duplicate ids worked.I suppose this was the issue why splunk was giving error.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 06:27:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121731#M32776</guid>
      <dc:creator>lohit</dc:creator>
      <dc:date>2013-10-31T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121732#M32777</link>
      <description>&lt;P&gt;I think you should be able to exclude some directories. e.g.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME$/var/run/splunk/dispatch/ 
$SPLUNK_HOME$/var/run/searchpeers/
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 29 Jun 2014 22:14:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/121732#M32777</guid>
      <dc:creator>mcronkrite</dc:creator>
      <dc:date>2014-06-29T22:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Backup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/548324#M155532</link>
      <description>&lt;P&gt;Would you please show. How I can perform incremental Splunk Ent backups on Daily or weekly basis for small recoveries? Is there an app or process to do regular backups for a distributed environments? Thank u&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 21:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Backup/m-p/548324#M155532</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2021-04-17T21:21:50Z</dc:date>
    </item>
  </channel>
</rss>

