ADSM-L

Re: Restoring to another client

2002-01-24 12:44:43
Subject: Re: Restoring to another client
From: "Malbrough, Demetrius" <DMalbrough AT TTIINC DOT COM>
Date: Thu, 24 Jan 2002 11:43:26 -0600
Set Access

The set access command gives users at other nodes access to your backup
versions, archived copies, or backup images. You can give another user
access to a specific file or image, multiple files or images, or all files
or images 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.
Syntax

>>-SET Access--+- Archive-+--+- filespec-+-- node--+-------+---->
               '- Backup--'  '-image-fs--'         '- user-'

>--+--------------+--------------------------------------------><
   | .----------. |
   | V          | |
   '--- options-+-'



Parameters


Archive
Permits access to archived files or images.

Backup
Permits access to backup versions of files or images.

filespec
Specifies the path, file, image, or directory to which your are giving
access to another node or user. Use wildcard characters to specify a group
of files or images, or all files and images in a directory; all objects in a
directory branch; or all objects in a drive. However, you cannot use a
wildcard to specify all drives. Use a single asterisk "*" for the file spec
to give access to all files or images owned by you and backed up on the
server. When the command set access backup "*" node 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 drive and
directory. 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 home/test, use file spec
home/test/*/*.

To specify all files or images in a named directory, enter home/mine/proj1/*
on the command line. To specify all files or images in all directories off
of the root directory, enter /*/* on the command line. Enter /* on one set
access command and /*/* on another if you want another user to have complete
access to your file space. The first /* gives access to all subdirectories
and all files or images off of the root directory.


image-fs
The name of the image file system to be shared. This may be specified as an
asterisk (*) to allow access to all images owned by the user granting
access.

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.

user
This is an optional keyword command modifier that restricts access to the
user at the specified node.

options
See "Setting Common Options" for information about common options that you
can use with this command.
Examples


Task
Give the user at node2 authority to restore the budget file from the
/home/user directory.
Command: set access backup /home/user/budget node_2


Task
Give node3 authority to retrieve all files in the /home/devel/proja
directory whose file names end with .c.
Command: set access ret "/home/devel/proja/*.c" node_3 user_c


Task
Give node3 the authority to retrieve all files from the /home/devel/proja
directory.
Command: set ac archive /home/devel/proja/node_3


Task
Give all nodes whose names end with bldgb the authority to restore all
backup versions from directories with a file space name of project.
Command: set ac b {project} "*" "*bldgb"


Task
Give all users at all nodes access to all objects in the /acct/paid
directory and any subdirectories below it.
Command: set ac b "/acct/paid/*/*" "*"


Task
Give user serena at node_5 authority to restore all images of the file space
mounted on directory /home/devel/proja.
Command: set acc backup "home/devel/proja/*/*" node_5 serena


<Prev in Thread] Current Thread [Next in Thread>