<?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 way to back up config files? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445636#M8071</link>
    <description>&lt;P&gt;I normally create a &lt;CODE&gt;/opt/splunk/etc/system/local/bckup&lt;/CODE&gt; folder and place the backup files there. The error you see gives another reason not to place the backup files in the same directory. &lt;/P&gt;</description>
    <pubDate>Fri, 07 Sep 2018 00:46:32 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2018-09-07T00:46:32Z</dc:date>
    <item>
      <title>What is the best way to back up config files?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445633#M8068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In order to take a backup of the config files, I have copied a file to, let's say, &lt;CODE&gt;authorize.conf_bak_03_21_2018&lt;/CODE&gt; .&lt;/P&gt;

&lt;P&gt;Will Splunk read the settings from the above file? I am assuming that it will not.&lt;BR /&gt;
But why am I getting following error message in the internal logs?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ERROR Archiver - Failed to open  file="/opt/splunk/etc/system/local/authorize.conf_bak_03_21_2018":
             Permission denied 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What is the best way to backup the config files and save them in the same folder?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 19:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445633#M8068</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-09-06T19:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to back up config files?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445634#M8069</link>
      <description>&lt;P&gt;Hi @nawazns5038, &lt;/P&gt;

&lt;P&gt;try to go for something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;authorize.bak
inputs.bak
outputs.bak
props.bak
transforms.bak
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you  want to include the backup date, you could also create a folder with the date as its name.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 20:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445634#M8069</guid>
      <dc:creator>horsefez</dc:creator>
      <dc:date>2018-09-06T20:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to back up config files?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445635#M8070</link>
      <description>&lt;P&gt;Does the user running Splunk have read permissions on the mentioned file? The permission denied implies a filesystem permissions issue&lt;/P&gt;</description>
      <pubDate>Thu, 06 Sep 2018 23:27:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445635#M8070</guid>
      <dc:creator>gjanders</dc:creator>
      <dc:date>2018-09-06T23:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to back up config files?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445636#M8071</link>
      <description>&lt;P&gt;I normally create a &lt;CODE&gt;/opt/splunk/etc/system/local/bckup&lt;/CODE&gt; folder and place the backup files there. The error you see gives another reason not to place the backup files in the same directory. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 00:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/What-is-the-best-way-to-back-up-config-files/m-p/445636#M8071</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-07T00:46:32Z</dc:date>
    </item>
  </channel>
</rss>

