A script to create a replica based on a consistent snapshot