I have a script that does an unencrypted backup to my true truenas machine.
Truenas has built in functionality to upload encrypted or unencrypted backups to various cloud providers. It is using rclone on the back end but it also handles the connection to your cloud storage really nicely too.