Have a look at https://github.com/libimobiledevice/libimobiledevice and iOS backup projects that are based on it.
[0]: https://github.com/jkcoxson/idevice
Maybe it’s time to try it again, but it’s an arms race from what I remember. Apple just keeps changing things; if you’re on the latest iOS version, it was unlikely to work. Has that changed?