Backing Up CC2531 using ZHA for migration to Sonoff USB Adapter

Hi Folks,
So I’ve been following this guide here on how to back up and restore your zigbee network:

He shows how he did it for a Sonoff hub to a Sonoff dongle. I wanted to do the same from a CC2531 to the Sonoff dongle (ran out of memory on the CC2531 with too many devices).
When I followed the video and ran the bellows command it failed with a bunch of errors and crc errors with exceptions in the code itself.
Does anyone have an idiot proof guide on how to do this?
Cheers,
Gary

Let me ask derailing question, you ran out of memory on cc2531 as you have too many directly connected devices to coordinator? if i remember correctly, device count limitation should be only about directly connected devices.

Don’t follow the video blindly. The bellows command is for espz devices, your CC2531 is a znp device, same as the new Sonoff CC2652P. You have to adjust the guide accordingly.