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.
- 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>