versioning - Enable or suspend versioning for one or more buckets

versioning - Enable or suspend versioning for one or more buckets

Synopsis

gsutil versioning set <on|off> bucket_url...
gsutil versioning get bucket_url...

Description

The Versioning Configuration feature enables you to configure a Cloud Storage bucket to keep old versions of objects.

The gsutil versioning command has two sub-commands:

Set

The "set" sub-command requires an additional sub-command, either "on" or "off", which, respectively, will enable or disable versioning for the specified bucket(s).

Get

The "get" sub-command gets the versioning configuration for a bucket and displays whether or not it is enabled.

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.