Updating gdb

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.With Mavericks Update, Apple has replaced GDB by LLDB, which is a part of the LLVM suit.It might have been a good move on Apple’s side as it includes tons of new features and is also catching up with gdb on the run-time performance part (you can read more about it here). You should avoid installing into any directory or subdirectory having names like "Program Files" or "My Documents", etc.

Search Cursor (fc2, fields) #iterate for row in cursor: #Get value to check check Value = row[index] #Check if value is in target fc if check Value in check Values: #skip if value is in target fc continue #Insert row otherwise in Cursor.insert Row(row) #Clean up del cursor del in Cursor As alex GIS already said, it would be easiest to create a replica between your SDE database and your local backup file GDB Make sure that your SDE database is versioned and all feature classes have a Global ID.The example here shows how to update a feature class based on a field and changes to a field.I would like to parse and update all feature classes in gdb2 if there is a change to a feature class in gdb1. import arcpy #input feature class fc2 = r"C:\temp\temp.gdb\fc2" #target feature class fc3 = r"C:\temp\temp.gdb\fc3" #check field check Field = "SRNumber" #Get list of values in field from target feature class check Values = [r[0] for r in To activate support, you must add the directory containing implementation of the underlying implementation of Python, and thus vary somewhat between Python 2 and Python 3.An area that can be confusing is that the custom printer for some types look a lot like gdb’s built-in printer for standard types.