They have a plugin that supports backups to cloud storage

https://docs.pgbarman.org/release/3.12.0/user_guide/barman_c...

For CNPG: https://github.com/cloudnative-pg/plugin-barman-cloud