By default the replication creates a new version of a page.
* For each of these pages:
** Identify the version which has been created by this replication action
** Check the replicationStatus property on that version
** if (replicationStatus == DEACTIVATED):
*** The page was deactivated when this mistake happened
** if (replicationStatus not present):
*** The page has never been activated
** (if (replicationStatus == ACTIVATED):
*** The page was activated at that time
You should probably validate this approach in some test environment 🙂
Good luck!
Jörg