Solved System crash and cannot restore from backup

Status
Not open for further replies.

shanerprice

Customer
Joined
May 7, 2021
Messages
2
Reaction score
2
So today (right in the middle of the day) our 3cx system went down. My guess is this was due to a Microsoft Windows server automatic update, but I'm not sure. When we got notice no one could call in, out, etc. I logged onto the console and noticed a couple things. First, the ip address was changed from 10.1.1.22 to 10.1.1.17 for some reason but the real issue is ALL of our Phones are gone in the Phones menu, extensions are still listed in that menu but with a red dot by each, and there are no SIP trunks listed in our Sip Trunks menu (we have 2 Pattons). I am probably missing other changes as well. I am amazed how everything just changed without any user input whatsoever.

Anyway, I am certain the only way to get this back up for me is a Restore. I have one backup (from 2 years ago) that is listed in the backup/restore menu. When I try to do a restore I get the following error message via email:

3CX restored unsuccessfully.

There were some problems during restore (see below), please retry again and if the problem persists contact your system administrator.
The following errors occured:

Commit failed on transaction Delete Wgateway.1: 10.1.1.203:5060 - Patton 1-4
Commit failed on transaction Save Wgrp.0: Restricted


Not a single piece of hardware has changed in the 2 years since this backup was made, the only thing changed was our FQDN because we went through a business name change.

Any help would be greatly appreciated! (If I can get it working, I will be making daily backups from now on!)
 
Red dot simply means no phones are registered. This is because your IP address changed. I'm guessing your computer is on DHCP and rebooted and changed IP address. You need to set your IP back to 10.1.1.17 statically or via reservation via whatever is doing DHCP and then I'm betting things will come back up.
 
Not a single piece of hardware has changed in the 2 years since this backup was made, the only thing changed was our FQDN because we went through a business name change.

Any help would be greatly appreciated! (If I can get it working, I will be making daily backups from now on!)

That's an excellent insurance plan going forward, because even if the hardware hasn't changed, the software has most definitely changed by a lot in the last 2 years by various factors (2 years worth of extension settings changes, and call logs will be lost at the very least!)

Restoring a 2 y.o backup would not have gone well at all in this case, and it would also be entirely unnecessary. As @cobaltit said, just ensure the machine takes its old IP and the phones will find it again and reconnect.
 
Sounds painful...

Though, your server IP should not have changed at all if it was set to static. Only times the IP would change would be if a) replaced NIC, b) DHCP renewed c) (for VMs) you changed NIC adapter.


So, going forward IMO, when you're back up and running... (Requires down time)

- Take a backup of your PBX
- Remove 3CX from your server
- Change IP of your Windows Server
- Install the Hyper-v role and create a new VM (https://www.3cx.com/docs/installing-microsoft-hyper-v/)
- Install the 3CX PBX and restore your backup (https://www.3cx.com/docs/manual/installing-debian-linux-pbx/)

Then you can set up hyper-v snapshots in addition to your native 3CX backups.
 
Thank you all for the help. After the windows update the server would no longer connect to the internet. After troubleshooting I determined it was a bad network adapter. I replaced the network card and never even thought about the MAC address/ip change. I am back to 10.1.1.22 and working fine!
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet