befor_replication