Simply remove all backups up to the last to when using filesystem

backend
This commit is contained in:
Johannes Zellner
2016-10-11 10:04:29 +02:00
parent 2d39a9bfa1
commit d7ea06e80e
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ function recreateJobs(unusedTimeZone, callback) {
if (gCleanupBackupsJob) gCleanupBackupsJob.stop();
gCleanupBackupsJob = new CronJob({
cronTime: '00 */30 * * * *', // every 30 minutes
cronTime: '00 */1 * * * *', // every 30 minutes
onTick: janitor.cleanupBackups,
start: true,
timeZone: allSettings[settings.TIME_ZONE_KEY]