You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2014/02/13 14:24:19 UTC

[jira] [Commented] (OAK-1339) Backup and restore for the MongoMK

    [ https://issues.apache.org/jira/browse/OAK-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900313#comment-13900313 ] 

Alex Parvulescu commented on OAK-1339:
--------------------------------------

A quick followup on this issue, there was a discussion about what we can do in terms of backups on MongoDB [0].

It looks like we could possibly rely on external tools (dedicated services or local scripts) to grab a snapshot of the current DB state, which would not block and be consistent.
The more problematic case is sharding where the content could possibly be too big to efficiently backup/restore to a single machine, and the synchronisation of the backup process over multiple nodes might introduce some deltas in the revisions of the backups.

What is still missing, if I'm not mistaken is the ability to rollback to a known state (revision) on startup, this helps with making sure all  nodes start at the same revision.

Jukka also proposed a simple tweak of the existing backup code to fit the MongoDB model, but I'm not really sure if that is as efficient as a dedicated mongo level script.

[~mreutegg] did I leave anything out?


[0] http://markmail.org/message/ikwkmxecypmra43t#query:+page:1+mid:5aowbn3ztn7qjxnp+state:results


> Backup and restore for the MongoMK
> ----------------------------------
>
>                 Key: OAK-1339
>                 URL: https://issues.apache.org/jira/browse/OAK-1339
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: mongomk
>            Reporter: Alex Parvulescu
>            Assignee: Alex Parvulescu
>             Fix For: 0.17
>
>
> Similar to OAK-1159 but specific to the MongoMK implementation.
> The mongomk backup could leverage the existing backup bits and backup to the file system (mongo-to-tarmk backup) but the restore functionality is missing (tar-to-mongo).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)