Stage of Your Pipeline
Relying on native snapshots and prescriptive backups sucks, especially for EC2.
Now, DevOps teams can accelerate application delivery while continuously scanning and protecting data from ransomware exposure.
automated data protection service
designed for DevOps.
# Restore table after a migration failure
$ elastio stream restore –-stream-name db-table –-tag <git-hash> | mysql prod-db
# Restore environment
$ elastio file restore /env
docker build -t application:version /env
# Stream logs, artifacts, code
$ ssh application-host cat log-file | elastio stream backup –-tag <git-hash>
$ tar czf - artifact_base_dir | tee artifact.tar.gz | elastio stream backup --steam-name artifacts –-tag <git-hash>
$ git export application-repo | elastio stream backup –-stream-name code –-tag <git-hash>
# Block backup of a partition
$ elastio block backup /dev/sda1 --tag <git-hash> --tag application-data
# EBS backup
$ elastio ebs backup --volume-id vol-0e181610f53b769bd --tag <git-hash> --tag application-device
# Instance backup
$ elastio ec2 backup --instance-id i-0ba98c32ec8a9461b --tag <git-hash> --tag application-host
# on AWS, restore a Azure volume to a AWS EBS volume
on-AWS> elastio block restore –rp r-dgwykf308bsko47sa1uvpg8i d:/
# on GCP restore a RDS-postgres DB to Google Cloud SQL
on-GCP> elastio stream restore –stream-name RDS-postgres| pg-restore RDS-postgres.dump
# on your Laptop access a database volume from a EC2 backup of an application
on-laptop> elastio mount –rp r-dgvisdvkmehmi1l4scdt0c95 /dev/data:/mnt
# Protect EC2 and when complete, check backup for ransomware and malware
$ elastio EC2 backup /dev/data –iscan –tag application-host
# Protect GCP file and run malware scan when done
$ elastio block backup /dev/app-data –iscan –tag data-volume
# Check for malware in directory
$ elastio iscan /home/pipeline/artifacts
# Protect pre-migration-db-table
$ elastio stream backup --stream-name pre-migration-db-table --tag <git hash>
# Protect application code and artifacts
$ elastio file backup /home/app --tag <git-hash>
$ <deploy code…>
$ <run migrations...>
# Protect the database post-migration
$ elastio stream backup --stream-name db-table-post-migration--tag <post-deploy-git-hash>
$ on error
# Restore code and artifacts
$ elastio file restore /home/app
# Restore table to a sql file
$ elastio stream restore --stream-name pre-migration-db-table > pre-migration-db-table.sql
# Optionally, restore directly to database
$ elastio stream restore --stream-name pre-migration-db-table | psql db-name
# Mount an EBS volume from a recovery point on a local desktop
$ elastio mount rp –rp r-dgvisdvkmehmi1l4scdt0c95 /dev/sdh:/mnt
$ cd /mnt
$ ls
# Mount a database volume for direct access by a database server
$ elastio mount rp –rp r-dgvisdvkmehmi1l4scdt0c95 —mount-type rw /dev/shg:/database-volume
