Someone accidenltaly erased all the cm configuration. Is there any way to sync the configuration from edge-wae´s to the CM?
Yes ... I believe most configurations are shown in the CLI these days. Note that you'll have to run cms der force on each device before registering with the new CM.