Commit Graph

57 Commits

Author SHA1 Message Date
Brandon Diamond
f96f1c70ec CS-1535: Avoid writing to stderr unless dumping to stdout 2012-02-15 16:46:57 -05:00
Kristina
e52a031a32 error out nicely with mongostat+auth on mongos SERVER-3619 2011-08-17 17:49:19 -04:00
Eliot Horowitz
2982ab07d0 more error handling in dump 2011-07-11 10:27:15 -04:00
Eliot Horowitz
3731e71d77 better error handling for monogodump 2011-07-10 00:25:43 -04:00
Eliot Horowitz
3314bda6e1 forceTableScan option for mongodump SERVER-3338 2011-06-26 00:22:44 -04:00
Eliot Horowitz
bec32bf3cd don't use ? curop because it leads to user confusion
add numYields to curop
SERVER-3179
2011-06-01 12:27:09 -04:00
Mathias Stearn
c5f2988fd0 Use FILE* for I/O in mongodump for better error reporting SERVER-2143 2011-04-13 19:04:38 -04:00
Eliot Horowitz
780539fe55 make mongodump work on local.oplog.rs 2011-04-12 13:13:43 -04:00
Mathias Stearn
b40989ef27 unused variable warning 2011-04-05 15:20:12 -04:00
Mathias Stearn
64151ca41a Make mongodump --oplog work with auth SERVER-2850 2011-04-04 12:47:59 -04:00
Eliot Horowitz
28683f8464 repair handles invalid objects better 2011-03-06 21:43:54 -05:00
Eliot Horowitz
b85ef57e22 repair mode works with -c 2011-03-06 19:03:52 -05:00
Eliot Horowitz
cf1b25029e if you specify -d local -c oplog.$main should dump 2011-03-04 16:56:33 -05:00
Eliot Horowitz
15dcbf6866 better inf. loop testing 2011-03-03 13:12:35 -05:00
Eliot Horowitz
c2b809bd67 better repair mongodump 2011-02-27 01:05:47 -05:00
Mathias Stearn
5c3e71ac02 mongodump shouldn't use QueryOption_Exhaust when connected to mongos SERVER-2628 2011-02-25 13:50:24 -05:00
Eliot Horowitz
7a1c5d322c handle $err in mongodump SERVER-1851 2011-01-16 01:30:48 -05:00
Eliot Horowitz
6485f8b9f3 working on some repair utilities 2011-01-09 21:51:16 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Mathias Stearn
efa0e8ab41 Use oplog to make mongodump/restore point in time SERVER-2025 2010-11-29 14:47:44 -05:00
Mathias Stearn
c74c0f9e28 Use QueryOption_Exaust in mongodump. SERVER-2059 2010-11-03 14:14:00 -04:00
Mathias Stearn
4c51c1bf13 Tools shouldn't use $snapshot with --dbpath SERVER-1833 2010-09-23 14:40:46 -04:00
Justin Dearing
52163efb4d Made the special stdout parameter -, to be more in line with other apps, e.g. nmap. 2010-08-23 11:38:39 -04:00
Mathias Stearn
d27b1646a1 Hide connection options for tools that don't connect SERVER-1574 2010-08-16 13:17:11 -04:00
Kristina Chodorow
b463621835 allow dumping a collection to stdout SERVER-763 2010-08-06 18:20:54 -04:00
Eliot Horowitz
4b488f8a8a optional query for mongodump 2010-07-28 14:10:33 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Dwight Merriman
0dd902e096 fix for tools 2010-04-24 15:04:35 -04:00
Eliot Horowitz
a1309b7c34 changed Tool() cons arguments a bit 2010-02-21 10:42:38 -05:00
Eliot Horowitz
5fa0d5e030 better debugging when can't open streams 2010-01-24 21:05:46 -05:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
84dc801b60 use SlaveOk for doing counts SERVER-450 2009-12-02 16:56:49 -05:00
Eliot Horowitz
8a6dfdc9e9 cleaning tool debugging/tests 2009-10-09 22:11:15 -04:00
Eliot Horowitz
46000ef2d4 nice progress meters for dump/restore SERVER-307 2009-09-24 11:17:03 -04:00
Eliot Horowitz
01e1564c03 casing 2009-09-24 11:02:00 -04:00
Eliot Horowitz
524956f52a replace posix file write ops with ostream 2009-09-23 10:30:40 -04:00
Mike Dirolf
c03fe0d5c5 mongodump: move default argument to options declaration so it shows up in help text 2009-09-11 14:33:10 -04:00
Mike Dirolf
bf5faae277 minor: whitespace 2009-09-11 14:15:28 -04:00
Eliot Horowitz
38bb9b15c2 when doing a dump from a replica pair, do it from the slave SERVER-169 2009-08-12 16:55:18 -04:00
Eliot Horowitz
016d49ffd2 auth support for tools SERVER-147 2009-08-12 16:31:22 -04:00
Eliot Horowitz
043f15bbd7 use $snapshot for dump/export tools SERVER-226 2009-08-11 10:50:02 -04:00
Eliot Horowitz
1c099e789f make -c work for mongodump 2009-06-28 23:26:34 -04:00
Aaron
da7a9b3f71 make tools capable of running standalone, without a mongod instance 2009-05-20 11:39:12 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
yellow
51ae720798 slave ok for doing dumps 2009-01-31 21:39:45 +00:00
Dwight
dcf90d4def sort() for c++ client 2009-01-29 18:38:35 -05:00
Eliot Horowitz
d02aa49e35 make run return and that is what the binary exits with 2009-01-29 11:56:44 -05:00
Eliot Horowitz
d71cb1d7d2 moving to unified Tool system 2009-01-27 15:16:09 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00