PostgreSQL backup tool with Point-In-Time-Recovery and restore verification
TypeScript backupbackupsdatabasedatabase-backupdevopsdockergolangkubernetesmariadbmongodbmysqlpgpostgrespostgresqls3self-hostedsystem-administrationtoolsweb-ui
FEATURE (backups): Remove milliseconds from backup message
Rostislav Dugine36298954e10
diff --git a/backend/internal/features/backups/service.go b/backend/internal/features/backups/service.goindex f212f4bb..8ca48e54 100644--- a/backend/internal/features/backups/service.go+++ b/backend/internal/features/backups/service.go@@ -296,8 +296,7 @@ func (s *BackupService) SendBackupNotification(totalMs := backup.BackupDurationMsminutes := totalMs / (1000 * 60)seconds := (totalMs % (1000 * 60)) / 1000- milliseconds := totalMs % 1000- durationStr := fmt.Sprintf("%dm %ds %dms", minutes, seconds, milliseconds)+ durationStr := fmt.Sprintf("%dm %ds", minutes, seconds)message = fmt.Sprintf("Backup completed successfully in %s.\nCompressed backup size: %s",