Difference between revisions of "Mongorestore"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | {{lowercase}} | ||
+ | |||
+ | Restoring from a backup executed with <code>--archive</code> option | ||
+ | <code>mongorestore --archive="mongodump-test-db" </code> | ||
+ | |||
+ | |||
+ | <code>mongorestore -db=YOUR_NEW_DB /path/to/your/backupfile</code> | ||
+ | |||
− | |||
== Related terms == | == Related terms == | ||
* [[BSON]] | * [[BSON]] | ||
− | + | * <code>[[mongodump]]</code> | |
== See also == | == See also == |
Latest revision as of 11:46, 18 February 2022
Advertising: