Description:
Hi Dears,
I’m trying to restore a DB physical backup from Azure blob storage using pbm cli, the backup restore is failing and throwing the following error, I’m using Percona operator and PSMDB helm charts to deploy a sharded cluster on k8s.
Steps to Reproduce:
pbm restore 2024-08-27T18:00:21Z
Version:
Percona operator 1.16.2
PSMDB 1.16.2
Kubernetes version 1.29.0
Logs:
##pbm cli log:
Starting restore 2024-08-27T20:13:55.450072564Z from ‘2024-08-27T18:00:21Z’.Error: check mongod binary: run: exec: “mongod”: executable file not found in $PATH. stderr:
- Restore on replicaset “cfg” in state: error: check mongod binary: run: exec: “mongod”: executable file not found in $PATH. stderr:
- Restore on replicaset “rs0” in state: error: check mongod binary: run: exec: “mongod”: executable file not found in $PATH. stderr:
###Backup-agent logs:
2024-08-27T20:13:55.000+0000 E [restore/2024-08-27T20:13:55.450072564Z] restore: check mongod binary: run: exec: “mongod”: executable file not found in $PATH. stderr:
2024-08-27T20:13:55.000+0000 D [restore/2024-08-27T20:13:55.450072564Z] hearbeats stopped
Expected Result:
Actual Result:
backup restore failed
Additional Information:
###PITR config
pitr:
enabled: true
oplogOnly: false
# oplogSpanMin: 10
# compressionType: gzip
# compressionLevel: 6
configuration:
backupOptions:
priority:
“localhost:28019”: 2.5
“localhost:27018”: 2.5
timeouts:
startingStatus: 33
oplogSpanMin: 10
restoreOptions:
batchSize: 500
numInsertionWorkers: 10
numDownloadWorkers: 4
maxDownloadBufferMb: 0
downloadChunkMb: 32
mongodLocation: /usr/bin/mongod
mongodLocationMap:
“rs0/psmdb-db-rs0-0.psmdb-db-rs0.psmdb.svc.cluster.local:27017”: /usr/bin/mongod
“rs0/psmdb-db-rs0-1.psmdb-db-rs0.psmdb.svc.cluster.local:27017”: /usr/bin/mongod
“cfg/psmdb-db-cfg-0.psmdb-db-cfg.psmdb.svc.cluster.local:27017”: /usr/bin/mongod
“cfg/psmdb-db-cfg-1.psmdb-db-cfg.psmdb.svc.cluster.local:27017”: /usr/bin/mongod
“cfg/psmdb-db-cfg-2.psmdb-db-cfg.psmdb.svc.cluster.local:27017”: /usr/bin/mongod