Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12629

How to clear our CDR table

$
0
0

@Sc00by wrote:

Hi

My server is currently backing up a 2GB CDR database with about 4yrs of data, I would like to delete 2013 and older

Before I do anything, I would like to check that the below is still the safest way to clear out the CDR table

SSH to the server.
mysql
use asteriskcdrdb;
DELETE from cdr WHERE calldate < '2014-01-01 00:00:00';

The above should delete anything older than the 1st Jan 2014?

I am running 2.11 - Asterisk 11 64-bit

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>