I know folders are not folders within S3, but it would be extremely useful if you could restore a previous version of one when you have versioning enabled. I've been looking at it and I can only see previous version of files, not folders.
If you have a folder with thousands of files and a hundred of them were deleted and you are not sure where or when exactly this is extremely useful.
Is there any way to do this?
(Using Linux)
EDIT:
It looks like the only way to do this efficiently is to use this tool:
https://labs.madisoft.it/amazon-s3-point-in-time-restore/
I am shocked that the official s3 tools and s3cmd don't support this.
You have already given a correct response to your own question.
You told that "folders are not folders within S3" and this is true. Furthermore, there is NO folders in S3, just keys which are just sequences of characters.
Most of the software treats '/' character as a delimiter of folders. E.g., "a/b/c" is treated as file "c" in folder "b" which is, in turn, in folder "a".
There have been another approach. I know, some software used to treat the "$folder$" string as a delimiter. But the '/' character looks like much more natural for most people.
Now back to versions of folders. No folders - no folders restore.
Sergio, CloudBerry Lab
A quick search for this came up with this below for the same question on stack overflow:
AWS CLI
s3cmd
https://stackoverflow.com/questions/20033651/how-to-restore-folders-or-entire-buckets-to-amazon-s3-from-glacier
Regards
Liam