Difference between revisions of "Moodle: Copy Database"

From OnnoWiki
Jump to navigation Jump to search
(New page: scp -r root@10.150.5.250:/var/lib/mysql/moodle /var/lib/mysql scp -r root@10.150.5.250:/var/moodledata /var scp -r root@10.150.5.250:/var/www/moodle /var/www)
 
Line 1: Line 1:
scp -r root@10.150.5.250:/var/lib/mysql/moodle /var/lib/mysql
+
scp -r root@10.150.5.250:/var/lib/mysql/moodle /var/lib/mysql
scp -r root@10.150.5.250:/var/moodledata /var
+
scp -r root@10.150.5.250:/var/moodledata /var
scp -r root@10.150.5.250:/var/www/moodle /var/www
+
scp -r root@10.150.5.250:/var/www/moodle /var/www
 +
 
 +
config.php:$CFG->wwwroot  = 'http://10.150.5.250/moodle';
 +
vi /var/www/moodle/config.php

Revision as of 14:09, 19 March 2012

scp -r root@10.150.5.250:/var/lib/mysql/moodle /var/lib/mysql
scp -r root@10.150.5.250:/var/moodledata /var
scp -r root@10.150.5.250:/var/www/moodle /var/www
config.php:$CFG->wwwroot   = 'http://10.150.5.250/moodle';
vi /var/www/moodle/config.php