Remap Amazon EKS namespaces on restore with AWS Backup resource modifiers
Storage Blog
This article explains how to use AWS Backup resource modifiers to remap Amazon EKS namespaces during restore operations, allowing teams to restore namespaces to new locations on the same cluster.
- Resource modifiers are YAML files with rules that patch Kubernetes objects before creation during restore
- Two rules enable namespace remapping: one renames the Namespace object, another moves all objects within it
- Rules use match conditions and JSON Patch operations to select and modify objects
- Supports namespace-level restores to same or different clusters without modifying original recovery points
- Provides equivalent functionality to Velero's namespace-mappings flag natively in AWS Backup
- Can also scale deployments, update container images, modify ConfigMaps, and add labels at restore time
AWS Backup resource modifiers enable flexible namespace remapping and object patching for EKS restores, with no additional charges beyond standard AWS Backup pricing.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
Aug 22
2025
2025
Amazon EKS enables namespace configuration for AWS and Community add-ons
Oct 28
2026
2026
AWS Backup adds restore testing support for Amazon Redshift
May 6
2026
2026
Cross-Region disaster recovery for Amazon EKS using AWS Backup
Feb 3
2025
2025
Adding configurable namespaces, persistent volume claims, and other features for AWS Batch on Amazon EKS
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.