<?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: copy feature dataset from sde to sde in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/1035371#M25268</link>
    <description>&lt;P&gt;Sorry for digging up this topic but I want to do the same: FDS copy from SDE to SDE.&lt;/P&gt;&lt;P&gt;My set up is&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDE1 - oracle w/r access&lt;/P&gt;&lt;P&gt;SDE2 - MS SQLS w/r access&lt;/P&gt;&lt;P&gt;SDE 1nad 2 are on different machines in the network. Typical bandwidth is ~2-5 MB/s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using arcgis pro 2.6.&lt;/P&gt;&lt;P&gt;SDE FDS has only feature classes and relationship classes. Outside of it in SDE1 DB there are more tables and relsh. classes. Both are linked with FDS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using copy-paste on the DS pops up an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Paste failed. Invalid name.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;in pro.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;It does this for any item (DS, FC, table) simply copy-pasted wont work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If using the script above - it starts and hangs for hours. Is that normal.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the best way to copy FDS from one SDE to another? As a bigger picture I need to completely make a copy of the full SDE1 DB to SDE2 DB - all in - FDS, tables, RClasses, domains etc. What would be the best way to do so?&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 09:33:00 GMT</pubDate>
    <dc:creator>VaL</dc:creator>
    <dc:date>2021-03-11T09:33:00Z</dc:date>
    <item>
      <title>copy feature dataset from sde to sde</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/672520#M22337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just want to loop through all feature dataset and copy to other sde. It seems like running forever when I run the following python code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcgisscripting&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp = arcgisscripting.create()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.SetProduct("ArcInfo")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.Overwriteoutput = 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.AddToolbox("C:/Program Files (x86)/ArcGIS/ArcToolbox/Toolboxes/Data Management Tools.tbx")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.workspace = "S:\_GIS\_AutoProcess\dataconnections\sdeTEST_COBGISSDE.sde"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;varCOB = "S:\_GIS\_AutoProcess\dataconnections\sdePROJ_COBGISSDE.sde"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; datasets = gp.ListDatasets()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; dataset = datasets.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; while dataset:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gp.Copy_management(dataset, varCOB + dataset, "FeatureDataset")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dataset = datasets.next()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;except:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print gp.getmessages(2)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 15:55:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/672520#M22337</guid>
      <dc:creator>MikeJun</dc:creator>
      <dc:date>2010-05-26T15:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: copy feature dataset from sde to sde</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/672521#M22338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I figured out myself. I need to put double forward slash.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ex)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.workspace = "S:\\_GIS\\_AutoProcess\\dataconnections\\sdeTEST_COBGISSDE.sde"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gp.Copy_management(dataset, varCOB + '\\' + dataset, "FeatureDataset")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 22:47:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/672521#M22338</guid>
      <dc:creator>MikeJun</dc:creator>
      <dc:date>2010-05-28T22:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: copy feature dataset from sde to sde</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/1035371#M25268</link>
      <description>&lt;P&gt;Sorry for digging up this topic but I want to do the same: FDS copy from SDE to SDE.&lt;/P&gt;&lt;P&gt;My set up is&amp;nbsp;&lt;/P&gt;&lt;P&gt;SDE1 - oracle w/r access&lt;/P&gt;&lt;P&gt;SDE2 - MS SQLS w/r access&lt;/P&gt;&lt;P&gt;SDE 1nad 2 are on different machines in the network. Typical bandwidth is ~2-5 MB/s.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using arcgis pro 2.6.&lt;/P&gt;&lt;P&gt;SDE FDS has only feature classes and relationship classes. Outside of it in SDE1 DB there are more tables and relsh. classes. Both are linked with FDS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using copy-paste on the DS pops up an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Paste failed. Invalid name.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;in pro.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;It does this for any item (DS, FC, table) simply copy-pasted wont work.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If using the script above - it starts and hangs for hours. Is that normal.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What is the best way to copy FDS from one SDE to another? As a bigger picture I need to completely make a copy of the full SDE1 DB to SDE2 DB - all in - FDS, tables, RClasses, domains etc. What would be the best way to do so?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 09:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/copy-feature-dataset-from-sde-to-sde/m-p/1035371#M25268</guid>
      <dc:creator>VaL</dc:creator>
      <dc:date>2021-03-11T09:33:00Z</dc:date>
    </item>
  </channel>
</rss>

