updated scope for server_can_restore variable