meteor - MongoDB replicate / master slave without remove transaction -



meteor - MongoDB replicate / master slave without remove transaction -

i have meteor , mongodb project, , consisted mongodb 2 replica set.

what want create secondary db backup system. means, want maintain secondary data, if primary db removed user.

the secondary replica set's info removed when primary's info removed , couldn't find method prevent this, , think master / slave same replica.

is there solution or application this?

thanks in advance-

misconceptions

first of all: master/slave replication considered deprecated , removed in future versions. shouldn't utilize more. has no advantages on running replica set 2 info bearing nodes , arbiter (except fact doesn't need arbiter, inexpensive in memory, disk , cpu usage).

second: replication of kind isn't replacement backup, enhances availability of data. more replica set, since failover , tailback automatic.

third: prevent databases beingness dropped, might want utilize authentication(to identify users) , authorization limit each individual user can do.

what might want instead

that beingness said, might want utilize delayed replica set member, might give time react after fatal command issued, @ cost of info beingness outdated bit. still has more info availability info backup.

taking backups

i haven't used mms until (the amount of info had deal way big , mms wasn't cost efficient customers). have made experience taking lvm snapshots of xfs filesystems(which 1 of the recommended filesystems mongodb) backups: it's easy, fast, inexpensive , easy implement.

mongodb meteor

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -