# Migrating Sonata Records from VPBX 3.2 to 4.5

**URL:** https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345
**Category:** Sonata Suite
**Created:** [April 24, 2025, 7:31pm UTC](https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345 "2025-04-24T19:31:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![amicusvoice](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@amicusvoice](https://forums.vitalpbx.org/u/amicusvoice)
#### Post date: [April 24, 2025, 7:31pm UTC](https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345/1 "2025-04-24T19:31:05Z")

</div>

Is there a procedure for manually migrating Sonata Recordings? Due to some errors on a VPBX 3.2 installation I am having to move a client from Centos7 + VPBX 3.2 to a new Debian 12 +4.5 install, but despite all my efforts none of the records are appearing in the GUI.

Update: figured it out. It was an involved process but it’s now working.

---

<div class="post-metadata">

### Author: ![mo10](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/58f4c7/32.png) [@mo10](https://forums.vitalpbx.org/u/mo10)
#### Post date: [April 25, 2025, 9:49am UTC](https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345/2 "2025-04-25T09:49:04Z")

</div>

Can you please share with everyone what the problem was and how you solved it? Thanks

---

<div class="post-metadata">

### Author: ![mohamed.soliman](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/85e7bf/32.png) [@mohamed.soliman](https://forums.vitalpbx.org/u/mohamed.soliman)
#### Post date: [April 25, 2025, 10:45pm UTC](https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345/3 "2025-04-25T22:45:12Z")

</div>

You can take backup from v3 and restore to v4 without including the recording

Then scp them manually from /var/spool/asterisk/monitor

---

<div class="post-metadata">

### Author: ![amicusvoice](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@amicusvoice](https://forums.vitalpbx.org/u/amicusvoice)
#### Post date: [April 26, 2025, 2:43am UTC](https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345/4 "2025-04-26T02:43:53Z")

</div>

My problem was that something broke after I interrupted a software update, and I did not want to use the available backup because of some weirdness in not being able to delete a stubbornly undeletable extension because VPBX thought it was in use by a time condition (it wasn’t). I saw it as an opportunity to start fresh, but this client had years of recordings. The whole process was less complicated than I thought it might be.

- On the old server, did a mysqldump of the asterisk cdr \> cdr.sql
- Moved an external virtual volume of the recordings to a new server, created a symlink to “monitor” on the volume
- On the new server, imported the cdr.sql file into asterisk mysql -u root -p asterisk \< /tmp/cdr.sql

The client wasn’t rating calls or attaching notes, so there was really nothing in rec\_recordings.

---

<div class="post-metadata">

### Author: ![amicusvoice](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@amicusvoice](https://forums.vitalpbx.org/u/amicusvoice)
#### Post date: [April 26, 2025, 3:33am UTC](https://forums.vitalpbx.org/t/migrating-sonata-records-from-vpbx-3-2-to-4-5/5345/5 "2025-04-26T03:33:20Z")

</div>

Fortunately, monitor was on an external volume attached to the VPS. Just needed to reset the top level permissions after I moved the volume to the new server.

Sometimes I love diving in and doing things manually. Other times I wish I could sell this business and relax a little more!
