Skip to content

Commit dad8ccc

Browse files
DOCSP-37840 Split mongoimport page (#135)
* First restructure pass * Build fixes * Fixed TOC drawers * Build errors * Pruned self refs * Pruned self refs * grammar * Compatibility wording cleanup for brevity * Removed an unused substitution * Moved warning up front * Removed unused export * Moved headings out a level * Removed unused extract * Shortened Behavior title in refs and TOC
1 parent 6e009ff commit dad8ccc

15 files changed

+656
-577
lines changed

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ toc_landing_pages = [
88
"/installation/installation",
99
"/bsondump",
1010
"/mongodump",
11+
"/mongoimport",
1112
"/mongorestore"
1213
]
1314

source/includes/extracts-run-from-cmd.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ inherit:
1616
replacement:
1717
command: :binary:`~bin.bsondump`
1818
---
19-
ref: require-cmd-line-mongoimport
20-
inherit:
21-
file: extracts-run-from-cmd.yaml
22-
ref: _require-cmd-line
23-
replacement:
24-
command: :binary:`~bin.mongoimport`
25-
---
2619
ref: require-cmd-line-mongoexport
2720
inherit:
2821
file: extracts-run-from-cmd.yaml
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
You can use |tool-command| to migrate from a self-hosted deployment
1+
You can use the {+dbtools+} to migrate from a self-hosted deployment
22
to `MongoDB Atlas <https://www.mongodb.com/docs/atlas>`__. MongoDB
33
Atlas is the fully managed service for MongoDB deployments in the
44
cloud. To learn more, see `Seed with mongorestore
55
<https://www.mongodb.com/docs/atlas/import/mongorestore/>`__.
6+
67
To learn all the ways you can migrate to MongoDB Atlas, see
78
`Migrate or Import Data <https://www.mongodb.com/docs/atlas/import/>`__.

source/index.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ binaries:
6060
- Supports manipulating files stored in your MongoDB instance in
6161
:term:`GridFS` objects.
6262

63-
.. |tool-command| replace:: the {+dbtools+}
64-
6563
.. include:: /includes/fact-migrate-atlas.rst
6664

6765
Versioning

source/installation/installation-linux.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ The {+dbtools+} are a suite of command-line utilities for working with
2525
MongoDB. Use this guide to install the {+dbtools-short+} on the Linux
2626
platform.
2727

28-
.. |tool-command| replace:: the {+dbtools+}
29-
3028
.. include:: /includes/fact-migrate-atlas.rst
3129

3230
Versioning

source/installation/installation-windows.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ The {+dbtools+} are a suite of command-line utilities for working with
2121
MongoDB. Use this guide to install the {+dbtools-short+} on the Windows
2222
platform.
2323

24-
.. |tool-command| replace:: the {+dbtools+}
25-
2624
.. include:: /includes/fact-migrate-atlas.rst
2725

2826
Versioning

source/installation/installation.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ Installing the Database Tools
2222
The {+dbtools+} are a suite of command-line utilities for working with
2323
MongoDB.
2424

25-
.. |tool-command| replace:: the {+dbtools+}
26-
2725
.. include:: /includes/fact-migrate-atlas.rst
2826

2927
Follow the guides below to install the {+dbtools-short+} on

source/mongodump.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ a database's contents. ``mongodump`` can export data from:
4040
- :atlas:`Serverless instances
4141
</create-database-deployment/#serverless-instances>`
4242

43-
.. |tool-command| replace:: ``mongodump``
44-
4543
.. include:: /includes/fact-migrate-atlas.rst
4644

4745
``mongodump`` can connect to :binary:`~bin.mongod` and

source/mongodump/mongodump-examples.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ mongodump Examples
2222

2323
.. |arrow| unicode:: U+27A4
2424
.. |tool-binary| replace:: ``mongodump``
25-
.. |mongodb-aws-example| replace:: :ref:`mongodump-example-connect-using-aws-iam`
26-
.. |tool-command| replace:: ``mongodump``
2725

2826
This page shows examples for |tool-binary|.
2927

source/mongoexport.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ or CSV export of data stored in a MongoDB instance.
4747

4848
.. include:: /includes/fact-online-archive-callout.rst
4949

50-
.. |tool-command| replace:: the {+dbtools+}
51-
5250
.. include:: /includes/fact-migrate-atlas.rst
5351

5452
.. note::

0 commit comments

Comments
 (0)