mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 05:33:11 +01:00
feat: log the downloaded backup catalog before restore
Closes: #319 Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
This commit is contained in:
parent
087623f3f2
commit
5615ca2660
@ -358,10 +358,12 @@ func loadBackupObjectFromExternalCluster(
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
contextLogger.Info("Downloading backup catalog")
|
||||
backupCatalog, err := barmanCommand.GetBackupList(ctx, recoveryObjectStore, serverName, env)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
contextLogger.Info("Downloaded backup catalog", "backupCatalog", backupCatalog)
|
||||
|
||||
// We are now choosing the right backup to restore
|
||||
var targetBackup *barmanCatalog.BarmanBackup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user