Re: Adding a 'restore' method to the NodeStore apis

2014-02-05 Thread Jukka Zitting
Hi, On Wed, Jan 29, 2014 at 11:59 AM, Jukka Zitting wrote: > Alternatively, it should be fairly straightforward to adapt the > existing Oak backup code to work also with MongoMK target, as most of > that code uses only on standard NodeState functionality. See a quick proof of concept below. BR,

RE: Adding a 'restore' method to the NodeStore apis

2014-01-29 Thread Marcel Reutegger
Hi, > Instead of trying to solve that problem at MongoDB level, I suggest we > simply use the Oak-level backup code that we already have. It > guarantees a consistent snapshot of the running repository, is > non-blocking, and can do incremental backups. this works fine for the backup part and par

Re: Adding a 'restore' method to the NodeStore apis

2014-01-29 Thread Jukka Zitting
Hi, On Wed, Jan 29, 2014 at 3:21 AM, Marcel Reutegger wrote: > the MongoDB management service (MMS) mentioned by Jukka is one > option, but I think we should also have a backup mechanism that works > without a third party dependency. Right, as a cloud service MMS is probably not appropriate for

RE: Adding a 'restore' method to the NodeStore apis

2014-01-29 Thread Marcel Reutegger
Hi, > This assumption was challenged via OAK-1357 with the idea that the > MongoDB > backup can already produce consistent (non-blocking) backups so there's > nothing to be done in this area. Also restoring means only replacing the > old db with the backup one. the MongoDB management service (MMS

Re: Adding a 'restore' method to the NodeStore apis

2014-01-28 Thread Jukka Zitting
Hi, On Tue, Jan 28, 2014 at 9:30 AM, Alex Parvulescu wrote: > This assumption was challenged via OAK-1357 with the idea that the MongoDB > backup can already produce consistent (non-blocking) backups so there's > nothing to be done in this area. "MMS Backup offers point in time recovery of Mongo

Re: Adding a 'restore' method to the NodeStore apis

2014-01-28 Thread Michael Marth
Hi, re > This assumption was challenged via OAK-1357 with the idea that the MongoDB > backup can already produce consistent (non-blocking) backups so there's > nothing to be done in this area. Also restoring means only replacing the > old db with the backup one. I am not sure if MongoDB is able t

Re: Adding a 'restore' method to the NodeStore apis

2014-01-28 Thread Alex Parvulescu
Hi, I'm back trying to gather some feedback from the people involved in the MongoDB store impl. This is about creating a backup of the current repository using a native backup tool, a tool that is running at databasel level. It was my understanding that if you run a (non blocking) backup at any g

Adding a 'restore' method to the NodeStore apis

2014-01-27 Thread Alex Parvulescu
Hi, I've created OAK-1357 asking for a new method on the NodeStore apis: 'restore', please add your thoughts to the issue. thanks, alex