Skip to content

Tutorial copy db #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 26, 2012
Merged

Tutorial copy db #79

merged 9 commits into from
Jul 26, 2012

Conversation

a-leung
Copy link

@a-leung a-leung commented Jul 20, 2012

No description provided.

available, the copy database commands are faster as there are no
intermediate files to be created.

.. warning::
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is really a note.

destination server.

- :dbcommand:`copydb` or :dbcommand:`clone` do not work with a sharded
database, such as a database a from :term:`shard cluster`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are no sharded databases except those in a shard cluster.

I think you're trying to say. "you can use these commands with unsharded databases in a shard cluster when you're connected directly to the mongod," but in that case, we should be explicit about this fact, rather than oblique.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If the source server requires ``username`` and ``password``
authentication, you can include these parameters in the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no other form of authentication

@tychoish
Copy link
Contributor

I'm making final edits to this before I merge things in.

Additional comments are for your own edification.

:dbcommand:`copydb`.

This is useful when you want to move a database from the development
environment to the production environment, or create a remote-branch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not something that happens or that will seem reasonable to users.

The reverse may happen, where you might seed development servers using a portion of production data. You may also migrate data into production from a staging environment which isn't the same. and also is much more likely to pass through your application rather than go directly using these commands.

@tychoish tychoish merged commit 414738f into mongodb:master Jul 26, 2012
Yingminzhou pushed a commit to mongodb-china/docs that referenced this pull request Dec 10, 2016
Yingminzhou pushed a commit to mongodb-china/docs that referenced this pull request Dec 10, 2016
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request May 22, 2025
* DOCSP-23928 Fixes relevant limitations

* DOCSP-23928 Fix per Lingzhi

* DOCSP-23928 Fixes per Ashley
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request May 22, 2025
* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

* DOCSP-24967-viewsAsCollections-update

Co-authored-by: jason-price-mongodb <[email protected]>
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 2, 2025
* (DOCSP-13189): Remove deprecated CRUD commands

(DOCSP-13189): Remove deprecated CRUD commands

* Updates per copy review
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 2, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 6, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 24, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 1, 2025
Updated the note on what a deprecated version means.
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 11, 2025
Adds GCP as supported for AK8SO Atlas Gov.
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 15, 2025
* DOCSP-45312: Remove using directives/declarations

* EC feedback
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 15, 2025
* DOCSP-33158: unsupported builders expressions

* remove file

* RM PR fixes 1

* RM small fix
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 15, 2025
* DOCSP-33158: unsupported builders expressions

* remove file

* RM PR fixes 1

* RM small fix

(cherry picked from commit 2093ff1)
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jul 15, 2025
* DOCSP-33158: unsupported builders expressions

* remove file

* RM PR fixes 1

* RM small fix

(cherry picked from commit 2093ff1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants