I mistakenly overwrite my file in s3 using s3 cp command.
Actually I had one csv file in my s3 which I wanted to cp inside the folder in the same bucket, so I used:
s3 cp s3://bucket_name/file.csv s3://bucket_name/folder/
And now I lost all the files which was there inside folder as it got overwrited by csv file. Is there any way I can get those files back?
CodePudding user response:
If you don't have versioning enabled on the s3 bucket then you can't revert this change