The terminology around this issue is very confusing. You need to read carefully to understand exactly what is being retired.
When you back up to a Server, you use a Server communication protocol to talk to the Server. Examples of Server communication Protocols are Apple File Protocol (AFP) and Server Message Block (SMB).
On the Backup drive, you use whatever disk format the Server uses for its native disk format. Using a Server launders out the actual format of the drive. the actual drive format is a "don't care"
--------
What is being retired is every version of Apple File Protocol (AFP), which should rightly be called Apple File [Server] Protocol. this is not to be confused with Hierarchical File System Extended (HFS+) MacOS Extended, or Apple File System (APFS). AFP is a server communication protocol, NOT A Disk Format.
--------
As long as you can create and maintain a sparse bundle disk image file, that is all that is required. Disk Formats of drives for MacOS and Linux and many others are just fine.
A space bundle disk image is like an entire filesystem inside one single extensible file on the Host.
SAMBA is an OpenSource implementation of Server Message Block protocol. Versions of SMB older than version 3 are also deprecated, so it is important to use a recent version if you use SAMBA, to implement at least version 3 of SMB.