If you need to recover archived data after a ransomware attack or other issue, follow the steps below to restore the files as stubs. This will prevent ESE from rehydrating the files instantly and potentially overfilling the restore target. (By default, ESE will rehydrate any files that do not meet the requirements for Archiving.)
Note: ESE Archiving manages the life cycle of stub files. It will keep track of which files it stubs and inform the Storage Platform. This ensures that stub data on the Platform will not be removed.
To restore as stubs
From the command-line, run an InstantData script containing the minimum parameters of Server, Account, Key, Path, and Target as well as the
DownloadOnDemandOnly parameter, set to "True", separated by spaces. Please note that the path (including both drive letter and folders) is case sensitive and the path should not have a backslash (\) at the end.
InstantDataPermanent.exe Server=previewsp.redstor.com Account=collection\group\myaccount Key=mysecret Backup=20160117180105 Path="C:\Database Files" Target="C:\Restore" DownloadOnDemandOnly="True"
The addition of this parameter means that only stub files will be created on the target and the data will only be downloaded as needed.
Note: Restoring as stubs is an advanced functionality and should only be used by users with a sound understanding of stubs and how they are managed. Incorrect use of this setting could result in the referenced data being removed from the Storage Platform.