Skip to content

Instantly share code, notes, and snippets.

@dyipon
Created April 12, 2022 13:21
Show Gist options
  • Save dyipon/cfd9b2c2b6bed021d64969d6981d97be to your computer and use it in GitHub Desktop.
Save dyipon/cfd9b2c2b6bed021d64969d6981d97be to your computer and use it in GitHub Desktop.
curl http://longhorn-api/v1/backupvolumes | jq '.data[0] | "s3://longhorn@us-east-1/?backup=" + .lastBackupName + "&volume=" + .id' -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment