Restore PITR log

Hello,

After we do a restore with PITR which completed successfully, when we launched below command :
pbm logs --event=restore
We don’ t see the event, we have to query collection pbmRestored to check the status.
db.pbmRestores.find( { name: “2023-06-01T15:05:46.890829578Z” },{“name”:1, “status”:1} ).pretty();
Why ?

Thank you

Regards

hi @dbas ,

Interesting. I can’t reproduce it.

However, there are two more ways to check restore status:

  • pbm list --restore
  • pbm describe-restore $RESTORE_NAME

@dbas actually I got the reason. for point-in-time recovery, the event is called pitr. try --event=pitr

Hello,

Thank you

Regards