title: How do I automatically backup db.sqlite3 file in Django App hosted on Azure Web Apps?
body: <p>I have a Django web application hosted on _________.azurewebsites.net </p>
  
  <p>The folder structure is as follows: </p>
  
  <pre><code>- Github Repository
       - settingsFolder
       - app1folder
       - app2folder
       - manage.py 
       - web.config
       - db.sqlite3
  </code></pre>
  
  <p>I have Azure set up to where a push to my remote github branch causes Azure to sync the files with my Github branch to my /site/wwwroot/ folder.   </p>
  
  <p>Explicitly, </p>
  
  <pre><code>git push origin branch 
  </code></pre>
  
  <p>This causes a problem.  Everytime I try to add changes to my website, using git push, the db.sqlite3 DOES NOT reflect the changes within the website environment.  Thus, if someone were to save data to /site/wwwroot/db.sqlite3, then my github repository would be UNAWARE of the changes.  Updating my github repository would take the OLD db.sqlite3 and reupload THIS OLD during a file sync between Azure and github. Consequently, the db.sqlite3 on /site/wwwroot/ gets overwritten and data would be lost.</p>
  
  <p>One solution is to manually make backups by connecting to my /site/wwwroot folder, saving db.sqlite3, and replacing it regularly in my Github repository.   </p>
  
  <p>Is it possible to automate this? If so, what resources does Azure provide me to do so?</p>