How do you back up and restore Argo CD?
IntermediateConceptRepo Structure, Flux, Scaling & DR
Answer
Ideally everything is already in Git: Applications, Projects, ApplicationSets and Argo CD's own config via app-of-apps. For the rest (cluster Secrets, repo credentials, settings changed in the UI):
argocd admin export -n argocd > argocd-backup-$(date +%F).yaml
argocd admin import -n argocd - < argocd-backup-2025-06-01.yaml
Also back up Sealed Secrets keys and any external dependencies (SSO client secrets). Restore order: install Argo CD, restore secrets and settings, apply the root app.
More on Repo Structure, Flux, Scaling & DR
Why separate the application source repo from the config (GitOps) repo?BeginnerFolders per environment or branches per environment?IntermediateHow do you promote a release from staging to production in GitOps?IntermediateWhat does a typical multi-team config repo layout look like?IntermediateHow does Flux differ from Argo CD architecturally?IntermediateWhen would you pick Flux over Argo CD, and vice versa?Intermediate