From a6d6572cc2c3c11542263a1bd58b9d292810e5d7 Mon Sep 17 00:00:00 2001 From: Bekir Pehlivan Date: Mon, 12 Feb 2024 10:57:02 +0300 Subject: [PATCH] typo fix --- backup/dumper.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backup/dumper.go b/backup/dumper.go index 447c814..30e2726 100755 --- a/backup/dumper.go +++ b/backup/dumper.go @@ -38,11 +38,11 @@ func dumpName(db string, params config.Rotation) string { suffix := params.Suffix switch suffix { case "day": - return "Daily/" + db + "-" + dateNow.day + return "Daily/" + dateNow.day + "/" + db + "-" + dateNow.day case "hour": - return "Hourly/" + dateNow.day + db + "-" + dateNow.hour + return "Hourly/" + dateNow.day + "/" + dateNow.hour + "/" + db + "-" + dateNow.hour case "minute": - return "Custom/" + dateNow.day + db + "-" + dateNow.minute + return "Custom/" + dateNow.day + "/" + dateNow.day + "/" + db + "-" + dateNow.minute default: return "Daily/" + db + "-" + dateNow.day }