Tivoli Header

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

Set Access

The set access command gives users at other nodes access to your backup versions or archived copies. You can give another user access to a specific file, multiple files, or all files in a directory. When you give access to another user, that user can restore or retrieve your objects. Specify in the command whether you are giving access to archives or backups.

Note:
You cannot give access to both archives and backups using a single command. Access is enabled only between like platforms. You can grant access only to another NetWare client node.

Syntax

                                                   .-*----.
>>-SET Access--+- Archive-+---- filespec---- node--+------+----->
               '- Backup--'                        '-user-'
 
>--+---------+-------------------------------------------------><
   '-options-'
 
 

Parameters

Archive
Permits access to archived files.

Backup
Permits access to backup versions of files.

filespec
Specifies the path, file or directory to which you are giving access to another node or user. Use wildcard characters to specify a group of files, or all files in a directory; all objects in a directory branch; or all objects in a volume. Use a single asterisk "*" for the file spec to give access to all files owned by you and backed up on the server. When the command set access backup "*" node user is entered, no check is made with the server; it is assumed you have at least one object backed up.

If you give access to a branch of the current working directory, you only need to specify the branch. If you give access to objects that are not in a branch of the current working directory, you must specify the complete path. The file spec to which you gave access must have at least one backup version or archive copy object (file or directory) on the server.

To give access to all objects below a certain level, use an asterisk, directory delimiter, and an asterisk at the end of your file spec. For example, to give access to all objects below sys:ann, use file spec sys:ann/*/*.

To specify all files in all directories off the root directory, enter sys:*/* on the command line. Enter sys:* on one set access command and sys:*/* on another if you want another user to have complete access to your file space. The first sys:* gives access to all subdirectories and all files off the root directory.

node
Specifies the client node of the user to whom you are giving access. Use wildcards to give access to more than one node with similar node names. Use an asterisk (*) to give access to all nodes.

A node name that begins with a (/) or a (-) character must be contained within single (') or double (") quotes. If the node parameter is specified when the set access command is run in batch mode, the node name must be contained within both sets of quotes. For example:

dsmc set access backup sys:\*\* "'-testnode'"

user
Specifies the name of the user to whom you are giving access. Use a single asterisk or omit this parameter to give access to all users at the specified node.

options
See Chapter 9, Using Processing Options for information about common options that you can use with this command.

Examples

Task
Give the user at node_2 authority to restore the budget file from the sys:user directory.

Command: dsmc set access backup sys:budget node_2

Task
Give node_3 authority to retrieve all files in the sys:devel/proja directory whose file names end with .sys.

Command: dsmc set access archive sys:devel/proja/*.sys node_3

Task
Give node_3 the authority to retrieve all files in the sys:u/devel/proja directory.

Command: dsmc set a archive sys:u/devel/proja node_3

Task
Give all nodes whose names end with bldgb the authority to restore all of your backed up files.

Command: dsmc set a b *bldgb

Task
Give node3 authority to restore all your backed up files.

Command: dsmc set access b * node3


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