feat: add backup all databases separately

This commit is contained in:
2025-03-13 07:48:28 +01:00
parent b6192f4c42
commit 528282bbd4
8 changed files with 72 additions and 16 deletions

View File

@@ -51,7 +51,7 @@ func StartMigration(cmd *cobra.Command) {
conf := &RestoreConfig{}
conf.file = backupFileName
// Backup source Database
err := BackupDatabase(dbConf, backupFileName, true, false)
err := BackupDatabase(dbConf, backupFileName, true, false, false)
if err != nil {
utils.Fatal("Error backing up database: %s", err)
}