FS
Documentation

DA-DB2

From Documentation

(Difference between revisions)
Jump to: navigation, search

Revision as of 07:07, 11 April 2006

Following are the DB2 commands used by DA-DB2. The FSdb2 commands are the shell commands called from DB2online, DB2offlne and DB2arch respectively. Code boxes are the DB2 commands called from do_db2 according to FSdb2 flags (eg -c, -x etc). Italics are comments.

DB2 Online Tablespace

<code>db2 "backup database <database> tablespace (<tablespace>) online<br>    to <device> with 2 buffers buffer 2048 parallelism 1 without prompting"</code>

DB2 Online Database

<code>db2 "backup database <database> online<br>    to <device> with 2 buffers buffer 2048 parallelism 1 without prompting"</code>

DB2 Offline Tablespace

<code>db2 "backup database <database> tablespace (<tablespace>)<br>    to <device> with 2 buffers buffer 2048 parallelism 1 without prompting"</code>

DB2 Offline Database

<code>db2 "backup database <database><br>    to <device> with 2 buffers buffer 2048 parallelism 1 without prompting"</code>