Hi!
I am writing a script to backup sde database feature classes to a gdb file database.
But I'm running into this error:
arcgisscripting.ExecuteError: ERROR 000210: Cannot create output <path>
Failed to execute (CopyFeatures).
The script writes one or two feature classes to the gdb file but then I get the error on the next feature class.
I have tried python 3.7, python 2.7 and python 2.7 32-bit but with the same problem.
Any tips on how to proceed?
def moveFc(fc, out_workspace):
out_featureclass = os.path.join(out_workspace, fc)
print('flyttar till: ' + out_featureclass)
arcpy.CopyFeatures_management(fc, out_featureclass)
Microsoft SQL Server, ArcGIS Enterprise 10.8.2