Thanks for the answer.
I still have a question though.
Amazon provides a differential snapshot feature with EBS. I wonder if
using TCP to make a backup (with mongodump) is a good idea if you can
make snapshots at a lower level. Using the network stack to backup
Gigabytes (Tera) of data would not be "too much" ?
To be able to do this, I suppose I would need to stop writing to the
disk during this process. So I re-ask my first question, is there an
admin command to prevent a slave from writing to the disk. Or is it
planned ?
Nicolas
On 16 juil, 03:30, Eliot Horowitz <
eliothorow...@gmail.com> wrote:
> Correct - mongodump just is a regular db client. So there is no need
> to pause replication.
> The only downside is you don't get a perfect in time snapshot, but you
> have all of the data.
>
>
>
> On Wed, Jul 15, 2009 at 6:32 PM, nicolas_<
nicolas.fou...@gmail.com> wrote:
>
> > I suppose that writing all changes to disk would not be necessary if
> > "mongodump" connects to "mongodb" via TCP instead of specifying the
> > dbpath, right?
>
> > On 16 juil, 00:19, nicolas_ <
nicolas.fou...@gmail.com> wrote:
> >> Hi,
>
> >> is there an admin command to ask aslaveto stop replication from the
> >> master and write all changes to disk ? This way, "mongodump" could be
> >> used to make a proper dump and would be still online for reads.
>
> >> If it's not possible and I have to stop theslave, is it the goal of