Backup mysql to cloud

I'm looking for a script to backup my mysql databases to either OneDrive or Google Drive. Has anyone come across something like this?

I know services like will do it, but it will be $20/mo. I'd rather pay a one off fee if I need to.

I know there's some function to backup my database to a file on the server, so really all I need is a script to back up that file to the cloud. Then I can do a weekly cron job.

Poster :