diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-06-30 14:29:19 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-06-30 14:29:19 -0400 |
commit | 501fca1b02964f24222e0cc93c9eb1816856d4ca (patch) | |
tree | 37260844be6c06d4e45ff73cb56361fed274d2bc /tools | |
parent | 0a7ce24c4cebd2e0a66fa1331c8b042691eb1a3d (diff) | |
download | mongo-501fca1b02964f24222e0cc93c9eb1816856d4ca.tar.gz |
don't restore system.profile SERVER-1294
Diffstat (limited to 'tools')
-rw-r--r-- | tools/restore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/restore.cpp b/tools/restore.cpp index 53d512312f2..a2013a1afba 100644 --- a/tools/restore.cpp +++ b/tools/restore.cpp @@ -109,6 +109,11 @@ public: log() << root.string() << endl; + if ( root.leaf() == "system.profile.bson" ){ + log() << "\t skipping" << endl; + return; + } + string ns; if (use_db) { ns += _db; |