diff --git a/config.go b/config.go index 18d1d0c..37ea58c 100644 --- a/config.go +++ b/config.go @@ -65,7 +65,7 @@ func init() { func updateFullBackupPath() { dumpTime = time.Now() - config.fullCurrentBackupPath = config.Folder + dumpTime.Format("02-01-2006_15-04-05") + "/" + config.fullCurrentBackupPath = config.Folder + dumpTime.Format("2006-01-02_15-04-05") + "/" err := os.MkdirAll(config.fullCurrentBackupPath, 0744) if err != nil { log.Fatalf("Could not create backup folder: %s\n", err)