Backing up an iPhone without the use of a cloud service or a computer
iOS only supports backup to a computer running iTunes or to iCloud.
If your aim is to keep everything on servers you control yourself you might use an NextCloud installation (with disk encryption) and use the Files app (or native NextCloud apps) to manage your data. That way you at least won't use your data in case your phone gets lost or stolen.