Hello:
I am trying to make a clone of my PBX.
I have 2 VPS running the same Centos version. “OldServer” has a PBX running on it. “NewServer” has nothing running on it.
I would like to clone OldServer onto NewServer and have NewServer be a fully operational PBX.
I ran this “push” command on OldServer:
rsync -auHxvz /* --exclude=/.ssh/* --exclude=/etc/fstab --exclude=/etc/sysconfig/network-scripts/* --exclude=/proc/* --exclude=/tmp/* --exclude=/sys/* --exclude=/dev/* --exclude=/mnt/* --exclude=/boot/* --exclude=/root/* root@159.xxx.xx.xxx:/ --progress
This seems to successfully copied all the PBX files and directories to NewServer.
Is this the correct way to accomplish what I am trying to do?
Any input or advice on this topic would be appreciated.
P.S. The PBX on NewServer does not work after doing the above, ie, when I point my browser at 159.xxx.xx.xxx, the FreePbx gui does not execute. I get this error msg:
This site can’t be reached
159.xxx.xx.xxx refused to connect.
↧