I am using Django for my website & every time I deploy , the database gets wiped out and gets replaced with the one on my local server.
The command I use is “fly deploy”
Please advice.
Hi @caggly
Are you using SQLite as a database? In this case you need to use Volumes, as root filesystem is ephemeral and gets reset on every restart/redeploy.
Yes I am. Thanks will try it out. How do I extract the Existing database through fly?
There is a set of fly ssh sftp
commands that you can use to pull/push files from/to VM: