Trying to set up a basic disaster recovery workflow using the CX as Code CLI. I’ve got the genesys-cloud binary installed and authenticated via genesys-cloud auth:login.
The goal is simple: dump the entire org config to a JSON file so we can restore if needed. I’m running this in my local terminal:
genesys-cloud export-all --output ./backup-$(date +%Y%m%d).json
It starts off fine. I see the progress bars for architect-flows, routing-queues, and routing-skills completing in under a minute. Then it hits exporting users and just… stops. No error, no timeout, no crash. The cursor just blinks.
I let it run for 25 minutes. Nothing. I checked the Genesys Cloud UI, and we only have about 150 active users. It’s not a data volume issue. I tried adding the --debug flag, but the output is just a wall of GET requests to /api/v2/users with pagination, and it seems to get stuck on a specific page ID without moving forward.
I’ve verified my access token is valid. I can run genesys-cloud routing:users:list and it returns data instantly.
Has anyone else seen export-all hang specifically on the user export step? Is there a known rate limit or pagination bug in the CLI tool for large user lists, or am I missing a flag to force it through?