Restoring a backup now require a backupId?

In PR #5208 the title says that Dgraph now allows backup IDs to be provided in the restore command.

When I don’t provide a backup ID, I get this error message:

Field RestoreInput.backupId of required type String! was not provided.

Why is the backupId a required argument? From the PR name, I’d think it means it’s optional.

cc @martinmr

Yes, I made the backupID field non optional although I don’t think that was intentional. I’ll open a ticket to revert that change.

1 Like