# Restore Percona Mongodb operator backup if original cluster is not accessible

**URL:** <https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391>\
**Category:** Percona Operator for MongoDB\
**Created:** [February 14, 2022, 8:15pm UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391 "2022-02-14T20:15:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darko](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@Darko](https://forums.percona.com/u/Darko)\
**Post date:** [February 14, 2022, 8:15pm UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391/1 "2022-02-14T20:15:46Z")

</div>

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:

```auto
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 ?

---

<div class="post-metadata">

**Author:** ![Ege\_Gunes](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ege_gunes/32/4595_2.png) [@Ege\_Gunes](https://forums.percona.com/u/Ege_Gunes)\
**Post date:** [February 15, 2022, 6:50am UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391/2 "2022-02-15T06:50:49Z")

</div>

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](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/backups.html#id12)

---

<div class="post-metadata">

**Author:** ![Darko](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@Darko](https://forums.percona.com/u/Darko)\
**Post date:** [February 15, 2022, 9:43am UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391/3 "2022-02-15T09:43:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Darko](https://avatars.discourse-cdn.com/v4/letter/d/df788c/32.png) [@Darko](https://forums.percona.com/u/Darko)\
**Post date:** [February 15, 2022, 1:17pm UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391/4 "2022-02-15T13:17:26Z")

</div>

I have tested the restore on another cluster and works excellent 🙂

---

<div class="post-metadata">

**Author:** ![kamuna](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@kamuna](https://forums.percona.com/u/kamuna)\
**Post date:** [October 5, 2022, 3:42pm UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391/5 "2022-10-05T15:42:15Z")

</div>

Is it possible to restore a backup of the not Kubernetes-based cluster on the Kubernetes-based cluster?  
It is interesting from the point of migrating the existing Mongodb cluster to Kubernetes.

---

<div class="post-metadata">

**Author:** ![Ege\_Gunes](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ege_gunes/32/4595_2.png) [@Ege\_Gunes](https://forums.percona.com/u/Ege_Gunes)\
**Post date:** [October 5, 2022, 4:19pm UTC](https://forums.percona.com/t/restore-percona-mongodb-operator-backup-if-original-cluster-is-not-accessible/14391/6 "2022-10-05T16:19:16Z")

</div>

@kamuna if you use PBM on both sides, it should be possible. Please let me know if you got any problems, so I can assist you. You can even write a blog post for percona.community website!
