<?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 save and export named configuration snapshot with API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/359014#M2483</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132521"&gt;@SutareMayur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the below api will only export the configuration, Does it export latest configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like we mostly manually save the named configuration then export it&lt;/P&gt;</description>
    <pubDate>Tue, 27 Oct 2020 09:51:11 GMT</pubDate>
    <dc:creator>DexcomUser</dc:creator>
    <dc:date>2020-10-27T09:51:11Z</dc:date>
    <item>
      <title>How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/352708#M2460</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to save and export new named configuration snapshot through API call.&lt;/P&gt;&lt;P&gt;I found the API but don't know whether it export the latest details or old one, In UI we have option to save and export the saved configuration but unable to find with API.&lt;/P&gt;&lt;P&gt;Can anyone help me if you already find out the way to export?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also want to export Device group name but when i go to the API , it fetch all information including device name, it is really tough to fetch on Devicegroup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:36:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/352708#M2460</guid>
      <dc:creator>DexcomUser</dc:creator>
      <dc:date>2020-09-29T11:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/355394#M2472</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/119657"&gt;@DexcomUser&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried below API call ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://10.29.200.246/api/?type=export&amp;amp;category=configuration&amp;amp;REST_API_TOKEN=687559945" target="_rest_api"&gt;/api/?type=export&amp;amp;category=configuration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 10:48:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/355394#M2472</guid>
      <dc:creator>SutareMayur</dc:creator>
      <dc:date>2020-10-09T10:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/359014#M2483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/132521"&gt;@SutareMayur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the below api will only export the configuration, Does it export latest configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like we mostly manually save the named configuration then export it&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 09:51:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/359014#M2483</guid>
      <dc:creator>DexcomUser</dc:creator>
      <dc:date>2020-10-27T09:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/507855#M3062</link>
      <description>&lt;P&gt;There are a lot differences I can see when I download named configuration with API.&lt;/P&gt;&lt;P&gt;Is there any way to grab the exact named configuration same as we download from portal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:45:06 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/507855#M3062</guid>
      <dc:creator>Srikant</dc:creator>
      <dc:date>2022-07-04T09:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/514733#M3152</link>
      <description>&lt;P&gt;There are a few options for getting the running/live config via API, and it depends exactly what you want, there is nuance between the options, and based on this thread so far I'm not sure which is most appropriate, so I will share them all and let you decide which one meets your requirements:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=config&amp;amp;action=show

https://{{host}}/api/?key={{key}}&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;config&amp;gt;&amp;lt;running&amp;gt;&amp;lt;/running&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;target={{managed-device-serial}}

https://{{host}}/api/?key={{key}}&amp;amp;type=export&amp;amp;category=configuration&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saving the running config as a named "snapshot" can be done with:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=op&amp;amp;cmd=&amp;lt;save&amp;gt;&amp;lt;config&amp;gt;&amp;lt;to&amp;gt;{{config-snapshot-name}}&amp;lt;/to&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/save&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 15:41:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/514733#M3152</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-09-13T15:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/515715#M3171</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt;&amp;nbsp;, Yes these are really helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the format we export using API and from Portal is totally different.&lt;/P&gt;&lt;P&gt;I am running another python script to grab some inside details and i am able to fetch that when i used manually downloaded configuration file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But exported is totally different.&lt;/P&gt;&lt;P&gt;Any other way to download configuration file same as manually downloaded one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 17:19:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/515715#M3171</guid>
      <dc:creator>Srikant</dc:creator>
      <dc:date>2022-09-22T17:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/515880#M3172</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/184360"&gt;@Srikant&lt;/a&gt;&amp;nbsp;I believe the command you're looking for is below. This will download the previously saved config snapshot with the expected formatting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://{{host}}/api/?key={{key}}&amp;amp;type=op&amp;amp;cmd=&amp;lt;show&amp;gt;&amp;lt;config&amp;gt;&amp;lt;saved&amp;gt;{{config-snapshot-name}}&amp;lt;/saved&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/show&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Sep 2022 19:11:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/515880#M3172</guid>
      <dc:creator>Wayne_Brill</dc:creator>
      <dc:date>2022-09-24T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/518511#M3213</link>
      <description>&lt;P&gt;Appreciate your help&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/4294"&gt;@JimmyHolland&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 12:01:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/518511#M3213</guid>
      <dc:creator>Srikant</dc:creator>
      <dc:date>2022-10-20T12:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to save and export named configuration snapshot with API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/518512#M3214</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/191208"&gt;@Wayne_Brill&lt;/a&gt;&amp;nbsp;Thank you so much, I was looking the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 12:02:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/how-to-save-and-export-named-configuration-snapshot-with-api/m-p/518512#M3214</guid>
      <dc:creator>Srikant</dc:creator>
      <dc:date>2022-10-20T12:02:34Z</dc:date>
    </item>
  </channel>
</rss>

