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
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.
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:
Note: If you want to remove file spaces that exist in the target but not in the backup, that is, you want the restored user storage groups or file pool to look just like the backed-up version, you must manually clear the user storage groups or file pool before running the restore.
SKIP restores only file spaces that exist in the backup but not in the target file pool. Restore processing is as follows:
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.
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.
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.
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.
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.
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.
vmbackup rpool from sfs (olddate 12/01/13
vmbackup rpool from test to prod (group 2 3 date 11/22/13 time 15:00 olddate 9/01/13
vmbackup rpool from test (group 3 5 7 8 9 10 11 skip olddate 8/15/13
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|