<?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 and restore in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623879#M14757</link>
    <description>&lt;P&gt;Thanks 13tsavage.&lt;/P&gt;&lt;P&gt;I had to use this command to extract to /opt/splunk/etc:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tar -xzvf /opt/$HOSTNAME.tgz -C /&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 20:59:47 GMT</pubDate>
    <dc:creator>SplunkNinja</dc:creator>
    <dc:date>2022-12-09T20:59:47Z</dc:date>
    <item>
      <title>What is the correct method to backup/restore Splunk Enterprise?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622720#M14662</link>
      <description>&lt;P&gt;What is the correct method to backup/restore Splunk Enterprise?&lt;/P&gt;
&lt;P&gt;I believe I can backup (Linux) using this command:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;tar &lt;/SPAN&gt;&lt;SPAN class=""&gt;czvf&lt;/SPAN&gt;&lt;SPAN class=""&gt; /opt/$HOSTNAME.tgz /opt/&lt;/SPAN&gt;&lt;SPAN class=""&gt;splunk&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;etc&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:28:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622720#M14662</guid>
      <dc:creator>SplunkNinja</dc:creator>
      <dc:date>2022-12-01T16:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk backup and restore</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622729#M14664</link>
      <description>&lt;P&gt;It depends on what data you want to preserve, but that command should cover most scenarios.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 19:56:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622729#M14664</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-30T19:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk backup and restore</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622733#M14665</link>
      <description>&lt;P&gt;This is previously answered here: &lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/Configuration-Backup/m-p/577865" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Enterprise/Configuration-Backup/m-p/577865&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;All of the ESSENTIAL configurations are found in $SPLUNK_HOME/etc/. In this hypothetical scenario, you would want to ensure this folder is captured. It includes the following:&lt;BR /&gt;&lt;BR /&gt;- Splunk Enteprise License $SPLUNK_HOME/etc/licenses&lt;BR /&gt;- Splunk user knowledge objects $SPLUNK_HOME/etc/apps/&amp;lt;app_name&amp;gt;/local/*&lt;BR /&gt;&lt;BR /&gt;What is NOT included in this backup and restore of $&lt;SPAN&gt;SPLUNK_HOME/etc/ is the indexed data as that is stored in $SPLUNK_HOME/var/lib/splunk/* (may be $SPLUNK_DB/)&lt;BR /&gt;&lt;BR /&gt;So if you are asking to backup and restore a single instance of Splunk? You would want to ensure you include $SPLUNK_DB ($SPLUNK_HOME/var/lib/splunk/*&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 20:09:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622733#M14665</guid>
      <dc:creator>13tsavage</dc:creator>
      <dc:date>2022-11-30T20:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk backup and restore</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622906#M14668</link>
      <description>&lt;P&gt;Thanks 13tsavage&lt;/P&gt;&lt;P&gt;This is just a standalone SH. So, I believe I should be OK with archiving $SPLUNK_HOME/etc&lt;/P&gt;&lt;P&gt;Would this be a good command to be used to restore:&lt;/P&gt;&lt;P&gt;tar xzvf /opt/$HOSTNAME.tgz -C /opt/splunk/etc/&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 21:04:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/622906#M14668</guid>
      <dc:creator>SplunkNinja</dc:creator>
      <dc:date>2022-12-01T21:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk backup and restore</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623039#M14672</link>
      <description>&lt;P&gt;Be careful with the command because if you have an archived folder of '/opt/splunk/etc/' in $HOSTNAME.tgz, you are telling your instance to place this directory in /opt/splunk/etc/. What this could do is place your '&lt;U&gt;etc'&lt;/U&gt; folder in the last directory you specify after -C, so the backup's 'etc/' folder would be placed in /opt/splunk/etc/&lt;U&gt;etc&lt;/U&gt; &amp;lt;- here.&lt;BR /&gt;&lt;BR /&gt;the following command should suffice:&lt;BR /&gt;tar -xzvf /opt/HOSTNAME.tgz -C /opt/splunk/&lt;BR /&gt;&lt;BR /&gt;It is my recommendation to always run scenarios like this in your own test environment before trying to perform backup and and restores of production tools.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 15:31:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623039#M14672</guid>
      <dc:creator>13tsavage</dc:creator>
      <dc:date>2022-12-02T15:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct method to backup/restore Splunk Enterprise?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623041#M14673</link>
      <description>&lt;P&gt;The process of backup/restore depends on what you need - do you need to back up only configuration or the data as well. If you want to back up everything, what is your RTO and RPO...&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2022 15:40:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623041#M14673</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-12-02T15:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk backup and restore</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623879#M14757</link>
      <description>&lt;P&gt;Thanks 13tsavage.&lt;/P&gt;&lt;P&gt;I had to use this command to extract to /opt/splunk/etc:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tar -xzvf /opt/$HOSTNAME.tgz -C /&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 20:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623879#M14757</guid>
      <dc:creator>SplunkNinja</dc:creator>
      <dc:date>2022-12-09T20:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct method to backup/restore Splunk Enterprise?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623880#M14758</link>
      <description>&lt;P&gt;Hi PickleRick,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a lab/dev environment so we don't really have an RTO/RPO.&amp;nbsp; It would be great if you could list some options.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 21:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/623880#M14758</guid>
      <dc:creator>SplunkNinja</dc:creator>
      <dc:date>2022-12-09T21:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is the correct method to backup/restore Splunk Enterprise?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/624634#M14844</link>
      <description>&lt;P&gt;There is a more detailed description in the Admin Guide but in case of a lab environment (typically an all-in-one setup), the easiest things are to:&lt;/P&gt;&lt;P&gt;1) Copy the $SPLUNK_HOME/etc if you want to have just the configuration or&lt;/P&gt;&lt;P&gt;2) Stop the splunk daemon and copy the whole $SPLUNK_HOME if you want a full backup of all data.&lt;/P&gt;&lt;P&gt;Remember to restore to the same version!&lt;/P&gt;</description>
      <pubDate>Sat, 17 Dec 2022 14:55:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/What-is-the-correct-method-to-backup-restore-Splunk-Enterprise/m-p/624634#M14844</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-12-17T14:55:46Z</dc:date>
    </item>
  </channel>
</rss>

