On Nov 14, 2015, at 1:55 AM, [email protected]<mailto:[email protected]> wrote:
Unfortunately I have no clue, how to create new revisions of each document without modifying it's data. How could this be done? Well, you are modifying its data, by restoring it to an earlier state. (You wouldn’t need to do this to documents that haven’t changed since the backup.) To restore the earlier state: 1. Read the old copy of the document from the backup 2. Check its revID against the revID of the current document; if they’re the same, skip this document. 3. Update the current document with the properties of the old document, except for the “_rev” property. Afterwards I've posted this issue in the Couchbase Forums, but there seems to be no activity in this topic. That’s odd; I watch the mobile sub-forums there but I don’t think I saw your post. —Jens -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/D6EDEA91-E054-44D8-945E-90A80E0BF7CC%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
