File tree 3 files changed +22
-0
lines changed
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ Specifies the compression algorithm used between the MongoDB server and
2
+ |tool-binary |. You can use one or more of these values for the
3
+ ``--compressors `` option:
4
+
5
+ - ``snappy ``
6
+ - ``zlib ``
7
+ - ``zstd ``
8
+
9
+ If you specify multiple compression algorithms, |tool-binary | uses the
10
+ first one in the list supported by your MongoDB deployment.
11
+
12
+ For more information on compressors, see the `Go driver network
13
+ compression documentation
14
+ <https://www.mongodb.com/docs/drivers/go/current/fundamentals/connections/network-compression/> `__.
Original file line number Diff line number Diff line change @@ -803,6 +803,10 @@ Options
803
803
view's metadata file in a ``mongorestore`` operation, the view
804
804
is recreated.
805
805
806
+ .. option:: --compressors=<string>
807
+
808
+ .. include:: /includes/fact-compressors-option-desc.rst
809
+
806
810
Learn More
807
811
----------
808
812
Original file line number Diff line number Diff line change @@ -869,6 +869,10 @@ Options
869
869
870
870
- You cannot use the ``--archive`` option with the ``--dir`` option.
871
871
872
+ .. option:: --compressors=<string>
873
+
874
+ .. include:: /includes/fact-compressors-option-desc.rst
875
+
872
876
873
877
Learn More
874
878
----------
You can’t perform that action at this time.
0 commit comments