# Best way to restore non-cluster xtrabackup onto new K8s cluster

**URL:** <https://forums.percona.com/t/best-way-to-restore-non-cluster-xtrabackup-onto-new-k8s-cluster/21174>\
**Category:** Percona XtraBackup\
**Tags:** kubernetes\
**Created:** [April 4, 2023, 10:15am UTC](https://forums.percona.com/t/best-way-to-restore-non-cluster-xtrabackup-onto-new-k8s-cluster/21174 "2023-04-04T10:15:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.dean](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@chris.dean](https://forums.percona.com/u/chris.dean)\
**Post date:** [April 4, 2023, 10:15am UTC](https://forums.percona.com/t/best-way-to-restore-non-cluster-xtrabackup-onto-new-k8s-cluster/21174/1 "2023-04-04T10:15:40Z")

</div>

I have started up new XtraDB clusters via Percona’s operator.  
Everything seems to be working, backups and restores can be carried out at any time.

Our old DB systems are on the basic non clustered version of Percona MySQL.  
What is the best way to take an xtrabackup on the non clustered system and import into the K8s cluster?

I have attempted to take an xtrabackup and replace the stream file inside the PVC of a K8s run backup, however just causes the restore job to be created and never to start.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [April 4, 2023, 3:18pm UTC](https://forums.percona.com/t/best-way-to-restore-non-cluster-xtrabackup-onto-new-k8s-cluster/21174/2 "2023-04-04T15:18:47Z")

</div>

Hello @chris.dean,  
The best recommendation here is to use [mydumper/myloader](https://github.com/mydumper/mydumper) to take a logical dump of your older system and import it into the new PXC in K8S.

---

<div class="post-metadata">

**Author:** ![chris.dean](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@chris.dean](https://forums.percona.com/u/chris.dean)\
**Post date:** [April 4, 2023, 3:54pm UTC](https://forums.percona.com/t/best-way-to-restore-non-cluster-xtrabackup-onto-new-k8s-cluster/21174/3 "2023-04-04T15:54:05Z")

</div>

Excellent, tested and working great, apart from missing PKs, but that’s my problem to fix!  
🙂
