#snapshot #amazon #aws #ebs #command-line-interface #local-file

bin+lib coldsnap

A library and command-line interface for uploading and downloading Amazon EBS snapshots

13 releases

0.6.1 Mar 15, 2024
0.6.0 Aug 22, 2023
0.5.1 Apr 11, 2023
0.5.0 Mar 8, 2023
0.2.0 Nov 11, 2020

#841 in Network programming

Download history 47/week @ 2023-12-31 66/week @ 2024-01-07 79/week @ 2024-01-14 112/week @ 2024-01-21 137/week @ 2024-01-28 82/week @ 2024-02-04 109/week @ 2024-02-11 94/week @ 2024-02-18 184/week @ 2024-02-25 141/week @ 2024-03-03 348/week @ 2024-03-10 240/week @ 2024-03-17 532/week @ 2024-03-24 848/week @ 2024-03-31 725/week @ 2024-04-07

2,452 downloads per month

Apache-2.0

70KB
1.5K SLoC

coldsnap

coldsnap is a command-line interface that uses the Amazon EBS direct APIs to upload and download snapshots.

It does not need to launch an EC2 instance or manage EBS volume attachments. It can be used to simplify snapshot handling in an automated pipeline.

Usage

Upload a local file into an EBS snapshot:

$ coldsnap upload disk.img

If you want to wait for the uploaded snapshot to be in "available" state, add --wait:

$ coldsnap upload --wait disk.img

Alternately, you can use coldsnap wait, which offers more flexibility in terms of wait duration and behavior.

$ coldsnap wait snap-1234

Download an EBS snapshot into a local file:

$ coldsnap download snap-1234 disk.img

Run coldsnap --help to see more options.

Installation

coldsnap can be installed using cargo.

$ cargo install --locked coldsnap

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

Dependencies

~77MB
~1M SLoC