<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:11 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>[CSHARP-554] Implement CopyDatabase</title>
                <link>https://jira.mongodb.org/browse/CSHARP-554</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Implement MongoServer.CopyDatabase. If there is some reason it can&apos;t be implemented then remove it from the API.&lt;/p&gt;</description>
                <environment></environment>
        <key id="49491">CSHARP-554</key>
            <summary>Implement CopyDatabase</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Sep 2012 17:57:05 +0000</created>
                <updated>Thu, 20 Mar 2014 14:35:05 +0000</updated>
                            <resolved>Tue, 18 Feb 2014 23:00:53 +0000</resolved>
                                    <version>1.6</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="501147" author="xgen-internal-githook" created="Tue, 18 Feb 2014 23:26:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;craiggwilson&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-554&quot; title=&quot;Implement CopyDatabase&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-554&quot;&gt;&lt;del&gt;CSHARP-554&lt;/del&gt;&lt;/a&gt;: deprecating CopyDatabase as won&apos;t be implemented.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/ebef79fa6788f6d85ed72ff7b3ee9a01cc5acd19&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/ebef79fa6788f6d85ed72ff7b3ee9a01cc5acd19&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="501126" author="craiggwilson" created="Tue, 18 Feb 2014 23:00:53 +0000"  >&lt;p&gt;We have decided to not implement this feature and will be deprecating it in the API.&lt;/p&gt;

&lt;p&gt;CopyDatabase is actually fairly complicated and something that shouldn&apos;t be a simple one-liner in the driver.  We may introduce a way of handling this differently in the future, but there are no current plans to do so.&lt;/p&gt;</comment>
                            <comment id="282274" author="rstam" created="Wed, 6 Mar 2013 03:09:03 +0000"  >&lt;p&gt;The debate is whether any admin helper methods should be in the C# driver at all, so if that viewpoint prevails there are many other helper methods that would be removed as well (or at least hidden in some hard to find place).&lt;/p&gt;

&lt;p&gt;Not sure yet whether I agree with that view, but that&apos;s what&apos;s being debated.&lt;/p&gt;

&lt;p&gt;As you know, even if an admin helper method is removed (or was never provided in the first place) you can always use the lower level RunCommand to send any command at all to the server.&lt;/p&gt;
</comment>
                            <comment id="281740" author="christian@sparre.it" created="Tue, 5 Mar 2013 14:09:47 +0000"  >&lt;p&gt;At the moment the primary reason for using the driver is automation during deployment. I&apos;m not that familiar with the shell so I have no idea if it would be usefull from an automation point of view &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;I can understand that the CopyDatabase helper might not have a place in the driver as it is just a normal command that can be reached using the RunCommand method. I would not complain too loudly if you choose not to implement it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="281735" author="rstam" created="Tue, 5 Mar 2013 13:58:59 +0000"  >&lt;p&gt;I have changed the Fix Version to 2.0.&lt;/p&gt;

&lt;p&gt;Be advised that there is some discussion as to whether such a helper method even belongs in a driver at all, so there is a chance that we will just choose not to implement this feature (and remove the method from the driver that is currently throwing a NotImplementedException).&lt;/p&gt;

&lt;p&gt;If you would like to offer reasons why this method would be appropriate to implement in the driver please comment.&lt;/p&gt;

&lt;p&gt;Out of curiosity, what is the reason you need to invoke CopyDatabase in the driver instead of using the MongoDB shell?&lt;/p&gt;
</comment>
                            <comment id="281680" author="christian@sparre.it" created="Tue, 5 Mar 2013 11:44:53 +0000"  >&lt;p&gt;Any idea when this will make it into the driver? Also the fromHost version should really be included. I&apos;m actually in a situation right now where we need to copy databases from production and staging servers to quality assurance.&lt;/p&gt;

&lt;p&gt;We have our own implementation right now but would like official driver support for it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="234225" author="brianknight10" created="Tue, 8 Jan 2013 16:24:01 +0000"  >&lt;p&gt;Submitted Pull Request #146.&lt;/p&gt;

&lt;p&gt;Did not include a fromHost parameter for now, as I figured we could add an overload in the future. To do that, we&apos;d need a way to handle authentication on the host server of the original database. I added a test to the MongoServerTests.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrgunj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11928</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>