# Remap Amazon EKS namespaces on restore with AWS Backup resource modifiers

DevFeed: [Remap Amazon EKS namespaces on restore with AWS Backup resource modifiers](<https://devfeed.tech/articles/remap-amazon-eks-namespaces-on-restore-with-aws-backup-resource-modifiers-131283.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/storage/remap-amazon-eks-namespaces-on-restore-with-aws-backup-resource-modifiers/>)

Author: Quinn Winter

Published: 2026-11-12T19:26:44Z

Content type: tutorial

Language: en

Sources: [AWS Storage Blog](<https://devfeed.tech/sources/aws-storage-blog.md>)

Topics: [Amazon Elastic Kubernetes Service](<https://devfeed.tech/topics/amazon-elastic-kubernetes-service.md>), [backups](<https://devfeed.tech/topics/backups.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-eks](<https://devfeed.tech/tags/amazon-eks.md>), [amazon-elastic-kubernetes-service](<https://devfeed.tech/tags/amazon-elastic-kubernetes-service.md>), [aws-backup](<https://devfeed.tech/tags/aws-backup.md>), [backup](<https://devfeed.tech/tags/backup.md>), [data-protection](<https://devfeed.tech/tags/data-protection.md>), [modifiers](<https://devfeed.tech/tags/modifiers.md>), [namespaces](<https://devfeed.tech/tags/namespaces.md>), [restore](<https://devfeed.tech/tags/restore.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

## AI overview

AWS Backup resource modifiers let you restore an Amazon EKS namespace under a different name by applying ordered JSON Patch rules to each restored object. The walkthrough uses two rules: rename the cluster-scoped Namespace object and change `metadata.namespace` on namespaced objects, then restore into the same cluster. Modifiers are stored in S3, apply only to objects created during restore, and leave the recovery point unchanged; existing target objects are skipped. Namespace references embedded elsewhere--such as role bindings, DNS names, IRSA trust policies, and Pod Identity associations--are not rewritten automatically and may need separate updates. The article recommends testing rules before recovery and notes that EBS-backed claims follow their remapped volumes.

## Source excerpt

With AWS Backup resource modifiers, you can now remap an Amazon EKS namespace during a restore instead of recreating it in place. In this post, you back up a cluster and use a two-rule resource modifier to restore a namespace into a new namespace on the same cluster.