Restore Group

Use the restore group command to restore specific members or all members of a group backup.

Note:
  1. Use the pick option to display a list of groups from which you can select one group to restore.
  2. Use the showmembers option with the pick option to display and restore one or more members of a group. In this case, you first select the group from which you want to restore specific members, then you select one or more group members to restore.
  3. You can restore a group from a backup set.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsWindows operating systems

Supported Clients

Mac OS X operating systemsAIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsThis command is valid for all clients, except Mac OS X.

Windows operating systemsThis command is valid for all clients.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-REStore GRoup--+---------+----source----+-------------+-----><
                  '-options-'              '-destination-'   

Parameters

Mac OS X operating systemsAIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemssource
Mac OS X operating systemsAIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsSpecifies the virtual file space name and the group name on the server that you want to restore.
Windows operating systemssource
Windows operating systemsSpecifies the virtual file space name (enclosed in braces) and the group name on the server that you want to restore.
destination
Specifies the path where you want to place the group or one or more group members. If you do not specify a destination, the client restores the files to their original location.
Table 1. Restore Group command: Related options
Option Where to use
backupsetname Command line only.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsfollowsymbolic AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsClient options file (dsm.opt) or command line.
fromdate Command line only.
fromnode Command line only.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsfromowner AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsCommand line only.
fromtime Command line only.
ifnewer Command line only.
inactive Command line only.
latest Command line only.
pick Command line only.
pitdate Command line only.
pittime Command line only.
preservepath Command line only.
Windows operating systemsreplace Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsreplace AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsClient options file (dsm.opt) or command line.
Windows operating systemsshowmembers Windows operating systemsCommand line only.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsshowmembers

(does not apply to Mac OS X)

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsCommand line only.
Windows operating systemsskipntpermissions Windows operating systemsClient options file (dsm.opt) or command line.
Windows operating systemsskipntsecuritycrc Windows operating systemsClient options file (dsm.opt) or command line.
Windows operating systemssubdir Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemssubdir AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsClient user options file (dsm.opt) or command line.
Windows operating systemstapeprompt Windows operating systemsClient options file (dsm.opt) or command line.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemstapeprompt AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsClient user options file (dsm.opt) or command line.
todate Command line only.
totime Command line only.

Examples

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsTask
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsRestore all members in the /virtfs/group1 group backup to their original location on the client system.
Command:
restore group /virtfs/group1
Windows operating systemsTask
Windows operating systemsRestore all members in the virtfs\group1 group backup to their original location on the client system.
Command:
restore group {virtfs}\group1
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsTask
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsDisplay all groups within the /virtfs virtual file space. Use the showmembers option to display a list of group members from which you can select one or more to restore.
Command:
restore group /virtfs/
  * -pick -showmembers
Windows operating systemsTask
Windows operating systemsDisplay all groups within the virtfs virtual file space. Use the showmembers option to display a list of group members from which you can select one or more to restore.
Command:
restore group {virtfs}\
  * -pick -showmembers
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsTask
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsDisplay a list of groups within the /virtfs virtual file space from which you can select one or more groups to restore.
Command:
restore group /virtfs/* -pick
Windows operating systemsTask
Windows operating systemsDisplay a list of groups within the virtfs virtual file space from which you can select one or more groups to restore.
Command:
restore group {virtfs}\* -pick