database restore script - untested!