Backup

Open a command shell (Start > Run cmd, in Windows), and then type the following at the prompt. By default, the primary database is owbusdb, and owmetadb includes meta-information. For the web server, back up lportal and synergy too (the latter contains multitenancy information). The example includes defaults for name and password. These are typically different from the login / password for the application.

mysqldump -a -u root --password=[password] owbusdb > FILENAME.mysql

For example:

mysqldump -a -u root --password=dorado owmetadb > owmetadb.mysql

If you have Performance monitors or Traffic Analyzer, you must also back up your stored procedures otherwise they do not get restored when you restore the database. The command line here adds --routines. For example:

mysqldump -a -u oware --password=dorado --routines owbusdb > owbusdb.mysql

This writes the owbusdb to a plain-text file called FILENAME.mysql (owbusdb.mysql in our examples). This file is a full backup with which you can fully restore your database in case of problems.

Here are the backup commands for all the databases:

mysqldump -a -u root --password=dorado owbusdb > owbusdb.mysql

mysqldump -a -u root --password=dorado owmetadb > owmetadb.mysql

mysqldump -a -u root --password=dorado lportal > lportal.mysql

mysqldump -a -u root --password=dorado synergy > synergy.mysql