Data Backup and Recovery
Data Backup and Recovery
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.
I presume you mean the snapmirror destination. You can force the volume online, but will then encounter issues with resuming SM. It becomes more difficult if you are running an SVM-DR.
The way I do it,is:
I have a Recovery SVM on the Backup array setup for access by admins with a CIFS and NFS server setup.
I then clone the snapmirrored volume using a snapshot I am interested in recovering from, to the Recovery SVM. Export or share as usual, copy back your data, and then;
Delete the clone, or else it will cause you snapshot rotation to fail on the destination.
There was a third party software tool that allowed you to recovery via a File Explorer type interface, but has not progressed to FlexGroups which we are very heavily invested in. It is also an extra cost item.
Hope this helps
TasP
Thank you Tas for taking time to respond.
Could you please elaborate a bit on clone process u mention below -
"I then clone the snapmirrored volume using a snapshot I am interested in recovering from, to the Recovery SVM. Export or share as usual, copy back your data, and then;"
Thank you