FS
Documentation

DA-DB2

From Documentation

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

← Previous diff
Revision as of 07:32, 11 April 2006
Moff (Talk | contribs)

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

Revision as of 07:32, 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

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"