aj-snapshot seems to be unable to restore connections to and from ports created by a2jmidid as those ports contain a variable element in the form of an ALSA MIDI portnumber between square brackets:
Failed to connect port 'a2j:seq24  (capture):  seq24 4' to 'yoshimi:midi in' !
The part after a2j:seq24, so the  part, is subject to change if the number of ALSA MIDI clients changes and aj-snapshot currently doesn't have a mechanism to handle that so it simply fails to connect the port if the ALSA MIDI portnumber has changed. Of course I could use something like a2jmidi_bridge but it would be nice if aj-snapshot would also be able to deal with those variable portnames. Thanks in advance!