Changes between Version 6 and Version 7 of MoveWithRoot
- Timestamp:
- 06/16/2006 01:37:06 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MoveWithRoot
v1 v7 6 6 7 7 Add the email users, forwarding etc. in Plesk 8 9 10 Websites and databases are backed up onto eies.org at 1am NY time. Early morning is a good time to move, otherwize, if you think the database may be out of date, do a mysqldump outto yourdatabasename.sql on xanthus.net and type: 11 12 rsync -av mydatabasename.sql eies.org::xanthus/tmp/mysql 13 14 To get a fresh copy of the website, if necessary, from xanthus.net you can type on xanthus.net: 15 16 rsync -av /usr/www/htdocs/domainame eies.org::xanthus/usr/www/htdocs 17 18 19 20 8 21 == update website on eies.org from xanthus.net backup == 9 22 14 27 rsync -va /xdocs/domainaccount/. . 15 28 }}} 16 this does not set the correct ownership for files owned by the server the shortcut command to do it properly is:29 this does not set the correct ownership for files owned by the server the shortcut command to do it the new way is: 17 30 18 sudo cpdomain xanthusname [eiesname] 31 cpdomain xanthusname [eiesname] 32 33 cd ~username/httpdocs 34 vi configure.php (and/or other configuration files) 35 36 change the root directory to new location (pwd), the database info, etc., as necessary. 37 19 38 == MySQL Databases == 20 39 Create any required databases in Plesk, create the database user and use the command 24 43 from the command line use the mysql command (or phpMyAdmin?) to load the databases from the backups in /home/backup/xanthus.net/tmp/mysql 25 44 26 To get a fresh copy of the database from xanthus.net you can type on xanthus.net:27 28 rsync -av /usr/www/htdocs/domainame eies.org::xanthus/usr/www/htdocs29 30 45 == Frequently asked questions == 31 46
