I would like to make an exact copy (domains, feature datasets, feature classes, etc.) of an SDE database to a file geodatabase.
I have tried several possibilities, including:
The process of importing each feature dataset into a new GDB could probably be automated using Copy_management as well by iterating through each feature dataset, though it seems this could cause problems of an incomplete copy if there was an error with one of the processes.
Exporting and importing xml workspaces seems to work, though this process creates incredibly large files when the process is used on large geodatabases.
Is there a more straightforward way to copy the contents and schema of an SDE to a GDB than the ways mentioned, in a way that can be automated?
If not, are there any reasons that the above possibilities should not be used in this process?
أكثر...
I have tried several possibilities, including:
- using the Copy (Data Management) process
- creating a new GDB and manually copying each feature dataset fromthe SDE
- exporting an xml workspace document from the SDE and importing itinto the GDB
The process of importing each feature dataset into a new GDB could probably be automated using Copy_management as well by iterating through each feature dataset, though it seems this could cause problems of an incomplete copy if there was an error with one of the processes.
Exporting and importing xml workspaces seems to work, though this process creates incredibly large files when the process is used on large geodatabases.
Is there a more straightforward way to copy the contents and schema of an SDE to a GDB than the ways mentioned, in a way that can be automated?
If not, are there any reasons that the above possibilities should not be used in this process?
أكثر...