{"id":20770772,"url":"https://github.com/codemonauts/s3-bucket-rescue","last_synced_at":"2025-07-14T08:32:34.879Z","repository":{"id":82653932,"uuid":"126041488","full_name":"codemonauts/s3-bucket-rescue","owner":"codemonauts","description":"Recover all files from a bucket with versioning","archived":false,"fork":false,"pushed_at":"2019-01-15T11:00:19.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-11T19:49:24.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codemonauts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-20T15:38:32.000Z","updated_at":"2023-12-11T03:06:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f3308fe-c4d0-4a24-ad34-ddcd6361ba8a","html_url":"https://github.com/codemonauts/s3-bucket-rescue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemonauts/s3-bucket-rescue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fs3-bucket-rescue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fs3-bucket-rescue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fs3-bucket-rescue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fs3-bucket-rescue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonauts","download_url":"https://codeload.github.com/codemonauts/s3-bucket-rescue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Fs3-bucket-rescue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265262588,"owners_count":23736422,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T12:11:52.738Z","updated_at":"2025-07-14T08:32:34.849Z","avatar_url":"https://github.com/codemonauts.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bucket-rescue\n\n## Usecase\nYou have an S3 Bucket with activated versioning but you deleted/corrupted/... EVERY file in it.\n\n## What it does\nThis tool will find the newest version of a file which has a filesize \u003e 0 bytes and will download it to this folder.\n\n## How to use\n```\naws s3api list-object-versions --bucket \u003cbuckername\u003e | ./find_version.py | ./download.sh\n```\n\n## ToDo, Known Bugs\n  - Bucket name has to be changed in the source of both scripts\n  - No filter. It will download every file in the bucket\n  - `download.sh` crashes on nested folder strcutures because it can't create the file if the parent folder is missing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Fs3-bucket-rescue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonauts%2Fs3-bucket-rescue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Fs3-bucket-rescue/lists"}