run_repository_job - BAR - Data Stream Architecture - Use the run_repository_job command to run a job in the DSC repository. Learn more here.

Teradata® DSA User Guide

Product
BAR
Data Stream Architecture
Release Number
16.20
Published
November 2019
Language
English (United States)
Last Update
2019-11-27
dita:mapPath
xfr1514490991957.ditamap
dita:ditavalPath
3150_DSA_UG_1650-working-RR-new.ditaval
dita:id
B035-3150
lifecycle
previous
Product Category
Software
Teradata Tools and Utilities

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

If you specify next_incremental_restore, do not specify a backup version number.

Example:  0
n|name 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.
Example:  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.

Permissions required: Administrator

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.