You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Database migration

If you need the current Teamwork Cloud data, you may need to migrate the database before upgrading Teamwork Cloud to a new version, based on the chosen migration strategy.


To upgrade Teamwork Cloud to a new version


  1. Stop the Teamwork Cloud services

  2. (Optional) Make a copy of the installation directory - this will leave a reference to the existing configuration, as well as a source for your signed certificates, if you are not using the self-signed certificates generated during the install.
  3. Uninstall older versions from your machine. Do not uninstall Cassandra.

  4. Install the new version of Teamwork Cloud on Linux or Windows.

    Note

    If you have changed the default Administrator username and password, you must update the twc.admin.username and twc.admin.password parameters, in the web application configuration file at <TWCloud install folder>/WebAppPlatform/shared/conf/webappplatform.properties.

  5. Start AuthServerTeamworkCloud, and WebApp services.


 If you do not need your existing data, you can skip the database migration and delete the Cassandra database folder from your machine as described below.

Location of your data

The location of your data is configured in cassandra.yaml, as specified by the data_file_directories parameter


To delete the Cassandra database folder


  1. Stop Teamwork Cloud services (WebApp, AuthServer, TeamworkCloud).
  2. Execute the "nodetool drain".
  3. Stop Cassandra.
  4. Delete the data directory.