Answer the question
In order to leave comments, you need to log in
Hot backup MongoDB single server - how to write a script?
There is a server running in production MondoDB(TokuMX). It is necessary to configure the database backup script to another server without stopping the first one. Tell me a script that could connect to a running MongoDB instance every day at a certain time and backup a certain database(s). Maybe someone will throw an example of a finished script?
Is it enough just to call such a command, or do I need to provide something else?
[backup-host]# mongodump --host mongodb-host --port 27017 --db mongodevdb --username mongouser --password mongopwd
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question