Skip to main content

A fast, resilient AWS EBS volume downloader.

Project description

bsnap 🐈‍⬛

A multithreaded, incredibly resilient AWS EBS Snapshot Downloader tool. Converts AWS EBS Snapshots directly into raw disk images locally without having to spawn an EC2 instance, and handles sudden STS token expirations effortlessly.

Features

  • Resilient: Tracks downloaded blocks and completely survives boto3 STS token expirations or manual Ctrl+C. Simply rerun the exact same command with your newly fetched credentials and it resumes instantly right where it left off!
  • Fast: Multi-threaded over the ebs Direct APIs.
  • Gorgeous: High-resolution ASCII cats 🐈‍⬛.

Installation

pip install bsnap

Quick Start

bsnap --snapshot-id snap-xxxxxxxxxxxxxxxxx --output-file ./my_volume.img

Options

  -h, --help            show this help message and exit
  --snapshot-id SNAPSHOT_ID
                        AWS EBS Snapshot ID (e.g., snap-0123456789abcdef0)
  --output-file OUTPUT_FILE
                        Path to the local output raw disk image
  --region REGION       AWS Region (optional)
  --state-file STATE_FILE
                        Path to state file for resumption
  --workers WORKERS     Number of concurrent threads (default: 16)
  --log-file LOG_FILE   Path to verbose log output
  --no-verify-ssl       Disable SSL certificate verification

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bsnap-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bsnap-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file bsnap-0.1.0.tar.gz.

File metadata

  • Download URL: bsnap-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for bsnap-0.1.0.tar.gz
Algorithm Hash digest
SHA256 85cfbd817b4c139dacedfee5f69eb1649a1d2047f440370d6aeece9def93f75c
MD5 a700ab42dd2944cd462ade7203700124
BLAKE2b-256 70ffab5359bf5121ee3b9f4dfbdea53a95430882de3cba46baa7ad847bd3e09e

See more details on using hashes here.

File details

Details for the file bsnap-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bsnap-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for bsnap-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75b5f6331ff893d3b8083ffe48ea55795878d40b7ab1831f75bda6c14b6e1ec4
MD5 7c784408469d9fa7c789aec7bca43aff
BLAKE2b-256 d2d86acb08d3f348e7f01d300485a1b3222570f8a270091b6ab732b2c89f3a23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page