Skip to content

Commit 7b9ecfd

Browse files
author
Sam Kleinman
committed
minor: DOCS-284 rephrasing
1 parent 6dcd8e5 commit 7b9ecfd

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

draft/tutorial/copy-database.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,17 @@ Considerations
5656
Processes
5757
---------
5858

59-
Copy and Rename a Database to Another Server
60-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59+
Copy and Rename a Database to another ``mongod``
60+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6161

62-
Use the :dbcommand:`copydb` command, or the :func:`db.copyDatabase()`
63-
helper in the :program:`mongo` shell, to transfer a database from one
64-
MongoDB instance to another: for instance seeding a development
65-
environment or establishing a testing system.
62+
To transfer a database from one MongoDB instance to another, use the
63+
:dbcommand:`copydb` command, or the :func:`db.copyDatabase()` helper
64+
in the :program:`mongo` shell. Possible uses include instance seeding
65+
a development environment and establishing a testing system.
6666

67-
To copy the database named ``test`` on server ``db0.example.net`` to
68-
the server named ``db1.example.net`` and rename it to ``records``, use
69-
the following procedure:
67+
Copy the database named ``test`` on server ``db0.example.net`` to
68+
the server named ``db1.example.net`` and rename it to ``records``
69+
using the following procedure:
7070

7171
- Verify that the database, ``test`` exists on the source
7272
:program:`mongod` instance running on the ``db0.example.net`` host.
@@ -83,13 +83,13 @@ the following procedure:
8383
Rename a Database
8484
~~~~~~~~~~~~~~~~~
8585

86-
Use the :dbcommand:`copydb` command, or the :func:`db.copyDatabase()`
87-
helper in the :program:`mongo` shell, to copy a database within the
88-
same server also renaming the database. You may use this to correct a
86+
To copy a database within the same server also renaming the database,
87+
use the :dbcommand:`copydb` command, or the :func:`db.copyDatabase()`
88+
helper in the :program:`mongo` shell. You may use this to correct a
8989
misnamed database or to support a testing process.
9090

91-
To rename a database from ``test`` to ``records`` on the a
92-
:program:`mongod` instance, use the following procedure:
91+
Rename a database from ``test`` to ``records`` on the a
92+
:program:`mongod` instance using the following procedure:
9393

9494
- Connect to the :program:`mongod` using the :program:`mongo` shell.
9595

@@ -102,15 +102,15 @@ To rename a database from ``test`` to ``records`` on the a
102102
Copy a Database with Authentication
103103
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104104

105-
If the source server has :setting:`auth` enabled, you can include
106-
these parameters in the :dbcommand:`copydb` command, or as arguments
107-
to the :func:`db.copyDatabase()` helper in the :program:`mongo`
108-
shell.
105+
If the source server has :setting:`auth` enabled, and you want to copy
106+
a database from this instance, you can include these parameters in the
107+
:dbcommand:`copydb` command, or as arguments to the
108+
:func:`db.copyDatabase()` helper in the :program:`mongo` shell.
109109

110-
To copy ``test`` to ``records`` from the :program:`mongod` running on
110+
Copy ``test`` to ``records`` from the :program:`mongod` running on
111111
``db0.example.net``, which requires authentication for all
112112
connections, to the :program:`mongod` instance running on
113-
``db1.example.net`` use the following procedure:
113+
``db1.example.net`` using the following procedure:
114114

115115
- Connect to the destination :program:`mongod` instance running on the
116116
``db1.example.net`` host using the :program:`mongo` shell.
@@ -131,9 +131,9 @@ database name on the destination server. For many operations,
131131
than :dbcommand:`copydb`. The :func:`db.cloneDatabase()` helper in the
132132
:program:`mongo` shell provides a wrapper around :dbcommand:`clone`.
133133

134-
To clone a database from `the :program:`mongod` running on
134+
Clone a database from `the :program:`mongod` running on
135135
`db0.example.net`` to the :program:`mongod` running on
136-
``db1.example.net``, use the following procedure:
136+
``db1.example.net`` using the following procedure:
137137

138138
- Connect to the destination :program:`mongod` instance running on the
139139
``db1.example.net`` host using the :program:`mongo` shell.

0 commit comments

Comments
 (0)