apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.58k stars 1.32k forks source link

Machine-readable restore status #3083

Open brownleej opened 4 years ago

brownleej commented 4 years ago

We have a --json flag for getting machine-readable status for a backup. When we're getting restore status from fdbrestore, we don't have this option. A JSON option would be helpful when we are working with restores from the Kubernetes operator or from other tooling, so that we could programmatically check whether the restore has completed.

xumengpanda commented 4 years ago

Another choice is to exposing the restore status to the special key space, which allows programmers to get partial status without pulling all status info.

matiascognite commented 3 years ago

Would it be possible to add some restore status data to fdbcli status json?

OIanchevskyi commented 2 years ago

up