Skip to content

Commit da00325

Browse files
authored
Merge pull request noobaa#1737 from dannyzaken/danny-db-backup
Added logic for DB recovery from backup
2 parents 078a893 + 72fb2eb commit da00325

2 files changed

Lines changed: 139 additions & 163 deletions

File tree

pkg/cnpg/cnpg.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,10 @@ func GetCnpgBackupObj(namespace string, name string) *cnpgv1.Backup {
616616
APIVersion: CnpgAPIVersion,
617617
Kind: "Backup",
618618
},
619+
ObjectMeta: metav1.ObjectMeta{
620+
Name: name,
621+
Namespace: namespace,
622+
},
619623
}
620624
return cnpgBackup
621625
}

0 commit comments

Comments
 (0)