<?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 Export/backup Model Studio projects in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791109#M23677</link>
    <description>&lt;P&gt;Hallo allerseits.&lt;/P&gt;
&lt;P&gt;Wir setzen auf unserer Viya 3.5 Umgebung seit Neuestem auch das Model Studio ein. Leider legt das Model Studio seine Projekte ohne jede Möglichkeit einer Ordnerstruktur falch nebeneinander ab. Sie erscheinen auch nicht unter "SAS Inhalte". Als Export Möglichkeit habe ich nur gefunden, jedes Projekt einzeln und manuell zu exportieren. Auch unter den pyviyatools habe ich kein Programm dafür gefunden. Laut SAS Support gibt es diese Möglichkeiten erst mit Viya 4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Als SAS Administrator suche ich nach einer Möglichkeit, alle Model Studio Projekte in Summe zu exportieren/sichern. So, wie wir es z.B. mit dem VA Report Ordner tun.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hat Jemand einen Tipp für mich?&lt;/P&gt;
&lt;P&gt;Grüße,&lt;/P&gt;
&lt;P&gt;Johannes.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 12:49:20 GMT</pubDate>
    <dc:creator>JoKl</dc:creator>
    <dc:date>2022-01-21T12:49:20Z</dc:date>
    <item>
      <title>Export/backup Model Studio projects</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791109#M23677</link>
      <description>&lt;P&gt;Hallo allerseits.&lt;/P&gt;
&lt;P&gt;Wir setzen auf unserer Viya 3.5 Umgebung seit Neuestem auch das Model Studio ein. Leider legt das Model Studio seine Projekte ohne jede Möglichkeit einer Ordnerstruktur falch nebeneinander ab. Sie erscheinen auch nicht unter "SAS Inhalte". Als Export Möglichkeit habe ich nur gefunden, jedes Projekt einzeln und manuell zu exportieren. Auch unter den pyviyatools habe ich kein Programm dafür gefunden. Laut SAS Support gibt es diese Möglichkeiten erst mit Viya 4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Als SAS Administrator suche ich nach einer Möglichkeit, alle Model Studio Projekte in Summe zu exportieren/sichern. So, wie wir es z.B. mit dem VA Report Ordner tun.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hat Jemand einen Tipp für mich?&lt;/P&gt;
&lt;P&gt;Grüße,&lt;/P&gt;
&lt;P&gt;Johannes.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 12:49:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791109#M23677</guid>
      <dc:creator>JoKl</dc:creator>
      <dc:date>2022-01-21T12:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export/backup Model Studio projects</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791402#M23692</link>
      <description>&lt;P&gt;For those able to help &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/368735"&gt;@JoKl&lt;/a&gt;&amp;nbsp;, here is the English version:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Translation"&gt;&lt;SPAN class="Y2IQFc"&gt;Hello everybody.

We have recently been using the Model Studio on our Viya 3.5 environment. Unfortunately, the Model Studio stores its projects side by side without any possibility of a folder structure. They also do not appear under "SAS Content". The only export option I found was to export each project individually and manually. Also under the pyviyatools I did not find a program for it. According to SAS Support, these options are only available with Viya 4.&lt;BR /&gt;
As a SAS administrator, I'm looking for a way to export/backup all Model Studio projects in one go. Just like we do with the VA Report folder, for example.

Does anyone have a tip for me?

Regards,

John.&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Jan 2022 12:48:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791402#M23692</guid>
      <dc:creator>ShelleySessoms</dc:creator>
      <dc:date>2022-01-21T12:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Export/backup Model Studio projects</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791436#M23693</link>
      <description>If you know the URIs of the objects you wish to export the transfer service will accept a list of URIs to build an export package using the sas-admin CLI transfer plugin's "request" option.&lt;BR /&gt;&lt;BR /&gt;I wrote a script a while back that extends the functionality of the sas-admin CLI's transfer plugin, and among the options it has is an "--endpoint" option that, when given an endpoint like /reports/reports would build an export package for every n reports (10 by default, this can be adjusted using the --chunksize option). I think that models would be part of the /analyticsGateway/projects endpoint (though I'm not sure, I'm not too familiar with Model Studio).&lt;BR /&gt;&lt;BR /&gt;If you'd like to give it a try you can find the script here. I would caution you to take a backup first in case anything goes wrong. I have not done extensive testing of it, especially not with models. The script needs to be run on a system that has the jq command installed as well as the sas-admin CLI with the transfer plugin and a profile set up to connect to the environment you are exporting from and importing to (if you wish to use the import functionality).&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/greg-wootton/sas-programs/blob/main/Shell%20Scripts/transfer.sh" target="_blank"&gt;https://github.com/greg-wootton/sas-programs/blob/main/Shell%20Scripts/transfer.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The underlying functionality I'm using is described here:&lt;BR /&gt;&lt;BR /&gt;Promotion: How To (CLI)&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/calcdc/3.5/calpromotion/n0u4qkc837891vn1w8pd2rbqaxzb.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/calcdc/3.5/calpromotion/n0u4qkc837891vn1w8pd2rbqaxzb.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The script essentially calls the endpoint provided (i.e. /reports/reports) and parses the results to get a list of URIs (/reports/reports/&amp;lt;report_id&amp;gt;), building a new json file compatible with the request option of the transfer plugin with those URIs, exports them and downloads the export package, then deletes the export package from the server, as well as optionally checking the export file for issues and importing it to the new environment.</description>
      <pubDate>Fri, 21 Jan 2022 14:41:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791436#M23693</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-01-21T14:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export/backup Model Studio projects</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791806#M23698</link>
      <description>Thanks for this hints. My next question ist, how to get al list of the URIs of all Model Studio Projects?</description>
      <pubDate>Mon, 24 Jan 2022 10:25:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791806#M23698</guid>
      <dc:creator>JoKl</dc:creator>
      <dc:date>2022-01-24T10:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export/backup Model Studio projects</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791871#M23700</link>
      <description>The way I do it in the program is to access the URL http(s)://webhost:port/analyticsGateway/projects, which returned in JSON format a list of them. Typically this would return the first 10 results as well as a "next" link that would be something like /analyticsGateway/projects?start=10 to pull the next 10. You could also adjust the url you access with a higher limit (/analyticsGateway/projects?limit=100) to get more at once.</description>
      <pubDate>Mon, 24 Jan 2022 15:04:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791871#M23700</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-01-24T15:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Export/backup Model Studio projects</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791889#M23701</link>
      <description>thanks a lot, that will help me.</description>
      <pubDate>Mon, 24 Jan 2022 16:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Export-backup-Model-Studio-projects/m-p/791889#M23701</guid>
      <dc:creator>JoKl</dc:creator>
      <dc:date>2022-01-24T16:21:52Z</dc:date>
    </item>
  </channel>
</rss>

