Created
February 27, 2021 07:07
-
-
Save viggin543/1501e8fac3dab275bbd4403d076e4b16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -x | |
| argocd-util -n argocd export > backup.yaml | |
| gsutil cp backup.yaml "gs://rgocd-backup/backup-$(date +%y-%m-%d).yaml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment