Book Image

Elastix Unified Communications Server Cookbook

Book Image

Elastix Unified Communications Server Cookbook

Overview of this book

Table of Contents (24 chapters)
Elastix Unified Communications Server Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Description and Use of the Most Well-known FreePBX Modules
Addon Market Module
Asterisk Essential Commands
Asterisk Gateway Interface Programming
Helpful Linux Commands
Index

Restoring a backup from one server to another


If we have a backup file, we can copy it to another recently installed Elastix Unified Communications Server, if we'd like to restore it. For example, Server A is a production server, but we'd like to use a brand new server with more resources (Server B).

How to do it…

  1. After having Elastix installed in Server B, perform a backup, irrespective of whether there is no configuration in it and create a backup in Server A as well.

  2. Then, we copy the backup (*.tar file) from Server A to Server B with the console command (being in Server A's console):

    scp /var/www/backup/back-up-file.tar root@ip-address-of-server-b:/var/www/backup/
    
  3. Log into Server B's console and change the ownership of the backup file with the command:

    chown asterisk:asterisk /var/www/backup/back-up-file.tar
    
  4. Restore the copied backup in Server B by using the System | Backup/Restore menu. When this process is being done, Elastix's webGUI will alert us of a restoring process being performed...