{"id":30048397,"url":"https://github.com/segmentio/ebs-backup","last_synced_at":"2026-03-16T11:03:39.307Z","repository":{"id":51382332,"uuid":"77182436","full_name":"segmentio/ebs-backup","owner":"segmentio","description":"Backup EBS Volumes","archived":false,"fork":false,"pushed_at":"2023-10-05T18:18:18.000Z","size":47,"stargazers_count":35,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T10:20:45.359Z","etag":null,"topics":["aws","aws-ebs","backup","ebs","ebs-volumes","lambda","paused"],"latest_commit_sha":null,"homepage":"","language":"Go","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/segmentio.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}},"created_at":"2016-12-22T23:17:57.000Z","updated_at":"2024-08-29T14:07:09.000Z","dependencies_parsed_at":"2022-09-02T04:01:51.937Z","dependency_job_id":null,"html_url":"https://github.com/segmentio/ebs-backup","commit_stats":{"total_commits":47,"total_committers":4,"mean_commits":11.75,"dds":0.3829787234042553,"last_synced_commit":"589ee77fb25785b0eb1d2d30751a9587d8ab4cec"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/segmentio/ebs-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Febs-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Febs-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Febs-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Febs-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/segmentio","download_url":"https://codeload.github.com/segmentio/ebs-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/segmentio%2Febs-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271129003,"owners_count":24703879,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aws","aws-ebs","backup","ebs","ebs-volumes","lambda","paused"],"created_at":"2025-08-07T10:11:15.418Z","updated_at":"2026-03-16T11:03:34.261Z","avatar_url":"https://github.com/segmentio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ebs-backup - a small program to snapshot EBS volumes by tag\n\n\u003e **Note**  \n\u003e Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.\n\n## Features\n\n- Keeps up to _N_ snapshots\n- Copies tags from volumes to snapshots\n- Safeguards against \"pending\" snapshots\n- Available both as a command-line program and Lambda function\n\n## Command-line example\n\nBack up attached volumes tagged with `Name=db-*` and attached to `/dev/xvdf`,\nretaining up to 3 snapshots per volume.\n\n```bash\n$ ebs-backup --name 'db-*' --device /dev/xvdf --limit 3\n```\n\nThe program will back up all volumes that match the following criteria:\n\n- tagged with `Name = \"db-*\"`\n- attachment state is `\"attached\"`\n- attachment device is `\"/dev/xvdf\"`\n- have no \"pending\" snapshots being created\n\n## Testing\n\nA full end-to-end test suite is located in `test/aws` subdirectory.  See the\n`test_aws` target in the `Makefile`.\n\n## Deployment\n\nThe Lambda function is automatically uploaded by CircleCI to S3 at each build.\nThe filename pattern is as follows:\n`s3://${BUCKET_NAME}/ebs-backup/ebs-backup-lambda-${VERSION}.zip`\n\n## Terraform module\n\nA useful Terraform module for deploying ebs-backup on AWS is located in the\n`terraform/scheduled_backup` subdirectory. See the `input.tf` file for supported\nvariables.\n\n## Locating the S3 Lambda function\n\nS3 bucket and key locations for the most recent release can be found in Parameter Store in the segment-ops AWS account.  These can be useful for provisioning.  See the `update_parameter_store` target in the `Makefile`.\n\n* S3 bucket: segment/ebs_backup/lambda_s3_bucket\n* S3 key: segment/ebs_backup/lambda_s3_key\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Febs-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegmentio%2Febs-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegmentio%2Febs-backup/lists"}