Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

  • Backup these directories:
    • /usr/local/jboss-4.0.2 ($JBOSS_HOME)
    • /var/opt/lams (this contains the content repository plus some error files)
    • /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 --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

Windows

If you have followed the standard Windows installation:

  • 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

Restoring LAMS

All restores will have to be done manually.

...