Previous Topic: RGROUP commandNext Topic: RSPACE command


RPOOL command

Authorization: SYSADMIN

Use the RPOOL command to restore either an entire file pool or at least one user storage group, or to move one or more user storage groups from one file pool to another.

CA VM:Backup restores all enrollment data, directory structures, files, authorizations, and aliases, but it does not restore the physical structure of the file pool itself. For example, CA VM:Backup does not restore the FILESERV startup parameters or the log minidisks.

Before you can restore data using this command, the following requirements must be met:

CA VM:Backup might require more virtual storage when it restores large file spaces. For more information about virtual storage requirements, see Virtual Storage.

For more information about restoring user storage groups, refer to Restoring SFS and BFS Data.

This command has the following format:

RPool FROM frompool [TO topool] [("Options"...[)]]

Options:
ALL | SKIP
GROUP numbers...
DAte date
TIme time
OLDDAte olddate
OLDTIme oldtime
PUBLIC | NOPUBLIC

Definitions

FROM frompool [TO topool]

Specifies the filepoolid of the file pool that contains the data to restore (frompool) and, optionally, of the file pool to which to restore the data (topool). If you do not specify topool, CA VM:Backup restores to frompool. Specify the APPC/VM resource name for the filepoolid, not the user ID of the file pool service virtual machine.

ALL | SKIP

Specifies how CA VM:Backup is to restore the file spaces in the file pool.

ALL restores all file spaces from the backup, regardless of whether they already exist in the target file pool. When the restore completes, the target file pool appears exactly like the backup. ALL is the default. Restore processing is as follows:

SKIP restores only file spaces that exist in the backup but not in the target file pool. Restore processing is as follows:

GROUP numbers...

Specifies the user storage group numbers (2 through 32767) of the groups to restore. To restore more than one group, separate each unique number by at least one blank.

DAte date

Specifies the latest (most recent) date from which you want to restore the file pool or user storage groups. Type the date in mm/dd/yy format. If omitted, CA VM:Backup uses the current date.

TIme time

Specifies the latest (most recent) time on date from which you want to restore the file pool or user storage groups. Type the time in 24-hour, hh:mm format. If omitted, CA VM:Backup uses the current time.

OLDDAte olddate

Specifies the oldest (earliest) date from which you want to restore the file pool or user storage groups. Type the date in mm/dd/yy format. If omitted, CA VM:Backup uses January 1, 1942.

OLDTIme oldtime

Specifies the oldest (earliest) time on olddate from which you want to restore the file pool or user storage groups. Type the time in 24-hour, hh:mm format. If omitted, CA VM:Backup uses 23:59.

PUBLIC | NOPUBLIC

Specifies whether CA VM:Backup is to issue the ENROLL PUBLIC command for the file pool. If you specify NOPUBLIC (default), CA VM:Backup will not issue the command, and only users enrolled in the file pool will be able to access these files and directories.

If you specify PUBLIC, CA VM:Backup issues the command. Issuing the ENROLL PUBLIC command is one of two actions that are required to enable users not enrolled in a particular file pool to access files and directories of users who are enrolled in that file pool. The other required action is for the users who are enrolled in the file pool to grant access to their files and directories to either PUBLIC or the users who are not enrolled in the file pool.

Refer to the IBM z/VM CMS File Pool Planning, Administration, and Operation publication for detailed information about the ENROLL PUBLIC command.

Examples