Backing Up Off-Device

All of this has focused on making a backup to a location on the device. That is useful, but that usefulness fades if the device itself is lost, damaged, or destroyed. For that, we would need to backup to an off-device location.

However, that may be slow and may not be possible at the time of the backup, due to the nature of Internet connections. As with the document provider scenario mentioned in the preceding section, consider backing up locally first, then transferring the backup to the server as a separate second step. Once the local backup is complete, you can let the app return to normal operation, as transferring the backup to a server should not be affected by other work done on the live database.


Prev Table of Contents Next

This book is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.