Skip to content

Commit 4e4d45e

Browse files
authored
Merge pull request #119 from jkaninda/fix-notification
fix: fix multi backup s3 path
2 parents 3dce201 + 01e41ac commit 4e4d45e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ func s3Backup(db *dbConfig, config *BackupConfig) {
302302
BackupSize: backupSize,
303303
Database: db.dbName,
304304
Storage: config.storage,
305-
BackupLocation: filepath.Join(config.remotePath, finalFileName),
305+
BackupLocation: filepath.Join(s3Path, finalFileName),
306306
StartTime: startTime,
307307
EndTime: time.Now().Format(utils.TimeFormat()),
308308
})

0 commit comments

Comments
 (0)