Hi @all

I'm trying to implement a local backup & restore procedure, so the client 
is able to to a full database restore within the app.
Additionally I'm replicating the couchbase lite database to a couchbase 
server.

Unfortunately exactly this sync is now causing me headaches:

Imagine a local backup created at 2015-11-21 at 13:00.
After creating the backup, I create a document "BadDocument" which is 
synced to the server at 2015-11-21 at 13:05.
As soon as I restore the backup and start syncing, the document 
"BadDocument" gets downloaded from the server - which is wrong.

How can I force the server in this situation to reset it's data to the one 
the customer has on his device (and was restored from the local backup)?

FWIW: I'm using one bucket on the server, holding all data from each 
customer separated by one-channel-per-customer.

-- 
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/0ebb49a0-154c-4fea-b575-85745ddb435c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to