v7.8 seems not to export wpa2-pre-shared-key

A 6.9 export looks like this:

/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
    supplicant-identity=MikroTik wpa2-pre-shared-key=***
add authentication-types=wpa2-psk mode=dynamic-keys name=GREEN_PROFILE \
    supplicant-identity=MikroTik wpa2-pre-shared-key=***

whereas a 7.8 export:

/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys \
    supplicant-identity=MikroTik
add authentication-types=wpa2-psk mode=dynamic-keys name=GREEN_PROFILE \
    supplicant-identity=MikroTik

is that by intention or do I need to set something to get the keys? It’s a little painful to make a backup to be restored.

You have to explicitly add the parameter show-sensitive on (any) V7 to export all sensitive data. By default it is excluded from the export.