Duplicate cdr records after restore

I recently restored the cdr records to a server I was moving in to production, replacing an existing server. I restored the cdr records during a test, then a week later I restored the cdr records and moved the server in to production. Now I have duplicate entries starting back from the time I restored for the test. Is there any way to remove the duplicates? I am running 5.211-65-19.

You’d have to remove the duplicate manually. To stop the duplicates you’ll need to edit cdr_mysql.conf and remove everything in it. This functionality is duplicated in ODBC

OK. I am not sure where the cdr database is located.

The database name is: asteriskcdrdb

Thank you. I think we can handle it from here.