Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a mongodb server (A) and a http server (B). I would like to run mongodump and mongorestore commands on http server (B) to backup data on server B. But these tools comes with mongodb installation and i don't want to install mongodb to my http server.

How can i achieve this?

share|improve this question
1  
You mean you don't want to download the binaries? There's no need to "install" mongodb as a package of your distro –  user Jan 19 '12 at 15:33
    
What distribution are you using? –  rvs Jan 21 '12 at 9:07
    
ubuntu-debian installed via: mongodb.org/display/DOCS/Ubuntu+and+Debian+packages –  foozy Jan 22 '12 at 12:19
add comment

3 Answers

up vote 3 down vote accepted

10gen doesn't providing seperate packages like server - clients - dev & doc for mongodb (at least i can't find for ubuntu 10.04). So i just copied /usr/bin/mongodump and /usr/bin/mongorestore binaries to my HTTP server manually (machines were same architecture) Now i'm running these commands on my server which doesn't have any mongodb installation without problems.

share|improve this answer
    
You should mark the question closed since it sounds like your problem is solved. –  gWaldo Jan 22 '12 at 2:19
add comment

Usually Linux distributions create several packages from a single software, like server, clients, dev and doc.

For example, on Debian, you can install the mongodb-clients package that contains mongodump and mongorestore and does not install the mongodb server.

share|improve this answer
add comment

For those installing on Amazon Ubuntu on EC2 using the 10gen yum repository for MongoDB, I had to sudo yum install mongo-10gen.x86_64 to get mongo, mongodump, mongorestore and mongos.

Don't forget you can always sudo yum search mongo...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.