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