Migrate from Test to Prod without Database

Hello, I am making a e-commerce site on a test server. What I would like to do when it is done is migrate the files from test to prod, but I do not want to migrate the database of products and such. How would I do this?

Thank you.

1 Reply

Hi @CS - It really depends on how your site is set up. If the site has a separate DB just for the products, then all you'd have to do is create the DB from scratch on your prod server with the same tables but no entries in them yet. Then, you can add entries for the real items as needed.

Alternatively, you could move everything over then empty out the database manually, but that may take some time depending on how you have things set up.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct