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
mjones
Linode Staff
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.