Revert To Other Backup

compared with
Current by Ernie Ghiglione
on May 20, 2010 12:09.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
** /etc/lams2
* Dump the MySQL Database
** <mysql directory>/bin/mysqldump \--hex-blob \-u<database user> \-p<database password> <databasename> > /var/tmp/lams2.0.bak/lams20.sql
e.g. /usr/local/mysql/bin/mysqldump \-ulams2 \-plamsdemo lams2 > /var/tmp/lams2.0.bak/lams.dump
e.g. /usr/local/mysql/bin/mysqldump \--hex-blob \-ulams2 \-plamsdemo lams2 > /var/tmp/lams2.0.bak/lams.dump \\ \\ *Make sure you use the \--hex-blob option as otherwise you won't be able to restore this database*


h3. Windows

* Backup the complete LAMS directory, normally c:/lams. This will include JBOSS and the content repository.
* Dump the MySQL Database:
** <mysql directory>/bin/mysqldump \--hex-blob \-u<database user> \-p<database password> <databasename> > <backup directory>/lams20.sql
e.g. "C:\Program Files\MySQL\MySQL Server\bin\mysqldump \--hex-blob \-ulams2 \-plamsdemo lams2 > c:/lams-2.0.3-20070604.bak/lams20.sql \\ \\ *Make sure you use the \--hex-blob option as otherwise you won't be able to restore this database*

h1. Restoring LAMS