I have followed the direction on Fusionpbx.com on how to do a database backup, but there isn't any information on how to restore your database backup. Or how to transfer your database to a new install. It is always a good idea to have a backup plan in place.
Following the directions from:
http://docs.fusionpbx.com/en/latest/getting_started/backup.html
I created a pg_dump file:
fusionpbx_pgsql_2017-04-18.sql
Now, I was able to find this information from another forum on how to do a restore
pg_restore -Fc --host=127.0.0.1 --dbname=fusionpbx --username=fusionpbx --schema=public /var/backups/fusionpbx_pgsql_2017-04-18.sql
So far it looks like it works pretty well. Make sure you have your database password. It can be found at:
/etc/fusionpbx/config.php
My main objective was to be able to import my data from an old build to a new install. So far it looks like this works for me. The only issue I have found is that it duplicates everything in variables, and it does not transfer your settings under Default Settings.
If anyone has any advice or input on migrating data from one server to another, please share.
Following the directions from:
http://docs.fusionpbx.com/en/latest/getting_started/backup.html
I created a pg_dump file:
fusionpbx_pgsql_2017-04-18.sql
Now, I was able to find this information from another forum on how to do a restore
pg_restore -Fc --host=127.0.0.1 --dbname=fusionpbx --username=fusionpbx --schema=public /var/backups/fusionpbx_pgsql_2017-04-18.sql
So far it looks like it works pretty well. Make sure you have your database password. It can be found at:
/etc/fusionpbx/config.php
My main objective was to be able to import my data from an old build to a new install. So far it looks like this works for me. The only issue I have found is that it duplicates everything in variables, and it does not transfer your settings under Default Settings.
If anyone has any advice or input on migrating data from one server to another, please share.