#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

#2330 in Network programming

Download history 163/week @ 2024-02-21 162/week @ 2024-02-28 151/week @ 2024-03-06 408/week @ 2024-03-13 203/week @ 2024-03-20 674/week @ 2024-03-27 1163/week @ 2024-04-03 711/week @ 2024-04-10 1339/week @ 2024-04-17 525/week @ 2024-04-24 1223/week @ 2024-05-01 1068/week @ 2024-05-08 1317/week @ 2024-05-15 572/week @ 2024-05-22 1343/week @ 2024-05-29 1047/week @ 2024-06-05

4,564 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

~78MB
~1M SLoC