sync_replica.sh #7