FS
Documentation

DA-DB2

From Documentation

(Difference between revisions)
Jump to: navigation, search
Revision as of 07:32, 11 April 2006
Moff (Talk | contribs)

← Previous diff
Revision as of 00:06, 12 April 2006
Daniels (Talk | contribs)

Next diff →
Line 1: Line 1:
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. 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.
-<strong>DB2 Online Tablespace</strong>+== DB2 Online Tablespace ==
<pre>db2 "backup database &lt;database&gt; tablespace (&lt;tablespace&gt;) online <pre>db2 "backup database &lt;database&gt; tablespace (&lt;tablespace&gt;) online
to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre> to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre>
-<strong>DB2 Online Database</strong>+== DB2 Online Database ==
<pre>db2 "backup database &lt;database&gt; online <pre>db2 "backup database &lt;database&gt; online
to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre> to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre>
-<strong>DB2 Offline Tablespace</strong>+== DB2 Offline Tablespace ==
<pre>db2 "backup database &lt;database&gt; tablespace (&lt;tablespace&gt;) <pre>db2 "backup database &lt;database&gt; tablespace (&lt;tablespace&gt;)
to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre> to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre>
-<strong>DB2 Offline Database</strong>+== DB2 Offline Database ==
<pre>db2 "backup database &lt;database&gt; <pre>db2 "backup database &lt;database&gt;
to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre> to &lt;device&gt; with 2 buffers buffer 2048 parallelism 1 without prompting"</pre>

Revision as of 00:06, 12 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.

Contents

DB2 Online Tablespace

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

DB2 Online Database

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

DB2 Offline Tablespace

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

DB2 Offline Database

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