How to recover.

Status
Not open for further replies.

AverageGuy

New Member
Jun 18, 2017
27
0
1
Atlanta, GA metro
I've installed FusionPBX on a Debian system using pretty much everything default. It all works OK but I like the idea of the Advanced/Upgrade option. I'm afraid to use it because if it causes my pbx to become unusable, I don't know how to recover other than reload the disk image, which is a big deal. Is there a way to backup just enough to recover from a faulty Upgrade? It's old, version 3.6.0-rc4 but I don't know how to upgrade it. But that's for another post.

Thanks,
Jim.
 
Save the database and freeswitch config directory and scripts directory, also /var/www/fusionpbx
 
Save the database and freeswitch config directory and scripts directory, also /var/www/fusionpbx
I'm quite familiar with mysql but far less experienced with postgresql. I have no idea what user/pw I might use to log into the database in order to save it. I had nothing to do with it's installation since it was done during the install of FusionPBX.

Thanks,
Jim.
 
Code:
su - postgres
pg_dump fusionpbx > /tmp/fusionpbx.sql
exit

You should find the sql in /tmp directory
 
Status
Not open for further replies.