lsrecoveredbackuppairs

Use the lsrecoveredbackuppairs command to display the H1-R1 pairs for a specified session and backup ID.

Syntax

Read syntax diagramSkip visual syntax diagramlsrecoveredbackuppairs-help-h-?-s-l-fmtdefaultxmldelim-delimcharstanza-ponoff-hdronoff-vonoff-backupidbackup_ID  session_name

Parameters

-help | -h | -?
Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
-s
Displays the default information for each copy pair. The default information is the source and target volumes in the pair and the role pair.
-l
Displays detailed information for recovered backups, including:
Column label Details
Source Volume The ID of the source volume in the copy pair. The volume ID is displayed regardless of whether you provide the volume ID or name for the -cpset parameter.
Target Volume The ID of the target volume in the copy pair.
Role Pair The associated role pair for the copy pair.
State The state of the copy pair. The valid values include:
  • Defined
  • Preparing
  • Prepared
  • Target Available
  • Suspended
Recoverable Specifies Yes or No to indicate whether the copy pair is recoverable.
Copying Specifies Yes or No to indicate whether the copy pair is copying data.
Progress The overall copy progress that is associated with the copy pair, if applicable.
New Specifies Yes or No to indicate whether the copy pair is a new pair.
Copy Set The host site 1 volume ID of the copy set with which the copy pair is associated.
Timestamp The date and time when the copy pair was suspended, if applicable.
Last Result The last message that was issued for the copy pair. If message ends in E or W, the copy pair is an exception pair.
-fmt { default | xml | delim | stanza }
Specifies the format of the output. You can specify one of these values:
default
Specifies that the output is displayed in tabular format using spaces as delimiters between columns. This is the default value.
xml
Specifies that the output is displayed in XML format.
delim
Specifies that output is displayed in a tabular format using commas as delimiters between columns.
To use a character other than a comma as the delimiter, specify -fmt delim -delim char , where char represents the character that you want to use as the delimiter. For example, if you want to use a colon (:) as the delimiter, use the following -fmt parameter:
-fmt delim -delim :
If you use a shell metacharacter as the delimiting character, enclose the character in quotation marks or single quotation marks. A blank space is not a valid character.
stanza
Specifies that the output is displayed as one keyword-value pair per line.
-p { on | off }
Specifies whether to display one page of text at a time or all text at once.
on
Displays one page of text at a time. Pressing any key displays the next page. This is the default value when the command is run in interactive mode.
off
Displays all text at once. This is the default value when the command is run in single-shot mode.
-hdr { on | off }
Specifies whether to display the table header. You can specify one of these values:
on
Displays the table header. This is the default value.
off
Hides the table header.
-r number
Specifies the number of rows per page to display when the -p parameter is specified. You can specify a value of 1 - 100. The default value is 22.
-v { on | off }
Specifies whether to enable verbose mode. You can specify one of these values:
on
Enables verbose mode.
off
Disables verbose mode. This is the default value.
-backupid backup_ID
Specifies the identification number of the backup. This value is used to filter the list of backups that are returned. Only the backup with the given identification number is displayed.
session_name | -
Specifies the name of the session used to display backups.

Example: Listing recovered backups for the H1-R1 pairs a given session

The following command lists detailed information about all parameters.

csmcli> lsrecoveredbackuppairs -backupid 1619029157 -l csmguigrp1
The following output is returned:

Source Volume                   Target Volume                    Role Pair State            Recoverable Copying Progress New Copy Set                         Timestamp                    Last Result
======================================================================================================================================================================================================
STORWIZE-V7000:VOL:FAB3-DEV13:5 STORWIZE-V7000:VOL:FAB3-DEV13:46 H1-R1     Target Available Yes         No      -        No  STORWIZE-V7000:VOL:FAB3-DEV13:36 2021-04-21 15:27:00.814-0500 IWNR2022I
STORWIZE-V7000:VOL:FAB3-DEV13:6 STORWIZE-V7000:VOL:FAB3-DEV13:47 H1-R1     Target Available Yes         No      -        No  STORWIZE-V7000:VOL:FAB3-DEV13:37 2021-04-21 15:27:00.814-0500 IWNR2022I
STORWIZE-V7000:VOL:FAB3-DEV13:7 STORWIZE-V7000:VOL:FAB3-DEV13:48 H1-R1     Target Available Yes         No      -        No  STORWIZE-V7000:VOL:FAB3-DEV13:38 2021-04-21 15:27:00.814-0500 IWNR2022I
STORWIZE-V7000:VOL:FAB3-DEV13:8 STORWIZE-V7000:VOL:FAB3-DEV13:49 H1-R1     Target Available Yes         No      -        No  STORWIZE-V7000:VOL:FAB3-DEV13:39 2021-04-21 15:27:00.814-0500 IWNR2022I
STORWIZE-V7000:VOL:FAB3-DEV13:9 STORWIZE-V7000:VOL:FAB3-DEV13:50 H1-R1     Target Available Yes         No      -        No  STORWIZE-V7000:VOL:FAB3-DEV13:40 2021-04-21 15:27:00.814-0500 IWNR2022I