Skip to content

Allow backup ID to be passed to restore endpoint.#5208

Merged
martinmr merged 3 commits intomasterfrom
martinmr/restore-id
Apr 15, 2020
Merged

Allow backup ID to be passed to restore endpoint.#5208
martinmr merged 3 commits intomasterfrom
martinmr/restore-id

Conversation

@martinmr
Copy link
Copy Markdown
Contributor

@martinmr martinmr commented Apr 14, 2020

The backup ID can now be passed to select a specific series of backups.


This change is Reviewable

Docs Preview: Dgraph Preview

@martinmr martinmr requested a review from manishrjain as a code owner April 14, 2020 23:42
@martinmr martinmr requested a review from a team April 14, 2020 23:42
Copy link
Copy Markdown
Contributor

@manishrjain manishrjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @manishrjain and @martinmr)


systest/online-restore/online_restore_test.go, line 141 at r1 (raw file):

func TestInvalidBackupId(t *testing.T) {
	restoreRequest := `mutation restore() {
		 restore(input: {location: "/data/alpha1/backup", backupId: "bad-backup-id"}) {

Add another test for good backup id.

Copy link
Copy Markdown
Contributor Author

@martinmr martinmr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 3 files reviewed, 1 unresolved discussion (waiting on @manishrjain)


systest/online-restore/online_restore_test.go, line 141 at r1 (raw file):

Previously, manishrjain (Manish R Jain) wrote…

Add another test for good backup id.

Done.

@martinmr martinmr merged commit 12ff363 into master Apr 15, 2020
@martinmr martinmr deleted the martinmr/restore-id branch April 15, 2020 20:59
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants