
| Both RAID-1 and backing up your database are methods of protecting your data. It is recomended that you include at least one of them (and consider having both) in your plans for your dedicated server with PingPipe. A database backup is a full copy of all data necessary to restore the system in case of any hardware malfunction, malicious deletion of data by a hacker or in case of any accidental data loss as a result of an erroneous operation. A database backup reflects a full image of the database only right upon completion of the backup operation. All calls and changes made after the backup is made will be lost in case of any malfunction. A database backup should be made at least once a day (usually, when the traffic is lowest). Making a backup copy decreases the system's performance so it is not advisable to make it too often. A database mirror (replication) involves a continued (every few seconds) transfer of all changes made to the master database to a database that works a slave. This operation is only one-way and goes from the master to the slave database and never the other way around. It is crucial not to modify the slave database. Any modification may cause the replication to stop. In case of a hardware failure when it is important to start the VoipSwitch system with its services as soon as possible, the replication is used. A disadvantage of this solution is a necessity to run a special server - used only in case of a malfunction - with parameters similar to those of the main server. You can use the slave database in the read-only mode and define it in web application. The Portal and WTP modules offer a possibility to attach up to several databases. In case of any hardware failure of the master system, it is possible to quickly change the IP address of the slave computer and start the services in a very short time. For the change to take place instantaneously the same services should be installed and configured on the slave computer as on the master computer. After the change of IP address you can take to repairing and installing the computer that was the master computer and which can later on function as the slave for the new master computer. In case on an accidental deletion of data or a break in and removal of vital information the mirroring (replication) of the database will be of no use. All those changes will be immediately replicated on the slave computer and the data can be restored only from the database backup. |