I'd love to be able to make a copy from a file on the app container,

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

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
March 17, 2022


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.