i think rclone is what you need. but for "backup", check restic. i personally use restic to backup all my stuff to b2 using restic's encryption.
have a checklist kind of a thing here if it helps: https://geekodour.org/docs/tools/homelab/#backup-plan I've not updated it in a while my setup has diverged since
Just a note: Make sure whatever you use to backup iCloud can handle files that are not currently synced to your device. Arq (https://www.arqbackup.com) has a setting to "materialize" these files before backup for example.
[dead]
i think rclone is what you need. but for "backup", check restic. i personally use restic to backup all my stuff to b2 using restic's encryption.
have a checklist kind of a thing here if it helps: https://geekodour.org/docs/tools/homelab/#backup-plan I've not updated it in a while my setup has diverged since