The description option assigns or specifies a description for files when performing archive, delete archive, retrieve, query archive, or query backupset.
dsmc archive –des="2003 Budget for Proj 1" /home/plan/
proj1/budget.jan
dsmc archive –des="2003 Budget for Proj 1" c:\plan\proj1\
budget.jan
Use the description option with the following commands:
This option is valid for all clients. The Tivoli® Storage Manager client API does not support this option.
-description="ArchiveDate: 02/05/03 "
or
-description="ArchiveDate: 02/05/03*"
If you use the archive command to archive more than one file, the description you enter applies to each file. For example, to archive a group of files and assign the same description, Project X, to each file, you would enter:
dsmc archive –description="Project X" "/Users/van/Documents/*.x"
dsmc archive –description="Project X" "/home/allproj/.*"
dsmc archive –description="Project X" c:\allproj\*.x
You can then use the description to retrieve all of the files.
dsmc archive "/Users/van/Documents/*.prj" -des="2003 Budget for Proj 1"
dsmc archive "/home/foo/*.prj" –des="2003 Budget for Proj 1"
dsmc query backupset –loc=server –descr="My Laptop"
dsmc archive –des="2003 Budget for Proj 1" c:\foo\ *.prj