Not the answer you need?
Register and ask your own question!

Percona Backup for MongoDB 1.0.0 - Not Working

licio.matoslicio.matos EntrantCurrent User Role Participant
I install PBM in one host and configure s3 store.

[[email protected]]# pbm store show --mongodb-uri="mongodb://10.40.20.2:27017/admin?replicaSet=rstestepbm"
Store
type: s3
s3:
region: us-east-1
bucket: teste-bkp-mongo
credentials:
access-key-id: '***'
secret-access-key: '***'


Next i install the agents on the mongodb server

[[email protected] data]# service pbm-agent status -l
Redirecting to /bin/systemctl status -l pbm-agent.service
● pbm-agent.service - pbm-agent
Loaded: loaded (/usr/lib/systemd/system/pbm-agent.service; enabled; vendor preset: disabled)
Active: active (running) since qui 2019-11-28 20:08:33 UTC; 33min ago
Main PID: 32493 (pbm-agent)
CGroup: /system.slice/pbm-agent.service
└─32493 /usr/bin/pbm-agent --mongodb-uri=mongodb://localhost:27017/admin?replicaSet=rstestepbm

nov 28 20:08:33 ip-10-40-20-2.ec2.internal systemd[1]: Starting pbm-agent...
nov 28 20:08:34 ip-10-40-20-2.ec2.internal pbm-agent[32493]: pbm agent is listening for the commands

Then i run the backup command

[[email protected] licio.matos]# pbm backup --mongodb-uri="mongodb://10.40.20.2:27017/admin?replicaSet=rstestepbm"
Beginning backup '2019-11-28T20:43:17Z' to remote store s3://teste-bkp-mongo

So nothing happens and i get this on agent log:

nov 28 20:09:16 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:09:16 Got command backup 2019-11-28T20:09:15Z
nov 28 20:09:16 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:09:16 Node in not suitable for backup
nov 28 20:13:56 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:13:56 Got command backup 2019-11-28T20:13:56Z
nov 28 20:13:56 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:13:56 Node in not suitable for backup
nov 28 20:34:56 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:34:56 Got command backup 2019-11-28T20:34:55Z
nov 28 20:34:56 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:34:56 Node in not suitable for backup
nov 28 20:40:50 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:40:50 Got command backup 2019-11-28T20:40:49Z
nov 28 20:40:50 ip-10-40-20-2.ec2.internal pbm-agent[32493]: 2019/11/28 20:40:50 Node in not suitable for backup

Can some one tell me what i am missing here?

Tks.
Licio Matos
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.