Restore backups from S3 without a backup resource

Description

Right now, to restore a backup using Operator for PSMDB, you have to have a valid psmdb-backup resource available. Sometimes, it's desirable to have an ability to restore PBM backup from S3 when there's no such resource. For example, when provisioning a new cluster, or when restoring a backup taken in another namespace.

It's possible to work around this limitation by attaching to the backup-agent container in one of the cluster's pods, and running pbm commands manually. However, that's not straightforward, and can introduce discrepancy in credentials leading to an unhealthy cluster (which could be fixed with K8SPSMDB-247 when a "proper" way is implemented).

Environment

None

AFFECTED CS IDs

CS0013146

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Needs QA

Yes

Fix versions

Affects versions

Priority

Smart Checklist

Created October 12, 2020 at 10:30 AM
Updated March 5, 2024 at 5:04 PM
Resolved June 11, 2021 at 7:36 AM