I have a postgres's data directory from another system, and I'm trying to get it to work enough to dump the data into sql files. Unfortunately, postgresql is broken with the copied in data directory (I realize this isn't the right way to handle this, but I think I'm out of other options.).
From that directory alone, is there any way to get postgres to dump sql files directly, without the server itself being willing to start up? Or do you have other suggestions for how I can get this back to vaguely working?