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.
Windows operating systemsLinux operating systemsOracle Solaris operating
systemsAIX operating systems

Supported Clients

Linux operating systemsOracle Solaris operating
systemsAIX operating systemsMac OS X 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 diagramREStore GRoup options source destination

Parameters

Linux operating systemsOracle Solaris operating
systemsAIX operating systemsMac OS X operating
systemssource
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsMac OS X 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.
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsfollowsymbolic Linux operating systemsOracle Solaris operating
systemsAIX operating systemsClient options file (dsm.opt) or command line.
fromdate Command line only.
fromnode Command line only.
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsMac OS X operating
systemsfromowner Linux operating systemsOracle Solaris operating
systemsAIX 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.
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsreplace Linux operating systemsOracle Solaris operating
systemsAIX operating systemsClient options file (dsm.opt) or command line.
Windows operating systemsshowmembers Windows operating systemsCommand line only.
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsshowmembers

(does not apply to Mac OS X)

Linux operating systemsOracle Solaris operating
systemsAIX 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.
Linux operating systemsOracle Solaris operating
systemsAIX operating systemssubdir Linux operating systemsOracle Solaris operating
systemsAIX operating systemsClient user options file (dsm.opt) or command line.
Windows operating systemstapeprompt Windows operating systemsClient options file (dsm.opt) or command line.
Linux operating systemsOracle Solaris operating
systemsAIX operating systemstapeprompt Linux operating systemsOracle Solaris operating
systemsAIX operating systemsClient user options file (dsm.opt) or command line.
todate Command line only.
totime Command line only.

Examples

Linux operating systemsOracle Solaris operating
systemsAIX operating systemsTask
Linux operating systemsOracle Solaris operating
systemsAIX 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
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsTask
Linux operating systemsOracle Solaris operating
systemsAIX 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
Linux operating systemsOracle Solaris operating
systemsAIX operating systemsTask
Linux operating systemsOracle Solaris operating
systemsAIX 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