Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental snapshot support #183

Open
FireballDWF opened this issue Aug 2, 2022 · 4 comments
Open

Incremental snapshot support #183

FireballDWF opened this issue Aug 2, 2022 · 4 comments

Comments

@FireballDWF
Copy link

Enhance to support incremental snapshots

@forensicmatt
Copy link

If no one else is doing this, I'll work on a PR for this.

@forensicmatt
Copy link

I was under the impression that in order to get a full snapshot, you had to use ListChangedBlocks and iterate each snapshot to account for all the blocks. However, after playing with the API, I realized that ListSnapshotBlocks truly returns all the blocks for a snapshot and missing blocks appear to be just unused blocks and thus can just be empty. When I talked to a couple colleagues both at AWS and outside that are much more well versed than I at the API, they were also under the impression that this was the case. When I saw "Incremental snapshot support" I also assumed that this was the need. Now knowing that ListSnapshotBlocks does indeed return the complete set of snapshots blocks, I no longer need to implement the diffing which I assumed to be "incremental support". Not sure if that was what you mean by "Incremental snapshot support".

@forensicmatt
Copy link

That being said, I created https://github.com/forensicmatt/aws-snap-io to implement Read/Seek around Snapshots in a rudimentary way. Planning to use this for some projects I will soon publish so that volume/file system access based off of libraries that can handle Read/Seek traits can be used.

@FireballDWF
Copy link
Author

FireballDWF commented Nov 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants