Automatically create iPhone backups to Mac (without iCloud)
Hello community, I've seen people ask previously about how to set up automatic iPhone backups to their Mac, without using iCloud.
These people have been referred to this article (https://support.apple.com/en-us/HT203977#computer), which however does not answer their question. The "Automatically sync when this iPhone is connected" setting does not create a full backup, it just syncs playlists, etc. You can't restore your phone from a sync. It's a different thing.
In other places on the Internet, people have suggested closed-source third-party software for automatic backups, but that seems a bit too much for such a simple task.
Questions:
1) How can I set up automatic backup of my iPhone to Mac? I don't (want to) use iCloud.
2) If that's not possible, how can I trigger the backup from the command line or using Automator, so I can run it periodically via a Cron job instead?
Thank you.
iPhone XR