[SERVER-30452] How to restore the mongodb from mongodump(.wt file extensions)? Created: 01/Aug/17  Updated: 02/Aug/17  Resolved: 01/Aug/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: renjith s raj Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu,djangopython


Issue Links:
Related
related to SERVER-19043 Implement a connectDatabase / disconn... Closed
Participants:

 Comments   
Comment by renjith s raj [ 02/Aug/17 ]

Thanks @thomas

Comment by Kelsey Schubert [ 01/Aug/17 ]

Hi renjithsraj,

It is not possible to use mongorestore on a .wt file. mongorestore should be used with the bson files generated by mongodump.

SERVER-19043 describes the functionality to import .wt collection files into another mongod instance. Please feel free to vote and watch for updates.

Kind regards,
Thomas

Comment by renjith s raj [ 01/Aug/17 ]

I have a collection .wt file got it from mongodb snapshots, I'm getting error while mongo restore.

Generated at Thu Feb 08 04:23:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.