Export a backup of tiny db in csv format to google drive

Hello guys , i have created an app similar to aviation log book and it is saving in tinydb i want to backup my data in csv file to google drive in case i lose my phone can you help plz.?

These should give you some ideas

Thank you very much