Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



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 Google 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.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.