Control one QC with another via MIDI

Hi, I’d like to run one QC by manually stomping through the set. I’d like my spare QC to change simultaneously. That way if the main goes down I can AB switch to the spare instantly. I’m pretty sure this can be done with MIDI, but struggling to find guidance. Anyone tried this?