Adds the ability to restore a db snapshot to a new instance

This adds a new option "restore" for the  command argument that allows the creation of new db instances from a db snapshot.