Uploaded image for project: 'Percona Server for MongoDB'
  1. Percona Server for MongoDB
  2. PSMDB-92

PSMDB 3.2 debian/ubuntu packages don't include hotbackup functionality

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Cleanup JIRA
    • Component/s: None
    • Labels:
      None

      Description

      > use admin
      switched to db admin
      > db.runCommand({createBackup: 1, backupDir: "/tmp/2016-12-04-rs1"})
      {
              "ok" : 0,
              "errmsg" : "no such command: 'createBackup', bad cmd: '{ createBackup: 1.0, backupDir: \"/tmp/2016-12-04-rs1\" }'",
              "code" : 59
      }
      

      Debian rules file here: https://github.com/percona/percona-server-mongodb/blob/v3.2/percona-packaging/debian/rules
      in one place has --hotbackup

      
      override_dh_auto_clean:
      	scons CC=$(CC) CXX=$(CXX) -C $(PSMSRC) -c --audit --release --ssl --opt -j$(NJOBS) --use-sasl-client CPPPATH=$(INSTALLDIR)/include \
      	LIBPATH=$(INSTALLDIR)/lib --PerconaFT --rocksdb --wiredtiger --tokubackup --hotbackup $(PSM_TARGETS)
      

      but here it doesn't:

      # Finally PSfMDB
      percona-server-mongodb:
      	scons CC=$(CC) CXX=$(CXX) --audit --release --ssl --opt=on -j$(NJOBS) \
      	--use-sasl-client CPPPATH=$(INSTALLDIR)/include LIBPATH=$(INSTALLDIR)/lib \
      	--PerconaFT --rocksdb --wiredtiger --inmemory --tokubackup $(PSM_TARGETS)
      

      Also I see the first one doesn't have --inmemory - most probably it should.

      After the fix please update the release tag in the repo and create new release binaries.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                evgeniy.patlan Evgeniy Patlan
                Reporter:
                tomislav.plavcic@percona.com Tomislav Plavcic
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: