Use retentionSecs to cleanup backups

Part of #310
This commit is contained in:
Girish Ramakrishnan
2017-04-23 11:34:46 -07:00
parent a0e122e578
commit aeba8e8fd2
13 changed files with 101 additions and 90 deletions

View File

@@ -394,7 +394,8 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
var backupConfig = {
provider: $scope.configureBackup.provider,
key: $scope.configureBackup.key
key: $scope.configureBackup.key,
retentionSecs: $scope.configureBackup.retentionSecs
};
// only set provider specific fields, this will clear them in the db