Parameters

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.fin from the project directory, you would enter the following:

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsMac OS X operating systems
   dsmc archive /project/budget.fin
Windows operating systems
   dsmc archive c:\project\budget.fin

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

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsMac OS X operating systems
Example: Restore the file /project/budget.fin to the new path /newproj/newbudg.fin
   dsmc restore /project/budget.fin /newproj/
Windows operating systems
Example: Restore the file c:\project\budget.fin to the new path c:\newproj\newbudg.fin
   dsmc restore c:\project\budget.fin c:\newproj\newbudg.fin

Enter parameters in the order indicated in the command syntax diagram.