« Vista and viruses | Main | Drupal and JQuery UI »

August 24, 2010

Move production site to development environment

% tar -czf live_sites_backup_8_24_2010.tar.gz /blah/sites/
$ sudo tar -czf alpha_sites_backup_Aug10_delete.tar.gz /blah/sites/*

$ mysql -u root -p beta < /blah/umbs_live_backup_8_24_2010.sql

where beta is the database to be appended to (already existing tables are kept in tack.)

comment this line out of settings.php
#dl( 'gd.so' );

chmod a few files in sites/default/files

- Pretty sure you will also need to go into the database and manually disable the secure pages and perhaps another module.

Posted by kkwaiser at August 24, 2010 04:04 PM


Login to leave a comment. Create a new account.