![]() |
![]() |
The selective command backs up files that you specify. If these files become damaged or lost, you can replace them with backup versions from the NetWare server. When you run a selective backup, all the files are candidates for back up unless they are excluded from backup in your include-exclude list, or they do not meet management class requirements for serialization.
You can selectively back up single files and directories from the NetWare server. You can also selectively back up the NDS. Use wildcard characters to back up groups of related files.
During a selective backup, copies of the files are sent to the server even if they did not change since the last backup. This might result in more than one copy of the same file on the server. If this occurs, you might not have as many different down-level versions of the file on the server as you intended. Your version limit might consist of identical files. To avoid this, use the incremental command to back up only new and changed files.
If back up of a file fails, determine if it is marked for execute only or if it is opened and locked by another user.
If you set the subdir option to 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.
During a selective backup, a directory path may be backed up, even if the specific file that was targeted for backup is not found. For example:
dsmc selective sys:dir1/dir2/bogus.txt
still backs up dir1 and dir2 even if the file bogus.txt does not exist.
If the selective command is retried because of a communication failure or session loss, the transfer statistics will display the number of bytes Tivoli Storage Manager attempts to transfer during all command attempts. Therefore, the statistics for bytes transferred may not match the file statistics, such as those for file size.
Syntax
.----------------------. V | >>-SELective--+----------+----+-filespec---------+-+----------->< '- options-' '-DIRectory or NDS-'
Parameters
You can use these common options with the selective command: changingretries, quiet, tapeprompt, subdir. See Chapter 9, Using Processing Options for information about these common options.
Examples
Command: dsmc selective sys:u/devel/proja
Command: dsmc selective sys:u/devel/proj*
Command: dsmc selective sys:u/devel/proj* sys:user/budget
Command: dsmc s t9\dir:.* -su=y
Command: dsmc t9\dir:.o=tfr.* -su=y