[SERVER-36008] RESTORE database *.wt collection file Created: 07/Jul/18  Updated: 27/Oct/23  Resolved: 10/Jul/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: 4.0.0, 3.4 Required
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Jean-Claude ADIBA Assignee: Nick Brewer
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Capture mongo.PNG    
Participants:

 Description   

Hi we have uninstall mongodb 3.4.2 server to install the new 4.0 server  without backup one database. 

we had set one database per folder but in the new database instance install  is there a way to join / restore / attach the exisiting collection from the *.wt files ?

 

thanks for your help



 Comments   
Comment by Nick Brewer [ 10/Jul/18 ]

Hi jcadiba

Upgrades should only be performed between one stable release to the next stable release - so in your case, you would first need to upgrade to version 3.6 before upgrading to 4.0. 

Note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the [mongodb-user group|https://groups.google.com/group/mongodb-user] or [Stack Overflow with the mongodb tag|https://stackoverflow.com/questions/tagged/mongodb]. A question like this involving more discussion would be best posted on the mongodb-user group.

mongodump and mongorestore can be used to backup and restore a single collection - but this requires a working mongod. See this stackoverflow answer for additional details.

Regards,
Nick

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