xEpyonx Posted November 1, 2013 Share Posted November 1, 2013 (edited) Hi, I goofed and deleted my prestashop installation files (I seriously have no idea what was going on in my mind when I did this) and I don't have a backup. Since I was still working on it, it won't take long to set it up again except the comprehensive category structure I had already made. I DO have a complete database backup in .sql format though, but I just need to import the category structure and category descriptions into the clean install. How do I do this? I have no knowledge of building the proper sql queries to do this or if it's even possible... Help would be very much appreciated! Edited November 2, 2013 by xEpyonx (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 you will need to import: - ps_category - ps_category_lang - ps_category_group - ps_category_shop Link to comment Share on other sites More sharing options...
xEpyonx Posted November 2, 2013 Author Share Posted November 2, 2013 How can I select only those tables to import from my old sql db backup? When I'm in phpmyadmin I can only figure out how to import the whole db, which I tried, but prestashop breaks if I do that on a fresh install. That's why I only want to do the categories... Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 if i were you i will create temporary database, import whole data - and then - export only tables mentioned above. then just import exported tables Link to comment Share on other sites More sharing options...
xEpyonx Posted November 2, 2013 Author Share Posted November 2, 2013 Are you Spock? Because the logic is strong with you! Thanks, I'll try that! Link to comment Share on other sites More sharing options...
xEpyonx Posted November 2, 2013 Author Share Posted November 2, 2013 Thanks Vekia, it worked and you saved me a ton of work! Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 glad to hear that i could help you in this case thank you for confirmation with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts