<?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 Python Script to update file geodatabase with sde database in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293521#M16846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a standalone file geodatabase that is on ArcServer and I want to update it weekly using our sde database.&amp;nbsp; How do go about it using python script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2013 14:30:55 GMT</pubDate>
    <dc:creator>joshlay</dc:creator>
    <dc:date>2013-02-15T14:30:55Z</dc:date>
    <item>
      <title>Python Script to update file geodatabase with sde database</title>
      <link>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293521#M16846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a standalone file geodatabase that is on ArcServer and I want to update it weekly using our sde database.&amp;nbsp; How do go about it using python script?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293521#M16846</guid>
      <dc:creator>joshlay</dc:creator>
      <dc:date>2013-02-15T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script to update file geodatabase with sde database</title>
      <link>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293522#M16847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you could start with using model builder and then export your model to a python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in data management tools (toolbox):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; under workspace is the tool for creating a FGDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;under general is the tool for deleting featureclasses&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;under feature class is the tool for creating a new featureclass&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:43:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293522#M16847</guid>
      <dc:creator>LeoDonahue</dc:creator>
      <dc:date>2013-02-15T14:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script to update file geodatabase with sde database</title>
      <link>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293523#M16848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can create a replica from your sde database to your file geodabase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_one_way_or_two_way_replica/003n000000tm000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Creating_a_one_way_or_two_way_replica/003n000000tm000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then set up a model using the synchronize changes tool under distributed databases. Turn this model into a Pyton script then use a windows scheduled task to run the script once a week&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293523#M16848</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-02-15T14:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script to update file geodatabase with sde database</title>
      <link>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293524#M16849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The suggestion by Leo will work, but you will need to deal with the locks that are placed on a file geodatabase by ArcGIS Server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest instead using the DeleteFeatures_management tool followed by the Append_management tool to avoid the locks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You would have to stop the affected service of the file geodatabase if you want to delete the feature class and create it brand new each week.&amp;nbsp; Then you would have to restart the service once the feature class creation has been completed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 14:53:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293524#M16849</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2013-02-15T14:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script to update file geodatabase with sde database</title>
      <link>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293525#M16850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the speedy replies.&amp;nbsp; I will try it out and let you all know if i have any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2013 15:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/python-script-to-update-file-geodatabase-with-sde/m-p/293525#M16850</guid>
      <dc:creator>joshlay</dc:creator>
      <dc:date>2013-02-15T15:42:52Z</dc:date>
    </item>
  </channel>
</rss>

