Keeping track of all your transfer IDs is not easy. We remember names a lot better than we do numbers. DTSCLI supports name aliases, which means that you can use the transfer or transfer job’s label to refer to it rather than the number.
Example: Create and Activate a Job Using Aliases
This example uses labels for both the transfer and transfer job.
To create and activate a job using name aliases
dtscli -transfer "ipath=Gold::c:\dtstemp\file.src"
"rpath=Silver::c:\dtstemp\file.dest" iuser=dts::dts ruser=dts::dts label=WATER -mode defer
The transfer is created. Notice the label.
dtscli -job method=create label=FIRE
The transfer job is created. Notice the label.
dtscli -job id=FIRE method=add method_parameters=WATER
dtscli -job method=activate id=FIRE
Using the ADT Transfer Client, if installed, you can view the new transfer and transfer job that you have created and activated. However, you cannot view the labels.
|
Copyright © 2013 CA.
All rights reserved.
|
|