Error when when specifying -file-list with snapmirror restore
Applies to
- ONTAP 9 and later
- Snapmirror Restore with -file-list parameter
Issue
When using the snapmirror restore command to recover a file from snapshot, using the -file-list option:
cluster::> snapmirror restore -source-path vserver1_dr:POC_testvol_mirror -destination-path vserver1:vol -source-snapshot daily.XXXX-XX-XX_1147 -file-list /file1,@/file1
Warning: This command will overwrite any file on destination "vserver1:vol"
that has the same path as any of the files to be restored.
Do you want to continue? {y|n}: y
The restore fails with the error:
File "/file1" missing from Snapshot copy "daily.XXXX-XX-XX_1147" on source volume "vserver1_dr:vol_mirror"
