I have gotten really far with my drupal test website thanks to the drupal forum :)
I am planning on getting my finish site online very soon.
My concern is, I still want to keep the test site just to test any new drupal material before deploying it to the new site.
I am lost on how I should migrate settings like the views setup and various other changes I did on the test site. I understand transfering the themes files. but how safe is it to dump the files over to the new site with a new sql database?

Thanks in advance.

-Mallet

Comments

WorldFallz’s picture

I'm not sure I understand-- what files? Are you talking about patched modules? If so, you'll want to copy over the entire drupal file structure for the site (or the individual patched files if you know what they are). Otherwise, settings and whatnot are stored in the db and will follow the db when you restore it.

mallet’s picture

sorry If I have misunderstood you. I meant the entire drupal file structure process. I see what you meant by the db. in brief, that test site and the final site are just copys. as all I am doing is copy all the files and db from the old site onto the new one.
wont having two of the exact databases from the same site on the same hosting mess up the database? or do I need to just create a new database and restore the old db one on to the new db one?
sorry I am not making it clearer :(

WorldFallz’s picture

yes, if you're installing the copy to the same host you need to use a different db name. When you create the db for the copy, just call it something else then edit the settings.php file (look for the $db_url line) and update the database info.

mallet’s picture

awesome! Thanks very much for helping me out. I give a shout if I get stuck :)

-Mallet