Updated on 2024-11-13 GMT+08:00

Versioning Overview (SDK for Node.js)

If you have any questions during development, post them on the Issues page of GitHub.

You can use versioning to store multiple versions of an object in a bucket.

When versioning is enabled for a bucket, OBS keeps multiple versions of an object in the bucket, allowing you to easily retrieve and restore historical versions or recover data in the event of accidental changes or application failures.

By default, versioning is disabled for new OBS buckets. In this case, if a newly uploaded object is using the name of the previously uploaded one, the new object will overwrite the previous one.

For more information, see Versioning.