1. Bicom Systems
  2. Solution home
  3. PBXware
  4. HOWTOs

General :: HOWTO Restore VPS to the off-site PBXware



In SERVERware 4.X, there is a Geo Redundancy feature implemented which allows you to start VPS on different geographical location, in case of a disaster on primary DC.



More information you can find on the following link: GEO Redundancy



In order to backup&restore PBXware VPS from SERVERware 4 to the off-site standalone PBXware you should follow these steps:


  • SSH to the SERVERware Host with command

ssh swadmin@SERVERwareHost-IP -p2222


  • Obtain root access with sudo -s command and enter correct root password


  • Stop VPS with


sw vps-stop -n VPSNAME
  • Navigate to opt VPS directory with:
cd /home/lxc/VPSNAME/rootfs/opt/ 
  • Tar the httpd and pbxware with:


tar czvf backup.tgz httpd pbxware
  • Copy this backup to the off-site with scp or rsync 


Example of SCP command running from off-site PBXware: 


scp -P 2222 [email protected]:/home/lxc/VPSNAME/rootfs/opt/backup.tgz /opt



SSH to the off-site PBXware


  • Navigate to the /opt directory with: 


cd /opt 


  • Stop PBXware services with: 

/opt/pbxware/sh/stop

/opt/pbxware/httpd/sh/stop


  • Remove pbxware and httpd folders, to prevent data corruption, from /opt directory with following commands (please be careful as this command needs to be ran on offsite PBXware ONLY)


rm -rf pbxware/
rm -rf httpd/
  • Unpack backup with:
tar --numeric-owner -xvf PATH_TO_BACKUP where PATH_TO_BACKUP is a full path to your backup file.

  • Start PBXware services with:

/opt/pbxware/sh/start

 /opt/httpd/sh/start


NOTE: Please make sure that everything is working properly before using the migrated VPS as a production system. 

Any issues that may arise on the migrated VPS as a result of missed steps during the procedure will not be supported. 


Additional note: Please make sure you contact Account Manager to provide you with new license #, or adjust the current one.