Difference between revisions of "Mongorestore"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * {{MongoDB}}")
Tags: Mobile web edit, Mobile edit
 
 
(6 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 ==
 +
* [[BSON]]
 +
* <code>[[mongodump]]</code>
  
 
== See also ==
 
== See also ==
 
* {{MongoDB}}
 
* {{MongoDB}}
 +
 +
 +
[[Category:MongoDB]]

Latest revision as of 11:46, 18 February 2022

This article is a Draft. Help us to complete it.

Restoring from a backup executed with --archive option

mongorestore --archive="mongodump-test-db" 

mongorestore -db=YOUR_NEW_DB /path/to/your/backupfile



Related terms[edit]

See also[edit]

Advertising: