From 6d18be7ee3886bb459bd732200e470c51001ba5b Mon Sep 17 00:00:00 2001 From: HF Date: Thu, 28 May 2020 12:13:39 +0200 Subject: [PATCH] allow to create incremential backups at 00:00 again (scripts will have to deal with eventual overlapses between days) --- src/core/tilesBackup.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/core/tilesBackup.js b/src/core/tilesBackup.js index 7faa91b..ea8b1e4 100644 --- a/src/core/tilesBackup.js +++ b/src/core/tilesBackup.js @@ -84,11 +84,6 @@ export async function incrementialBackupRedis( const date = new Date(); let hours = date.getHours(); let minutes = date.getMinutes(); - if (!hours && !minutes) { - // eslint-disable-next-line max-len - console.log('Incremential Backup was scheduled at 00:00 which in general isn\'t very good, skipping it.'); - return; - } if (hours < 10) hours = `0${hours}`; if (minutes < 10) minutes = `0${minutes}`; const canvasTileBackupDir = `${canvasBackupDir}/${hours}${minutes}`;