apply backup retention policy

part of #441
This commit is contained in:
Girish Ramakrishnan
2020-05-14 20:05:27 -07:00
parent d992702b87
commit af9e3e38ce
7 changed files with 140 additions and 85 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ let gDefaults = (function () {
backupFolder: '/var/backups',
format: 'tgz',
encryption: null,
retentionPolicy: { keepWithin: 2 * 24 * 60 * 60 }, // 2 days
retentionPolicy: { keepWithinSecs: 2 * 24 * 60 * 60 }, // 2 days
intervalSecs: 24 * 60 * 60 // ~1 day
};
result[exports.PLATFORM_CONFIG_KEY] = {};