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 ...

Get Elastix Unified Communications Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.