Unable to perform volume, Qtree or directory-level restore for Linux in SnapCenter
Applies to
- SnapCenter Server (SC) 4.9, 4.9P1, 4.9P2
- SnapCenter Custom Plug-ins (SCC)
- Single File SnapRestore (SFSR)
Issue
When attempting to perform a volume-level, Qtree-level or directory-level restore of a Linux file system backup in SnapCenter, the restore fails with the following errors:
SnapCenter UI:
Failed to restore file on [<Destination_Volume>]: Restoring Snapshot copy [<Snapshot_Name>] of volume [<Source_Volume>] failed with error [Failed to perform Single File SnapRestore.
Failed to restore file from Snapshotcopy <Snapshot_Name> for volume "<Source_Volume>" on Vserver "<Vserver_Name>". Reason: Inappropriate file type or format.]
SMCore_<JobID_Date_Time>.log:
2024-08-07T15:06:23.5110369+02:00 DEBUG SMCore_23792 PID=[5400] TID=[191] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to restore file from Snapshot copy DEV_fs_lin_dig00-awsb-s01_08-07-2024_14.45.04.2725 for volume "dig00_awsb_s01_sapmnt" on Vserver "svm-maz-dev-euc2-ba-pool-others-000". Reason: Inappropriate file type or format.
2024-08-07T15:06:23.5110369+02:00 DEBUG SMCore_23792 PID=[5400] TID=[191] No retry condition match found or max retry reached. Throwing error The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Failed to restore file from Snapshot copy DEV_fs_lin_dig00-awsb-s01_08-07-2024_14.45.04.2725 for volume "dig00_awsb_s01_sapmnt" on Vserver "svm-maz-dev-euc2-ba-pool-others-000". Reason: Inappropriate file type or format.
2024-08-07T15:06:23.5110369+02:00 ERROR SMCore_23792 PID=[5400] TID=[191] Message : Failed to perform Single File SnapRestore.
Failed to restore file from Snapshot copy DEV_fs_lin_dig00-awsb-s01_08-07-2024_14.45.04.2725 for volume "dig00_awsb_s01_sapmnt" on Vserver "svm-maz-dev-euc2-ba-pool-others-000". Reason: Inappropriate file type or format.
Storage_<JobID_Date_Time>.log
"SDError" : 102,
"Message" : "Failed to perform Single File SnapRestore.\r\n Failed to restore file from Snapshot copy DEV_fs_lin_dig00-awsb-s01_08-07-2024_14.45.04.2725 for volume \"dig00_awsb_s01_sapmnt\" on Vserver \"svm-maz-dev-euc2-ba-pool-others-000\". Reason: Inappropriate file type or format. \r\n"