You can stop replication to a GitHub Enterprise replica temporarily, or permanently remove replication.

Stopping replication temporarily

  1. On the replica where you wish to temporarily stop replication, run:

    ghe-repl-stop
    
  2. To start replication again, run:

    ghe-repl-start
    

Removing replication permanently

  1. On the replica you wish to remove replication from, stop replication:

    ghe-repl-stop
    
  2. On the replica, tear down the replication state:

    ghe-repl-teardown