<?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: Json is not updating DBRT backup config in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/461046#M13081</link>
    <description>&lt;P&gt;Thanks a lot &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;. Your info has helped me to fix this issues. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 09 May 2018 15:09:51 GMT</pubDate>
    <dc:creator>bmsampath</dc:creator>
    <dc:date>2018-05-09T15:09:51Z</dc:date>
    <item>
      <title>Json is not updating DBRT backup config</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/460206#M13043</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently the DBRT backup is including the database backup that I want to disable for Web Infrastructure Platform Data Server 9.4 using Json file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Current config&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name:&amp;nbsp;&amp;nbsp; Web Infrastructure Platform Data Server 9.4&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sasTierId:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tier3&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; included:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Json file content&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;&amp;nbsp; "name": "Web Infrastructure Platform Data Server 9.4",&lt;BR /&gt;&amp;nbsp; "sasTierId": "tier3",&lt;BR /&gt;&amp;nbsp; "included":&amp;nbsp;false&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executed below command using the Json file. It is not updating the config and showing the below message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Command Executed&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;./sas-update-backup-config -profile /app/sas/config/Lev2/Backup/Lev2.properties -sourcetype database -inputdata /app/sas/config/Lev2/Backup/ExcludeWIP.json&lt;BR /&gt;sas-update-backup-config&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statusCode:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 404&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errorMessage:&amp;nbsp;&amp;nbsp; User provided configuration already exist for given resource.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; remedyMessage:&amp;nbsp; You can update the existing resource with sas-update-backup-config.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The json output is written to the file: /app/sas/sashome/SASPlatformObjectFramework/9.4/tools/admin/sas-update-backup-config.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me in getting this resolved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sampath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 23:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/460206#M13043</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-05-04T23:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Json is not updating DBRT backup config</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/460413#M13056</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/118943"&gt;@bmsampath&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first of all I would like to say: very interesting question, to investigate it it made me to learn something as well. Let me share it with you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would also like to say that the subject could be more indicative if, instead of DBRT it would say something as Backup Tool. My first impression (and second and third) when I read this subject is "what isDBRT?". Perhaps you would receive more answers by changing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coming back to your question:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;U&gt;&lt;STRONG&gt;the JSON file for the update configuration is a filter&lt;/STRONG&gt;&lt;/U&gt;. This concept is very important as per below.&lt;/LI&gt;
&lt;LI&gt;The message you receive is because you are trying to add additional filters over the same configuration object.&lt;/LI&gt;
&lt;LI&gt;Hence, the first thing we can conclude is that you already have a configuration filter, You would need to delete it.&lt;/LI&gt;
&lt;LI&gt;You can delete filters as indicated in this link&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=n0khpcet4rb0syn191i08w765cw1.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0qx4ylj3tt3grn110qgvj1ippz7" target="_blank"&gt;http://documentation.sas.com/?docsetId=bisag&amp;amp;docsetTarget=n0khpcet4rb0syn191i08w765cw1.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en#p0qx4ylj3tt3grn110qgvj1ippz7&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Once you delete the filter, you can add a new one.&lt;/LI&gt;
&lt;LI&gt;After everychange, I would recommed you to run a sas-display-backup-config command, to ensure the configuration is as you expect.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to say, that the policies applied by filters, it is a very clever one, since it would allow to change it right away, I would foresee a lot of corrupted configurations, especially regarding the WIP database, since we would miss to re-apply the configuration for the different internal databases, as SharedServices.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thumbs up for the creator of this tool and the idea of including the filters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 13:37:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/460413#M13056</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2018-05-07T13:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Json is not updating DBRT backup config</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/461046#M13081</link>
      <description>&lt;P&gt;Thanks a lot &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35204"&gt;@JuanS_OCS&lt;/a&gt;. Your info has helped me to fix this issues. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 15:09:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Json-is-not-updating-DBRT-backup-config/m-p/461046#M13081</guid>
      <dc:creator>bmsampath</dc:creator>
      <dc:date>2018-05-09T15:09:51Z</dc:date>
    </item>
  </channel>
</rss>

