Skip to content

Commit b56164a

Browse files
speediousdelgod
speedious
authored andcommitted
Fix for mongorestore problem
1 parent 8d6bca8 commit b56164a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ The backups are `mongorestore <https://docs.mongodb.com/manual/reference/program
157157

158158
$ tar xfvz <shardname>.tar.gz
159159
...
160-
$ mongorestore --host mongod12.example.com --port 27017 -u admin -p 123456 --oplogReplay --dir /var/lib/mongodb-consistent-backup/default/20170424_0000/rs0/dump
160+
$ mongorestore --host mongod12.example.com --port 27017 -u admin -p 123456 --oplogReplay --gzip --dir /var/lib/mongodb-consistent-backup/default/20170424_0000/rs0/dump
161161

162162
Run as Docker Container
163163
~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)