How to get particular channel backup from Coubase Server

Hi there,

My CoubahseLite Mobile app using number of channels. I want to take backup of particular channel among from all channels. please suggest me the best way to do this.

I think you can use this Sync Gateway REST API to get documents by channels from sync gateway.
Sample command as following(user should have channels indicate in channels):

curl http://someusername:somepassword@sghost:4984/sgdb/_changes?include_docs=true&channels=channel1,channel2&filter=sync_gateway%2Fbychannel&style=all_docs

or using sg admin port by:

curl http://127.0.0.1:4985/sgdb/_changes?include_docs=true&channels=channel1,channel2&filter=sync_gateway%2Fbychannel&style=all_docs

@atom_yang i will check it this.