Best Practice for Android Folder Backup

Hi folks,

I just purchased the Android version which I plan to use for many things. One of them is to back up my 2FA/TOTP codes. The app I use allows me to save backups but only locally on the phone. The 2FA lap automatically updates the backup each time there is a change detected but again, the backup file is only stored locallly.

I am trying to work out how I can get this local folder to automatically sync with Google Drive so that an encrypted copy is uploaded. I understand the backup is a JSON file and is already encrypted with a password but still, I plan to sync other folders as well, so I guess the same problem would apply.

Appreciate any advice. Thank you!