Hello.
My problem:
root@backup# /usr/bin/pbm delete-backup -f 2020-11-02T11:35:26Z --mongodb-uri="mongodb://mongo1.server:27000/"
Waiting for delete to be done ..[done]
Backup snapshots:
2020-11-02T11:35:26Z
pbm can`t delete backup archive from a remote server “backup.server”. But on the host, this command works.
Logs :
1/02 15:32:30 Got command delete [{delete { } { } { 0} 1604320350}]
350}]
1/02 15:32:43 Got command delete [{delete { } { } { 0} 1604320363}]
363}]
1/02 15:33:39 Got command delete [{delete { } { } { 0} 1604320419}]
Servers:
mongo1.server
pbm-agent --mongodb-uri "mongodb://localhost:27100/ # Shard1 Primory
pbm-agent --mongodb-uri "mongodb://localhost:27200/ # Shard2 Secondary
pbm-agent --mongodb-uri "mongodb://localhost:27000/ # Config Primory
mount ftp@ftp.com/backup /mnt/mongo_backup
14 840 ACCEPT all -- * * backup.server 0.0.0.0/0
mongo2.server
mongos
pbm-agent --mongodb-uri "mongodb://localhost:27100/ # Shard1 Primory
pbm-agent --mongodb-uri "mongodb://localhost:27200/ # Shard2 Secondary
pbm-agent --mongodb-uri "mongodb://localhost:27000/ # Config Primory
mount ftp@ftp.com/backup /mnt/mongo_backup
14 840 ACCEPT all -- * * backup.server 0.0.0.0/0
arbirt.server
pbm-agent --mongodb-uri "mongodb://localhost:27100/ # Shard1 arbitr
pbm-agent --mongodb-uri "mongodb://localhost:27200/ # Shard2 arbitr
pbm-agent --mongodb-uri "mongodb://localhost:27000/ # Config arbitr
14 840 ACCEPT all -- * * backup.server 0.0.0.0/0
backup.server
/usr/bin/pbm
mount ftp@ftp.com/backup /mnt/mongo_backup
Good commands:
root@backup# /usr/bin/pbm backup --mongodb-uri="mongodb://mongo1.server:27000/"
Starting backup '2020-11-02T11:35:26Z'...................
Backup '2020-11-02T11:35:26Z' to remote store '/mnt/mongo_backup' has started
root@backup# /usr/bin/pbm backup list --mongodb-uri="mongodb://mongo1.server:27000/"
Backup snapshots:
2020-11-02T11:35:26Z
Help my plz. Now I can only delete backups from mongo1.server,mongo2.server,arbirt.server.