initial XFS support
This commit is contained in:
@@ -178,7 +178,8 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
|
||||
{ name: 'SSHFS Mount', value: 'sshfs' },
|
||||
{ name: 'UpCloud Object Storage', value: 'upcloud-objectstorage' },
|
||||
{ name: 'Vultr Object Storage', value: 'vultr-objectstorage' },
|
||||
{ name: 'Wasabi', value: 'wasabi' }
|
||||
{ name: 'Wasabi', value: 'wasabi' },
|
||||
{ name: 'XFS Disk', value: 'xfs' },
|
||||
];
|
||||
|
||||
$scope.formats = [
|
||||
@@ -194,7 +195,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
|
||||
};
|
||||
|
||||
$scope.mountlike = function (provider) {
|
||||
return provider === 'sshfs' || provider === 'cifs' || provider === 'nfs' || provider === 'mountpoint' || provider === 'ext4';
|
||||
return provider === 'sshfs' || provider === 'cifs' || provider === 'nfs' || provider === 'mountpoint' || provider === 'ext4' || provider === 'xfs';
|
||||
};
|
||||
|
||||
$scope.restore = function () {
|
||||
@@ -288,7 +289,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
|
||||
backupConfig.mountOptions.port = $scope.mountOptions.port;
|
||||
backupConfig.mountOptions.privateKey = $scope.mountOptions.privateKey;
|
||||
}
|
||||
} else if (backupConfig.provider === 'ext4') {
|
||||
} else if (backupConfig.provider === 'ext4' || backupConfig.provider === 'xfs') {
|
||||
backupConfig.mountOptions.diskPath = $scope.mountOptions.diskPath;
|
||||
} else if (backupConfig.provider === 'mountpoint') {
|
||||
backupConfig.mountPoint = $scope.mountPoint;
|
||||
|
||||
Reference in New Issue
Block a user