<?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 Automatically Update SDE in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479622#M27321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We currently have approximately 1200 file geodatabases, one for each build site, that all have the same schema and an SDE that is a compilation of all of those individual sites. Right now we have to go into the SDE and manually update records according to what we changed in the file geodatabases. Does anyone know of a way that we could have these updates made automatically, preferably with a script that we could run on a nightly basis to keep our data up to date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2019 20:14:00 GMT</pubDate>
    <dc:creator>AndrewWinchell2</dc:creator>
    <dc:date>2019-03-04T20:14:00Z</dc:date>
    <item>
      <title>Automatically Update SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479622#M27321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We currently have approximately 1200 file geodatabases, one for each build site, that all have the same schema and an SDE that is a compilation of all of those individual sites. Right now we have to go into the SDE and manually update records according to what we changed in the file geodatabases. Does anyone know of a way that we could have these updates made automatically, preferably with a script that we could run on a nightly basis to keep our data up to date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 20:14:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479622#M27321</guid>
      <dc:creator>AndrewWinchell2</dc:creator>
      <dc:date>2019-03-04T20:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Update SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479623#M27322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pretty basic question to hope for a detailed answer depending on your actual scenario. You really don't explain what is meant by "&lt;SPAN style="background-color: #ffffff;"&gt;update records according to what we changed"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want the SDE data to be the "same" as the FGDB FC's, one way it to loop through and truncate the SDE FC's (which will remove all data, but keep schema), then append the FGDB FC's into the SDE datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, your SDE data will represent any and all "changes" to the FC's.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 15:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479623#M27322</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2019-03-22T15:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically Update SDE</title>
      <link>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479624#M27323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/316366"&gt;Andrew Winchell&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;There are several ways to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/11604"&gt;Rhett Zufelt&lt;/A&gt;‌ is correct by saying a script could be created to truncate the data in the enterprise geodatabase and then append the data from the file geodatabases to the enterprise geodatabase.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/truncatetable.htm"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/truncatetable.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/append.htm"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/append.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option that jumps to my mind (if the data is registered as versioned) is creating Check Out replicas.&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/creating-a-check-out-replica.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/manage-data/geodatabases/creating-a-check-out-replica.htm&lt;/A&gt;\&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replica file geodatabases can be created off of the enterprise geodatabase. Then edits can occur in those file geodatabases. After the edits are done, the Synchronize Changes tool can be executed to move the edits from the file geodatabases to the enterprise geodatabase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you aren't familiar with replicas and versioning, then doing the truncate and append should probably address your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All these options can be accomplished by creating a Python script that uses the geoprocessing ArcPy functions or using Model Builder.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Mar 2019 15:07:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/automatically-update-sde/m-p/479624#M27323</guid>
      <dc:creator>ConnorFriese</dc:creator>
      <dc:date>2019-03-27T15:07:04Z</dc:date>
    </item>
  </channel>
</rss>

