feat: add email notification for failed and success backup

This commit is contained in:
Jonas Kaninda
2024-10-09 22:31:52 +02:00
parent 4c44166921
commit e4258cb12e
13 changed files with 475 additions and 91 deletions

View File

@@ -14,12 +14,14 @@ const gpgExtension = "gpg"
const workingDir = "/config"
var (
storage = "local"
file = ""
storagePath = "/backup"
disableCompression = false
encryption = false
usingKey = false
storage = "local"
file = ""
storagePath = "/backup"
disableCompression = false
encryption = false
usingKey = false
backupSize int64 = 0
startTime string
)
// dbHVars Required environment variables for database