Skip to content

Instantly share code, notes, and snippets.

@mercuriete
Created February 11, 2022 13:29
Show Gist options
  • Save mercuriete/05c1d240e0ec93acd92cfaf949492d4d to your computer and use it in GitHub Desktop.
Save mercuriete/05c1d240e0ec93acd92cfaf949492d4d to your computer and use it in GitHub Desktop.
#!/bin/bash
aws rds create-db-snapshot --db-instance-identifier db --db-snapshot-identifier snapshot
aws rds wait db-snapshot-completed --db-snapshot-identifier snapshot
aws rds delete-db-snapshot --db-snapshot-identifier snapshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment