On Nov 21, 2015, at 7:19 PM, Brendan Duddridge <[email protected]<mailto:[email protected]>> wrote:
Are you implying in your response to this question that you can't just replace the cblite2 database package and that you must read through the backup file, restoring to the current database with the contents of the backup file? Does that mean that you would then also have to delete all the documents created since the most recent document in the backup database? Yes, if your purpose in backing up is to reset the database back to the state it was in at some past time (as opposed to just being able to restore the database later on in case of data loss.) In resetting back to a past state, you are fighting against the replicator, whose job it is to update to the latest state available on the server. That’s why you can’t just restore the database file — it contains old revisions that will be replaced by newer ones from the server. —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/7E9F0537-0DFC-447D-AF79-0D9B9F45A58F%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
