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

tools: Be able to copy blocks of data for a give time-frame from one bucket to another. #3340

Closed
maulikjs opened this issue Oct 19, 2020 · 7 comments

Comments

@maulikjs
Copy link

We recently ran into a problem where some of our blocks in the main s3 bucket got corrupted. So we have had to copy all the blocks for the month of September and there was no direct way of doing it. It would be awesome if we can include the logic for the time-range selector in the replicate tool or at least be able to list all the ULID for a given time range.

@bwplotka
Copy link
Member

SGTM, help wanted ❤️

@bwplotka
Copy link
Member

Replicate extension OR tools bucket ls --max -- min to print ULIDs to copy will suffice (:

@maulikjs
Copy link
Author

I can take this up :)

@yeya24
Copy link
Contributor

yeya24 commented Oct 20, 2020

I am not very sure but is this the same as #2979?

@bwplotka
Copy link
Member

I think so, as long as it can copy certain blocks (: cc @OGKevin

@OGKevin
Copy link
Contributor

OGKevin commented Oct 21, 2020

yea #2979 indeed does this. You give it a max and min time and replicator will replicate all the blocks that are within that time range.

@OGKevin
Copy link
Contributor

OGKevin commented Nov 4, 2020

This can be closed as #2979 got merged 😊

@bwplotka bwplotka closed this as completed Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants