Changes between Version 5 and Version 6 of Drupal HowTo Copy site to test server
- Timestamp:
- 11/25/15 15:04:05 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Drupal HowTo Copy site to test server
v5 v6 8 8 1. {{{scp}}} the tar file to the new server 9 9 1. {{{tar -zxvf sitebackup-YYYY-MM-DD.tgz}}}, which will produce 2 files called {{{dbcontent.sql}}} and {{{filecontent.tar}}} 10 1. Create a directory for the web folder {{{mkdir /local/www/scad}}} 10 1. Create a directory for the web folder `mkdir /local/www/{site name}` 11 1. Copy {{{filecontent.tar}}} into the web folder 12 1. Cd into the web folder and unpack the tar file `tar -xvf filecontent.tar` 11 13 1. Log into MySql 12 14 1. Create the database using {{{CREATE DATABASE {databasename} CHARACTER SET utf8 COLLATE utf8_general_ci;}}}