Tivoli Header

Tivoli Storage Manager for UNIX Backup-Archive Clients Installation and User's Guide

Subdir

The subdir option specifies whether you want to include subdirectories of named directories for processing on the following commands:

archive
delete archive
incremental
query archive
query backup
query backupset
restore
restore backupset
retrieve
selective

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:

  1. The Tivoli Storage Manager Client API does not support this option.
  2. The server can also define this option.

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

No
Subdirectories are not processed. This is the default.

Yes
Subdirectories are processed. Because the client program searches all subdirectories of a directory that is being processed, processing can take longer to complete. Specify Yes only when necessary.
Note:
If you use the preservepath option in addition to subdir=yes, it can affect which subdirectories are processed. For more information, see Preservepath.

If a subdirectory is a mounted file system, it will not process even if you specify subdir=yes.

Examples

Options file:
subdir no

Command line:

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 


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]