'Does enabling S3 versioning affect the existing files

This is a bit of a silly question - I have an S3 bucket that contains some important production data.

I'm looking to back this data up. S3 versioning seems to be a very good way.

One concern I have is that enabling S3 versioning could affect the existing files. Is it safe to enable versioning before I backup the files offsite?



Solution 1:[1]

It is safe to enable versioning on a bucket with existing objects. The existing objects are not affected.

Solution 2:[2]

Enabling S3 versioning changes the way the API for S3 acts for that bucket. If you have code based on old libraries it might not be compatible with S3 versioning.

So while technically the files are not effected, as was already answered, your ability to use the files might depend on how vintage your software is.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michael - sqlbot
Solution 2