[SERVER-7864] Make copyDB, cloneDB, etc. work with auth when using old-style users Created: 06/Dec/12 Updated: 07/Apr/23 Resolved: 17/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.3.2 |
| Fix Version/s: | 2.4.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
cloneCollection, clone, and copyDatabase no longer work with authentication enabled. Even though we can't currently support them with auth using the new-style users added in 2.3.2, they should still work for the old-style users, for backwards compatibility. |
| Comments |
| Comment by Spencer Brody (Inactive) [ 06/Sep/13 ] |
|
The best workaround at the moment is probably to use mongodump/mongorestore. |
| Comment by Rajiv Kumar [ 06/Sep/13 ] |
|
Is there an alternative if I want to copy database with auth enabled? Copying collections will be slow and error prone. |
| Comment by auto [ 18/Mar/13 ] |
|
Author: {u'date': u'2013-03-15T21:15:27Z', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}Message: |
| Comment by auto [ 17/Jan/13 ] |
|
Author: {u'date': u'2013-01-16T19:13:13Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: copyDB and clone can only be run when auth is enabled if the client is |
| Comment by auto [ 14/Dec/12 ] |
|
Author: {u'date': u'2012-12-14T15:44:09Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: |
| Comment by auto [ 06/Dec/12 ] |
|
Author: {u'date': u'2012-12-06T19:47:29Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: |