Hi! I need to copy some datasets, feature classes and tables from SDE to GDB including archive tables and classes if they exist. I would like to use arcpy scripting for that but I haven't found the way how to get archive data in python. I know that I can check if feature class is archived like that:
describe = arcpy.Describe(featureClass)
isArch = describe.IsArchived
if isArch:
do something..
but how can I get the archive class itself???
In desktop it is possible to load and view this archive class, so I suppose it is possible somehow with arcpy as well..