Recover from bad snap upgrade

For some reason my install stopped working after the past few snap updates. After going through the snap logs I can’t see what’s failed. Reverting the snap now throws a 500 internal server error.

I’ve decided to move away from snaps and want to recreate using docker. All my files are stored in S3. I have a backup of the config directory and the mysql database. I think I’ve managed to put nextcloud into maintenance mode before taking a backup.

I have a few questions:

  1. Is the config and mysql backup enough to recreate in docker?
  2. If the dB is shot can I create a new one and rebuild it using the salt and encryption key from the config?
  3. If that doesn’t work is it possible to decrypt my files using the salt/encryption key?
  4. My understanding is that redis is just used for ephemeral data so I don’t need a backup is that true?

I still have the original install but I’ve stopped the snap to make sure no more damage is done. Any help would be appreciated.