Migrate WAZO database


I have a WAZO instance running on a virtual machine with a PostgreSQL instance running on the same machine locally. In order to increase maintainability I decided to move the database to another instance. Is there any way to change the configuration of WAZO so that it connects to the new database???

Yes it’s possible to use your database out of the wazo server. You need to reconfigure all files to point to the new url. Create a yaml file in a wazo services conf.d directory with the new url of the db. I’ll check if I found example.

@quintana It would be appriciated if you send me sample configuration for this purpose. I will test it. Thank you very much.

Check this script.

We’ll probably add documentation for people who want to do that in the futur.

1 Like

@quintana Great. Thank you very much dear.

1 Like