![]() |
![]() |
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.
Syntax
.-*----. >>-SET Access--+- Archive-+---- filespec---- node--+------+-----> '- Backup--' '-user-' >--+---------+------------------------------------------------->< '-options-'
Parameters
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.
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'"
Examples
Command: dsmc set access backup sys:budget node_2
Command: dsmc set access archive sys:devel/proja/*.sys node_3
Command: dsmc set a archive sys:u/devel/proja node_3
Command: dsmc set a b *bldgb
Command: dsmc set access b * node3