When I connect my iPhone to my iMac it does to a local backup to a file, which then gets backed up via Time Machine (and SuperDuper/CarbonCopyCloner).
"How to back up your iPhone, iPad, and iPod touch with your Mac":
* https://support.apple.com/en-ca/108796
There's also a checkbox for 'Wifi syncing' so a cable isn't necessarily needed.