Details
-
Improvement
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
Yes
-
Yes
-
No
-
Server Features
Description
With PMM-11175, we added the ability to get logs from pbm while a restore is in progress. Our current approach to getting logs is via the `pbm logs` command. This has a limitation where with physical restores, the logs stop being updated as soon as all mongod nodes have been shut down.
The way to get real-time updates on physical restore progress is to check the stdout of the selected node (see https://docs.percona.com/percona-backup-mongodb/usage/restore-progress.html)
We should explore how possible it is to get the selected node and see if we can use the logs from there for physical restores