Backing Up and Restoring on Windows - trillium_discovery - trillium_quality - 17.1

Trillium DQ Repository Administrator Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Discovery
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality and Discovery
Title
Trillium DQ Repository Administrator Guide
Topic type
Overview
Administration
Configuration
Installation
Reference
How Do I
First publish date
2008

This section describes backing up and restoring a repository on Windows. The backup script and restore script files are installed with the repository server software and are named backup.ps1 and restore.ps1.

The backup process creates two back up directories, one that contains the repository files and one that contains the repository server files. When you run the restore script, the backup files are restored to the location from which they were originally copied.

Note: Windows PowerShell (a command line application) is used to run the backup and restore scripts. Ensure you have PowerShell version 5 or later installed on your system before you start this procedure.

To back up a repository on Windows

  1. Ensure all users are logged out of Trillium applications, including Repository Manager, Control Center, Discovery Center, and Administration Center.

  2. Log on to the server where the Trillium repository server is installed.

  3. As administrator, open a Windows PowerShell command line window.

  4. Navigate to the backup and restore script directory. By default this is the Trillium repository server bin directory. For example, C:\Program Files\Trillium Software\MBSW\17\bin\

  5. Run the following backup script: .\backup.ps1

  6. When prompted, supply the location where you want to create the back up, and specify the locations of the server and repository installation:

  • Enter the path for the backup directories. To specify the current directory, press Enter without specifying a path.

  • Enter the path for the Repository Server location. For example, C:\Program Files\Trillium Software\MBSW\17

  • Enter the path for the Repository location. For example, C:\ProgramData\Trillium Software\MBSW\17\Data

Note: If a split repository was created during software installation, specify the metadata path.

To restore a repository on Windows

  1. Ensure all users are logged out of Trillium applications, including Repository Manager, Control Center, Discovery Center, and Administration Center.

  2. Log on to the server where the Trillium repository server is installed.

  3. As administrator, open a Windows PowerShell command line window.

  4. Navigate to the backup and restore script directory. By default this is the Trillium repository server bin directory. For example, C:\Program Files\Trillium Software\MBSW\17\bin\

  5. Run the following restore script: .\restore.ps1

  6. When prompted, supply the location where you created the backup directories, and specify the locations of the server and repository installation:

    • Enter the path for the backup directories. To specify the current directory, press Enter.

    • Enter the path for the Repository Server location. For example, C:\Program Files\Trillium Software\MBSW\17

    • Enter the path for the Repository location. For example, C:\ProgramData\Trillium Software\MBSW\17\Data

    Note: The repository must be restored to the exact location from which the backup was made.

    When the script finishes running, your repository server and repository (including projects and entities) will be in the state they were in when the backup was created.

  7. Re-activate your Trillium license on the server:

    1. From the Start menu, click Trillium Software > TSS 17 > Repos­itory Administration Command Promptto open the Repository Administration Command Prompt.

    2. Log in using the Trillium repository administrator credentials. For Windows authentication, provide the fully qualified Windows user name (for example, tssadmin@domain.com).

    3. Press Enter.

    4. When you are prompted for a repository name, type _control: and press Enter.

    5. At the prompt _control:, enter activate then press Enter. You see the message: Successfully activated license.

    6. Type exit to close the command prompt.