Changes between Version 5 and Version 6 of Drupal HowTo Copy site to test server


Ignore:
Timestamp:
11/25/15 15:04:05 (9 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Drupal HowTo Copy site to test server

    v5 v6  
    881. {{{scp}}} the tar file to the new server
    991. {{{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}}}
     101. Create a directory for the web folder `mkdir /local/www/{site name}`
     111. Copy {{{filecontent.tar}}} into the web folder
     121. Cd into the web folder and unpack the tar file `tar -xvf filecontent.tar`
    11131. Log into MySql
    12141. Create the database using {{{CREATE DATABASE {databasename} CHARACTER SET utf8 COLLATE utf8_general_ci;}}}