All Projects → segmentio → ebs-backup

segmentio / ebs-backup

Licence: MIT license
Backup EBS Volumes

Programming Languages

go
31211 projects - #10 most used programming language
HCL
1544 projects
Makefile
30231 projects

Projects that are alternatives of or similar to ebs-backup

terraform-aws-backup
Terraform module to provision AWS Backup, a fully managed backup service that makes it easy to centralize and automate the back up of data across AWS services such as EBS volumes, RDS databases, DynamoDB tables, EFS file systems, and AWS Storage Gateway volumes.
Stars: ✭ 62 (+82.35%)
Mutual labels:  backup, ebs-volumes, ebs
aws-backup-lambda
A utility AWS lambda function to manage EBS and RDS snapshot backups.
Stars: ✭ 60 (+76.47%)
Mutual labels:  lambda, backup, ebs
shelvery-aws-backups
Automating EBS RDS EC2 backups on lambda
Stars: ✭ 31 (-8.82%)
Mutual labels:  lambda, backup, ebs-volumes
ebs-snapshot-lambda
AWS lambda function to snapshot EBS volumes and purge old snapshots.
Stars: ✭ 37 (+8.82%)
Mutual labels:  lambda, ebs-volumes, aws-ebs
Openebs
Leading Open Source Container Attached Storage, built using Cloud Native Architecture, simplifies running Stateful Applications on Kubernetes.
Stars: ✭ 7,277 (+21302.94%)
Mutual labels:  ebs-volumes, ebs
Content Lambda Boto3
Automating AWS with Lambda, Python, and Boto3
Stars: ✭ 91 (+167.65%)
Mutual labels:  lambda, backup
ebsautotagger
AWS Lambda function to tag EBS volumes created by autoscaling
Stars: ✭ 18 (-47.06%)
Mutual labels:  lambda, ebs
terraform-aws-efs-backup
Terraform module designed to easily backup EFS filesystems to S3 using DataPipeline
Stars: ✭ 40 (+17.65%)
Mutual labels:  lambda, backup
aws-tag-sched-ops
Retired, please see https://github.com/sqlxpert/lights-off-aws
Stars: ✭ 24 (-29.41%)
Mutual labels:  backup, ebs
automated-ebs-snapshots
Script for managing automated AWS EBS snapshots
Stars: ✭ 87 (+155.88%)
Mutual labels:  aws-ebs, ebs
jMiniLang
用Kotlin实现的编译器和虚拟机,并在此基础上构建操作系统。
Stars: ✭ 62 (+82.35%)
Mutual labels:  lambda
dbaTDPMon
dbaTDPMon - Troubleshoot Database Performance and Monitoring
Stars: ✭ 20 (-41.18%)
Mutual labels:  backup
BackupAssistant
Backup Assistant helps you to backup your files (like database backups or log files) to FTP Server. It works on any platform. ( Windows, Linux and Mac.)
Stars: ✭ 32 (-5.88%)
Mutual labels:  backup
gozeit
GoZeit
Stars: ✭ 19 (-44.12%)
Mutual labels:  lambda
bash-backup
Simple backup script for GNU/Linux servers
Stars: ✭ 76 (+123.53%)
Mutual labels:  backup
authy-extractor
Extract 2FA tokens from Authy.
Stars: ✭ 30 (-11.76%)
Mutual labels:  backup
Backup-Scripts
PowerShell Scripts and Automation Manager Policies for N-able Backup
Stars: ✭ 26 (-23.53%)
Mutual labels:  backup
sidecar
Deploy and execute AWS Lambda functions from your Laravel application.
Stars: ✭ 543 (+1497.06%)
Mutual labels:  lambda
go-appsync-graphql-cloudformation
AWS AppSync GraphQL API Proxy with Lambda, CloudFormation, and SAM
Stars: ✭ 28 (-17.65%)
Mutual labels:  lambda
oc-backup-plugin
Backup system for October CMS
Stars: ✭ 18 (-47.06%)
Mutual labels:  backup

ebs-backup - a small program to snapshot EBS volumes by tag

Features

  • Keeps up to N snapshots
  • Copies tags from volumes to snapshots
  • Safeguards against "pending" snapshots
  • Available both as a command-line program and Lambda function

Command-line example

Back up attached volumes tagged with Name=db-* and attached to /dev/xvdf, retaining up to 3 snapshots per volume.

$ ebs-backup --name 'db-*' --device /dev/xvdf --limit 3

The program will back up all volumes that match the following criteria:

  • tagged with Name = "db-*"
  • attachment state is "attached"
  • attachment device is "/dev/xvdf"
  • have no "pending" snapshots being created

Testing

A full end-to-end test suite is located in test/aws subdirectory. See the test_aws target in the Makefile.

Deployment

The Lambda function is automatically uploaded by CircleCI to S3 at each build. The filename pattern is as follows: s3://${BUCKET_NAME}/ebs-backup/ebs-backup-lambda-${VERSION}.zip

Terraform module

A useful Terraform module for deploying ebs-backup on AWS is located in the terraform/scheduled_backup subdirectory. See the input.tf file for supported variables.

Locating the S3 Lambda function

S3 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.

  • S3 bucket: segment/ebs_backup/lambda_s3_bucket
  • S3 key: segment/ebs_backup/lambda_s3_key
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].