You can restore data from retention sets by using a point-in-time restore
operation. With this operation, you restore data that was active on the server at the time when the
retention set was created on the backup-archive client or the IBM® Storage Protect for Virtual Environments client.
Before you begin
Before you restore data from a retention set, ensure that the server to which you want to restore
the files is online.
Restriction: You can restore only one set of the files for a specific node even though
the same files might be stored in more than one retention set at a specific point in time.
About this task
You can run a point-in-time restore operation from the backup-archive client command line or by
using the client GUI.
To start a point-in-time restore operation by using the client GUI, follow the instructions in
Restoring data to a point in time.
Procedure
To restore data from a retention set by using the command-line client, complete the
following steps:
-
Determine the point in time from which to restore data. On the server command line, issue the
QUERY RETSET command. For example, if the retention set ID is 42, issue the
following command:
query retset 42
Retention Set ID: 42
Retention Rule Name: XMP1
Point-In-Time Date: 01/07/2019 05:00:00 PM
Retention Period: 60
Expiration Date: 03/08/2019 05:00:00 PM
Retention Set State: Active
Total File Sizes (MB): 180
Last Update by (administrator): SERVER_CONSOLE
Last Update Date/Time: 01/07/2019 05:00:12 PM
Description: Example 1: weekly retention rule runs on Monday
at 5:00pm
Retention Set Contents: GRASSHOPPER:/home GRASSHOPPER:/home/hannigan/b-
uild CRICKET:/home/hannigan/build FLEA:\\flea-
\c$
-
To list the contents of the retention set, on the backup-archive client command line, issue the
query backup command. Specify the pitdate and
pittime options with the date and time of the retention set's snapshot. For
example:
query backup {/home/hannigan/build}/* -su=y -pitdate=01/07/2019 -pittime=17:00:00
-
Restore the contents of the retention set. On the client command line, issue the
restore command. Specify the pitdate and
pittime options with the date and time of the retention set's snapshot. For
example:
restore {/home/hannigan/build}/* -su=y -pitdate=01/07/2019 -pittime=17:00:00
Results
The data is restored to the server.