3 ms·
The database is stored in a single file that is easily backed up. It does not have any explicit integration with iCloud, but you can easily use it to back up a
by astigsen 12y ago
The database is stored in a single file that is easily backed up. It does not have any explicit integration with iCloud, but you can easily use it to back up a copy of the db, or you can stream the copy back home yourself via ftp or http.
- tillk 12y agoI'm somewhat of a newbie in regards to developing on mobile devices. Got any documentation how this is done from the phone?
- kneth 12y agoI'm Kenneth at Realm. As realm databases are files on the phone's file system, you can use the common classes for manipulating them. To do a backup, the NSFileManager class might be useful (the copyItemAtURL method might be what you're looking for). See https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSFileManager_Class/Reference/Reference.html https://developer.apple.com/library/mac/documentation/Cocoa/... for details.