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

Report progress when run from CLI #10

Open
2 of 5 tasks
erkie opened this issue Feb 3, 2019 · 3 comments
Open
2 of 5 tasks

Report progress when run from CLI #10

erkie opened this issue Feb 3, 2019 · 3 comments
Labels
help wanted Would love help from other contributors

Comments

@erkie
Copy link
Member

erkie commented Feb 3, 2019

It's difficult to know and anticipate how long a backup/restore will take. A progress indicator of some sort would be great.

  • Progress of backup download
  • Progress of backup move
  • Progress of backup decompress (xtrabackup feature)
  • Progress of backup prepare (xtrabackup feature)
  • Progress of backup create (xtrabackup feature)
@erkie erkie added the help wanted Would love help from other contributors label Feb 3, 2019
@erkie
Copy link
Member Author

erkie commented Feb 3, 2019

@erkie
Copy link
Member Author

erkie commented Feb 3, 2019

Regarding Progress of backup prepare and Progress of backup create maybe there is something in the stdout that can be used?

@erkie
Copy link
Member Author

erkie commented Feb 4, 2019

When no adequate progress can be deduced we should just show a status of how much data has been generated. Should work great for decompress and create. prepare can probably use output somehow from xtrabackup.

One idea I had was to check the current log sequence number in MySQL and then match that to the output of prepare and create. That should probably work great. If a bit complicated to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Would love help from other contributors
Projects
None yet
Development

No branches or pull requests

1 participant