diff --git a/src/views/backups.html b/src/views/backups.html index e2f5c0f02..a19639fd8 100644 --- a/src/views/backups.html +++ b/src/views/backups.html @@ -143,6 +143,13 @@ + +
+ +
+
diff --git a/src/views/backups.js b/src/views/backups.js index 3ed432b36..5edea2c66 100644 --- a/src/views/backups.js +++ b/src/views/backups.js @@ -481,6 +481,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat username: '', password: '', diskPath: '', + seal: false, user: '', port: 22, privateKey: '' @@ -507,7 +508,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat $scope.configureBackup.syncConcurrency = $scope.configureBackup.provider === 's3' ? 20 : 10; $scope.configureBackup.copyConcurrency = $scope.configureBackup.provider === 's3' ? 500 : 10; - $scope.configureBackup.mountOptions = { host: '', remoteDir: '', username: '', password: '', diskPath: '', user: '', port: 22, privateKey: '' }; + $scope.configureBackup.mountOptions = { host: '', remoteDir: '', username: '', password: '', diskPath: '', seal: false, user: '', port: 22, privateKey: '' }; }, show: function () { @@ -564,6 +565,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat username: mountOptions.username || '', password: mountOptions.password || '', diskPath: mountOptions.diskPath || '', + seal: mountOptions.seal, user: mountOptions.user || '', port: mountOptions.port || 22, privateKey: mountOptions.privateKey || '' @@ -662,6 +664,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat if (backupConfig.provider === 'cifs') { backupConfig.mountOptions.username = $scope.configureBackup.mountOptions.username; backupConfig.mountOptions.password = $scope.configureBackup.mountOptions.password; + backupConfig.mountOptions.seal = $scope.configureBackup.mountOptions.seal; } else if (backupConfig.provider === 'sshfs') { backupConfig.mountOptions.user = $scope.configureBackup.mountOptions.user; backupConfig.mountOptions.port = $scope.configureBackup.mountOptions.port;