Backing Up and Restoring on Linux - 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
Administration
Overview
How Do I
Configuration
Reference
Installation
First publish date
2008

This section describes backing up and restoring a repository on Linux. The backup script and restore script files are installed with the repository server software in the server bin directory and are named backup.sh and restore.sh. The back up is created as a tar file called full_local.tar.gz.

To back up a repository on Linux

  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. Stop the TSS Scheduler by entering the command: ./scheduler -stop

  4. Change directories to the server bin directory. For example, /server_path/metabase/bin

  5. Run the back up script using the following syntax:

    ./backup.sh --server_dir path --backup_dir path

    --server_dirpath is the repository server path where the server directory is created on the server. You must use the path you specified at the prompt Directory path to install the TSS 17 - Repository Server software. --backup_dir path is the path where you want to store the backup file (full_local.tar.gz) you are creating.

    Example

    ./backup.sh --server_dir /opt/trillium/server --backup_dir /home/tssadmin/backup

    The following options are available:

    Table 1. Options for backup.sh/restore.sh

    Option

    Description

    --help

    Prints the help information.

    --debug

    Debug option to trace the script as it executes.

    --backup_dir

    Backup path where the backup file full_local.tar.gz is stored.

    --server_dir

    Repository server path where the server directory is created on the server.

  6. After the backup is complete, change directories to /server_path/metabase/bin

  7. Start the Scheduler by entering the command: ./scheduler -start

To restore a repository on Linux

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

  2. Change directories to the server bin directory. For example, /server_path/metabase/bin

  3. Run the restore script using the following syntax:

    ./restore.sh --backup_dir path --server_dir path

    --backup_dirpath is the path where the backup file (full_local.tar.gz) is stored. --server_dirpath is the repository server path where the backup is restored to.

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

    Example

    ./restore.sh --backup_dir /home/tssadmin/backup --server_dir /opt/trillium/server

    See the options in table Options for backup.sh/restore.sh.

    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.

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

    1. Change directories to the metabase/bin directory of the repository server path.

    2. Type the following command: ./mtb_admin

    3. When prompted, enter the repository administrator's username and password. For Windows authentication, provide the fully qualified  user name (for example, tssadmin@domain.com).

    4. At the prompt _control: enter activate and press Enter.