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.
Standalone VoIP Office
To backup the PBXware system from shell:
- Login to your PBXware system shell as a root user
- Navigate to the /opt directory
cd /opt
- Stop services
/opt/pbxware/sh/stop
/opt/httpd/sh/stop
- Create tar file
tar --numeric-owner -czvf backup.tgz httpd pbxware
- Start the services
/opt/pbxware/sh/start /opt/httpd/sh/start
SERVERware 1.x VPS
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:
- Login to your SERVERware system shell as a root user
- Stop the VPS you would like to backup
vserver YourVPSname stop
- Navigate to the /opt folder inside your VPS
cd /home/vservers/YourVPSname/opt/
- Create tar file
tar --numeric-owner -czf backup.tgz httpd pbxware
- Start the VPS
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.
