<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:23:46 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-10675] Mongodump Restore </title>
                <link>https://jira.mongodb.org/browse/SERVER-10675</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A database dump was taken using version 2.4.5, can it be restored to different version say 2.4.6 using mongorestore?&lt;/p&gt;</description>
                <environment></environment>
        <key id="88419">SERVER-10675</key>
            <summary>Mongodump Restore </summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="sivkrish@cisco.com">Siva Balasubramaniam</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Sep 2013 04:30:07 +0000</created>
                <updated>Wed, 10 Dec 2014 23:10:33 +0000</updated>
                            <resolved>Mon, 9 Sep 2013 03:36:46 +0000</resolved>
                                                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="420667" author="sivkrish@cisco.com" created="Mon, 9 Sep 2013 04:13:28 +0000"  >&lt;p&gt;HI Dan,&lt;/p&gt;

&lt;p&gt;             We had authentication enabled. I took a mongodump from 2.4.5 and tried to restored on 2.4.6. In 2.4.6 we had to grant admin user with the following roles.&lt;/p&gt;

&lt;p&gt;&quot;dbAdminAnyDatabase&quot;,&quot;clusterAdmin&quot;,&quot;userAdminAnyDatabase&quot;, &quot;userAdmin&quot;. Role &quot;readWriteAnyDatabase&quot; was missing, which I added after seeing user response.&lt;/p&gt;



&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Siva&lt;/p&gt;
</comment>
                            <comment id="420645" author="dan@10gen.com" created="Mon, 9 Sep 2013 03:36:46 +0000"  >&lt;p&gt;If you know the cause of the error, it would be great if you could leave a note explaining it here so that other users may benefit.&lt;br/&gt;
Thanks&lt;br/&gt;
Dan&lt;/p&gt;</comment>
                            <comment id="420616" author="sivkrish@cisco.com" created="Mon, 9 Sep 2013 02:19:28 +0000"  >&lt;p&gt;Hi Dan,&lt;br/&gt;
             You may close this case, as I was able to restore successfully.&lt;br/&gt;
Thanks&lt;br/&gt;
Siva&lt;/p&gt;
</comment>
                            <comment id="420589" author="dan@10gen.com" created="Mon, 9 Sep 2013 01:01:29 +0000"  >&lt;p&gt;Can you supply the complete command line arguments you use to start your mongod and mongorestore processes as well as attach the entire log output of mongorestore?&lt;/p&gt;</comment>
                            <comment id="417422" author="sivkrish@cisco.com" created="Wed, 4 Sep 2013 07:45:57 +0000"  >&lt;p&gt;Hi,&lt;br/&gt;
     When source and destination were 2.4.5, there were no issues with mongorestore. But when Source mongo db version 2.4.5 and destination version 2.4.6 we are getting the following errors.&lt;/p&gt;


&lt;p&gt;Assertion: 13111:field not found, expected type 2&lt;br/&gt;
0xddf081 0xda217b 0xda26bc 0x6d74dd 0x6e5d7b 0x6e3c4b 0x6e7f5c 0xd95dd8 0xd9afd5 0x6cd167 0x3e4841ecdd 0x6ccfd9 &lt;br/&gt;
 mongorestore(_ZN5mongo15printStackTraceERSo+0x21) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xddf081&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN5mongo11msgassertedEiPKc+0x9b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xda217b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore() &lt;span class=&quot;error&quot;&gt;&amp;#91;0xda26bc&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZNK5mongo11BSONElement3chkEi+0x1fd) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6d74dd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN7Restore9drillDownEN5boost11filesystem34pathEbbbb+0x24bb) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e5d7b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN7Restore9drillDownEN5boost11filesystem34pathEbbbb+0x38b) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e3c4b&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN7Restore5doRunEv+0xc7c) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6e7f5c&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN5mongo8BSONTool3runEv+0x458) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xd95dd8&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(_ZN5mongo4Tool4mainEiPPc+0x13d5) &lt;span class=&quot;error&quot;&gt;&amp;#91;0xd9afd5&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(main+0x37) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6cd167&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6(__libc_start_main+0xfd) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3e4841ecdd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongorestore(__gxx_personality_v0+0x459) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x6ccfd9&amp;#93;&lt;/span&gt;&lt;br/&gt;
assertion: 13111 field not found, expected type 2&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Siva&lt;/p&gt;

</comment>
                            <comment id="417344" author="eliot" created="Wed, 4 Sep 2013 05:00:31 +0000"  >&lt;p&gt;Yes.  mongodump/restore works off raw bson so works will all versions&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 4 Sep 2013 05:00:31 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 23 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 23 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>sivkrish@cisco.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmhu7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrsnvj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>81104</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hs48vz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>