15.11 - run_repository_job - Data Stream Architecture

Teradata Data Stream Architecture (DSA) User Guide

prodname
Data Stream Architecture
vrm_release
15.11
created_date
December 2016
category
User Guide
featnum
B035-3150-026K

Purpose

The run_repository_job command runs a job in the DSC repository.

The run_repository_job command can only be initiated if no operational jobs are running. The -v and -n parameters are not supported for backup jobs, and are optional parameters for restore and analyze jobs. If -v is not entered, it defaults to the latest successful backup job version. You do not need to specify a target name for restore or analyze jobs; if you do not, the command takes the target name configured in config_repository_backup.

Syntax

run_repository_job -t|-type Type

run_repository_job -v|backup_version

run_repository_job -v|backup_version -n|target_name

Examples

dsc run_repository_job -t backup

dsc run_repository_job -t restore -v

dsc run_repository_job -t restore -v -n target1

Parameters

t|type Type
Enter backup, restore, analyze_validate, or analyze_read.
v|backup_version BackupVersion
[Optional] Backup version number. For restore, analyze_read, and analyze_validate jobs only. Enter latest or 0 for the latest save set.
0
n|target_name Target Name
[Optional] The target name for the restore or analyze job. If not specified, the restore will be to the default target group set by the config_repository_backup command.

target1
u|user_authentication User
Required when security management is enabled. Supplies the command with the Viewpoint user, and triggers a password prompt for authentication.

Usage Notes

This command automatically generates backup, restore, and analyze jobs based on the repository backup target group configuration the user created. If you use the run_repository_job command to restore the DSC repository, perform a tpareset after the restore repository job has successfully completed.

XML File Example

This command does not support an XML file.