Recover-RecoverableItem [-RecoverableItem] <RecoverableObject[]> [-RecoveryOption] <RecoveryOptions> [-RecoveryPointLocation <RecoverySourceLocation[]>] [-JobStateChangedEventHandler <JobStateChangedEventHandler>] [-RecoveryNotification <Nullable`1>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
That looks simple enough but let's take a closer look. First you will need some information to do the recovery.
1. Recoverable Object
2. Recovery Options
3. Recovery Point Location
1. $pg = get-protectiongroup –dpmservername dpmserver1
a. This will return an array; assign an index value to the first one you see as 0, the second one will be 1, etc…
2. $ds = get-datasource –protectiongroup[$pg_arrayindexvaluefromabove]
a. This will return an array
3. $rp= get-recoverypoint –datasource[$ds_arrayindexvalue]
4. $gr = get-recoverableitem –recoverableitem $rp[0]
Recover-RecoverableItem [-RecoverableItem] <RecoverableObject[]> [-RecoveryOption] <RecoveryOptions> [-RecoveryPointLocation <RecoverySourceLocation[]>]
Once we have the $rop variable we can finally restore the file.
You can see from the above screenshot that we are now in progress of putting the file back where it came from.
Note: This information was originally provided by Walt Whitman on the Data Protection Manager blog:
http://blogs.technet.com/dpm/archive/2010/01/06/recover-recoverable-item.aspx
Richard Mueller edited Revision 4. Comment: Modified title casing, fixed typo, added tag
Patris_70 edited Revision 3. Comment: deleted (en-US) from title
Craig Lussier edited Revision 2. Comment: added en-US to tags and title
Ed Price - MSFT edited Revision 1. Comment: Made font consistent