I’ve created a strapi app but forgot to change the database config and it’s currently setup using sqlite.
If i make a git commit the app will rebuild and i will loose my data.
I’d love to be able to make a copy of this file and go through the process of migrating the data into a postgres db, but i’m unsure how i can do this if i can’t SSH into the app container. Please help
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello,
I think that you could use the
cp
command to copy the SQLite file to your public directory, and then you could access your app URL/the_sqlite_file
via your browser and download the file that way.Let me know how it goes.
Regards,
Bobby