Pfsense HA sync

I was curious if anyone had an HA setup where, if the primary firewall had a total failure and I needed to make firewall changes on the secondary. How would I sync from the secondary to the primary? Or would I have to save the config from the secondary and upload the secondary config to a new primary firewall?