您可以查看 DSA 命令行界面中的所有可用命令的列表和简短说明,其中会显示每个命令的基本语法和命令用法。
您还可以指定命令名称以查看有关该命令的更详细信息,包括语法示例以及与该命令关联的参数的列表和针对每个参数的说明。
- 在命令行中键入 dsc help,并执行以下操作之一:
选项 说明 查看所有命令 - 按 Enter 键查看所有命令名称的列表。
查看特定命令 - 添加特定命令名称查看有关特定命令的信息。
- 按 Enter 键。
例如,要了解有关 create_job 命令的信息,请键入 dsc help create_job 并按 Enter 键。将显示以下内容:
NAME: create_job - Create Job Command DESCRIPTION: Creates a DSA job based on the file, with user modifications from parameters below. User will be required to authenticate username and password to the source/target system on the console. EXAMPLE: create_job -n|-name job1 -f|-file parameters.xml PARAMETERS: Parameter Example Description n|name job1 (Optional) Name for the job, must be unique d|description backup web apps (Optional) Description of the job. For multi-word surround by \\" must be escaped with backslash. t|type restore (Optional) Type of the job: [BACKUP,RESTORE,ANALYZE_READ,ANALYZE_VALIDATE] b|backup_name backupWeb1 (Optional) Backup job name(only for RESTORE or ANALYZE jobs) v|backup_version 60 (Optional) Backup version number(only for RESTORE or ANALYZE jobs). Type LATEST or 0 for latest save set. f|file parameters.xml XML File to upload as basis for new job. u|user_authentication user (Required when security management is enabled) Supplies command with Viewpoint user