Percona-Lab / mongodb_consistent_backup

A tool for performing consistent backups of MongoDB Clusters or Replica Sets
https://www.percona.com
Apache License 2.0
276 stars 82 forks source link

can we backup two mongo cluster at the same time? #314

Open yangzan66 opened 5 years ago

yangzan66 commented 5 years ago

can we backup two mongo cluster at the same time?
it reports error when running the second mongodb-consistent-backup command .

[2019-06-14 09:57:27,938] [CRITICAL] [MainProcess] [Main:get_lock:135] Could not acquire lock: '/tmp/mongodb-consistent-backup.lock'! Is another mongodb-consistent-backup process running? Exiting [2019-06-14 09:57:27,938] [INFO] [MainProcess] [Logger:compress:83] Compressing log file: /var/log/mongodb-consistent-backup/backup.default.20190614_0957.log [root@dbsrvm-mongobackup scripts]#

corey-hammerton commented 4 years ago

Make sure your production.lock_file is configured differently on each configuration.