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?

link|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 at 15:33
What distribution are you using? – rvs Jan 21 at 9:07
ubuntu-debian installed via: mongodb.org/display/DOCS/Ubuntu+and+Debian+packages – foozy Jan 22 at 12:19
feedback

2 Answers

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.

link|improve this answer
feedback
up vote 1 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.

link|improve this answer
You should mark the question closed since it sounds like your problem is solved. – gWaldo Jan 22 at 2:19
feedback

Your Answer

 
or
required, but never shown

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