diff --git a/src/backup.ts b/src/dump.ts similarity index 97% rename from src/backup.ts rename to src/dump.ts index 03c7f56..04d1fcf 100644 --- a/src/backup.ts +++ b/src/dump.ts @@ -45,7 +45,7 @@ async function runBackup() { const dayStr = getDayStr(); const monthStr = getMonthStr(); const fileName = `cvsa_${dayStr}.dump`; - const filePath = `${CONFIG.localBackupDir}/${fileName}.dump`; + const filePath = `${CONFIG.localBackupDir}/${fileName}`; const localDumpfile = Bun.file(filePath); logger.log(`Starting backup...`);