<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems while backing up datafiles with multiple DD commands in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908002#M405550</link>
    <description>As mentioned very shortly above, I believe the command you're looking for is "wait".  Depending upon the shell you're using, you should be able to do like this:&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; begin backup;&lt;BR /&gt;&lt;BR /&gt;sh file1.sh&amp;amp;&lt;BR /&gt;sh file2.sh&amp;amp;&lt;BR /&gt;&lt;BR /&gt;wait&lt;BR /&gt;&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; end backup;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;and it'll wait for the dd's to finish before continuing.&lt;BR /&gt;&lt;BR /&gt;Check the man pages for the shell you're using, and check the specific behavior of the wait command there.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Vince&lt;BR /&gt;&lt;/TABLESPACE_NAME&gt;&lt;/TABLESPACE_NAME&gt;</description>
    <pubDate>Mon, 20 Jun 2005 07:30:38 GMT</pubDate>
    <dc:creator>Vincent Fleming</dc:creator>
    <dc:date>2005-06-20T07:30:38Z</dc:date>
    <item>
      <title>Problems while backing up datafiles with multiple DD commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4907998#M405546</link>
      <description>hi guys,&lt;BR /&gt;&lt;BR /&gt;i have a problem with creating a new HOT backup script for my oracle database.&lt;BR /&gt;I want to run multiple dd of my datafiles while the tablespaces are in BEGIN backup. After these multiple dd's are over i need to proceed with next step of my script, that is placing tablespaces in END backup mode.&lt;BR /&gt;&lt;BR /&gt;Now within my script, I have,&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; begin backup;&lt;BR /&gt;&lt;BR /&gt;sh file1.sh &amp;amp;&lt;BR /&gt;sh file2.sh &amp;amp;&lt;BR /&gt;&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; end backup;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;But when i execute this backup script, file1.sh and file2.sh which contains the dd command executes simultaneosly, But at the same time proceeds to next step. I want to execute the next step only once &lt;BR /&gt;sh file1.sh &amp;amp;&lt;BR /&gt;sh file2.sh &amp;amp;&lt;BR /&gt;gets executed.&lt;BR /&gt;&lt;BR /&gt;How best I can?&lt;BR /&gt;Please suggest me.&lt;BR /&gt;Regards&lt;BR /&gt;AJI&lt;/TABLESPACE_NAME&gt;&lt;/TABLESPACE_NAME&gt;</description>
      <pubDate>Mon, 20 Jun 2005 04:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4907998#M405546</guid>
      <dc:creator>Aji Thomas</dc:creator>
      <dc:date>2005-06-20T04:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems while backing up datafiles with multiple DD commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4907999#M405547</link>
      <description>usually, we will use RMAN to made a backup when DB is open(online), then backup the RMAN file to tape or other disks, if your DB is still open(online), you use dd directly to the datafile, even if you complete the backup, you won't be able to use the datafile.</description>
      <pubDate>Mon, 20 Jun 2005 04:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4907999#M405547</guid>
      <dc:creator>Matthew_50</dc:creator>
      <dc:date>2005-06-20T04:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems while backing up datafiles with multiple DD commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908000#M405548</link>
      <description>man wait</description>
      <pubDate>Mon, 20 Jun 2005 05:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908000#M405548</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-06-20T05:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problems while backing up datafiles with multiple DD commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908001#M405549</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;Let me specify first of all, we are not using RMAN for online backup.&lt;BR /&gt;&lt;BR /&gt;The problem is when i try initiating multiple DD's within my script&lt;BR /&gt;&lt;BR /&gt;if i modify the script as&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; begin backup;&lt;BR /&gt;&lt;BR /&gt;sh file1.sh&lt;BR /&gt;sh file2.sh&lt;BR /&gt;&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; end backup;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;That is if i remove &amp;amp;, the backup goes fine. But I will not be able to perform multiple DD's.&lt;BR /&gt;&lt;BR /&gt;please suggest me how i can take multiple DD's&lt;BR /&gt;&lt;BR /&gt;AJi&lt;/TABLESPACE_NAME&gt;&lt;/TABLESPACE_NAME&gt;</description>
      <pubDate>Mon, 20 Jun 2005 05:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908001#M405549</guid>
      <dc:creator>Aji Thomas</dc:creator>
      <dc:date>2005-06-20T05:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problems while backing up datafiles with multiple DD commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908002#M405550</link>
      <description>As mentioned very shortly above, I believe the command you're looking for is "wait".  Depending upon the shell you're using, you should be able to do like this:&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; begin backup;&lt;BR /&gt;&lt;BR /&gt;sh file1.sh&amp;amp;&lt;BR /&gt;sh file2.sh&amp;amp;&lt;BR /&gt;&lt;BR /&gt;wait&lt;BR /&gt;&lt;BR /&gt;alter tablespace &lt;TABLESPACE_NAME&gt; end backup;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;and it'll wait for the dd's to finish before continuing.&lt;BR /&gt;&lt;BR /&gt;Check the man pages for the shell you're using, and check the specific behavior of the wait command there.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Vince&lt;BR /&gt;&lt;/TABLESPACE_NAME&gt;&lt;/TABLESPACE_NAME&gt;</description>
      <pubDate>Mon, 20 Jun 2005 07:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908002#M405550</guid>
      <dc:creator>Vincent Fleming</dc:creator>
      <dc:date>2005-06-20T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems while backing up datafiles with multiple DD commands</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908003#M405551</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Thanks for the update&lt;BR /&gt;That was exactly the one which i required&lt;BR /&gt;&lt;BR /&gt;Thanks for the support,&lt;BR /&gt;AJI</description>
      <pubDate>Mon, 20 Jun 2005 08:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-while-backing-up-datafiles-with-multiple-dd-commands/m-p/4908003#M405551</guid>
      <dc:creator>Aji Thomas</dc:creator>
      <dc:date>2005-06-20T08:49:55Z</dc:date>
    </item>
  </channel>
</rss>

