Looking to recover app config data from problematic pool

I’ve been having issues with one of my pools on my TrueNAS Scale system (detailed here). Long story short: I’m unable to import/mount my app pool and have not been able to fix the issue. I can, however, import the pool in readonly mode and manually mount individual datasets which allows me to retrieve data from them but the pool still doesn’t work as my app pool.

I want to restore my apps without manually reconfiguring them all (I have about 20 apps, some with fairly complex configs). I think the best way to do this would be to retrieve all the necessary data (configs, docker compose files, etc.) for rebuilding my apps, destroy the pool, and rebuild it with all the app data I recovered. I am wondering if this is really the best way to achieve my goal and, if so, what data I would need to recover beforehand and how best to go about doing this.

Wait for more experienced users to post their opinions. I may not have every correct below or missing steps or info.

I think you could use ZFS replication to copy your APPS1 pool onto a new pool, APPS2. Verify all the data came over including hidden items. Then you do something like removing APPS1, renaming APPS2 to APPS1 and making it RW as I think it would be RO after the replication. After all that, I think you should be able to try booting up as normal with your applications working.