#Recovering file from snapmirror snapshot

1 messages · Page 1 of 1 (latest)

vocal pecan
#

Hi Team,

I am trying to recover a file from a snapshot on the snapmirror volume. I am running following command from my primary volume

snapmirror restore -destination-path SVM:primary_vol -source-path backup_SVM:backup_vol_gtbsl -source-snapshot daily.2024-04-07_2000 -file-list /largefile.txt,@/largefile_restored.txt

Error: command failed: Original request was to restore the entire contents of a Snapshot copy. Attempting to restart request to restore a list of files or LUNs of a Snapshot copy.

Could not find anything helpful on net. Any advice will be much appreciated.

silk musk
#

It appears that you have previsoly attempted a "snapmirror restore" that haven't finished for whatever reason. You can probably see it by running "snapmirror show". There is an "-clean-up-failure" option to "snapmirror restore" that you can run to clear up this issue. That should make it possible for you to try again.

vocal pecan
#

Thank you @silk musk. Once I cleaned up the failed restore. command worked like a charm.