<?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: Unable to export AGOL hosted feature service successfully in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117976#M43016</link>
    <description>&lt;P&gt;Thank you for the suggestion. I'll get a big cup of my favorite beverage, a donut or two, and fire up Pro.&amp;nbsp; I'll let you know how it goes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing that i will have to download the main layer with the attachments and the three related tables separately. I suspect all relationships will be maintained, or i can just recreate them in Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2021 23:22:50 GMT</pubDate>
    <dc:creator>Trippetoe</dc:creator>
    <dc:date>2021-11-17T23:22:50Z</dc:date>
    <item>
      <title>Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1115860#M42918</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I would like to Export an AGOL hosted feature service.&amp;nbsp; The feature service contains one layer with attachments enabled and 3 related tables.&amp;nbsp; The hosted feature service works just great - its used daily by our field crews, admin staff, etc.&amp;nbsp; I just want to get the data from AGOL for backup purposes.&lt;/P&gt;&lt;P&gt;On the Overview page of the service, I can see that the &lt;STRONG&gt;Size&lt;/STRONG&gt; is 91MB and the &lt;STRONG&gt;Attachments Size&lt;/STRONG&gt; is 37,644 MB (lots of photos for sure).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I click the Export button and select File Geodatabase.&amp;nbsp; The expected dialog box opens where I set the title, tags, summary, etc. I then click Export.&amp;nbsp; I can then see the message 'exporting.....' displayed in the dialog box.&amp;nbsp; &amp;nbsp;I can leave that web page, grab some lunch, and maybe get in a run, etc.&amp;nbsp; After an hour+ the 'exporting...' message goes away, and the zipped version of the file geodatabase export is available in my content folder.&lt;/P&gt;&lt;P&gt;On the Overview page of the File Geodatabase export, i can see that the &lt;STRONG&gt;Size&lt;/STRONG&gt; is 91MB. I click the Download button, but the ZIP package that gets downloaded to my local machine is 1KB in size and cannot be opened.&amp;nbsp; Additionally if i try to Publish the File Geodatabase export in AGOL, that doesn't work either. I'm taken to a new Overview page - ostensibly for the just published service-, but I get a error message which says 'Undefined'.&lt;/P&gt;&lt;P&gt;How can I export my data out of AGOL?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 22:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1115860#M42918</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2021-11-10T22:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1116683#M42969</link>
      <description>&lt;P&gt;I've had mixed success downloading FGDBs with attachments from AGOL.&amp;nbsp; Sometimes, it works taking more than two hours for 2GB of attachments.&amp;nbsp; Other times, it runs for longer (&amp;gt;3 hours) and I give up.&amp;nbsp; I can't say it failed as there is no explicit error.&amp;nbsp; If it fails, it fails silently.&lt;BR /&gt;&lt;BR /&gt;What is working reliably is to open the hosted feature layer in a Pro Map, right-click &lt;EM&gt;Export Data&lt;/EM&gt; which launches &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/conversion/feature-class-to-feature-class.htm" target="_self"&gt;Feature Class to Feature Class&lt;/A&gt;, check the environment includes attachments and keep source GUIDs, point it towards your local FGDB then let it run.&amp;nbsp; For small feature classes with a large attachment volume, it will reach 100% quickly then sit on 100% for a lot longer.&amp;nbsp; So far it has worked well with record volumes up to 12k and attachment volumes up to 14k and run times &amp;gt; 3 hours).&amp;nbsp; &amp;nbsp;A side benefit is you don't end up with a copy of a large FGDB on AGOL consuming credits.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Nov 2021 19:42:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1116683#M42969</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2021-11-14T19:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117976#M43016</link>
      <description>&lt;P&gt;Thank you for the suggestion. I'll get a big cup of my favorite beverage, a donut or two, and fire up Pro.&amp;nbsp; I'll let you know how it goes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm guessing that i will have to download the main layer with the attachments and the three related tables separately. I suspect all relationships will be maintained, or i can just recreate them in Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 23:22:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117976#M43016</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2021-11-17T23:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117997#M43017</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/414513"&gt;@MicZatorsky_AEC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your suggestion worked out well - i didn't even have time to finish the entire drink &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;As expected, I had to download each related table separately and then recreate the relationship class.&lt;/P&gt;&lt;P&gt;One problem i ran into, however, is that the export of one of my tables dropped all the subtypes that were in the related table. Do you have any idea how to make sure that Export preserves those subtypes? It's not impossible to (re)create them, but it sure is tedious.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 00:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117997#M43017</guid>
      <dc:creator>Trippetoe</dc:creator>
      <dc:date>2021-11-18T00:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117999#M43018</link>
      <description>&lt;P&gt;Sorry, I have no expertise in subtypes.&amp;nbsp; But when I hear&amp;nbsp;&lt;EM&gt;tedious&lt;/EM&gt; I think &lt;EM&gt;Python.&amp;nbsp;&amp;nbsp;&lt;/EM&gt; A script with the right mix of &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/data-access/listsubtypes.htm" target="_self"&gt;ListSubtypes&lt;/A&gt; and &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/add-subtype.htm" target="_self"&gt;AddSubtype&lt;/A&gt; might work&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 00:58:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1117999#M43018</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2021-11-18T00:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1618848#M64879</link>
      <description>&lt;P&gt;It is possible for an ArcGIS Online feature service or hosted feature layer to become too big to export successfully as a File Geodatabase via synchronous methods, like the Export button on the item's overview page. It would be nice if there was a user-friendly error returned when this was the case, rather than getting no File Geodatabase, or a corrupt one, created after a long wait.&lt;/P&gt;&lt;P&gt;One workaround for exporting large hosted feature layers is to use the ArcGIS API for Python, and its &lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.export" target="_self"&gt;export&lt;/A&gt; method with the wait parameter set to False. This enables the export to run asynchronously in the background, and avoids potential timeouts interrupting the process.&lt;/P&gt;&lt;P&gt;Once the export job completes -- monitor the export job via &lt;A href="https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.status" target="_self"&gt;status&lt;/A&gt; -- you will have the File Geodatabase you were expecting.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 May 2025 13:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1618848#M64879</guid>
      <dc:creator>PeterKnoop</dc:creator>
      <dc:date>2025-05-28T13:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to export AGOL hosted feature service successfully</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1668740#M67210</link>
      <description>&lt;P&gt;AFAIK for&amp;nbsp;ArcGIS Online + hosted feature layers, asynchronous export is not supported in the API.&amp;nbsp;&lt;SPAN&gt;Item is returned when&amp;nbsp;&lt;/SPAN&gt;wait=True&lt;SPAN&gt;. A dictionary describing the status of the item is returned when&amp;nbsp;&lt;/SPAN&gt;wait=False.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ChatGPT: "The documentation only shows status() for &lt;EM&gt;notebook runtimes&lt;/EM&gt;, raster analytics, or long-running portal tools — &lt;STRONG&gt;NOT for exporting hosted features"&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;Service to Provider Hive is not enabled for this tenant -&amp;nbsp;AGOL cannot assign your org any async export worker&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;I might be very wrong though. Do you have a working code for your solution?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 11:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/unable-to-export-agol-hosted-feature-service/m-p/1668740#M67210</guid>
      <dc:creator>AndersHolmAstad</dc:creator>
      <dc:date>2025-11-26T11:41:04Z</dc:date>
    </item>
  </channel>
</rss>

