{"id":13488,"date":"2026-11-22T11:36:02","date_gmt":"2026-11-22T06:06:02","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=13488"},"modified":"2026-11-22T11:39:31","modified_gmt":"2026-11-22T06:09:31","slug":"argo-cd-backup","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/argo-cd-backup\/","title":{"rendered":"How to Back Up and Restore Argo CD Applications Across Multiple Kubernetes Namespaces"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong><strong><strong>Post Date<\/strong><\/strong>: <\/strong>November 22, 2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Argo CD is a GitOps-based continuous delivery tool that automates application deployment and management across Kubernetes clusters. When managing multiple applications across different namespaces, maintaining a reliable <strong><a href=\"https:\/\/argo-cd.readthedocs.io\/en\/stable\/\" target=\"_blank\" rel=\"noopener\">Argo CD<\/a> backup<\/strong> strategy is essential to ensure application availability, configuration consistency, and disaster recovery.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Backing up Argo CD applications, configurations, and Kubernetes resources helps administrators recover from accidental deletions, cluster failures, infrastructure migrations, and unexpected configuration changes. A proper backup strategy ensures that critical application configurations can be restored whenever required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this blog, we will explain how to back up all Argo CD applications across selected namespaces, export application configurations, verify backup files, and restore Argo CD resources using command-line tools. We will also cover backup automation and best practices for maintaining a reliable Kubernetes backup strategy.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Back Up Argo CD?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Backing up Argo CD helps you recover your GitOps environment during:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Kubernetes cluster failures<\/li>\n\n\n\n<li>Accidental deletion of Argo CD resources<\/li>\n\n\n\n<li>Server migration<\/li>\n\n\n\n<li>Disaster recovery<\/li>\n\n\n\n<li>Configuration changes or deployment failures<\/li>\n\n\n\n<li>Argo CD reinstallation<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A proper backup strategy should include Argo CD configurations, application definitions, Kubernetes manifests, secrets, and persistent application data where applicable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before starting the backup, ensure the following tools are installed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Kubernetes cluster access<\/li>\n\n\n\n<li><code>kubectl<\/code><\/li>\n\n\n\n<li>Argo CD CLI<\/li>\n\n\n\n<li>Access to the Argo CD namespace<\/li>\n\n\n\n<li>Sufficient storage for backup files<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Check Kubernetes cluster connectivity:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get nodes<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check the Argo CD version:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd version<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check the Argo CD namespace:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get pods -n argocd<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If Argo CD is installed in a different namespace, replace <code>argocd<\/code> with your installation namespace.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: List All Argo CD Applications<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">First, list all applications managed by Argo CD.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd app list<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can also check Application resources directly using Kubernetes:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get applications -A<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To list applications from a specific namespace:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get applications -n argocd<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For applications deployed across multiple namespaces, verify the application resources and their destination namespaces.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Identify the Namespaces to Back Up<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">List all Kubernetes namespaces:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>kubectl get namespaces<\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">NAME\nargocd\ndefault\ntest\ntest1-infra\nmonitoring<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"465\" src=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot-1024x465.png\" alt=\"Argo CD application backup and Kubernetes disaster recovery\" class=\"wp-image-13621\" srcset=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot-1024x465.png 1024w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot-300x136.png 300w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot-768x349.png 768w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot-1536x697.png 1536w, https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Kubernetes-Namespaces-Terminal-Screenshot.png 1862w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, we want to back up Argo CD applications from the following namespaces:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>argocd<\/li>\n\n\n\n<li>test1-infra<\/li>\n\n\n\n<li>test<\/li>\n\n\n\n<li>monitoring<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Back Up Argo CD Applications Across Selected Namespaces<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Argo CD provides the <code>argocd admin export<\/code> command to export Argo CD data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the following command to export Argo CD data:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd admin export -n argocd > argocd-backup.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To export applications from selected application namespaces along with the Argo CD control-plane namespace, use:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd admin export \\\n  -n argocd \\\n  --application-namespaces test1-infra,test,test2 \\\n  > argocd-backup.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This command exports Argo CD data into a YAML backup file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>--application-namespaces<\/code> option allows you to specify additional namespaces from which Argo CD Application resources should be exported.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Create a Backup Directory<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create a dedicated directory to store your backups.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">mkdir -p \/backup\/argocd<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Set the backup filename using the current date:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">DATE=$(date +%F)<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Export the backup:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd admin export \\\n  -n argocd \\\n  --application-namespaces test1-infra,test,test2 \\\n  > \/backup\/argocd\/argocd-backup-$DATE.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify the backup file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ls -lh \/backup\/argocd\/<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example output:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd-backup-2026-11-18.yaml<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Verify the Backup File<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Check the backup file size:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">du -sh \/backup\/argocd\/argocd-backup-*.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check the beginning of the backup file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">head -n 20 \/backup\/argocd\/argocd-backup-2026-11-18.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Search for Argo CD Application resources:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">grep -n \"kind: Application\" \/backup\/argocd\/argocd-backup-2026-11-18.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Search for ApplicationSets:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">grep -n \"kind: ApplicationSet\" \/backup\/argocd\/argocd-backup-2026-11-18.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Search for AppProjects:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">grep -n \"kind: AppProject\" \/backup\/argocd\/argocd-backup-2026-11-18.yaml<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Back Up Kubernetes Application Resources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Argo CD backup alone should not be considered a complete backup of your application data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should separately back up Kubernetes resources and persistent application data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, to export resources from a namespace:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get deployments,services,configmaps,secrets,ingresses,pvc -n test1-infra -o yaml \\\n  > \/backup\/argocd\/dev-infra-resources.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For multiple namespaces:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">for NS in test1-infra,test,test2; do\n    kubectl get deployments,services,configmaps,secrets,ingresses,pvc -n \"$NS\" -o yaml \\\n      > \"\/backup\/argocd\/${NS}-resources.yaml\"\ndone<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Note: This command exports the specified resource types only. For a comprehensive Kubernetes resource backup, use a backup solution such as Velero and ensure persistent volume data is included according to your storage configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Managing Kubernetes applications across multiple namespaces?<\/strong> Our DevOps team helps with Kubernetes management, Argo CD configuration, and cloud infrastructure solutions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/devops-cloud\/\">Explore our DevOps &amp; Cloud Services<\/a> to learn more.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7: Compress the Backup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To save disk space, compress the backup directory:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">tar -czvf argocd-backup-$DATE.tar.gz \/backup\/argocd\/<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Verify the compressed file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ls -lh argocd-backup-$DATE.tar.gz<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 8: Store the Backup in Remote Storage<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For production environments, do not keep backups only on the Kubernetes server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Store copies in remote backup storage such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Amazon S3<\/li>\n\n\n\n<li>MinIO<\/li>\n\n\n\n<li>Remote backup server<\/li>\n\n\n\n<li>NAS storage<\/li>\n\n\n\n<li>Secure cloud storage<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Example using <code>rsync<\/code>:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">rsync -avz \/backup\/argocd\/ backup-server:\/backup\/argocd\/<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Example using AWS CLI:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">aws s3 cp argocd-backup-$DATE.tar.gz s3:\/\/your-backup-bucket\/argocd\/<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 9: Restore Kubernetes Application Resources<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After completing the Kubernetes resource backup, you can restore the exported resources whenever required, such as during server migration, cluster failure, or disaster recovery.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">9.1 Check Kubernetes Cluster Connectivity<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, verify that your kubectl context points to the correct destination cluster.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl config current-context<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check the cluster nodes:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get nodes<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">9.2 Create Required Namespaces<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check the existing namespaces:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get namespaces<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create the required namespaces if they do not exist:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl create namespace test1-infra\nkubectl create namespace test\nkubectl create namespace monitoring<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">9.3 Restore Kubernetes Resources<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use the previously created backup YAML files to restore Kubernetes resources.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Restore resources from the test1-infra namespace:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl apply -f \/backup\/argocd\/kubernetes-resources\/test1-infra-resources.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Restore resources from the test namespace:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl apply -f \/backup\/argocd\/kubernetes-resources\/test-resources.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Restore resources from the monitoring namespace:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl apply -f \/backup\/argocd\/kubernetes-resources\/monitoring-resources.yaml<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">9.4 Verify Restored Kubernetes Resources<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After completing the restoration, verify the deployments:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get deployments -A<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check services:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get services -A<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check running pods:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get pods -A<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check PersistentVolumeClaims:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get pvc -A<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Ensure that all required Kubernetes resources have been restored successfully.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> This restoration method applies the exported Kubernetes resource definitions. Persistent volume data, databases, and other application data must be restored separately. Review Secrets, storage configurations, and cluster-specific settings before restoring resources into a production cluster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 10: Restore Argo CD Backup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before restoring, ensure Argo CD is installed and your Kubernetes context is pointing to the correct cluster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Restore Argo CD data from the backup file:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd admin import -n argocd - &lt; argocd-backup.yaml<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If your backup contains applications and configurations for multiple namespaces, ensure the required namespaces and Argo CD configuration are available in the destination cluster.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After restoration, verify applications:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd app list<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check application status:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">argocd app get &lt;application-name><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check Kubernetes resources:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">kubectl get pods -A<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Important Backup Considerations<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Verify the backup file after every backup operation.<\/li>\n\n\n\n<li>Store backups in remote storage.<\/li>\n\n\n\n<li>Back up repository credentials and sensitive configurations securely.<\/li>\n\n\n\n<li>Protect backup files because they may contain sensitive information.<\/li>\n\n\n\n<li>Back up persistent volumes and databases separately.<\/li>\n\n\n\n<li>Test the restoration process periodically.<\/li>\n\n\n\n<li>Keep backups from different dates to support recovery from accidental changes.<\/li>\n\n\n\n<li>Ensure the required namespaces and cluster resources exist before restoring applications.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Backing up Argo CD applications across multiple namespaces is an important part of Kubernetes disaster recovery. Using the Argo CD CLI, administrators can export Argo CD configuration and application resources into a backup file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a complete backup strategy, combine Argo CD exports with Kubernetes resource backups, persistent volume backups, database backups, and remote storage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Regular backups and restoration testing help ensure your Kubernetes GitOps environment can recover quickly after unexpected failures.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Frequently Asked Questions (FAQ)<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. How do I back up all Argo CD applications across multiple namespaces?<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can use the <code>argocd admin export<\/code> command with the <code>--application-namespaces<\/code> option to export Argo CD configurations and applications from selected namespaces into a YAML backup file.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Does Argo CD backup include Kubernetes application data and persistent volumes?<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Argo CD backup primarily covers Argo CD configuration and application resources. Databases, persistent volumes, and application data should be backed up separately using tools such as Velero or database backup utilities.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. How can I restore Argo CD applications from a backup?<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can restore the exported backup using the <code>argocd admin import<\/code> command after ensuring Argo CD is installed and the target Kubernetes cluster is properly configured.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Articles<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/kubernetes-production-readiness-checklist\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kubernetes Production Readiness Checklist<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pheonixsolutions.com\/blog\/kubernetes-security-checklist\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kubernetes Security Checklist: Best Practices to Secure Your Cluster<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Talk to DevOps and Cloud Experts<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Managing Kubernetes applications across multiple namespaces requires a reliable backup and recovery strategy. At <a href=\"https:\/\/pheonixsolutions.com\/devops-cloud\/\">Pheonix Solutions<\/a>, our team helps businesses build, manage, and maintain reliable digital infrastructure and cloud environments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can help you with:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/pheonixsolutions.com\/web-development\/\">Website development<\/a> with Core Web Vitals built in from the first release.<\/li>\n\n\n\n<li>Performance audits that identify and fix slow LCP, poor INP, and layout shifts on existing websites.<\/li>\n\n\n\n<li><a href=\"https:\/\/pheonixsolutions.com\/devops-cloud\/\">DevOps and cloud services<\/a> for Kubernetes management, infrastructure automation, cloud deployment, and server tuning.<\/li>\n\n\n\n<li><a href=\"https:\/\/pheonixsolutions.com\/software-maintenance-and-support\/\">Software maintenance and support<\/a> to keep applications stable, secure, and reliable after every update.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Need help managing your Kubernetes infrastructure or implementing an Argo CD backup and recovery strategy? <a href=\"https:\/\/pheonixsolutions.com\/contact\/\">Talk to our DevOps and Cloud experts<\/a> to discuss your requirements.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Post Date: November 22, 2026 Introduction Argo CD is a GitOps-based continuous delivery tool that automates application deployment and management [&hellip;]<\/p>\n","protected":false},"author":532,"featured_media":13651,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1019,1020],"tags":[],"class_list":["post-13488","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-aws","category-containers-kubernetes","psol-cat-cloud-aws"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-3vy","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2026\/11\/Backing-Up-Argo-CD-Across-Namespaces.png","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/13488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/532"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=13488"}],"version-history":[{"count":20,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/13488\/revisions"}],"predecessor-version":[{"id":13774,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/13488\/revisions\/13774"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media\/13651"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=13488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=13488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=13488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}