s3-pit-restore icon indicating copy to clipboard operation
s3-pit-restore copied to clipboard

Option to use "delete versions" instead of create a new version of object?

Open lazyfai opened this issue 1 year ago • 0 comments

Let say we have a bucket with a file abc.jpg, with 3 versions of 2021-01-01, 2022-01-01 and 2023-01-01. Current version is 2023-01-01 and I want to restore to the 2022-01-01 version. Using s3-pit-restore on same bucket same folder, it eventually created a new version based on 2022-01-01 and overwrite the current file. What we want to do is to remove the 2023-01-01 version instead of creating a new version, so there will be only 2 versions of abc.jpg (2021-01-01 and 2022-01-01).

Is that possible?

lazyfai avatar Jul 20 '23 04:07 lazyfai