hardgcloud
Create a Pub/Sub snapshot to preserve the current message backlog for a subscription
command
gcloud pubsub snapshots create SNAPSHOT --subscription SUBSCRIPTIONalso accepted
gcloud pubsub snapshots createcommand
gcloud pubsub snapshots create SNAPSHOT --subscription SUBSCRIPTIONalso accepted
gcloud pubsub snapshots createPart of the Google Cloud CLI (gcloud) — Pub/Sub category.
| Flag | Purpose |
|---|---|
--subscription | Boolean flag |
Test your recall — not just your reading.
Practice with interactive quiz →