Hi!

I would like to do a fresh install of my Drupal site, but keeping the content. Is there a way to do that, like making a backup just of the content and not of the module's tables, or something like that?

Regards,
Carlos.

Comments

nevets’s picture

What's your goal of the fresh install?

sinasalek’s picture

Actually it's not easy because Drupal stores all of the information to database. if you want to clear unused tables or record i suggest you to make a backup then try to clean your current database.
Also when you uninstall a module it will automatically delete its tables (if there is any). - uninstall is different than disabling -

sina.salek.ws
Feel freedom with open source softwares

sina.salek.ws, Software Manager & Lead developer
Feel freedom with open source softwares

dman’s picture

see here http://drupal.org/node/227340
Short answer - there is no mind-reader built in to know which tables you want and which you don't.

node content, probably,
node-revisions, I guess,
users, yeah unless you were doing tests in that direction
content type-definitions? cck field definitions? probably.
Vocabs, terms, config variables? module-specific tables (those are usually linked directly to existing nds, so dropping them will lose content)?

Either you investigate and make a table-by-table choice, or deal with the cruft :(

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

zottmann’s picture

Hi!

Thank you all!! We've built a knowledge base intranet site based on drupal, usign Postgres. At the time we built the site some modules were not compatible with Postgres, so one of the guys of our team wrote some patches. Now it seems that all the modules that we use are Postgres ready, and, on the other side, we are have some little problems when trying to use other modules that behaves well on a fresh install.

So, given this scenario, I though that a fresh install could solve this little problems. But, reading your comments, I guess that I should try another solution.

Thanks everyone anyway!

Regards,
Carlos.