Tivoli Header

Tivoli Storage Manager for NetWare Backup-Archive Client Installation and User's Guide

Selective

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

options
You can use these command line options with the selective command: dirsonly, filesonly, volinformation, filelist. For more information, see Chapter 10, "Using Options with Commands".

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.

filespec
Specifies the path and file name that you want to back up. Use wildcard characters to select a group of files or all the files in a directory. You can enter up to 20 file specifications in a command, separating the file specifications with a space.

DIRectory or NDS
Specifies that you want to back up the NDS. To back up the entire directory, specify dir:.* -su=y. To back up one container in the directory, specify dir:.o=nds_object. An NDS object can contain container objects and leaf objects. In all examples, you may enter nds: instead of dir:.

Examples

Task
Back up the proja file in the sys:u/devel directory.

Command: dsmc selective sys:u/devel/proja

Task
Back up all files in the sys:u/devel directory whose file names begin with proj.

Command: dsmc selective sys:u/devel/proj*

Task
Back up all files in the sys:u/devel directory whose file names begin with proj. Back up the single file named budget in the sys:user directory.

Command: dsmc selective sys:u/devel/proj* sys:user/budget

Task
Back up the entire NDS.

Command: dsmc s t9\dir:.* -su=y

Task
Back up the tfr organization container of the NDS.

Command: dsmc t9\dir:.o=tfr.* -su=y


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