Convert Replica Set backup to standalone via Ops Manager

From: Jeff Tetzloff <jjtetzlo@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Fri, 6 May 2016 12:13:31 -0700 (PDT)
Why ads?
Hello!

I'm evaluating Ops Manager and have been fumbling around with the restore 
methods.  I've been able to create a backup easily enough, but have had 
difficulty restoring them, as in I've yet to get it to work.  Here's the 
scenario I'm looking to support:

1) Production would consist of a couple databases in a replica set. 
 Currently evaluating on 3.2.5, WiredTiger.
2) Say a developer requires a point-in-time copy of a single database to 
restore to a standalone mongod (local laptop or a development server).
3) I create the backup via Ops Manager using a whitelist to select only 
this database.
4) ???

I tried shutting down the service and copying in the files from the backup 
to an existing instance (I'm a SQL Server DBA so forgive the parlance), but 
after that the service won't start (maybe related 
to https://jira.mongodb.org/browse/SERVER-19815?).  Does the directoryPerDB 
setting matter here?  Log file shows this:

2016-05-06T14:09:57.413-0500 I CONTROL  [main] Trying to start Windows 
service 'MongoDB'
2016-05-06T14:09:57.416-0500 I STORAGE  [thread1] Service running
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] MongoDB starting : 
pid=4380 port=27018 dbpath=D:\DBData01\RestoreTest\db 64-bit host=XXXXXXX
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] targetMinOS: 
Windows 7/Windows Server 2008 R2
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] db version v3.2.5
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] git version: 
34e65e5383f7ea1726332cb175b73077ec4a1b02
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] OpenSSL version: 
OpenSSL 1.0.1p-fips 9 Jul 2015
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] allocator: tcmalloc
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] modules: enterprise 
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten] build environment:
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten]     distmod: 
windows-64
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten]     distarch: x86_64
2016-05-06T14:09:57.416-0500 I CONTROL  [initandlisten]     target_arch: 
x86_64
2016-05-06T14:09:57.417-0500 I CONTROL  [initandlisten] options: { config: 
"D:\DBData01\RestoreTest\db\automation-mongod.conf", net: { port: 27018 }, 
service: true, storage: { dbPath: "D:\DBData01\RestoreTest\db", engine: 
"wiredTiger" }, systemLog: { destination: "file", path: 
"D:\DBData01\RestoreTest\log\mongodb.log" } }
2016-05-06T14:09:57.418-0500 I STORAGE  [initandlisten] wiredtiger_open 
config: 
create,cache_size=4G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
2016-05-06T14:09:57.429-0500 I -        [initandlisten] Assertion: 28595:2: 
No such file or directory
2016-05-06T14:09:57.429-0500 I STORAGE  [initandlisten] exception in 
initAndListen: 28595 2: No such file or directory, terminating
2016-05-06T14:09:57.429-0500 I CONTROL  [serviceStopWorker] dbexit:  rc: 49

I look in the documentation 
(https://docs.opsmanager.mongodb.com/current/tutorial/restore-single-database/
and it looks like this functionality has been removed, with no option for 
supporting a 3.0+ restore, or at least it's not obvious.

Any hints?

Thanks!
Jeff

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/484f404f-e264-4c25-a194-4d929f648d21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?