![]() |
![]() |
Commands can have required parameters, optional parameters, or no parameters at all. Required parameters provide information to perform a task. The most commonly required parameter is a file specification. For example, if you want to archive a file named budget from the project directory, you would enter:
dsmc archive t3\sys:project/budgetIt is unnecessary to enter the NetWare server name from which you are working.
Some commands have optional parameters. If you do not enter a value for an optional parameter, Tivoli Storage Manager uses the default value. For example, the restore command includes a required parameter, sourcefilespec, that specifies the path and file name in storage that you want to restore. The optional parameter, destinationfilespec, specifies the path and file name where you want to place the restored files. If you do not specify the destinationfilespec, by default Tivoli Storage Manager restores the files to the original source path. If you want to restore the files to a different directory, enter a value for destinationfilespec. For example, to restore nw1\sys:project/budget to nw2\sys:newproj/planning, you would enter:
dsmc restore nw1\sys:project/budget nw2\sys:newproj/planning
Enter parameters in the order indicated in the command syntax diagram.