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

need to print detailed error when backup fails #51

Open
shanlai opened this issue Nov 25, 2022 · 1 comment
Open

need to print detailed error when backup fails #51

shanlai opened this issue Nov 25, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@shanlai
Copy link

shanlai commented Nov 25, 2022

Your Environments (required)
[vesoft@sandy data]$ ./br version
Nebula Backup And Restore Utility Tool,V-0.6.1
GitSha: 3c8c1cd-dirty
GitRef: update_version

How To Reproduce(required)
the following scenarios will cause the backup to fail, but the error messages are all:there is no meta files in backup info,the real error information needs to be viewed in the meta,I hope to print detailed error information in the br log:

  • When backup, there is OFFLINE METAD, STORAGED;
  • When backup, there are indexes of rebuilding;
  • When backup, the specified space is not found
@kqzh
Copy link
Contributor

kqzh commented Dec 23, 2022

I think this requires changes to the CreateBackup interface of the meta, when resp's meta files == empty, need return the detail err, then br-tool can print this details into log file. @shanlai

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

No branches or pull requests

2 participants