Skip to:
Restore commands returns only snapshot field. It's not enough as unique identifier.We are checking status of restore operation by command:
pbm list --out=json --restore
There we can see list of restores. But one snapshot can be used for many restores.
There is field "name" which seems to be unique.
I'm suggesting to return also "name" field in case of restore command, so then we can match that restore to restore in list.
CLI wasn't returning a restore name for PITR restore. Been fixed
In PBM 2.0.2 PITR restores should have a `name` field as well
@andrew.pogrebnoi now we have name field for restores of snapshot, but don't have for PITR restores. Can you fix it? I'm using PBM 2.0
@Holman Romero actually I forgot that there is a `--full` flag which will show backup's name.
$ pbm list --restore --full -o json [{"start":1640782295,"status":"done","type":"snapshot","snapshot":"2021-12-29T12:35:55Z","name":"2021-12-29T12:51:34.141869749Z"}]
Will this do?
Restore commands returns only snapshot field. It's not enough as unique identifier.
We are checking status of restore operation by command:
pbm list --out=json --restore
There we can see list of restores. But one snapshot can be used for many restores.
There is field "name" which seems to be unique.
I'm suggesting to return also "name" field in case of restore command, so then we can match that restore to restore in list.