Restore Percona Mongodb operator backup if original cluster is not accessible

I am testing the backup/restore process for the mongodb operator.

And this is just a theoretical question:

if the cluster where the backup is created is not accessible does this means that I cannot use the backup that is already present on s3 ?

In order to restore the backup first you need to list the backups on the cluster where they are taken:

kubectl get psmdb-backup

Obviously, if the cluster is not accessible, or this command does not list the backups due to disk corruption. Or it is possible somehow to use it on another cluster when the original cluster can’t be accessed ?

1 Like

Hi @Darko,

You can also restore directly from s3 using backupSource field in psmdb-restore object. That way you don’t need a corresponding psmdb-backup. Please see Providing Backups

1 Like

@egegunes Thank you very much I will take a look.

1 Like

I have tested the restore on another cluster and works excellent :slight_smile:

1 Like