I am experiencing an issue while taking backups on a remote server. Below are the details of the setup and the problem:
[PbmBackup] → Server One
[MongoDBServer] → Server Two
From PbmBackup to MongoDBServer, the connection has been successfully established. When I run pbm status, it correctly detects the MongoDB cluster. However, when I initiate a backup, no data is being written, and the process remains stuck at 0 bytes.
On the Linux side, all necessary permissions have been correctly assigned to the pbm user. The backup path is located on PbmBackup. Despite this, the backup does not progress.
Is there any configuration or step that I might be missing? Any insights or suggestions would be greatly appreciated.
Here are some images to make the issue more understandable.
Hi @berkan
as the error suggests - have you checked other PBM agents logs? Maybe they crashed, or just they were not able to connect to PSMDB?
When troubleshooting issues with backups and restores, viewing logs and PBM status may sometimes not be enough to identify the issue’s root. Starting with version 2.8.0 you can generate a diagnostics report about a specific backup, restore, or other commands:
The report definitely can help us to understand what’s happening.
How many CPU cores you have on that instance?
I can see a message “dumping 0 collections in parallel” … there’s a known issue in version 2.8.0 that doesn’t work on single CPU machines. To solve that you need to manually set “numParallelCollections” to 1.