<?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: Backup graph file generation in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100882#M90912</link>
    <description>&lt;!--!*#--&gt;You can use the shell or awk:&lt;BR /&gt;while read file; do&lt;BR /&gt;   echo "i /oracle10g/export/$file"&lt;BR /&gt;done &amp;lt; m_graph &amp;gt; m_graph.fixed</description>
    <pubDate>Tue, 01 Apr 2008 10:04:00 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-04-01T10:04:00Z</dc:date>
    <item>
      <title>Backup graph file generation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100881#M90911</link>
      <description>Dears,&lt;BR /&gt;I have oracle installed on HP UX machine&lt;BR /&gt;&lt;BR /&gt;root@prodx/ &amp;gt;uname -a&lt;BR /&gt;HP-UX prodx B.11.11 U 9000/800 127414621 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;the oracle exports are taken to the directory&lt;BR /&gt;&lt;BR /&gt;/oracle10g/export/&lt;BR /&gt;&lt;BR /&gt;my export and backup scripts are stored in /home/oracle/scripts/&lt;BR /&gt;&lt;BR /&gt;i am using this naming convention for my export files (dump and log)&lt;BR /&gt;&lt;BR /&gt;daily :  `date +%A`.dmp&lt;BR /&gt;weekly:  `date +%y-%m-%B-%d-%a`.dmp&lt;BR /&gt;monthly: `date +%y-%m-%B`.dmp&lt;BR /&gt;&lt;BR /&gt;I integrated the files to the fbackup script without any problems in my daily and weekly script, my question is for the monthly backup script&lt;BR /&gt;&lt;BR /&gt;here what i am trying to do&lt;BR /&gt;&lt;BR /&gt;rm m_graph&lt;BR /&gt;cd /oracle10g/export/&lt;BR /&gt;echo "`date +%y-%m-%B`.log" &amp;gt;&amp;gt; m_graph  #monthly export log ilfe&lt;BR /&gt;echo "`date +%y-%m-%B`.dmp" &amp;gt;&amp;gt; m_graph  #monthly export dump file&lt;BR /&gt;ls *Thu.* &amp;gt;&amp;gt; /home/oracle/scripts/m_graph #all weekly dump and log files&lt;BR /&gt;&lt;BR /&gt;running the script as it is results in the following inside the m_graph file&lt;BR /&gt;&lt;BR /&gt;08-04-April.log&lt;BR /&gt;08-04-April.dmp&lt;BR /&gt;08-03-March-06-Thu.dmp&lt;BR /&gt;08-03-March-06-Thu.log&lt;BR /&gt;08-03-March-13-Thu.dmp&lt;BR /&gt;08-03-March-13-Thu.log&lt;BR /&gt;08-03-March-20-Thu.dmp&lt;BR /&gt;08-03-March-20-Thu.log&lt;BR /&gt;08-03-March-27-Thu.dmp&lt;BR /&gt;08-03-March-27-Thu.log&lt;BR /&gt;&lt;BR /&gt;these are the file i want to back them up, including the monthly and all last month weekly dump and log file, here is my backup command in the script&lt;BR /&gt;&lt;BR /&gt;fbackup -0g /home/oracle/scripts/m_graph -f /dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;but the problem is here&lt;BR /&gt;&lt;BR /&gt;The backup graph must start each line with the i to include the line file or directory in the backup, but as you see i dont have the i option included, so my question is this&lt;BR /&gt;&lt;BR /&gt;after i create the graph file, i want my script to add the following in each line&lt;BR /&gt;&lt;BR /&gt;i /oracle10g/export/&lt;BR /&gt;&lt;BR /&gt;how can i do this? this is urgent pls.&lt;BR /&gt;&lt;BR /&gt;thx for any help offer.</description>
      <pubDate>Tue, 01 Apr 2008 09:56:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100881#M90911</guid>
      <dc:creator>BAUKnight</dc:creator>
      <dc:date>2008-04-01T09:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Backup graph file generation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100882#M90912</link>
      <description>&lt;!--!*#--&gt;You can use the shell or awk:&lt;BR /&gt;while read file; do&lt;BR /&gt;   echo "i /oracle10g/export/$file"&lt;BR /&gt;done &amp;lt; m_graph &amp;gt; m_graph.fixed</description>
      <pubDate>Tue, 01 Apr 2008 10:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100882#M90912</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-01T10:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Backup graph file generation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100883#M90913</link>
      <description>Denis,&lt;BR /&gt;i want to thank u for your fast reply, it helped in creating the need file.&lt;BR /&gt;i will test it and update the thread as needed.&lt;BR /&gt;thx again dennis</description>
      <pubDate>Tue, 01 Apr 2008 10:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100883#M90913</guid>
      <dc:creator>BAUKnight</dc:creator>
      <dc:date>2008-04-01T10:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Backup graph file generation</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100884#M90914</link>
      <description>thank you alot dennis, this was very great issue.&lt;BR /&gt;&lt;BR /&gt;thx again</description>
      <pubDate>Mon, 07 Apr 2008 05:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-graph-file-generation/m-p/5100884#M90914</guid>
      <dc:creator>BAUKnight</dc:creator>
      <dc:date>2008-04-07T05:42:53Z</dc:date>
    </item>
  </channel>
</rss>

