refactore: refactoring of code

This commit is contained in:
2024-01-19 14:29:37 +01:00
parent aaad8a010c
commit 2ae78fec57
7 changed files with 13 additions and 9 deletions

View File

@@ -155,6 +155,7 @@ func start() {
utils.Info("Restore database from local")
pkg.RestoreDatabase(file)
} else {
//Restore from S3
utils.Info("Restore database from s3")
s3Restore()
}
@@ -163,6 +164,7 @@ func start() {
utils.Info("Backup database to local storage")
pkg.BackupDatabase(disableCompression)
} else {
//Backup to S3
utils.Info("Backup database to s3 storage")
s3Backup()
}