Restoring using key string