<?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: Cisco ISE API - Download file from local disk ISE in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4798082#M580641</link>
    <description>&lt;P&gt;Yeah, sorry, David, the ISE Backup API is supported from ISE 3.1+ :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://cs.co/ise-api" target="_blank"&gt;https://cs.co/ise-api&lt;/A&gt;&lt;/STRONG&gt; &amp;gt; &lt;A href="https://developer.cisco.com/docs/identity-services-engine/v1/#!versioning" target="_self"&gt;&lt;STRONG&gt;Versioning&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2023 18:54:19 GMT</pubDate>
    <dc:creator>thomas</dc:creator>
    <dc:date>2023-03-20T18:54:19Z</dc:date>
    <item>
      <title>Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795731#M580541</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to download the local backup file via HTTP / HTTPS using my Linux server. I have Python installed on my Linux server so I thought I would be able to use the REST API on ISE to download this file. HTTP/HTTPS repository is not supported on Cisco ISE 2.7, and other protocols I am not able to use. So thought of this way to make local ISE backups and than create a script to download this via the REST API. I am fairly new to scripting with API's and have basic Python knowledge. This looks to me a simple exercise but not sure where to start. Anyone with an example that can advice me ? Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:23:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795731#M580541</guid>
      <dc:creator>yayaa</dc:creator>
      <dc:date>2023-03-16T15:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795784#M580543</link>
      <description>&lt;P&gt;Deleted, re-read and I was not commenting on the same topic. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 16:01:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795784#M580543</guid>
      <dc:creator>davidgfriedman</dc:creator>
      <dc:date>2023-03-16T16:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795805#M580545</link>
      <description>&lt;P&gt;While HTTP/S POST &lt;EM&gt;could&lt;/EM&gt; be used to upload a backup file, there is no standard POST request across any servers for handling file uploads.&amp;nbsp; I would love to hear how you would expect this to work on any random Apache or NGINX web server.&amp;nbsp; Maybe then you could request it it as an enhancement @ &lt;A href="https://cs.co/ise-wish" target="_blank" rel="noopener"&gt;https://cs.co/ise-wish&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You may certainly trigger a backup in ISE via REST API to your repository of choice including the LOCALDISK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl  --include  --insecure  --location \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --user $ISE_USERNAME:$ISE_PASSWORD  \
  --request POST https://$ISE_HOSTNAME/api/v1/backup-restore/config/backup \
  --data '
{
  "backupEncryptionKey": "$ISE_BACKUP_ENCRYPTION_KEY",
  "backupName": "My_Backup",
  "repositoryName": "My_Repository"
}'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However there is no REST API for downloading from the LOCALDISK once the backup is completed. You would need to do it via the GUI. For API download support from the LOCALDISK, you would need to make a feature request @ &lt;A href="https://cs.co/ise-wish" target="_blank" rel="noopener"&gt;https://cs.co/ise-wish&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:49:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795805#M580545</guid>
      <dc:creator>thomas</dc:creator>
      <dc:date>2023-03-20T18:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795815#M580546</link>
      <description>&lt;P&gt;Thanks for your feedback Thomas! What if I schedule a local backup via ISE GUI and create another script on my Linux server using python to transfer this file to my Linux server using the REST API ? &amp;nbsp;Could I do that? If so, how would I be able to transfer this file via the REST API to my linux server? Thanks for the feedback!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 16:22:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795815#M580546</guid>
      <dc:creator>yayaa</dc:creator>
      <dc:date>2023-03-16T16:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795819#M580547</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1146763"&gt;@yayaa&lt;/a&gt; why not just setup your linux server as the remote repository in ISE, to push the backup?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 16:25:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4795819#M580547</guid>
      <dc:creator>Rob Ingram</dc:creator>
      <dc:date>2023-03-16T16:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4796435#M580572</link>
      <description>&lt;P&gt;He wrote version 2.7, is that API available in 2.7?&amp;nbsp; If so, doc links please.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:58:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4796435#M580572</guid>
      <dc:creator>davidgfriedman</dc:creator>
      <dc:date>2023-03-17T10:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4798082#M580641</link>
      <description>&lt;P&gt;Yeah, sorry, David, the ISE Backup API is supported from ISE 3.1+ :&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://cs.co/ise-api" target="_blank"&gt;https://cs.co/ise-api&lt;/A&gt;&lt;/STRONG&gt; &amp;gt; &lt;A href="https://developer.cisco.com/docs/identity-services-engine/v1/#!versioning" target="_self"&gt;&lt;STRONG&gt;Versioning&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 18:54:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4798082#M580641</guid>
      <dc:creator>thomas</dc:creator>
      <dc:date>2023-03-20T18:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4798087#M580642</link>
      <description>&lt;P&gt;Backups MUST be done to an ISE Repository using a supported protocol. See the ISE Administrator Guide for all supported ISE repository types.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/179599iE2621E2FF04F07B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may initiate a backup via the REST API call above - &lt;A href="https://developer.cisco.com/docs/identity-services-engine/v1/#!versioning" target="_self"&gt;using ISE 3.1+ (sorry, not 2.7)&lt;/A&gt; - to a supported ISE repository that you configured but not HTTP repositories because they are Read-Only as the table above shows.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Again, &lt;EM&gt;&lt;STRONG&gt;no API exists for transferring data from the LOCALDISK&lt;/STRONG&gt;&lt;/EM&gt; repository - you would need to make a feature request @ &lt;A href="https://cs.co/ise-wish" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;STRONG&gt;https://cs.co/ise-wish&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 19:01:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4798087#M580642</guid>
      <dc:creator>thomas</dc:creator>
      <dc:date>2023-03-20T19:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco ISE API - Download file from local disk ISE</title>
      <link>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4799852#M580684</link>
      <description>&lt;P&gt;Thanks for the feedback that is clear. Unfortunately it's not possible in my situation to use the other protocols for backup so was looking for a workaround.&lt;/P&gt;&lt;P&gt;Thread may be closed. Thank you all.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 09:15:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/cisco-ise-api-download-file-from-local-disk-ise/m-p/4799852#M580684</guid>
      <dc:creator>yayaa</dc:creator>
      <dc:date>2023-03-23T09:15:14Z</dc:date>
    </item>
  </channel>
</rss>

