Bitrock stack backup and restoration

From KnowledgeTree Community

Jump to: navigation, search

This procedure describes how to backup and restore Bitrock stack for KnowledgeTree versions 3.5.4a to 3.6.1. Perform this procedure if your upgrade fails and you need to restore your KnowledgeTree installation to the pre-upgrade state.

Note: This procedure restores KnowledgeTree core services and configuration. This procedure does not restore the code. 
If upgrade fails, re-install the version you upgraded from (e.g. 3.5.3); then, restore the backup into the directory of the  
pre-upgrade version you re-installed.

Restoring on Windows

1. Stop all KnowledgeTree services.

2. Change directory to the ktdms directory (Usually Program Files\ktdms)

3. Ensure that you have a 'backup' directory (otherwise there is no backup!)

4. Backup the existing configuration by executing:

  • mkdir extra_backup
  • move apache2 extra_backup
  • move mysql extra_backup
  • move php extra_backup
  • move openoffice extra_backup

5. Move original backed up files

  • move /Y backup\apache2
  • move /Y backup\mysql
  • move /Y backup\php
  • move /Y backup\openoffice

6. Start the KnowledgeTree services.

Restoring on Linux

1. Stop all KnowledgeTree services.

2. Change directory to the ktdms directory (Usually /opt/ktdms).

3. Ensure that you have a 'backup' directory (otherwise there is no backup!)

4. Back up the existing configuration by executing:

  • mkdir extra_backup
  • mv apache2 mysql php openoffice extra_backup

5. Move original backed up files

  • mv -f backup/*

6. Start the KnowledgeTree services.

KnowledgeTree Release Notes

Personal tools