Restoring a Dump File to a New Fileset

To restore a dump file to a new fileset, do the following:

1. Verify that you have the necessary privileges. You must be included in the admin.ft file on the machine on which the fileset is to be stored, and you must be included in the admin.fl file on each Fileset Database machine or own the server entry for the machine on which the fileset is to be stored. If necessary, issue the bos lsadmin command to verify the members of an administrative list.

2. Verify that you have the r (read) ACL permission for the dump file and the w (write), x (execute), and i (insert) ACL permissions for the directory in which the mount point for the new fileset is to be created. If necessary, issue the dcecp acl show command to list the permissions for the objects.

3. Select a site (an aggregate on a File Server machine) for the fileset. If necessary, enter the fts aggrinfo command to check the available space on the aggregate on which the fileset is to be placed:

$ fts aggrinfo -server machine -aggregate name

4. Enter the fts restore command to restore the dump file to a new fileset:

$ fts restore -ftname name -server machine -aggregate name [-file filename] [-ftid ID]

The -ftname name option specifies the name to be assigned to the restored fileset. The name can be no longer than 102 characters. (See Making Filesets and Aggregates Available for more information on fileset naming conventions.)

The -file filename option specifies the complete path name of the file that is to be restored. The current working directory is used if a complete path name is not provided. If this option is omitted, the data is taken from standard input (stdin).

The -ftid ID option specifies the fileset ID number that is to be assigned to the fileset. If this option is omitted, a new ID number is allocated for the fileset. Use this option with great care; make sure the fileset ID number that you specify is not in use.

5. Issue the fts crmount command to create a mount point in the file system for the new fileset, making its contents visible to other users:

$ fts crmount -dir directory_name -fileset {name | ID}

The -dir directory_name option is the location for the root directory of the fileset; the specified location must not already exist. However, the parent directory of the mount point must exist in the DCE namespace. Include a complete path name unless you want to mount the fileset in the working directory.