Added if then statement to restoreWithPrompts.sh

This will verify that the target volume matches what it should be and
then will export the unique id to a specific file. If the targets
aren't a match then it will exit 1.