NOTE: As PBXware service will be stopped during the process please make sure to do this in off hours or at least confirm there are no active calls before stopping the servers.
To backup the PBXware system from shell:
cd /opt
/opt/pbxware/sh/stop
/opt/httpd/sh/stop
tar --numeric-owner -czvf backup.tgz httpd pbxware
/opt/pbxware/sh/start /opt/httpd/sh/start
IMPORTANT: SERVERware 1.x has reached its END OF LIFE and it is no longer supported
To backup PBXware VPS from shell on SERVERware 1.x platform:
vserver YourVPSname stop
cd /home/vservers/YourVPSname/opt/
tar --numeric-owner -czf backup.tgz httpd pbxware
vserver YourVPSname start
In case you are not sure what exactly is your VPS named, please use this command:
vps-list
Output should look like this:
Found 2 VPSes:
\# | NAME | IP | STATUS | UPTIME | CONTEXT | PROCESSES | FAILO | | | | |
| vps | PBXware1 | eth0:192.168.1.11/24 | running | 15 days, 09:11 | 934 | 162 | no | | | | | |
| vps | PBXware5 | eth0:192.168.1.15/24 | running | 15 days, 10:35 | 980 | 169 | no | | | | | | |
Make sure to replace YourVPSname with exact NAME for the VPS you would like to create backup for.