Implementing the possibility of loading the CDB as a snapshot in two ways: