Back up databases on the WebSphere Commerce node
The high-level steps to back up the databases on the existing single-tier WebSphere Commerce node are:
1. Verify the WCS instance application server is stopped.
2. Verify the WebSphere Commerce Payments application server is stopped.
3. Create a backup directory that will be copied and restored on the remote DB2 Server node later. For example, we created the c:\mall.db directory.
4. Verify that no applications are connected to the databases:
db2 list applications
There should not be any connections because the applications that connect to the databases have been stopped. If there are connections that cannot be stopped, enter the following to enforce that no applications are connected:
db2 force applications all
db2 terminate
db2stop
db2start
5. To back up the databases:
a. To back up the WCS instance database:
db2 backup db mall to c:\mall.db
b. To back up the WebSphere Commerce Payments database:
db2 backup db wpm to c:\wpm.db
ibm.com/redbooks