You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I deployed a new argocd release using helm chart. After deployment of argocd, I added a new repository using argocd UI. Then I tool a backup of yaml files using argocd-utils export command as described in disaster recovery page in the documentation. I got the backup yaml file.
After that, when I try to import argocd backup files taken using argocd-export command, I got the following response.
Hi,
this is probably just a documentation issue. When running the import as documented: docker run -v ~/.kube:/home/argocd/.kube --rm argoproj/argocd:$VERSION argocd-util import - < backup.yaml,
then docker does not read anything from stdin. The import command gets an empty file to work with. Therefore, all resources will be pruned.
The corrected docker call should include the -i flag for interactive mode: docker run -i -v ~/.kube:/home/argocd/.kube --rm argoproj/argocd:$VERSION argocd-util import - < backup.yaml
@viveksatasiya Going to close this issue because I think it is resolved by the updated command, also documentation was updated to reflect this (#3710) - if problem persists, please re-open this issue.
Hello,
I deployed a new argocd release using helm chart. After deployment of argocd, I added a new repository using argocd UI. Then I tool a backup of yaml files using argocd-utils export command as described in disaster recovery page in the documentation. I got the backup yaml file.
After that, when I try to import argocd backup files taken using argocd-export command, I got the following response.
/ConfigMap argocd-ssh-known-hosts-cm needs pruning /Secret repo-1660342773 needs pruning /Secret argocd-secret needs pruning argoproj.io/AppProject default needs pruning /ConfigMap argocd-rbac-cm needs pruning /ConfigMap argocd-tls-certs-cm needs pruning /ConfigMap argocd-cm needs pruning
Am I making any mistake while importing the backup files?
Please help.
Thanks in advance.
The text was updated successfully, but these errors were encountered: