define snapshot repository