Quantcast
Channel: Distro Discussion & Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 1374

Moving CDR and CEL from old to new

$
0
0

@mhammett wrote:

To help people searching, you can use these commands to export your CDR and CEL information from your old install to put into your new. Older versions could have asteriskuser instead of freepbxuser

Old:
mysqldump --skip-add-drop-table --no-create-db --no-create-info --complete-insert -u freepbxuser -p asteriskcdrdb cdr > cdr.sql
mysqldump --skip-add-drop-table --no-create-db --no-create-info --complete-insert -u freepbxuser -p asteriskcdrdb cel > cel.sql

New:
mysql -u root asteriskcdrdb < /home/mhammett/cdr2.sql
mysql -u root asteriskcdrdb < /home/mhammett/cel2.sql

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1374


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