<?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: How to Backup Config Files in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/617582#M12013</link>
    <description>&lt;P&gt;GitHub link should work. See previous message.&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2022 20:23:02 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2022-10-18T20:23:02Z</dc:date>
    <item>
      <title>How to backup config files?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/478357#M10324</link>
      <description>&lt;P&gt;Him&lt;/P&gt;
&lt;P&gt;What is the most convenient way to backup Splunk configuration file for different Splunk islands? We are migrating our customers to Splunk 8 and want to make sure that configuration is backed up periodically.&lt;/P&gt;
&lt;P&gt;Can we use Splunk API for it?&lt;/P&gt;
&lt;P&gt;Bests,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 22:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/478357#M10324</guid>
      <dc:creator>gozdeyildiz</dc:creator>
      <dc:date>2022-10-18T22:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Backup Config Files</title>
      <link>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/478358#M10325</link>
      <description>&lt;P&gt;There are several approaches you can use, but at the most basic level:&lt;/P&gt;

&lt;P&gt;Take a copy of $SPLUNK_HOME/etc This will include all your system and application config files and any user data or private searches, and (importantly) the splunk.secret and passwd files.&lt;/P&gt;

&lt;P&gt;If you have a copy of ./etc you should have everything you need to restore an instance (other than indexed data)  &lt;/P&gt;

&lt;P&gt;You can't use the Splunk Rest API to perform a backup per-se, but you can use it to list it and help you figure out what needs to be exported.&lt;BR /&gt;
See here for a great presentation, demo and example code from .conf 19 &lt;A href="https://conf.splunk.com/watch/conf-online.html?search=FN1315#/"&gt;https://conf.splunk.com/watch/conf-online.html?search=FN1315#/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Finally there are a number of applications on splunkbase (or you can implement your own) to check the contents of a single app (or all apps, or all of ./etc) into git - or another code repository if you choose.&lt;BR /&gt;
(first two apps) &lt;A href="https://splunkbase.splunk.com/apps/#/search/git%20version%20control/"&gt;https://splunkbase.splunk.com/apps/#/search/git%20version%20control/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is a nice approach as it will give you versioned files so you can track (and revert) changes over time. Useful if you have lots of users creating/modifying assets, and want to keep that flexibility whilst introducing some safeguards.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 13:24:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/478358#M10325</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-24T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Backup Config Files</title>
      <link>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/478359#M10326</link>
      <description>&lt;P&gt;@nickhillscpl Thank you for the recognition on FN1315!&lt;/P&gt;

&lt;P&gt;@gozdeyildiz: @dmarling and I put in a ton of work to develop that solution and share it with the Splunk community. The Cover Your Assets presentation explains the genesis, assumptions, gotchas, and does a working demo. &lt;A href="https://conf.splunk.com/watch/conf-online.html?search=FN1315#/"&gt;After watching it&lt;/A&gt;, grab the code on Paychex's Github: &lt;A href="https://github.com/paychex/Splunk.Conf19/"&gt;https://github.com/paychex/Splunk.Conf19/&lt;/A&gt;&lt;BR /&gt;
If there's questions/comments/etc., @ mention us here on Splunk Answers.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 14:18:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/478359#M10326</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-02-24T14:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to Backup Config Files</title>
      <link>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/617580#M12012</link>
      <description>&lt;P&gt;the link to FN1315 doesn't work anymore&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 20:12:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/617580#M12012</guid>
      <dc:creator>gerryha</dc:creator>
      <dc:date>2022-10-18T20:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to Backup Config Files</title>
      <link>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/617582#M12013</link>
      <description>&lt;P&gt;GitHub link should work. See previous message.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 20:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-backup-config-files/m-p/617582#M12013</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-10-18T20:23:02Z</dc:date>
    </item>
  </channel>
</rss>

