Description
Currently, cbbackupmgr backup and restore output result in line format.
It could be better if backup and restore could output in json so we could verify more information in backup and restore processes.
[root@s44015 ~]# /opt/couchbase/bin/cbbackupmgr backup -a /tmp/bk/ -r bk -c localhost -u Administrator -p password
|
Backing up to '2021-07-12T11_07_33.483140304-07_00'
|
Copied all data in 15.438s (Avg. 2.77MiB/Sec) 63288 items / 41.52MiB
|
[============================================================================================================================================================================================================================== ] 100.00%| Transfer
|
| --------
|
| Status | Avg Transfer Rate | Started At | Finished At | Duration |
|
| Succeeded | 2.77MiB | Mon, 12 Jul 2021 11:07:33 -0700/s | Mon, 12 Jul 2021 11:07:48 -0700 | 15.505s || Bucket
|
| ------
|
| Name | Status | Transferred | Avg Transfer Rate | Started At | Finished At | Duration |
|
| travel-sample | Succeeded | 41.52MiB | 3.19MiB/s | Mon, 12 Jul 2021 11:07:35 -0700 | Mon, 12 Jul 2021 11:07:48 -0700 | 13.938s |
|
|
|
| Mutations | Deletions | Expirations |
|
| --------- | --------- | ----------- |
|
| Received | Errored | Skipped | Received | Errored | Skipped | Received | Errored | Skipped |
|
| 63288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |Backup completed successfully
|
[root@s44015 ~]#
|
|
Attachments
Issue Links
- duplicates
-
MB-35185 Print progress JSON to stdOUT periodically to help with remote monitoring of CBM
- Closed