Hi!
We’d like to implement a backup/restore procedure of an entire Couchbase Lite database using the iPhone. So the user is able to see stored snapshots of his data and restore the full database from the snapshot he likes. How would we implement this best? Unfortunately I’ve not found any info on this topic so far
This is our current setup:
- The user stores all of his data locally inside one Couchbase Lite database using iOS Models.
- The local database is synchronized to a remote bucket using the sync_gateway.
INFO: The data of all users is synchronized into this remote bucket. But every user sees only his own data on his iPhone. This is accomplished by using channels: The sync only replicates one channel per user.
With this setup given, how would we implement a per user backup and restore procedure?