Two FreeNAS servers on premises and in different locations with ZFS replication.
Then use SMB, NFS, Time Machine, rsync, Syncthing, sftp or anything else you like to push data to one of the FreeNAS machines.
Periodic ZFS snapshots prevent common cases of PEBCAK and ransomware.
Fully redundant, encrypted & open-source solution that can saturate 10GbE!