I want to implement Whatsapp like database backup-restore functionality. I am using couchbase lite in my android application for storing the data. I want to get the couchbase backup file and store that file on google drive and then when needed I should be able to restore the database by downloading it from google drive.
- How I can create a backup file or get the database file in Android app.
- How I can restore the downloaded file into my mobile.
- How I can restore only chunk of data into my existing database.