Unregister replica in script?

07-16-2015 01:39 AM
Occasional Contributor II


I'm doing some scalability testing on replication, and I have a couple of Python scripts that create largish numbers of replicas. I find that I spend a significant time of the day in ArcCatalog unregistering these replicas by hand (and waiting for the Replica Manaer to come up in the first place). For some reason, Python isn't able to unregister a replica, so does anyone have any other script-based method of getting rid of the things? Like maybe a command-line executable using ArcObjects?

The main parent GDB is an Oracle SDE, so maybe I could use Oracle Flashback or just use database backups, but before I get into that, I thought I'd ask ...

Thanks, Martin

Tags (2)
1 Reply
New Contributor III

For those who are interested, I submitted a geonet post with a link to a python script for batch unregistering replicas.  It was written for Sql Server and not Oracle, but I don't expect it would require much refactoring for Oracle support.

0 Kudos