Home > Storage > PowerFlex > White Papers > Replication using Container Storage Module with Dell PowerFlex > Reprotect local Site
Reprotect local is used to set the original target as the new source. A reprotect operation is, in essence, removing the original source-target relationship and establishing a new one in the reverse direction. This is done only after failing over to the target cluster is complete, and the original source array is up and ready to be made a new replication destination or target.
Run the following command to reprotect the local site:
#[root@infraocp repctl]# ./repctl --rg rg-bd285081-0c9c-41d2-8254-dfffae27a803 reprotect --at secondaryocp
[2023-10-04 07:49:09] INFO RG (rg-bd285081-0c9c-41d2-8254-dfffae27a803), successfully updated with action: reprotect
[root@infraocp repctl]# ./repctl get rg
[2023-10-04 07:49:15] INFO listing replication groups
[2023-10-04 07:49:15] INFO Cluster: primaryocp
+-----+
| RG |
+-----+
Name State rClusterID Driver RemoteRG IsSource LinkState
rg-bd285081-0c9c-41d2-8254-dfffae27a803 Ready secondaryocp csi-vxflexos.dellemc.com rg-bd285081-0c9c-41d2-8254-dfffae27a803 false FAILEDOVER
[2023-10-04 07:49:15] INFO
[2023-10-04 07:49:15] INFO Cluster: secondaryocp
+-----+
| RG |
+-----+
Name State rClusterID Driver RemoteRG IsSource LinkState
rg-bd285081-0c9c-41d2-8254-dfffae27a803 Ready primaryocp csi-vxflexos.dellemc.com rg-bd285081-0c9c-41d2-8254-dfffae27a803 true FAILEDOVER
This makes the secondary cluster a new source and the original source as a new target cluster to allow replication in the reverse direction. This action will enable replication or create a copy of the data on another cluster participating in replication. If reprotect local is not enabled, data is not replicated in the reverse direction, hence any writes on the target cluster are not protected. This helps to keep the volume pairs in sync, but now in the reverse direction.