A backup restore procedure is available between panels, I am linking the page describing the process below.
In this case we wouldn’t be able to run a new backup since the panel has failed, but the latest automatic backup is available and can be pushed to the new panel. This would cover sensors and users, but Z-wave devices cannot be backed up, so lights, locks, thermostats would need relearned manually.