config_repository_backup | Teradata DSA Commands - config_repository_backup - BAR - Data Stream Architecture

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
17.00
Published
August 2020
Language
English (United States)
Last Update
2020-08-31
dita:mapPath
mas1575933453856.ditamap
dita:ditavalPath
vwp1576617377804.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities

Purpose

The config_repository_backup command provides the configuration information to back up the DSC repository.

Syntax

config_repository_backup -f|-file File

Example

dsc config_repository_backup -f configRepositoryBackup.xml

Parameters

f|file filename
The full path and name of the file containing the necessary configuration parameters.
Example:  configRepositoryBackup.xml
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.

Permissions required: Administrator role

Usage Notes

The DSC repository contains all BAR information, including configuration and job definitions. It should be backed up regularly to enable system recovery.

XML File Example

A sample XML file containing configuration and scheduling information for a repository backup is shown below.

<dscRepositoryBackup dscVersion="dscVersion1" xmlns="http://schemas.teradata.com/v2012/DSC">
   <!-- 'target_name' - Required, max 32 characters -->
   <target_name>SampleBackupRepoTargetGroup</target_name>

   <!-- 'frequency_value' - Required, Value between 1-4, Defaults to 1 -->
   <frequency_value>1</frequency_value>

   <!-- 'day_selection' - Required, accepted values: Su, Mo, Tu, We, Th, Fr, Sa -->
   <day_selection>Sa,Su</day_selection>

   <!-- 'start_time' - Required, Max characters 5, Values 1:00-12:00 -->
   <start_time>12:00</start_time>

   <!-- 'start_am_pm' - Required, accepted values: AM/PM -->
   <start_am_pm>AM</start_am_pm>

</dscRepositoryBackup>