diff --git a/src/js/restore.js b/src/js/restore.js index 59978cbd0..4d2acbe3f 100644 --- a/src/js/restore.js +++ b/src/js/restore.js @@ -284,7 +284,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien backupConfig.mountOptions.privateKey = $scope.mountOptions.privateKey; } } else if (backupConfig.provider === 'ext4') { - backupConfig.mountOptions.diskPath = $scope.diskPath; + backupConfig.mountOptions.diskPath = $scope.mountOptions.diskPath; } else if (backupConfig.provider === 'mountpoint') { backupConfig.mountPoint = $scope.mountPoint; }