<?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: Recover survey data from .sqlite database on mobile device in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819910#M15563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using the tool within desktop named "&lt;STRONG&gt;Copy Runtime Geodatabase to File Geodatabase&lt;/STRONG&gt;" and this should do the trick for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the online help page - &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/copy-runtime-geodatabase-to-file-geodatabase.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/copy-runtime-geodatabase-to-file-geodatabase.htm"&gt;Copy Runtime Geodatabase To File Geodatabase—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that works well for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 20:01:27 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-11-06T20:01:27Z</dc:date>
    <item>
      <title>Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819909#M15562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/183922-download-survey-from-device-after-upload-failed"&gt;https://community.esri.com/thread/183922-download-survey-from-device-after-upload-failed&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone developed a python script to extract the feature class data from the sqlite database? We had a schema change in a survey which overwrote the data on the hosted layer in ArcGIS Online and we would like to recover the data from the device and append this to the new survey layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 19:13:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819909#M15562</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2017-11-06T19:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819910#M15563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using the tool within desktop named "&lt;STRONG&gt;Copy Runtime Geodatabase to File Geodatabase&lt;/STRONG&gt;" and this should do the trick for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the online help page - &lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/copy-runtime-geodatabase-to-file-geodatabase.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/conversion-toolbox/copy-runtime-geodatabase-to-file-geodatabase.htm"&gt;Copy Runtime Geodatabase To File Geodatabase—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that works well for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 20:01:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819910#M15563</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-06T20:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819911#M15564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for that. The ‘copy runtime to file geodatabase’ doesn’t run on .sqlite database – the tool fails. I changed the extension to .geodatabase and the tool ran but the result is a table – the same table that you can view directly as a .sqlite database in ArcCatalogue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I used this tool on a .geodatabase file from Collector for ArcGIS – the output is a feature class with the relationship class and attachment table (if attachments are enabled).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, this isn’t really working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other tips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon Allard&lt;/P&gt;&lt;P&gt;GIS Analyst&lt;/P&gt;&lt;P&gt;Bay of Plenty Regional Council Toi Moana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 20:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819911#M15564</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2017-11-06T20:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819912#M15565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to&amp;nbsp;&lt;A class="link-titled" href="https://github.com/tedrick/ReadS123DB" title="https://github.com/tedrick/ReadS123DB"&gt;GitHub - tedrick/ReadS123DB: Convert the survey data stored in the Survey123 Field App into a set of CSV files&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that Survey123 does not use the runtime GDB format of sqlite.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 20:24:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819912#M15565</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-11-06T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819913#M15566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;Interesting to know as so far we have not had to recover surveys from the devices as of yet. I thought that this tool would possibly work on the data set in the same manner as we have for this same issue with Collector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are these two posting from other users asking a similar question that could be of use.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/198696"&gt;Extracting Survey123 data from Device&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/183922"&gt;Download survey from device after upload failed&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 20:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819913#M15566</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-06T20:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819914#M15567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We ended up downloading the Desktop App of Survey123, loading the survey, and pasting the .sqLite database in the parent directory for the database of that survey. We then clicked on the 'Fix Database' button and that seemed to reconcile the database changes and we able to ship on those surveys that were stored on the device to AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 21:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819914#M15567</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2017-11-09T21:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819915#M15568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;No worries and glade it helped you out.&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 21:24:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819915#M15568</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-11-09T21:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819916#M15569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is brilliant! Any chance of getting it to work with repeats? All I get is a reference to the related table, none of the data (I need the details from &amp;gt;TreeDet):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/395713_Table.jpg" style="width: 620px; height: 50px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 00:18:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819916#M15569</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2018-02-05T00:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819917#M15570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a script to allow importation of a Survey123 SQLite database downloaded from a device into a geodatabase:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/292783/importing-survey123-sqlite-database-from-device/293543#293543" title="https://gis.stackexchange.com/questions/292783/importing-survey123-sqlite-database-from-device/293543#293543"&gt;arcpy - Importing Survey123 SQLite Database from Device - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 19:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819917#M15570</guid>
      <dc:creator>SethPaine1</dc:creator>
      <dc:date>2018-08-21T19:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819918#M15571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for writing this script!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned that this script needs to be run from an Arc Toolbox. Do you mean a python toolbox or a normal ArcToolbox? I don’t have much experience creating my own script tools and was having some difficulty getting the toolbox to fetch the input and output parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what version of ArcGIS/ArcGIS Pro have you tested this script in?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any chance you could set this up in an ArcToolbox and package it up in a .zip file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon Allard&lt;/P&gt;&lt;P&gt;GIS Analyst&lt;/P&gt;&lt;P&gt;Bay of Plenty Regional Council Toi Moana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 20:58:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819918#M15571</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2018-08-22T20:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819919#M15572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running the tool in ArcMap 10.6.1 but the version shouldn’t have too much impact unless its really old.&lt;/P&gt;&lt;P&gt;Try copying the file and folder in this zip to the same location and adding to ArcMap.  The script may need editing if your .sqlite file format is substantially different than mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Seth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seth Paine&lt;/P&gt;&lt;P&gt;Geographic Information Systems Specialist&lt;/P&gt;&lt;P&gt;Office of Spill Prevention and Response&lt;/P&gt;&lt;P&gt;California Department of Fish and Wildlife&lt;/P&gt;&lt;P&gt;1700 K Street, Suite 250&lt;/P&gt;&lt;P&gt;Sacramento, CA 95811&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Office Phone:  (916)324-9817&lt;/P&gt;&lt;P&gt;Seth.Paine@Wildlife.ca.gov&amp;lt;mailto:Seth.Paine@Wildlife.ca.gov&amp;gt;&lt;/P&gt;&lt;P&gt;http://www.wildlife.ca.gov/OSPR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 21:28:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819919#M15572</guid>
      <dc:creator>SethPaine1</dc:creator>
      <dc:date>2018-08-22T21:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819920#M15573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply Seth. There was no .zip file attached in response. Perhaps you could email me directly at simon.allard@boprc.govt.nz&amp;lt;mailto:simon.allard@boprc.govt.nz&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the error I was getting….&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tool looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are your input and output data types?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simon Allard&lt;/P&gt;&lt;P&gt;GIS Analyst&lt;/P&gt;&lt;P&gt;Bay of Plenty Regional Council Toi Moana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2018 21:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819920#M15573</guid>
      <dc:creator>SimonAllard2</dc:creator>
      <dc:date>2018-08-22T21:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Recover survey data from .sqlite database on mobile device</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819921#M15574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to use this script (via a toolbox, added new script and pointed to the .py fle) and it runs in less than 1 second with no output. Any ideas on how to figure out what's going on? I also tried pasting the code directly into the python window in catalog and running it that way (both times I updated the scrip to hard code the path to sqlite db and the out folder ) wit no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 16:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/recover-survey-data-from-sqlite-database-on-mobile/m-p/819921#M15574</guid>
      <dc:creator>RobBlash</dc:creator>
      <dc:date>2019-06-07T16:35:42Z</dc:date>
    </item>
  </channel>
</rss>

