#How to update app database deploy to fly.io

2 messages · Page 1 of 1 (latest)

boreal trout
#

I have an application that I launched using fly.io. I deployed the app without attaching a volume to the machines to handle persistent data. I see in the documentation there is a way I can create and attach volumes to them, but I'm concerned this will destroy my current database because after making the proper adjustments to the fly.toml file, you use the fly deploy command (which to my knowledge destroys and creates a new database?). Can anyone shine some light here for me?

shell quiver
#

I'm not familiar with fly.io but are you able to attach to the running medium? If so you can backup your data first to be safe. [This will probably be required either way]