The database clustering doc prescribes a replica data export method by which you:
- Turn off the daemons.
- Turn on read only mode
- ./bin/storage dump --for-replica
- Bring stuff back online.
When I ran ./bin/storage dump i got a message that told me I couldn't do that because my database was in read only mode. I might have had a different setup than what you were expecting, and did something not explicitly documented, although I assumed "correct".
- Turn off daemons
- Run ./bin/config set cluster.read-only true on both of the machines that were in my setup, I assumed that I should be setting the "read only" flag on all of my phabricator clones (one db node, one web node) since the idea of having two different configs made my spidey sense tingle
- ./bin/storage dump --for-replica throws an exception
I just turned off the flag on the db node and everything went swimmingly, I'm not sure if this would also manifest itself in a single-node setup.