Created
March 11, 2021 07:25
-
-
Save iamcryptoki/66674ff1c22e5873ae291f9e6b425a3d to your computer and use it in GitHub Desktop.
Enable/Disable Google Cloud Storage Bucket versioning.
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
| # Enable GCS versioning | |
| $ gsutil versioning set on gs://<BUCKET_NAME> | |
| # Disable GCS versioning | |
| $ gsutil versioning set off gs://<BUCKET_NAME> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment