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

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

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

  • SSH to the SERVERware Host

  • Stop LXC with

/usr/bin/lxc-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 swadmin@ /opt

  • SSH to the off-site PBXware

  • Navigate to the /opt directory with: 

cd /opt 

  • Stop PBXware services with: 



  • 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:



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. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article