11. Update & Backup

11.1. Backup

Execute the python script backup.py which is stored in the scripts folder with the backup directory as parameter. This process may take a while.

Example: python backup.py cs-backups/cs-backup-01.02.2019

11.2. Restore

Execute the python script restore-and-restart.py which is stored in the scripts folder with the directory of the backup which shall be restored as parameter.

Warning

All data in the running Connectivity Suite instance is going to be overwritten during the restore process!

The Connectivity Suite will be restarted several times while the backup is restored. This process may take a while.

Example:

python restore-and-restart.py cs-backups/cs-backup-01.02.2019

11.3. Update

Warning

Only a sudo user can execute updates. Do not update while being logged in as a root user, it wont work.

  1. Make a backup of the instance before starting the migration process

Note

Ensure that the Connectivity Suite is installed on a supported version of Ubuntu (see release notes) and update all packages beforehand to ensure a trouble-free update.

    1. For the very first update in the life cycle of the instance, execute the command below in the home directory (e.g. /home/ubuntu):

      git clone https://cs-dev.netmodule.com/connectivitysuite/cs-update.git
      
    1. If an update has already been carried out in the life cycle of the instance, execute the command below in the home directory (e.g. /home/ubuntu):

      git pull https://cs-dev.netmodule.com/connectivitysuite/cs-update.git
      
  1. When prompted to log in to the Git repository, you can use the same credentials as when you installed the software.

Note

You should have received the credentials when ordering the software. If they are no longer available, please contact your NetModule representative.

  1. Navigate into the cs-update folder

  2. Navigate into the folder with the version to update to (e.g. 2.2.12)

  3. Execute the file update-xxxx.sh (./update-xxxx.sh)

11.4. Update v2.6

Note

If you update to version 2.6, you must make a CNAME entry in the DNS server so that you can use the new web proxy feature. You can find out which settings are necessary in chapter Section 3.1.4.2.