Backup and Diagnostics

From SIPfoundry sipXecs IP PBX, The Open Source SIP PBX for Linux - Calivia

Jump to: navigation, search

Contents

Backing up the sipX System

Regular backups are required in order to keep your system up and running. That sounds obvious and even if using RAID 1 disk redundancy and a solid machine, things can go wrong. The last thing you want to do in an emergency is re-enter all the configuration information.

The sipX system provides automated backup using the sipX Configuration Server. Clicking on Backup Now creates three different backup archives. After successful completion of the backup process links to the three files are presented. By clicking on these links the backup files can be downloaded to your PC.

Scheduled backups creates backup files on the sipX server itself. In most cases this is not very practical and therefore you have to use a Linux console to get the files copied to a backup machine. Using an NFS mounted partition as suggested in the comment box is certainly a possibility if you are experienced enough as a Linux system administrator.

Image:Backups.png

Note: To mount Windows share as a backup destination run the following command:

  mount -t smbfs -o username=uuu,password=ppp //ntserver/backup /var/sipxdata/backup

Backup for High Availability (HA) systems

A primary HA server cannot be restored or created from a distributed server's backup data, nor can a distributed server be restored or created from the primary server's data. So, all sipx servers in an HA cluster should be backed up, and should be restored or created only from their own backup.

The sipx GUI's scheduled-backup screen only control the primary HA server. The sipx data on Distributed HA servers can be backed up by running /usr/bin/backup-configs.sh. If the mediaserver runs on a distributed server then /usr/bin/backup-mailstore.sh should also be run. Scheduling of backups on distributed servers can be done using cron. Backed-up data can be restored by running restore-configs.sh and restore-mailstore.sh.

Diagnostics

Registrations

Limited Diagnostics are available in the sipX Web interface. The Registrations screen allows you to check currently registered end points (phones and terminal adaptors).

Image:Registrations.png

Job Status

A Job means the creation of a configuration profile for a particular phone or gateway. Using the Job Status window allows you to verify that profiles were created successfully. Limited error messages are printed should there be any.

Image:JobStatus.png

Services

The Services screen provides the current status of all services and allows you to selectively stop or restart individual services. This should typically not be required though.

Image:Services.png

Note: The Conference Server was experimental, work was stopped.

Snapshot

The Snapshot allows you to capture the system's state and send the output to a technician or to a developer.

Image:Snapshot.png

Personal tools