Skip to content

Instantly share code, notes, and snippets.

@viggin543
Created February 27, 2021 07:07
Show Gist options
  • Save viggin543/1501e8fac3dab275bbd4403d076e4b16 to your computer and use it in GitHub Desktop.
Save viggin543/1501e8fac3dab275bbd4403d076e4b16 to your computer and use it in GitHub Desktop.
#!/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