How does one go about deployment and backups with a local db? Like let’s say I have a web app hosted on a cloud service like App Engine or Elastic… if I redeploy my web app how do I make sure my current local db does not get get wiped? How are periodic backups handled?
I can think of many hacks to do this, but is there a best practice for this kind of stuff? I’m curious how people do this.