Restore Group
Use the restore group command to restore specific members or all members of a group backup.
Note:
- Use the pick option to display a list of groups from which you can select one group to restore.
- 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.
- You can restore a group from a backup set.
Supported Clients
This command is valid for all clients, except Mac OS X.
This command is valid for all clients.
Syntax
>>-REStore GRoup--+---------+----source----+-------------+----->< '-options-' '-destination-'
Parameters
- source
- Specifies the virtual file space name and the group name on the server that you want to restore.
- source
- Specifies 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.
Option | Where to use |
---|---|
backupsetname | Command line only. |
followsymbolic | Client options file (dsm.opt) or command line. |
fromdate | Command line only. |
fromnode | Command line only. |
fromowner | Command 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. |
replace | Client options file (dsm.opt) or command line. |
replace | Client options file (dsm.opt) or command line. |
showmembers | Command line only. |
showmembers (does not apply to Mac OS X) |
Command line only. |
skipntpermissions | Client options file (dsm.opt) or command line. |
skipntsecuritycrc | Client options file (dsm.opt) or command line. |
subdir | Client options file (dsm.opt) or command line. |
subdir | Client user options file (dsm.opt) or command line. |
tapeprompt | Client options file (dsm.opt) or command line. |
tapeprompt | Client user options file (dsm.opt) or command line. |
todate | Command line only. |
totime | Command line only. |
Examples
- Task
- Restore all members in the /virtfs/group1 group
backup to their original location on the client system. Command:
restore group /virtfs/group1
- Task
- Restore all members in the virtfs\group1 group
backup to their original location on the client system. Command:
restore group {virtfs}\group1
- Task
- Display 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
- Task
- Display 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
- Task
- Display 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
- Task
- Display 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