I have two geodatabases, one is a production sde database, the other is a backup in a local file geodatabase.
The script runs as a task once a month and is very resource intensive. What I would like to do is use a search and update cursor for each feature class in the database, including feature data sets; if there has been any change to the feature class; then just update the backup based on what is in the production instead of deleting it.
If your project already uses GNU Make, CMake or QMake, you can easily import it into Visual GDB and have your Intelli Sense and settings managed automatically.
If you experience low-level problems such as crashes or deadlocks (e.g.
when tinkering with parts of CPython which are written in C), it can be convenient to use a low-level debugger such as gdb in order to diagnose and fix the issue.
Search Cursor (fc3, check Field)] #Get list of fields fields = [for f in arcpy.
List Fields (fc2)] #Get index of check field index = fields.index (check Field) #Create insert cursor for fc3 to allow appending of rows in Cursor =