Dump HA configuration from corrupt SD card

The SD card in my RaspberryPi appears to have got corrupted. I fsck’d the partition on a different machine and that completed with some fixed errors. However now HomeAssitant just doesn’t start up - no web interface and logging in at the console prompt gives “No such container: hassio_cli”, SSH access to the machine is refused. I can’t see any obvious errors in the boot messages.
I suspect the docker container is corrupted and doesn’t start properly.
I’m quite willing to re-image the SD card, but I would like someway to dump the configuration before I do - I spent ages configuring the thing and I don’t really want to do it all again!