I am in the early stages of creating an app where I would like to save, sync and backup data. The app will not store any files just data in a database. It is going to be iO
With iOS 13, Apple announced new features in Core Data to better work with CloudKit. The main addition is NSPersistentCloudKitContainer which basically manages syncing between Core Data and CloudKit for you.
You can learn more in the WWDC session Using Core Data with CloudKit.
Apple also released a nice collection of docs for this very usage: Mirroring a Core Data store with CloudKit.