How to take Backup SQLite local DB and updated with Google Drive

Hi, Team

I want to take backup of local SQLite DB and upload to Google Drive. I have searched that how to take backup of local DB.
Can anyone please help me?



I have same scenario. Could anyone please help us?

I am able to upload database.db file to Google Drive using File Transfer plugin, but the uploaded file seems to be corrupt. Not able to open the file.