title: Backup Realm to iCloud Drive
body: <p>I would like to backup a realm database file to an iCloud drive, like WhatsApp, I have some questions:</p>
  
  <ol>
  <li><p>What is the best practice to do this? </p></li>
  <li><p>I have a database located in a shared group folder to access it from extensions, how can I back it up? How can I show the progress bar of upload? Like WhatsApp for example?</p></li>
  <li><p>If I put a realm file in a document folder it will be synced for each modify.</p></li>
  <li><p>Are there some samples code that we can see?</p></li>
  </ol>
  
  <p>Thanks for the help, have any ideas? links? </p>