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

sqlccl: strategy for disasters that have happened since the last backup #14120

Closed
danhhz opened this issue Mar 13, 2017 · 3 comments
Closed

sqlccl: strategy for disasters that have happened since the last backup #14120

danhhz opened this issue Mar 13, 2017 · 3 comments
Assignees
Milestone

Comments

@danhhz
Copy link
Contributor

danhhz commented Mar 13, 2017

We've had a request for the ability to restore a table that has been dropped since the last backup. (Similarly for data changed due to user error.) If the last backup was 10 hours ago and the event happened 1 hour ago, the 9 hours of data since the backup should be recovered, if possible.

Perhaps this is as simple as using DistSQL to SELECT AS OF SYSTEM TIME and INSERT.

@danhhz danhhz self-assigned this Mar 13, 2017
@dianasaur323 dianasaur323 added this to the 1.1 milestone Apr 19, 2017
@vivekmenezes
Copy link
Contributor

is this the same as #16161

@danhhz
Copy link
Contributor Author

danhhz commented Jun 6, 2017

Sort of. This is the thing we're now calling REVERT, which resets a table to look like it did at some previous point after the gc threshold. My read of #16161 is that it's both REVERT plus the ability to use AS OF SYSTEM TIME with RESTORE (which is something we could do in the future but I don't know if we have an issue for).

@danhhz
Copy link
Contributor Author

danhhz commented Jun 12, 2017

Looks like #16161 got retitled to make this more or less a dup. Closing

@danhhz danhhz closed this as completed Jun 12, 2017
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

3 participants