[DOCS-570] Correct mongodump syntax Created: 03/Oct/12  Updated: 29/Nov/12  Resolved: 03/Oct/12

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Gregor Macadam Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Days since reply: 11 years, 20 weeks ago

 Description   

here is specified command
mongodump --host mongodb1.example.net --port 3017 --username user --password pass /opt/backup/mongodump-2011-10-24
this is incorrect - correct syntax is with --out switch
mongodump --host mongodb1.example.net --port 3017 --username user --password pass --out /opt/backup/mongodump-2011-10-24



 Comments   
Comment by Ed Costello [ 03/Oct/12 ]

samk Whoever edits this should review the first graph, there's some odd edits eg: "database backup in a in the current "

Comment by auto [ 03/Oct/12 ]

Author:

{u'date': u'2012-10-03T07:11:05-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-570: correction to mongodump syntax
Branch: master
https://github.com/mongodb/docs/commit/2d357583f2f3d71cbe898fc77a3fbdb771258e15

Comment by Gianfranco Palumbo [ 03/Oct/12 ]

Another issue found in the same page on 'mongodump' examples.

--database option should be --db or -d

Found here Database Dump with mongodump and Using Conventional Backups from All Database Instances

(this is both in versions 2.2.0 and 2.0.7)

Generated at Thu Feb 08 07:38:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.