![]() |
![]() |
The subdir option specifies whether you want to include subdirectories of named directories for processing on the following commands:
For example, if you specify subdir=yes when backing up a specific path and file, Tivoli Storage Manager recursively backs up all subdirectories under that path, and any instances of the specified file that exist under any of those subdirectories.
Notes:
Supported Clients
This option is valid for all UNIX clients.
Options File
Place this option in the client options file dsm.opt.
Syntax
.-No--. >>-SUbdir-+-----+---------------------------------------------->< '-Yes-'
Parameters
If a subdirectory is a mounted file system, it will not process even if you specify subdir=yes.
Examples
To restore the structure:
/path2/dir1 /path2/dir1/file1 /path2/dir1/dir2 /path2/dir1/dir2/file1
enter any of the following commands:
dsmc rest "/path/dir1/*" /path2/ -su=yes dsmc rest "/path/dir1/file*" /path2/ -su=yes dsmc rest "/path/dir1/file1*" /path2/ -su=yes