Home How to migrate local realm to synced realm
 I have a project which used Realm as a local database. Now I want it to become online by using Realm Cloud. I got confused about how to migrate them. Start with RealmConfiguration and SyncConfiguration, after that is SchemaVersion too. My local configuration: RealmConfiguration.Builder _config = new RealmConfiguration.Builder(); _config.name("myABCXYZ.realm"); _config.schemaVersion(MyRealmMigration.CURRENT_REALM_VERSION); _config.migration(new MyRealmMigration()); RealmConfiguration config = _config.build();  This one i copied from PartialSync example app SyncConfiguration configuration = new SyncConfiguration.Builder( SyncUser.current(), REALM_BASE_URL + "/default") .partialRealm() .build(); Realm.setDefaultConfiguration(configuration);  I don't have any idea for this. But I don't see any tutorial related to my problem.